Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Aug 09, 2013 6:59 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
as title.

I noticed that every 3 months fail2ban crashes my server.

after three months my logs are big enough and fail2ban needs hours to analyze them all.
after some hours of CPU load my server stops responding and I need to reboot it.

have you got some idea on how to solve?

why fail2ban rescan logs from scratch from time to time ?


Top
   
PostPosted: Fri Aug 09, 2013 7:05 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Is logrotate installed and working OK?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Fri Aug 09, 2013 7:09 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
hoopycat wrote:
Is logrotate installed and working OK?


yess


Top
   
PostPosted: Fri Aug 09, 2013 5:01 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Is it just scanning the current log files, or is it scanning all of the old logs which have been rotated out, as well?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Fri Aug 09, 2013 6:48 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
hoopycat wrote:
Is it just scanning the current log files, or is it scanning all of the old logs which have been rotated out, as well?


I don't think that is scans old files.

the strange things is that fail2ban hurt my CPU on small log also.

four logs of about 25mb per log is enough to crash my server down.

any idea?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group