Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (SteveS, Jake), 47 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#227943 - 07/28/09 08:31 PM 7.5 Experts? - Getting Database Error Messages
PianoWorld Offline
journeyman
Registered: 10/19/08
Posts: 52
Loc: Largo, Florida
Our forums (www.PianoWorld.com/forum) have been acting up the last couple weeks. Seems to be even worse over the last couple days.

Members/visitors are encountering this message:

UBB Message
We encountered a problem. The reason reported was
Database error only visible to forum administrators

Please click back to return to the previous page.

Or, it's taking unusually long to load a page.
There is even a thread running about the issues:
http://www.pianoworld.com/forum/ubbthreads.php/topics/1237272

We are running on multiple Sun Machines with tons of ram.
The techs at our hosting service have allocated lots of memory , processing power, and SQL connections to the forums.

I'm not technical enough to know where to look or what might be causing the issues.

If anyone can help, I'd appreciate it.
I'm even willing to pay for some expertise. The forums are an important part of my site.
_________________________
Founder/Host
Piano World
www.PianoWorld.com
Home of the world famous Piano Forums.
www.PianoWorld.com/forum
52,000+ registered members
Over 1.4 million posts, and growing...
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."
#227944 - 07/28/09 09:03 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: PianoWorld]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, your best bet is to turn on MySQL error logging and asking users to write down that time (and their timezone) that an error occoured, then you can look at the error log and see what the error is at that time.

The message is displayed as to not show users queries/data/passwords that may be bad to display as plain text...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227946 - 07/28/09 09:06 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: Gizmo]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Sounds like your not able to connect to the database.
Top
#227947 - 07/28/09 09:23 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: JAISP]
PianoWorld Offline
journeyman
Registered: 10/19/08
Posts: 52
Loc: Largo, Florida
Thanks, I just enabled the sql error logging.

Of course that presumes I'll have any idea what it means if it logs any errors.
_________________________
Founder/Host
Piano World
www.PianoWorld.com
Home of the world famous Piano Forums.
www.PianoWorld.com/forum
52,000+ registered members
Over 1.4 million posts, and growing...
Top
#227948 - 07/28/09 10:09 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: JAISP]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: JAISP
Sounds like your not able to connect to the database.
Not nessessarily, there are plenty of reasons why an error would be triggered, such as not sending the forum id variable with request; there are plenty of reasons that the errors popup; just search around and you can find quite a few tongue...

Well, you tell us what the logs say, we'll tell you how to fix it smile.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227958 - 07/29/09 11:21 AM Re: 7.5 Experts? - Getting Database Error Messages [Re: Gizmo]
PianoWorld Offline
journeyman
Registered: 10/19/08
Posts: 52
Loc: Largo, Florida
So I turned on error logging (and tested the directory).

People are still getting the message...

"UBB Message
We encountered a problem. The reason reported was
Database error only visible to forum administrators

Please click back to return to the previous page."

Either that, or they get really sloooow loading pages.

Nothing has showed up in the error log directory (except the test file).

Arggh.

In the meantime, I've had the admin at our hosting service checking things on his end. He has some technical questions that may help, he is going to join the threads forum.
His name is Ken Chase, from heavycomputing.ca. Good guy, knows his stuff.
I would appreciate whatever you folks could do to help him (and me) out.




_________________________
Founder/Host
Piano World
www.PianoWorld.com
Home of the world famous Piano Forums.
www.PianoWorld.com/forum
52,000+ registered members
Over 1.4 million posts, and growing...
Top
#227959 - 07/29/09 12:25 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: PianoWorld]
mathx Offline
stranger
Registered: 07/29/09
Posts: 5
Hi, Im the admin of the system in question that pianoworld is referring to.

During a system backup, there's a fair bit of file IO going on, and of course the forums are still up and running as usual. If there's alot of activity (say a few forum searches in the large forum system), things can get very heavily loaded and slow for short periods of time. Sometimes however, it seems to stop completely.

I watched this happen today, and so stopped the backup, checked for anything else on the server using IO and killed it, and the system was completely idle. The main website (outside UBB) was peppy, and mysql on the cmd line for even complex queries was very fast. However the forums were still not working, generating that error.

Only after stopping and restarting apache and mysql did things recover. (Im thinking stopping mysql didnt do anything, it was apache). My guess is there's a connection pool to mysql that UBB uses and it got filled with a number of requests that wedged while the server was busy for a short period, but then all other queries piled up behind.

The most curious thing is that this has been happening off and on for the last few weeks, but the system eventually recovers. Im wondering how it does, and when - what's it waiting for when the system is already idle for several minutes before it recovers? I dont see any crontabs installed that would do some regular 'cleanup' operation... So what's causing it to unwedge, and why doesn't it happen faster once load dissipates?

(Obviously this connection pooling is my personal theory with no evidence, just have seen it with other applications in the past - wondering what I should do/run/look at to verify that's what's happening.)

Thanks.

-math
Top
#227961 - 07/29/09 03:44 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: mathx]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, if it's not writing errors to the disk, you could set the "$showerror = 0;" line in /libs/mysql.inc.php to "$showerror = 1;" and it'll just dump the error to the user's browser... But again, at times, it's possible that it could contain data that you otherwise wouldn't want people to see.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227973 - 07/30/09 10:55 AM Re: 7.5 Experts? - Getting Database Error Messages [Re: Gizmo]
PianoWorld Offline
journeyman
Registered: 10/19/08
Posts: 52
Loc: Largo, Florida
Originally Posted By: Gizmo
Well, if it's not writing errors to the disk, you could set the "$showerror = 0;" line in /libs/mysql.inc.php to "$showerror = 1;" and it'll just dump the error to the user's browser... But again, at times, it's possible that it could contain data that you otherwise wouldn't want people to see.


Thanks Gizmo, but I'm a little hesitant to open things up that way.

Does anyone know the answers to math's questions above?
_________________________
Founder/Host
Piano World
www.PianoWorld.com
Home of the world famous Piano Forums.
www.PianoWorld.com/forum
52,000+ registered members
Over 1.4 million posts, and growing...
Top
#227976 - 07/30/09 02:26 PM Re: 7.5 Experts? - Getting Database Error Messages [Re: PianoWorld]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
It probably would be best to open a support ticket with UBB.
You have logging turned on so if you see that generic database error it should be creating error logs. You can test it by opening control panel>Database tools -SQL COMMAND and submit a bogus query. It will create a error log entry. So I don't understand why you don't have any logs.
As far as mathx stated there are requirements for the connection pool. Can't find it now but I think 50 is the minimum suggested here.
_________________________
Blue Man Group
Top
Page 1 of 4 1 2 3 4 >



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

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

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