max_user_connections for hosting companies ?

izumi777

Member
Just wondering how much max_user_connections your hosting companies give.
In thailand most hosting companies limit it to about 30.
Some limit it to 10. I limit it to 7.
 
You're talking about MySQL right?

It will depend on the hardware that you are running, and the load generated on the server and how many visits are actually hitting the database.

For us, on our Quad Core Xeons with 4GB ram we run 100 as a standard and then increase with more ram. Again, it's relative to the usage on the machine too. I've never seen it set at 10 before though, that's awfully low. You'll find SOME hosts even set this up in the 500 range, but again it depends on your hardware and what you're doing.
 
Just wondering how much max_user_connections your hosting companies give.
In thailand most hosting companies limit it to about 30.
Some limit it to 10. I limit it to 7.

Not sure these records are for database access.
If izumi777 could bring clarification about it; this should be better.
 
the "max_user_connections" flag is specific to MySQL. It is not listed as a setting in php.ini or in httpd.conf, only in the my.cnf file, thus, it's related to mysql ;)
 
max_user_connections is related to MySQL. Server gives 'Too Many Connections' error whenever there is no room in the connection pool for the new connection objects. Hence, each company limit this connection on their server specification.
 
max user connections is related to MySQL.Our shared hosting max user connections is 50 and the dedicated hosting is unlimited.
 
be careful setting it to unlimited - you can quickly crash a server by running a slew of mysql queries. Limits are ALWAYS a good thing - as once you start reaching the limit, you know you need to add more resources.
 
I completely agree with thewebhostingdi.You have done an great job.. Such an informative and well formed post!Thanks for sharing that, it was wonderful of you.
max_user_connections is related to MySQL. Server gives 'Too Many Connections' error whenever there is no room in the connection pool for the new connection objects. Hence, each company limit this connection on their server specification.
Thanks for the nice collection of this posts.!!!This is really good information....
Good luck!
 
I assume that really depends on the web hosting service provider, Different web hosting companies can offer you different connections. To have this info you will need to contact the provider
 
"max_user_connections" are totally decided by the hosting company. They can increase-decrease as per the requirement. This settings lie in the php.ini file.
 
Now, we have about 50 clients on our server. We have
CPU: Intel Dual Xeon Woodcrest 5130
and RAM: 8gb

- server do not have some outages and server load is good (about 0.9 at 5 PM)
 
Back
Top