Previous Thread
Next Thread
Print Thread
Hop To
#187516 06/18/2007 12:11 PM
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
The admin side of my board gives the following error.

has exceeded the 'max_questions' resource

What is this exactly?

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Just the admin side?

I think your whole board should give the error, because this happens if your provider set a max# of queries in a set period of time. Say, 100,000 queries an hour, and you exceed that number.


[Linked Image from siemons.org]
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
You're right the whole board gives the error.

What should the limit be set to?

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Ideally you want to have it at no limit at all, atleast a limit you will never reach.

The mysql error logfiles from ubb show you what the limit is set to now.

But I don't know if your provider agrees with that. Some ask for additional payment for more queries per X time.

Last edited by blaaskaak; 06/18/2007 2:23 PM.

[Linked Image from siemons.org]
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
That is something you can't set unless you own the Server it's running on or can get your provider to change it. It is a limit set to prevent a single account from sucking up all the resources of a server from too many queries in a short period of time.

Granted it may or may not be an accurate measure of resource usage but none the less you don't have access typically on a website to change the setting.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
i never new that :omg:


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Mark S
i never new that :omg:

Then you are a happy camper smile

I knew what it was because it happened to us smile


[Linked Image from siemons.org]
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Well, after chatting with my hosting company, they do have a limit and cannot bump it up.

After years of popularizing my board, i'm now seeing limits to it.
Frustrating.



Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
From the ISP: the limit is 50,000 queries at one time.

I thought it was set by day or by the hour.

Is this something that i can fix?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
50,000 at ONE TIME??

they musta left something out in their explanation. it seems like a vanilla response from them, where they fail to inform you of what is really the case for (insert reason here)

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
It is not a one time setting. It is typically per hour

Not much you can do if your host provider won't change it. It's not just your site, it comes from queries aggregated from all sites being hosted on that server running MySQL.

If you had control you could do something like:

update user set max_questions=0;

Which would disable it, but if the host provider did that, then they could easily run into issues where MySQL would hang quite often from over use.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
And i thought Database size was the only issue with hosts frown
I'm learning a a fair bit reading this..

Goes well in my sales speel for my server lol


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I highly doubt it's doing 50k queries at one TIME... In fact, I don't believe this is a limitation setting in mysql; i'd be willing to bet it's per hour.


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, Scouters World
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!
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Can anyone recommend a hosting company that does not have a query limit on mysql databases?

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
I don't think there is one. There needs to be a limit in order to prevent MySQL coming to a halt and all Web sites suffer from it while it does it's queries.

In a way it sort of makes a host provider limit how many busy sites are on the server (though not a good indicator as some providers just don't care how slow your site is regardless of what is causing it)

If you do see this limit pop up then you probably do need to change providers or at least think of a more dedicated solution.



Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
The query limit is ultimately standard accross shared hosts; it makes it so no one user can bogart the resources.

If you're looking for hosting with less restrictions, you could try a VPS from www.webintellects.com as a VPS will not come with any such resource limitations.


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, Scouters World
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!
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Here's the latest from my hosting company:

"You are having the site hosted on a shared server where there are other users hosted on the same box as well. We have to ensure that all the sites are having equal resource utilization opportunity. It is this reason that we have enabled such limitations on the server which cannot be changed."

Looks like i'll have to move, again!

Any suggestions on where to move to?

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Well if your site is that big and or that busy you'll probably need to look at some type of VPS or Dedicated Server as it looks like you may be beyond the capacity of most hosted solutions.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
If you have a site so large that you've out grown a shared host, the next step is a VPS (Virtual Private Server), which would give your site dedicated resources to use (or abuse) for just your site(s).

For VPS' I'd recommend www.WebIntellects.com, several of us devers have used them for some time.


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, Scouters World
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!
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Danka!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Geoff), 1,018 guests, and 215 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)