Published on February 21, 2009

apache log memory

This is what happens if you don’t clear your Apache logs:

[code lang=“bash”]jr ~/i.justrealized.com/log: ls -al

total 205748

drwxr-s— 2 me www-data 4096 Aug 5 2008 .

drwxr-s— 8 me www-data 4096 Sep 9 14:58 ..

-rw-r–r– 1 root www-data 210250161 Feb 21 17:08 access.log

-rw-r–r– 1 root www-data 205822 Feb 21 15:49 error.log[/code]

That’s 210 MB of data I am least interested with. By the way I just realized delete the log actually lowers memory usage significantly.

comments powered by Disqus