Anvilman
7-7-03, 12:59 PM
Well it seems that after nearly a year of running my site off 1 mySQL database, all the messups last week crippled my site. It was up/down all week, and was down all day yesterday due to a corrupted table (has NEVER happened before yesterday).
I got a programmer-friend to repair the table "user", but when the site came back the site ran like mud and the forums took 5minutes/page to load and didnt really work. Everything took forever to respond.
Today I got this message:
From: "PowWeb Admin" <admin@powweb.com>
Subject: Package Service mySQL (159586) Disabled
Using long queries causing server to stop responding and needing to be restarted.
# Time: 030707 0:13:15
# User@Host: omp[omp] @ h24-85-201-109.vn.shawcable.net [24.85.201.109]
# Query_time: 59 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
use omp;
REPAIR TABLE attachment;
# Time: 030707 0:13:19
# User@Host: omp[omp] @ localhost []
# Query_time: 153 Lock_time: 0 Rows_sent: 54 Rows_examined: 108
SELECT template,title
FROM template
WHERE (title IN ('forumhome_birthdaybit','error_nopermission','for umhome_pmloggedin','forumhome_welcometext','forumh ome_logoutcode','forumhome_newposts','forumhome_to dayposts','forumhome_logincode','forumhome_loggedi nuser','forumhome_loggedinusers','forumhome_lastpo stby','forumhome_moderator','forumhome_forumbit_le vel1_nopost','forumhome_forumbit_level1_post','for umhome_forumbit_level2_nopost','forumhome_forumbit _level2_post','forumhome','forumhome_unregmessage' ,'gobutton','timezone','username_loggedout','usern ame_loggedin','phpinclude','headinclude','header', 'footer','forumjumpbit','forumjump','nav_linkoff', 'nav_linkon','navbar','nav_joiner','pagenav','page nav_curpage','pagenav_firstlink','pagenav_lastlink ','pagenav_nextlink','pagenav_pagelink','pagenav_p revlink')
AND (templatesetid=-1 OR templatesetid='1'))
OR (title = 'maxloggedin')
OR (title = 'birthdays')
ORDER BY templatesetid;
# Time: 030707 0:14:21
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 158 Lock_time: 0 Rows_sent: 10 Rows_examined: 609
use nagios;
SELECT COUNT(userprofiles.country_id) AS total, country_name FROM userprofiles LEFT JOIN countries ON userprofiles.country_id=countries.country_id GROUP BY userprofiles.country_id ORDER BY total DESC LIMIT 0,10;
# Time: 030707 0:14:43
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 250 Lock_time: 0 Rows_sent: 245 Rows_examined: 1016
SELECT * FROM userprofiles LEFT JOIN orgtypes ON userprofiles.orgtype_id=orgtypes.orgtype_id LEFT JOIN countries ON userprofiles.country_id=countries.country_id LEFT JOIN ostypes ON userprofiles.ostype_id=ostypes.ostype_id WHERE has_been_confirmed='1' AND has_been_approved='1' AND has_been_reviewed='1' AND show_profile='1' AND publish_orgname='1';
# Time: 030707 0:15:03
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 258 Lock_time: 0 Rows_sent: 245 Rows_examined: 1016
SELECT * FROM userprofiles LEFT JOIN orgtypes ON userprofiles.orgtype_id=orgtypes.orgtype_id LEFT JOIN countries ON userprofiles.country_id=countries.country_id LEFT JOIN ostypes ON userprofiles.ostype_id=ostypes.ostype_id WHERE has_been_confirmed='1' AND has_been_approved='1' AND has_been_reviewed='1' AND show_profile='1' AND publish_orgname='1';
# Time: 030707 0:15:22
# User@Host: omp[omp] @ localhost []
# Query_time: 167 Lock_time: 0 Rows_sent: 54 Rows_examined: 108
use omp;
SELECT template,title
FROM template
WHERE (title IN ('forumhome_birthdaybit','error_nopermission','for umhome_pmloggedin','forumhome_welcometext','forumh ome_logoutcode','forumhome_newposts','forumhome_to dayposts','forumhome_logincode','forumhome_loggedi nuser','forumhome_loggedinusers','forumhome_lastpo stby','forumhome_moderator','forumhome_forumbit_le vel1_nopost','forumhome_forumbit_level1_post','for umhome_forumbit_level2_nopost','forumhome_forumbit _level2_post','forumhome','forumhome_unregmessage' ,'gobutton','timezone','username_loggedout','usern ame_loggedin','phpinclude','headinclude','header', 'footer','forumjumpbit','forumjump','nav_linkoff', 'nav_linkon','navbar','nav_joiner','pagenav','page nav_curpage','pagenav_firstlink','pagenav_lastlink ','pagenav_nextlink','pagenav_pagelink','pagenav_p revlink')
AND (templatesetid=-1 OR templatesetid='1'))
OR (title = 'maxloggedin')
OR (title = 'birthdays')
ORDER BY templatesetid;
# Time: 030707 0:15:45
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 84 Lock_time: 0 Rows_sent: 10 Rows_examined: 584
use nagios;
SELECT COUNT(userprofiles.orgtype_id) AS total, orgtype_name FROM userprofiles LEFT JOIN orgtypes ON userprofiles.orgtype_id=orgtypes.orgtype_id GROUP BY userprofiles.orgtype_id ORDER BY total DESC LIMIT 0,10;
So who's fault is all this? It seems like this is all a result of the constnat mySQL problems of last week, but now its being blamed on me. My site is NOT high-traffic, and my bandwidth is always well under the limits.
support@powweb.com hasn't been too helpful, unfortunately.
I got a programmer-friend to repair the table "user", but when the site came back the site ran like mud and the forums took 5minutes/page to load and didnt really work. Everything took forever to respond.
Today I got this message:
From: "PowWeb Admin" <admin@powweb.com>
Subject: Package Service mySQL (159586) Disabled
Using long queries causing server to stop responding and needing to be restarted.
# Time: 030707 0:13:15
# User@Host: omp[omp] @ h24-85-201-109.vn.shawcable.net [24.85.201.109]
# Query_time: 59 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
use omp;
REPAIR TABLE attachment;
# Time: 030707 0:13:19
# User@Host: omp[omp] @ localhost []
# Query_time: 153 Lock_time: 0 Rows_sent: 54 Rows_examined: 108
SELECT template,title
FROM template
WHERE (title IN ('forumhome_birthdaybit','error_nopermission','for umhome_pmloggedin','forumhome_welcometext','forumh ome_logoutcode','forumhome_newposts','forumhome_to dayposts','forumhome_logincode','forumhome_loggedi nuser','forumhome_loggedinusers','forumhome_lastpo stby','forumhome_moderator','forumhome_forumbit_le vel1_nopost','forumhome_forumbit_level1_post','for umhome_forumbit_level2_nopost','forumhome_forumbit _level2_post','forumhome','forumhome_unregmessage' ,'gobutton','timezone','username_loggedout','usern ame_loggedin','phpinclude','headinclude','header', 'footer','forumjumpbit','forumjump','nav_linkoff', 'nav_linkon','navbar','nav_joiner','pagenav','page nav_curpage','pagenav_firstlink','pagenav_lastlink ','pagenav_nextlink','pagenav_pagelink','pagenav_p revlink')
AND (templatesetid=-1 OR templatesetid='1'))
OR (title = 'maxloggedin')
OR (title = 'birthdays')
ORDER BY templatesetid;
# Time: 030707 0:14:21
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 158 Lock_time: 0 Rows_sent: 10 Rows_examined: 609
use nagios;
SELECT COUNT(userprofiles.country_id) AS total, country_name FROM userprofiles LEFT JOIN countries ON userprofiles.country_id=countries.country_id GROUP BY userprofiles.country_id ORDER BY total DESC LIMIT 0,10;
# Time: 030707 0:14:43
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 250 Lock_time: 0 Rows_sent: 245 Rows_examined: 1016
SELECT * FROM userprofiles LEFT JOIN orgtypes ON userprofiles.orgtype_id=orgtypes.orgtype_id LEFT JOIN countries ON userprofiles.country_id=countries.country_id LEFT JOIN ostypes ON userprofiles.ostype_id=ostypes.ostype_id WHERE has_been_confirmed='1' AND has_been_approved='1' AND has_been_reviewed='1' AND show_profile='1' AND publish_orgname='1';
# Time: 030707 0:15:03
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 258 Lock_time: 0 Rows_sent: 245 Rows_examined: 1016
SELECT * FROM userprofiles LEFT JOIN orgtypes ON userprofiles.orgtype_id=orgtypes.orgtype_id LEFT JOIN countries ON userprofiles.country_id=countries.country_id LEFT JOIN ostypes ON userprofiles.ostype_id=ostypes.ostype_id WHERE has_been_confirmed='1' AND has_been_approved='1' AND has_been_reviewed='1' AND show_profile='1' AND publish_orgname='1';
# Time: 030707 0:15:22
# User@Host: omp[omp] @ localhost []
# Query_time: 167 Lock_time: 0 Rows_sent: 54 Rows_examined: 108
use omp;
SELECT template,title
FROM template
WHERE (title IN ('forumhome_birthdaybit','error_nopermission','for umhome_pmloggedin','forumhome_welcometext','forumh ome_logoutcode','forumhome_newposts','forumhome_to dayposts','forumhome_logincode','forumhome_loggedi nuser','forumhome_loggedinusers','forumhome_lastpo stby','forumhome_moderator','forumhome_forumbit_le vel1_nopost','forumhome_forumbit_level1_post','for umhome_forumbit_level2_nopost','forumhome_forumbit _level2_post','forumhome','forumhome_unregmessage' ,'gobutton','timezone','username_loggedout','usern ame_loggedin','phpinclude','headinclude','header', 'footer','forumjumpbit','forumjump','nav_linkoff', 'nav_linkon','navbar','nav_joiner','pagenav','page nav_curpage','pagenav_firstlink','pagenav_lastlink ','pagenav_nextlink','pagenav_pagelink','pagenav_p revlink')
AND (templatesetid=-1 OR templatesetid='1'))
OR (title = 'maxloggedin')
OR (title = 'birthdays')
ORDER BY templatesetid;
# Time: 030707 0:15:45
# User@Host: adminuser[adminuser] @ localhost [127.0.0.1]
# Query_time: 84 Lock_time: 0 Rows_sent: 10 Rows_examined: 584
use nagios;
SELECT COUNT(userprofiles.orgtype_id) AS total, orgtype_name FROM userprofiles LEFT JOIN orgtypes ON userprofiles.orgtype_id=orgtypes.orgtype_id GROUP BY userprofiles.orgtype_id ORDER BY total DESC LIMIT 0,10;
So who's fault is all this? It seems like this is all a result of the constnat mySQL problems of last week, but now its being blamed on me. My site is NOT high-traffic, and my bandwidth is always well under the limits.
support@powweb.com hasn't been too helpful, unfortunately.