Well i just bought a new dedicated server, I have no Linux experience, but i'm trying to learn.
I have been testing the server for a few days. I improve the httpd.conf my.cnf for better performance, etc.
I notice that my server was reaching MaxClient value in a matter of seconds, and obviously my site start loading really slow.
So I checked the net to see how many httpd process were opened by the same ip:
# netstat -ntu | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
I thought that my server might be under TCP SYN attack, but then I realize that the IP is my own server. So I really don't understand what is going on.
The server is fine, great response, 30% ram usage, 15% CPU usage, and suddenly my own server open many httpd process at the same time, also each process takes like 1.5% of my total ram. So it goes from 40 clients to 120+ clients in a matter of min-secs.
If you guys got any advice for me I will really appreciate it, I have been using linux just for the last three days. At this point, I'm kind of lost.