The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Small board getting max_user_connection errors
The forum is very small and rarely gets 20 users online (guest and memers combined).
max_user_connection is set to 80 persistent connection settings is: $config['MasterServer']['usepconnect'] = 0; What could be the problem and possible fix? Code:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User xxxxx_xxxxxxxx already has more than 'max_user_connections' active connections /home/xxxxx/public_html/forum/includes/class_core.php on line 317 |
#2
|
|||
|
|||
And this is on a vps?
|
#3
|
|||
|
|||
Well the fix is pretty simple, increase the value of max_user_connection. Most shared hosts usually set it to 250/300 so I would set it to that first and see if that fixes it.
|
#4
|
|||
|
|||
Is mysql server restart needed after changing the value?
|
#5
|
||||
|
||||
|
#6
|
|||
|
|||
Is there vbulletin-side optimization to reduce max connection and max user connection error?
|
#7
|
||||
|
||||
No, there is not. There is some article in the articles section for getting around it on some servers, but I have never tried and have no idea if it is still valid.
|
#8
|
||||
|
||||
No, its not a vbulletin issue, its a MySQL issue, you value is too low (and your mysql timeout is probably too high).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|