Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Recently one of my apache installations went down, and after looking around we found out that it's the apache's error_log and access_log size that had reached 2GB. Once we rename the logs and create a new empty ones, everything's ok.

My OS is Redhat 4 and filesystem is ext3. According to wikipedia, a file in ext3 can have up to 16 GB to 2 TB in size. Is it the apache implementation or is it something else that rendered the apache unable to start after 2 GB?

Thank's in advance.

-A

share|improve this question
    
You could use logrotate to avoid the logs growing too big. This way you won't have to deal with the consequences. –  halp Oct 22 '10 at 13:21
    
looks useful, thank's! –  andreas Nov 18 '10 at 1:35
add comment

1 Answer

up vote 0 down vote accepted

What version of apache are you using? A quick google shows that older versions had a bug regarding logfiles that were 2gb.

share|improve this answer
    
turned out it's the buggy version of apache, thank's :D –  andreas Nov 18 '10 at 1:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.