Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd August 2004, 09:42 PM
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 44
Posts: 16
FC2 load issue on server running mysql-4.0.xx

I recently upgrading one of our slave mysql servers from FC1 to FC2. The only service running on this machine is mysql-4.0.20-server (precompiled binary from mysql.com.

The server is a Compaq DL380 Dual 2.4 Xeons with 5G of ram.

When on 2.4.22-1.2197.nptlsmp kernel, load average was approx .30 to .50

Fresh install of FC2 as server, installed all updates including kernel to 2.6.6-1.435-2.3smp.

Now the load fluctuates wildly from .90 to 1.95 and query times are really slow compared to FC1.

Has anyone else seen this issue?

Thanks
Reply With Quote
  #2  
Old 3rd August 2004, 12:15 AM
rkl Offline
Registered User
 
Join Date: Jul 2004
Posts: 153
No problems with FC2 + MySQL 4.0.18

I'm using MySQL 4.0.18 and FC2 to drive a phpBB bulletin board without any load issues - Dell PowerEdge with 2 * 2.80Ghz Xeons. Load is quite low (0.1, 0.2), but the board isn't that busy (yet !). Certainly not fluctuating like you suggested.

What happens to the load average if you:

1. Shut down MySQL for a few mins (if you can...might not be possible if it's a busy live service).

or

2. "renice -n 4" on the various MySQL processes.

I'm presuming it is MySQL to blame here and not PHP/Apache/something else.
Reply With Quote
  #3  
Old 3rd August 2004, 03:24 AM
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 44
Posts: 16
thanks for the reply.

It cannot be apache/php because they aren't on the box. Other than some monitoring tools, this box only runs mysql. I've verified the load (database wise) via mytop, which I use all of the time. It shows the same queries per second, same % select/insert/update/delete so I'm pretty sure it's something to do with the 2.6 smp kernel and hyperthreading when the server is under a load

This machine does slightly over 4million queries per day, but this didn't change since the upgrade, so again my issue seems to be 2.4 vs. 2.6 kernels (and more specifically, maybe just the smp hyperthreading portion of 2.6) on my hardware.

I can take this server out of the group of slaves for the live site, and stop mysqld and the load will return to zero.

I haven't tried renicing the mysqld processes and will try that tomorrow.

What I will also try is disabling hyperthreading in the bios to see if that has any effect.

Anyone else having load issues at all on FC2?

I was very interested in upgrading from FC1 to FC2 mainly due to the 2.6 kernels and according to several articles they show decent improvements in multi-cpu environments. Up til now, my experience has not show this on the server side.
Reply With Quote
  #4  
Old 3rd August 2004, 09:11 PM
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 44
Posts: 16
I've done some further research. I installed a fresh copy of FC1, ran all updates, then compiled and installed a vanilla 2.6.7 kernel from kernel.org and the same machine runs at approx the same load avg as FC1 with a 2.4 kernel.

This leads me to believe there is an issue with either the stock FC2 2.6 kernels on SMP hyperthreading, or possibly a glibc library issue?

I will re-install FC2 on this machine, and compile a vanilla 2.6.7 kernel to check.

If there are any other directions I should be looking, please let me know.

Thanks again
Reply With Quote
  #5  
Old 4th August 2004, 02:27 AM
jeru Offline
Registered User
 
Join Date: May 2004
Location: Arizona
Posts: 119
It could just be the mysql build...... Did you try building your own rpm's?
Reply With Quote
  #6  
Old 16th August 2004, 09:13 PM
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 44
Posts: 16
I've finally run some more tests on this situation.

I loaded FC2 and all updates on another (same model) machine and it too had wild load variabtions and overall high load averages.

I compiled a vanilla 2.6.7 SMP kernel and rebooted. voila, problem is gone again.

I believe this narrows the issue down to a Fedora 2.6 kernel.
Reply With Quote
  #7  
Old 22nd September 2004, 09:38 PM
WeNdeL Offline
Registered User
 
Join Date: Sep 2004
Posts: 6
tirespeed, after you recompiled the kernel, were you still using a mysqld from the binary rpm install?
Reply With Quote
  #8  
Old 22nd September 2004, 11:03 PM
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 44
Posts: 16
I've never had an rpm install of mysql, just the pre-compiled versions from mysql.com, not max just standard. I haven't had much time to go much further, but it looks like it's one of the kernel patches that the Fedora teams applies is causing the load fluctuations. I say this because I've changed mysql versions, Fedora core 1 and 2 exhibit the same issue, but only when using the Fedora smp 2.6 kernels. With either core 1 or core 2 and a vanilla kernel 2.6 the problem is gone.
Reply With Quote
Reply

Tags
fc2, load, mysql40xx, running, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql running on high load ashu_atm2003 Servers & Networking 3 2nd April 2007 01:16 AM
F5 MYSQL 5.0.22 won't load cwynn Servers & Networking 1 13th September 2006 01:00 AM
mysql socket issue on heavy load ajji Servers & Networking 14 10th May 2005 01:25 PM
Install mail server from Postfix/CyrusSASL2/PAM-MySQL/MySQL/Dovecot/Amavisd/Clamav chengcsw Guides & Solutions (No Questions) 7 26th April 2005 08:38 PM
MYSQL load DB rae Servers & Networking 2 13th January 2005 11:52 PM


Current GMT-time: 00:01 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat