Tag Info

New answers tagged

0

This may not be the best answer, but I would configure some monitoring platform like Nagios to watch the servers. Stuff like this happens all the time, and if this is a client, you need to know there's an issue before the users do. I have used Nagios for years to watch my servers, and it sends emails if there's anything that goes sideways. I have configured ...


0

You can use symlinks to handle this. What operating system are you using?


0

lsof -ns |grep deleted Started to kill those processes and space appears :)


0

/proc/partitions does not exist under OpenVZ. The container isn't a "true" Linux system, so a lot of things don't appear.


3

Almost every *nix host needs a mailer - for system messaging. You can remove the exim spool files, but it would be much better to investigate what was sent to you. I think those files are messages from cron about some problem(s). For proper removal you have to enter the /var/spool/exim4/msglog and run: exim -Mrm <filename>


0

VirtFS is used for jailed shell access on your various cpanel accounts: https://documentation.cpanel.net/pages/viewpage.action?pageId=363754 The VirtFS doesn't actually count toward disk space since they're all basically symlinks. Do NOT delete this folder if jailed shells are mounted-- it will delete all of the files inside and could damage your server's ...


3

du -sh /* --exclude /proc --exclude /var/www Then work your way down to see where all the files are. Your logs are probably smashing the volume. Then see if there are any open files that were deleted but the file usage hasn't been deleted. Look for all the large files that are returned from: sudo lsof | grep deleted


3

I have modified the code to adapt new BASH syntax and more robust check. #!/bin/bash usage() { echo "$0 check_nt -H host [-p port] [-w warning] [-c critical] [-l params] [-t timeout]" 1>&2; exit 1; } while getopts ":H:p:l:w:c:" opt; do case "${opt}" in H ) HOST_NAME=$OPTARG;; p ) PORT=$OPTARG;; l ) DISC=$OPTARG;; w ) ...



Top 50 recent answers are included