Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hello today my VPS server goes down, the node have this:
2GB RAM
1/2 CPU
40 GB Storage
The Server Limit and Max Clients as default:
Server Limit: 256
Max Clients: 150

So .. i set the node to:
RAM 8GB
2 CPUs
160 GB Storage

The "Server Limit" and "Max Clients" still having default values
My question.. exists any table or something, to change the "Server Limit" and the "Max Clients" for the new hardware

Thanks

share|improve this question
add comment

1 Answer 1

These limits control the number of simultaneous clients apache can handle. Having these values too low would not cause a server to crash. In fact, low values often prevent a server from crashing by limiting traffic.

You will want to check the apache error logs:

/usr/local/apache/logs

To see if there is a warning about MaxClients. If there is no warning, then you do not need to adjust these values.

cPanel VPS purposely sets this low to help prevent system crashes.

There is no rule of thumb as each server is unique. Rely on the logs to see if you need to increase it.

More likely, your server ran out of RAM. Check google for "sysstat" and make sure it is installed and learn how to use the "sar" command to get more info about your server's performance metrics.

share|improve this answer
    
Thanks for your info, i will check this commands –  Alejo JM Dec 5 '11 at 20:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.