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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-10-2008, 04:54 PM
|
#1
|
Member
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55
Rep:
|
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!
|
|
|
11-10-2008, 06:11 PM
|
#2
|
Member
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124
Rep:
|
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.
|
|
|
11-10-2008, 07:27 PM
|
#3
|
Member
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55
Original Poster
Rep:
|
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!
|
|
|
11-10-2008, 07:32 PM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434
|
|
|
|
11-10-2008, 08:00 PM
|
#5
|
Member
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55
Original Poster
Rep:
|
ah... that would be helpful.. thanks! until the next time!
|
|
|
11-11-2008, 05:31 AM
|
#6
|
Member
Registered: Oct 2008
Posts: 100
Rep:
|
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.
|
|
|
11-11-2008, 11:26 AM
|
#7
|
Member
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55
Original Poster
Rep:
|
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..
|
|
|
All times are GMT -5. The time now is 02:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|