exhuser
asked on
How to clean/compress /var in Linux Red Hat
I have a Linux Red Hat v6 server and noticed that /var is 100% full. The server starts but the web application is not loading. Can this be related to the full directory and what is the best way to clean or resize the directory?
Thanks in advance
Thanks in advance
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Most space:
1. Logs
2. Cache
3. Crash
Which ones can be safely deleted?
1. Logs
2. Cache
3. Crash
Which ones can be safely deleted?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Be aware that some contant in /var is critical for system operation. So dont delete things there until you know its safe to delete this content.
If your system still has unallocated space ynd you have a LVM setup you might enlarge /var by adding unallocated space to it.