Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-19-2006, 10:22 PM   PM User | #1
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 470
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
MySQL timing out on simple queries

I have been working on a site for the past few of hours and everything has been running smoothly. About an hour ago every single page load suddenly started taking so long that most of them time out. I haven't changed anything with the queries or the database so I can't figure what is causing this. These queries are ridiculously simple and used to require upwards of 5 seconds to load the whole page at most.

When I look at MySQL in the Windows task manager I see that it isn't using much CPU power, nor is anything else. However, my hard drive light is going non-stop when I try to load a page and whenever the page times out it is always on a line of code fetching a query result from the database.

What could MySQL have suddenly started doing that even simple queries require vast amounts of hard drive usage?
bauhsoj is offline   Reply With Quote
Old 07-20-2006, 07:45 AM   PM User | #2
raf
Master Coder


 
Join Date: Jul 2002
Posts: 6,589
Thanks: 0
Thanked 0 Times in 0 Posts
raf will become famous soon enoughraf will become famous soon enough
that is realy not enough information to let us help you.
__________________
Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html
raf is offline   Reply With Quote
Old 07-20-2006, 01:48 PM   PM User | #3
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 470
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
This happens on Windows XP SP2 with MySQL 5.0.18, PHP 5.1.2, and Apache 2.0.55.

Sadly these occurances also happen at random intervals and then spontaneously clear up at a random point.
bauhsoj is offline   Reply With Quote
Old 07-21-2006, 07:34 AM   PM User | #4
yonni
New Coder

 
Join Date: Jul 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
yonni is an unknown quantity at this point
Quote:
Originally Posted by bauhsoj
This happens on Windows XP SP2 with MySQL 5.0.18, PHP 5.1.2, and Apache 2.0.55.

Sadly these occurances also happen at random intervals and then spontaneously clear up at a random point.
You sound like you speak from personal experience
yonni is offline   Reply With Quote
Old 07-21-2006, 03:46 PM   PM User | #5
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 470
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
Quote:
Originally Posted by yonni
You sound like you speak from personal experience
I have had the productivity of whole work days go down the tube many times before due to this sort of thing happening repeatedly.
bauhsoj is offline   Reply With Quote
Old 07-21-2006, 08:24 PM   PM User | #6
arnyinc
Regular Coder

 
Join Date: Jan 2003
Posts: 867
Thanks: 4
Thanked 8 Times in 8 Posts
arnyinc is an unknown quantity at this point
I'm grasping at straws, but it could be something seemingly unrelated. Perhaps a virus, spyware, or a p2p client hogging resources.
arnyinc is offline   Reply With Quote
Old 07-21-2006, 10:00 PM   PM User | #7
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 470
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
I am suspecting that Windows is dipping into VM to supply MySQL with the memory it needs. I have 2 GB of RAM so I can't figure why that would be happening when I only have enough apps open to use at max half of the available RAM.
bauhsoj is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:42 AM.


Advertisement
Log in to turn off these ads.