I have a VPS with 4 GB of ram and 8 cores and about 200K Visits per day. I have DirectAdmin Installed and I always see a huge number of PIDs for httpd and mysqld in DirectAdmin Service Monitor.
e.g. about 40 number of PIDs for mysqld and it increases in a while. I have CSF installed and configured httpd.conf/my.cnf sometimes this load prevents the server from responding and it freezes.
Administrators installed 32bit Centos and defined only 512 MB for SWAP
Swap: 524280 4 524276
any ideas to fix this ?