Recently got a problem with a server – Nothing was working users were not able to login without any error message.
Issue was server disk was full no space left to create any log or session file.
Accessed the server using SSH and run below commands:
It showed output:
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 8208132 56 8208076 1% /dev
tmpfs 8217120 0 8217120 0% /dev/shm
/dev/xda1 16380820 16280992 0 100% /
Which means disk is full. But > du -h –max-depth=1 | sort -hr Showed only 2 GB is used. We have 16 GB space.
Most possible issue was log files not being deleted. Below command revealed that tons of files are there httpd was holding up their deletion.
Restarting the httpd resolved the issue. (service httpd restart)
Just for reference.
Your email address will not be published. Required fields are marked *
This site uses Akismet to reduce spam. Learn how your comment data is processed.