Previous Thread
Next Thread
Print Thread
Hop To
#166211 10/15/2006 9:47 PM
Joined: Oct 2006
Posts: 5
P
stranger
stranger
P Offline
Joined: Oct 2006
Posts: 5
Hello,

I’m hoping someone can help me with this problem.

I am using UBB Threads 6.5.4 and I am receiving the following error messages:

First error page:
Warning: mysql_connect(): Too many connections in /usr/home/alleno/www/htdocs/forum/mysql.inc.php on line 36
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/home/alleno/www/htdocs/forum/mysql.inc.php on line 108
Script: /usr/home/alleno/www/htdocs/forum/ubbt.inc.php
Line#: 1591
SQL Error: Too many connections
SQL Error #: 1040
Query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned,U_LastOn,U_OC_Userid FROM w3t_Users WHERE U_Number = '6'

Second error page
504 error.

I understand that this error probably is related to my web hosting company (Verio). And, this problem occurs usually doing peak hours of 10 AM – 2PM. But now I get it in the evening hours also. When I contact the hosting company tech support they cannot duplicate this error. In their defensive, the problem is intermittent and doesn’t appear all the time

Is this a hosting or software problem?
What can I suggest to the hosting company.

Any help or guidance would be appreciated

Thank you in advance

Punchball #166212 10/15/2006 10:00 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Your main issue is:

Warning: mysql_connect(): Too many connections in /usr/home/alleno/www/htdocs/forum/mysql.inc.php on line 36

Basically your host has a limit of the number of connections that can be made to the MySQL server at any given time. At your peek times you are exceeding that limit. You can ask them what the limit is and if they can raise that for you.

Rick #166229 10/15/2006 10:57 PM
Joined: Oct 2006
Posts: 5
P
stranger
stranger
P Offline
Joined: Oct 2006
Posts: 5
Thank you for that quick reply. I will contact the hosting company and ask that question. I usually have between 100 and 200 forum visitors at all times.

Also, does Groupee still offer web hosting?

Punchball #166242 10/15/2006 11:21 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
First thing would be to make sure you don't have Persistent connections turned on in the DB section of the control panel. If that's on then the connections won't close which could be part of it.

With the recent changes, currently we only offer Enterprise level hosting, which is a bit much for standard websites.


Rick #166251 10/16/2006 12:29 AM
Joined: Oct 2006
Posts: 5
P
stranger
stranger
P Offline
Joined: Oct 2006
Posts: 5
Nope, I do not have Persistent connections turned on.

Sorry to hear about the hosting. Can you or anyone point me in the direction of a quality host?

Punchball #166255 10/16/2006 1:26 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
There's a topic going on right now in our general chat forum:

https://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/165954

Rick #166258 10/16/2006 1:33 AM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
yeh I need to throw a couple more up there, i have a long list when I was searching for a host a while ago...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #166380 10/16/2006 11:25 PM
Joined: Oct 2006
Posts: 5
P
stranger
stranger
P Offline
Joined: Oct 2006
Posts: 5
Can anyone help suggest what type of hosting capacity I should look for in a web host?

The activity on my web site is currently:
Sessions/visitors per day: 2,000-2,500
Pageviews per day: 15,000
Bytes transferred per day 270 MB

My forums have about 20,000 posts.
Usually within a 90 minute span there are about 100 to 150 forum visitors. High was 226.

Currently I am getting a MySQL error of too many connections, or a 504 time out error.
I use Verio as my host and I have their top shared hosting plan which is 1000 GB monthly data transfer and 40 GB disk space. Their tech support is suggesting I switch to a VPS to combat this issue.

I have very little expertise concerning servers and hosting. All I really can do is upload files via FTP to keep my site updated. Please dummy down your replies.

Thanks

Punchball #166385 10/17/2006 2:54 AM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Likely you'll want to move to a VPS or Dedicated soltuion; the 504 error is a timeout error; you can find more information about it at:
http://www.checkupdown.com/status/E504.html


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #166410 10/17/2006 2:07 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Check to see if you have permanent connections enabled. If so turn it OFF! then ask tech support to restart Apache.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
David Dreezer #166444 10/18/2006 11:03 AM
Joined: Oct 2006
Posts: 5
P
stranger
stranger
P Offline
Joined: Oct 2006
Posts: 5
Originally Posted by David Dreezer
Check to see if you have permanent connections enabled. If so turn it OFF! then ask tech support to restart Apache.

Where do I find this setting please?

Punchball #166447 10/18/2006 1:48 PM
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I think he is referring to persistent connections.

Daryl Fawcett #166528 10/19/2006 6:01 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
I was. Working off the top of my head at the time. Thanks Daryl.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 166 guests, and 137 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)