LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-04-2007, 11:54 AM   #1
peanut3122
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
slackware qmail server - ksoftirqd high load


slackware - qmail server - ksoftirqd - high load

qmail/webmail box constantly getting pinned during the day, culprit looks like the ksoftirqd process. Looking to get ideas what this could mean, read a bunch posts, pointing back to hardware, but need more ways to pin point the issue, if any besides just high load.

Long term, breaking this box & up moving pieces off to other systems...
Short term solution up for grabs?

----info----

running a slackware 10.00 box with 2.6.21.7 #1 SMP
x4 Intel(R) Xeon(TM) CPU 2.40GHz
2gb mem

ps -auxf |sort -nr -k 3 |head -4
root 3 19.4 0.0 0 0 ? RN Nov15 5364:35 [ksoftirqd/0]
vpopmail 25430 11.0 0.3 9744 8140 ? D 12:38 0:00 \_ /usr/bin/perl -T /var/www/cgi-bin/webmail/.openwebmail-main.pl
vpopmail 25462 9.0 0.0 1420 316 ? S 12:38 0:00 | \_ /var/qmail/bin/qmail-pop3d Maildir
vpopmail 25386 6.8 0.4 10068 8500 ? S 12:38 0:00 | \_ /usr/bin/perl -T /var/www/cgi-bin/webmail/.openwebmail-main.pl

ps -auxf |sort -nr -k 4 |head -4
root 520 3.3 0.5 14372 12156 ? S Nov15 915:36 /usr/bin/perl /usr/local/bin/smtpipt
vpopmail 26940 9.0 0.3 10160 8136 ? D 12:40 0:00 | \_ /usr/bin/perl -T /var/www/cgi-bin/webmail/.openwebmail-main.pl
vpopmail 26739 22.5 0.3 9940 8156 ? D 12:39 0:04 | \_ /usr/bin/perl -T /var/www/cgi-bin/webmail/.openwebmail-main.pl
vpopmail 26735 1.7 0.3 9752 7980 ? D 12:39 0:00 | \_ /usr/bin/perl -T /var/www/cgi-bin/webmail/.openwebmail-main.pl



Tasks: 174 total, 5 running, 167 sleeping, 0 stopped, 2 zombie
Cpu(s): 11.4% us, 6.0% sy, 0.0% ni, 35.4% id, 22.1% wa, 0.1% hi, 25.0% si
Mem: 2075672k total, 2019012k used, 56660k free, 256220k buffers
Swap: 2008084k total, 0k used, 2008084k free, 1339772k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3 root 39 19 0 0 0 R 70.7 0.0 5357:49 ksoftirqd/0
25960 root 16 0 101m 97m 836 S 16.6 4.8 31:33.56 rsync
520 root 16 0 14372 11m 1056 S 7.6 0.6 914:19.94 perl
799 vpopmail 15 0 1424 324 260 S 3.7 0.0 0:00.78 qmail-pop3d
2 root RT 0 0 0 0 S 2.7 0.0 12:15.74 migration/0
2071 vpopmail 15 0 1520 420 260 S 2.3 0.0 0:00.07 qmail-pop3d
2128 vpopmail 15 0 1424 324 260 S 2.3 0.0 0:00.07 qmail-pop3d
2156 vpopmail 15 0 1456 356 260 S 2.3 0.0 0:00.07 qmail-pop3d
2052 vpopmail 15 0 1416 316 260 S 2.0 0.0 0:00.06 qmail-pop3d
2155 vpopmail 15 0 1420 320 260 S 2.0 0.0 0:00.06 qmail-pop3d
2179 vpopmail 17 0 1420 320 260 S 2.0 0.0 0:00.06 qmail-pop3d
2181 root 17 0 1660 548 464 R 1.0 0.0 0:00.03 vchkpw
568 qmails 16 0 1500 412 288 S 0.7 0.0 77:13.71 qmail-send
25359 qmaild 15 0 1420 316 264 S 0.7 0.0 0:20.23 qmail-smtpd
25980 qmaild 15 0 1424 316 264 S 0.7 0.0 0:19.09 qmail-smtpd

/service/qmail-send: up (pid 568) 1653338 seconds
/service/qmail-send/log: up (pid 571) 1653338 seconds
/service/qmail-smtpd: up (pid 570) 1653338 seconds
/service/qmail-smtpd/log: up (pid 576) 1653338 seconds
/service/qmail-pop3d: up (pid 14543) 0 seconds
/service/qmail-pop3d/log: up (pid 579) 1653338 seconds
messages in queue: 4


Thanks,

-s
 
Old 12-05-2007, 12:14 PM   #2
digitalboy74
Member
 
Registered: Aug 2004
Location: Matrix
Distribution: slack currrent
Posts: 61

Rep: Reputation: 16
so... basically you need to find out what is causing so many interrupts? What nic do you have?

Perhaps post /proc/interrupts?

Last edited by digitalboy74; 12-05-2007 at 12:18 PM. Reason: space lag
 
Old 12-06-2007, 11:59 AM   #3
peanut3122
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
nic info

strange why all on 1 cpu?

CPU0 CPU1 CPU2 CPU3
0: 157 0 0 0 IO-APIC-edge timer
1: 445 0 0 0 IO-APIC-edge i8042
8: 1 0 0 0 IO-APIC-edge rtc
9: 0 0 0 0 IO-APIC-fasteoi acpi
14: 11 0 0 0 IO-APIC-edge ide0
16: 41345093 0 0 0 IO-APIC-fasteoi eth0
17: 286708 0 0 0 IO-APIC-fasteoi eth1
18: 7058389 0 0 0 IO-APIC-fasteoi dpti0
NMI: 0 0 0 0
LOC: 45417283 45500114 45625576 45564540
ERR: 0
MIS: 0



e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e100: eth1: e100_probe: addr 0xf8401000, irq 17, MAC addr 00:30:48:2B:ED:87
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
 
Old 12-06-2007, 12:29 PM   #4
digitalboy74
Member
 
Registered: Aug 2004
Location: Matrix
Distribution: slack currrent
Posts: 61

Rep: Reputation: 16
hm, that does not look too strange, i think the kernel registered under a single cpu on the Xeons, didn't look like that on the P3's IIRC

are you really running 2.6.21.*7* ? .5 is v12

One thing may be to try running under a different scheduler

io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ksoftirqd cpu usage & load 100% mismacku Linux - General 1 02-25-2009 04:29 AM
Server Load Times High, help? Networks Linux - Newbie 6 05-05-2007 12:37 AM
High server load problem eagletalontim Linux - General 5 01-12-2006 10:42 AM
Qmail problems - CPU load average rising too high xbaez Linux - Software 0 11-16-2005 12:23 PM


All times are GMT -5. The time now is 07:10 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration