Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Servers

Servers The place to discuss any Fedora server problems you may have.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2004-08-02, 02:42 PM CDT
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 41
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 2004-08-02, 05:15 PM CDT
rkl Offline
Registered User
 
Join Date: Jul 2004
Posts: 151
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 2004-08-02, 08:24 PM CDT
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 41
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 2004-08-03, 02:11 PM CDT
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 41
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 2004-08-03, 07:27 PM CDT
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 2004-08-16, 02:13 PM CDT
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 41
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 2004-09-22, 02:38 PM CDT
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 2004-09-22, 04:03 PM CDT
tirespeed Offline
Registered User
 
Join Date: Feb 2004
Location: SE Wisconsin, USA
Age: 41
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql running on high load ashu_atm2003 Servers 3 2007-04-01 06:16 PM CDT
F5 MYSQL 5.0.22 won't load cwynn Servers 1 2006-09-12 06:00 PM CDT
mysql socket issue on heavy load ajji Servers 14 2005-05-10 06:25 AM CDT
Install mail server from Postfix/CyrusSASL2/PAM-MySQL/MySQL/Dovecot/Amavisd/Clamav chengcsw Guides & Solutions (No Questions) 6 2005-04-26 01:38 PM CDT
MYSQL load DB rae Servers 2 2005-01-13 04:52 PM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 04:57 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



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 | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
vB Enterprise Translator (vBET) created by NLP-er