All Entries Tagged With: "disk"
How to clear /tmp partition
Issue :
How to clear unwanted stuff from the /tmp partition on the server?
Fix :
Run the following command :
tmpwatch –mtime –all 48 /tmp
The above command will remove all files and folders from the /tmp which have not been accessed in the last couple of days (24*2=48).
You can modify the number of hours as [...]
No space left on device
Issue :
Following error shows up on the websites which run with mysql.
Warning: session_write_close() [function.session-write-close]: write failed: No
space left on device (28)
in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
Restarting MySQL fixes the issue temporarily.
Fix :
This usually occurs when /tmp runs out of space. You can check the space by using the [...]
Tutorial on clearing Disk Space on a Server
Running out of disk space is a very common issue. Be it a web-hosting service provider or the end-user. I wanted to share a few tips that the technical support staff at InstaCarma use to resolve disk-space issues on a cPanel server. As we all know, there are various partitions on a server which are [...]
Apache error :Segment No Space left on device
Issue :
While starting apache
Error : Segment No space left on device.
Fix :
Check if there’s any disk space issue on server using “df -h”
Fix that worked in this case : Empty /usr/local/apache/logs/error_log (It was 360
MB)

