Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 05:51 pm EST
Geeklog Forums
max_updates?
tgotc
1226: User 'tgotc' has exceeded the 'max_updates' resource (current value: 60)
I get this one line of text when I try to view even the index page of my GeekLog at http://www.tgotc.com/geeklog/.
I have no idea what's going on. Please help me out.
Thank you very much.
--TGOTC
Anonymous
tgotc
Anonymous
Anonymous
Would you happen to know which precise version of mySQL your site happens to be running? This may be a big clue to getting to the bottom of this.
Thanks.Anonymous
Anonymous
When I run phpMyAdmin, the second line of text shows "MySQL 4.0.10-gamma-log running on..."
Yep, that's the magic number. Ok, I think I can see what's happening now.
MySQL 4.02 and later provides some level of control over how much drain a database user can place upon the database server. There is a "maximum number of updates per hour" limit which, it appears, your activity on that day exceeded. Remember that Geeklog tracks things like the number of page hits, keeps tabs on your session and other housekeeping behind the scenes. This implies that each visitor to your web site will trigger database update activity. Exceed the max_updates_per_hour limit in a sixty minute period and the database server will start to squawk at you. Back off for a short while and all appears to be normal again...
-
If you have full control over your MySQL database, you can remove the limit with a line such as:
GRANT USAGE ... WITH MAX_UPDATES_PER_HOUR 0;
- If you are not in such a privileged position and are at the mercy of your service provider, you might want to ask nicely for the MAX_UPDATES_PER_HOUR limit to be reviewed for your database user. You may even find out that they have pre-empted your request and already increased your limit for you! :-)
If you never see that message again, you might not really care too much about taking any action. I guess it depends on how much activity your site sees.
If you're interested, you can read more about this in the Limiting User Resources section of the MySQL documentation.
I happen to be running version 3.x of MySql but after reading about your technical problem, I think it's time to consider upgrading to version 4.x at some stage, so thanks for helping to bring this to my attention!
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content