LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2008, 04:54 PM   #1
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Rep: Reputation: 16
mysql issues...


Been looking for a long time, but not finding lots on it, soo hopefully you guys can assist.

I'm running a web server on fedora + plesk, and mysql, php4, apache

been finding an odd issue where if a bot from let's say google crawls on my server, my iowait goes to 90%, and average load hits up to the 70s and 80s... this only happens when port 80 is triggered (httpd) and a page triggers mysqld.

i can drop it down again by restarting the server or restarting mysql (sometimes it gives a connection to mysql server failed with /etc/init.d/mysqld restart) but what I am wanting to do is decipher which page is causing the issue so it can be resovled...

looking at the logs, they don't seem to say much (as to what page it visited, etc) so if anyone has an idea, would be great. I'm @ work right now, so will post my my.cnf, and/or whatever you guys need to resolve this when i get home, but would be great. thanks!
 
Old 11-10-2008, 06:11 PM   #2
nathacof
Member
 
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124

Rep: Reputation: 17
I would much rather see the output of `mysql -e "SHOW FULL PROCESSLIST"` during the time the problem was occurring, rather than seeing your my.cnf file.
 
Old 11-10-2008, 07:27 PM   #3
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Original Poster
Rep: Reputation: 16
sadly, another friend of mine decided to delete a g2 gallery mysql db and viola, the idle went back to it's nominal 90% instead of being in the iowait.. i could not get the list since it's now cleared up ;\ but it would be nice to know, what does mysql -e "SHOW FULL PROCESSLIST" do?

thanks!
 
Old 11-10-2008, 07:32 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
http://dev.mysql.com/doc/refman/5.0/...ocesslist.html
 
Old 11-10-2008, 08:00 PM   #5
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Original Poster
Rep: Reputation: 16
ah... that would be helpful.. thanks! until the next time!
 
Old 11-11-2008, 05:31 AM   #6
salter
Member
 
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
Do you have database statistics enabled in phpMyAdmin (if you are using phpMyAdmin) for any databases?
That can lead to an extremely large amount of data transfer between the web server and the SQL server.

Linux Archive

Last edited by salter; 12-20-2008 at 11:49 AM.
 
Old 11-11-2008, 11:26 AM   #7
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Original Poster
Rep: Reputation: 16
I am not sure, the db he deleted was a gallery2 (gallery.mentalo?) that was there, but he didn't update it or touch it for a while. thus he decided to just delete it..
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MYSQL Password Issues qwerty_tele Linux - Newbie 4 06-13-2008 07:28 PM
MySQL port issues skulbite Mandriva 14 11-28-2005 01:36 AM
mysql issues raven.sorrow Slackware 2 03-23-2005 01:10 AM
mysql grant issues Robin01 Linux - Newbie 1 10-29-2003 09:56 PM
Issues with MySQL GATTACA Linux - Software 3 09-25-2003 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration