Jump to content

/var/log...allocate more space?


Recommended Posts

Hi all,


I've realized that every week or so, my apache server cannot start httpd because the /var/log folder fills up, and gives the error:


Warning, free space in </> is <0> (which is inferior to <2000>


If I delete the appropriate logs from this directory, httpd will start agan.


It stands to reason that if I can allocate more space to /var/log, the folder wouldn't fill up and my website wouldn't go down every week or so.


Anybody know how this can be done? Thanks!

Edited by ShineDesign
Link to comment
Share on other sites

It is part of the / partition, but the weird thing is that partition has 6GB of space. Only about 800MB are being used...so there's always over 5GB of space available. Even with that much available, the /var/log folder will stop httpd from running if it gets more than 20 logs (on average).


Is there somewhere that specifies the maximum space allowed for the /var/log folder? Like in windows, how it only allows a certain amount of space for the trash bin etc...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...