Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Feb 2017, 05:27
chikuru chikuru is offline
 
Join Date: Nov 2011
Arrow 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?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #2  
Old 27 Feb 2017, 19:53
final kaoss final kaoss is offline
 
Join Date: Apr 2006
And this is on a vps?
Reply With Quote
  #3  
Old 27 Feb 2017, 19:57
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #4  
Old 28 Feb 2017, 03:43
chikuru chikuru is offline
 
Join Date: Nov 2011
Originally Posted by Dave View Post
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.
Is mysql server restart needed after changing the value?
Reply With Quote
  #5  
Old 28 Feb 2017, 05:20
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Originally Posted by chikuru View Post
Is mysql server restart needed after changing the value?
Yes
Reply With Quote
  #6  
Old 02 Mar 2017, 18:59
chikuru chikuru is offline
 
Join Date: Nov 2011
Is there vbulletin-side optimization to reduce max connection and max user connection error?
Reply With Quote
  #7  
Old 02 Mar 2017, 19:23
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #8  
Old 02 Mar 2017, 23:39
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by chikuru View Post
Is there vbulletin-side optimization to reduce max connection and max user connection error?
No, its not a vbulletin issue, its a MySQL issue, you value is too low (and your mysql timeout is probably too high).
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:55.

Layout Options | Width: Wide Color: