Web Hosting Talk







View Full Version : /usr full


major
06-09-2002, 12:47 PM
I have a dedicated server with RH 7.1 that keeps crashing, and I have just found out that the reason for this is that /usr is full.

How do I find out why that partition is full ? How do I see which files are too big etc ?

Thanks.

hostNOX
06-09-2002, 12:53 PM
are there alot of email build ups if so that may be why.

KDAWebServices
06-09-2002, 02:23 PM
df -h - show's partition info

du -h /usr - will show you the size of each directory in /usr

2Mhost
06-09-2002, 02:26 PM
Hi,

remove all files in /usr/local/apache/logs/ ....

restert apache
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start


if not free enoughf then turn to

/usr/local/apache/domlogs

you can delete some BIG files of domains' logs .... restart apache also

Sean
06-09-2002, 03:01 PM
You could always make the domain log files go to a directory with more space, say "/home/domlogs"


Sean

major
06-09-2002, 03:10 PM
Thanks to all of you. The problem has been fixed. Appreciate it a lot :)