Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (Ruben, Gizmo, Bert), 21 Guests and 28 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/13/06
Posts: 155
Top Posters (30 Days)
Ruben 45
Bert 25
Gizmo 19
Rob Provencher 12
SD 9
Rimex 9
sw55 7
Eugene 5
TCS1 4
Matthias1976 4
Latest Photos
Uhm...
Mayan End of World
Gas Station Disco Video Shoot
Test Pictures
Audrey Kate
Page 2 of 4 < 1 2 3 4 >
Topic Options
#230007 - 10/15/09 06:58 PM Re: Max User Connections error [Re: Gizmo]
Bill B Offline

enthusiast
Registered: 10/29/06
Posts: 250
Loc: Issaquah, WA
Yep... got it... as luck has it, I was just able to log in and use the CP.

Here is what I'm seeing:

Beginning at 09:28 this morning this is the error message that filled my log file:
Script: - Line: Unable to connect to the database! - Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

Then from 11:46 to 13:13 it was this:
Script: - Line: Unable to connect to the database! - User vccachat already has more than 'max_user_connections' active connections

Then from 13:14 to 13:43 it went back to this:
Script: - Line: Unable to connect to the database! - Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

Then from 13:55 to 14:18
Script: - Line: Unable to connect to the database! - Lost connection to MySQL server at 'reading initial communication packet', system error: 0
=====================
Does this look like it could be caused by increaed users on the forum??? That's what the HOST is telling me... and of course, they want me to upgrade to a VPS for more $$$ per month.
_________________________
--BIll B
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#230062 - 10/16/09 08:59 AM Re: Max User Connections error [Re: Bill B]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10177
Loc: Aberdeen, WA
Well, if you've seen a substantial increase in users, then potentially that could be the problem. Not from just a couple more users however. And the upgrade from 7.4 to 7.5 definitely doesn't add any more database connections.

Are you running the forum stats box on your site, and if so has your max online record been set recently?
Top
#230144 - 10/19/09 12:49 PM Re: Max User Connections error [Re: Rick]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
errno 12 comes from a couple of things.

Primarily, there is a bug in earlier versions of MySQL 5.1 and some 5.0.x versions. http://bugs.mysql.com/bug.php?id=20815 You might want to upgrade your MySQL version. 5.0.x versions previous to 5.0.48 also exhibit this behavior.

The next possibility is that you've reached the limit of a 32 bit OS and can't allocate more memory but that would take millions of posts, not thousands.
_________________________
This thread for sale. Click here!
Top
#230176 - 10/19/09 10:50 PM Re: Max User Connections error [Re: David Dreezer]
Bill B Offline

enthusiast
Registered: 10/29/06
Posts: 250
Loc: Issaquah, WA
Thanks. Every little bit helps.

1) No our Max Online hasn't changed since 03/31/08.
2) We finally got back on line by turning OFF the FastCGI function.
3) An SA at the hosting company finally admitted that he upped the PageFile setting.

Currently set at:
max_user_connections set to 100
max_connections=300 set to 300

After four days of relative calm, some users still experience some slowdowns and error messages, but most are doing okay.

I'm thinking about moving to a VPS. Does anyone have experience with hosting UBB and the MySQL db on the same server??
_________________________
--BIll B
Top
#230181 - 10/20/09 12:18 PM Re: Max User Connections error [Re: Bill B]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
"I'm thinking about moving to a VPS. Does anyone have experience with hosting UBB and the MySQL db on the same server??"

This one is. As is UBBDev. They are not vps though.

Did you check on the MySQL server version number?
_________________________
This thread for sale. Click here!
Top
#230198 - 10/20/09 09:30 PM Re: Max User Connections error [Re: David Dreezer]
Bill B Offline

enthusiast
Registered: 10/29/06
Posts: 250
Loc: Issaquah, WA
PHP Version 5.2.6

We had another 20 minute SLOW DOWN today... I got dozens of emails from people letting me know. I just sent the entire log file to the host... but they don't seem to know what to do.

I'm now looking at webintellects.com VPS with Linux.

But I'm wondering if having UBB and MySQL on the same server is a good idea or not.
_________________________
--BIll B
Top
#230200 - 10/20/09 11:20 PM Re: Max User Connections error [Re: Bill B]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
Bill, I'm not trying to give you a hard time, but 3 times you've seemed to miss the one thing above all that causes this error. http://bugs.mysql.com/bug.php?id=20815

Have you checked your MySQL server version yet against the versions known to have the bug that most commonly gives the errno 12 error? You answered with PHP version but is not MySQL server version.

Please check that as it is the most likely cause.
_________________________
This thread for sale. Click here!
Top
#230220 - 10/21/09 02:01 PM Re: Max User Connections error [Re: David Dreezer]
Gizmo Online   cat

Registered: 06/05/06
Posts: 15453
Loc: Portland, OR; USA
And regarding MySQL and the webserver on the same host; that's actually how most environments are...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime Supporter, Beta Tester & Resident Post-A-Holic.
Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Top
#230228 - 10/21/09 11:10 PM Re: Max User Connections error [Re: David Dreezer]
Bill B Offline

enthusiast
Registered: 10/29/06
Posts: 250
Loc: Issaquah, WA
David, I love you man. Give me a hard time. ?!?!

Sorry, I was too distracted to stay focused. Tonight for the first time in 3 years, my host has finally sent me the list of the server settings.

Here's what I just pulled for the MySQL info:
MySQL client version: 5.0.22
and
Server version: 5.0.45-community-nt


Here is a copy of the current mysql configuration:

[MySQLD]
port=3306
basedir=E:\\Databases\\MySQL
datadir=E:\\Databases\\MySQL\\Data
default-character-set=latin1
default-storage-engine=INNODB
read_buffer_size=1M
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=16M
innodb_log_file_size=10M
innodb_thread_concurrency=8
max_connections=400
old_passwords=1
max_user_connections=100
thread_cache_size=4
thread_stack=196608
binlog_cache_size=32768
net_read_timeout=300
net_retry_count=10
net_write_timeout=300
thread_concurrency=10
wait_timeout=400
interactive_timeout=400
open_files_limit=0
[client]
_________________________
--BIll B
Top
#230229 - 10/22/09 02:07 AM Re: Max User Connections error [Re: Bill B]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
5.0.45. In other words, 3 sub versions before the bug was fixed at 5.0.48. Your server version has the bug known to cause issue that you have. Encourage them to upgrade to something newer. Give them the link to to that bug if they need to understand why they need to upgrade.
_________________________
This thread for sale. Click here!
Top
Page 2 of 4 < 1 2 3 4 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Express hosting.
by Ruben
05/16/13 03:54 PM
Level of detail in new user registration emails
by Mitch P.
05/15/13 10:20 PM
Approving users
by Bert
05/15/13 09:22 PM
Users randomly added to other group
by Bert
05/15/13 09:15 PM
Posting and other problems with 7.5.7
by Matthias1976
05/15/13 02:58 PM
Forum Stats
10964 Members
36 Forums
33956 Topics
183399 Posts

Max Online: 978 @ 06/24/07 10:19 PM
Random Image