This is a list of processors running from a print out from my webmin my sites are running very slowly!! Why is it running an apache restart all the time?? I am confused Any help is appreciated GMC
Hello, Do you have root access to the server. If yes, please ssh to the server and paste the result of the following command netstat -alpn | grep :80 | aswk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
It means that you have a lot of processes currently running. You also seem to have many web server processes running. Just to clarify the above command posted: This should be : netstat -alpn | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n Code (markup): What this does, is list the number of connection per IP that you have on your server.
Thanks for the replies - yes I have root access here is the my first attempt at the command netstat -alpn | grep :80 | awk '{print $5}' | cut -d: -fl | sort | uniq -c | sort -n cut: invalid byte or field list Try `cut --help' for more information. I will try again
Try this one: netstat -anp | grep ':80' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n Code (markup): You should copy and paste, as you changed the -f1 to -fl. Chris
Sorry for the typos. Try this command and let me know how many connections are there netstat -anp | grep ':80' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Just an update I was hacked - and lost control of the server This explains the resource leaching Thanks to those that tried to assist - it is always appreciated GMC