Log file limit of 2GB

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
etc
Cacti User
Posts: 52
Joined: Thu Apr 19, 2007 2:36 pm

Log file limit of 2GB

Post by etc »

I found out that cacti (the poller) crashes once the log file (/var/www/html/cacti/log/cacti.log) exceeds 2GB.

Is there any way to exceed this limit?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

That sir is a file system limitation.

We strongly suggest that you don't let you log grow to 2 gigabytes in size.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

rony wrote:We strongly suggest that you don't let you log grow to 2 gigabytes in size.
... e.g. by using logrotate on cacti.log
I suppose there's a need to post some logrotate.d/cacti parameter file, eh?
Reinhard
etc
Cacti User
Posts: 52
Joined: Thu Apr 19, 2007 2:36 pm

Post by etc »

I downgraded the logging level from medium to "low" and it uses much less space now, probably take a year until it reached 2GB again.
LinuxLoader
Posts: 15
Joined: Fri Mar 17, 2006 9:43 am

Post by LinuxLoader »

I think that 2G file is not filesystem limitation .. it`s apache limit. above version 2.2 apache didn`t support files larger then 2G
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests