[Samba] smbd eating 99% CPU usage

Vladuta Cristian cvladuta at ca-ib.ro
Fri Apr 30 06:29:09 GMT 2004



Do you know what can cause the smbd process to steal out the cpu usage
(99%) and keep running like that for days? Is there a spawn problem?
I have a Samba PDC 3.0.1pre3 running on top of RH9 2.4.20 kernel based.
Below is the current top report.

What can be done to explain and prevent such situations?

 09:15:51  up 7 days,  5:04,  1 user,  load average: 1.04, 1.03, 1.00
63 processes: 61 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  19.1% user   0.9% system   0.0% nice   0.0% iowait  79.8%
idle
Mem:   513096k av,  506636k used,    6460k free,       0k shrd,  112504k
buff
                    327016k actv,    1064k in_d,  127456k in_c
Swap: 1052248k av,   28808k used, 1023440k free                  339800k
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU 	%MEM   TIME CPU
COMMAND
 3474 root      16   0  1008  272   192 S    	99.9  0.0  1989m   0
smbd
    1 root      15   0   104   76    56 S     0.0  0.0   0:04   0 init
    2 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
keventd
    3 root      34  19     0    0     0 SWN   0.0  0.0   0:02   0
ksoftirqd_CPU0
    8 root      25   0     0    0     0 SW    0.0  0.0   0:00   0
bdflush
    4 root      15   0     0    0     0 SW    0.0  0.0   0:04   0 kswapd
    5 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
kscand/DMA
    6 root      15   0     0    0     0 SW    0.0  0.0   3:57   0
kscand/Normal
    7 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
kscand/HighMem
    9 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
kupdated
   10 root      24   0     0    0     0 SW    0.0  0.0   0:00   0
mdrecoveryd
   16 root      21   0     0    0     0 SW    0.0  0.0   0:00   0
scsi_eh_0
   19 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
kjournald
   77 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 khubd
 2962 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
kjournald
 2963 root      15   0     0    0     0 SW    0.0  0.0   0:00   0
kjournald
 2964 root      15   0     0    0     0 SW    0.0  0.0   0:05   0
kjournald
 2965 root      15   0     0    0     0 SW    0.0  0.0   0:07   0
kjournald
 3283 root      15   0   184  152   112 S     0.0  0.0   0:00   0
syslogd
 3287 root      15   0    52    4     0 S     0.0  0.0   0:00   0 klogd
 3305 rpc       24   0    76    4     0 S     0.0  0.0   0:00   0
portmap
 3324 rpcuser   25   0    80    4     0 S     0.0  0.0   0:00   0
rpc.statd
 3420 root      15   0   380  232   136 S     0.0  0.0   0:00   0 sshd
 3434 root      24   0   116    4     0 S     0.0  0.0   0:00   0 xinetd
 3455 root      15   0   984  468   328 S     0.0  0.0   0:00   0
sendmail
 3464 smmsp     15   0   776  328   244 S     0.0  0.0   0:00   0
sendmail
 3478 root      15   0  1396  804   608 S     0.0  0.1   0:08   0 nmbd
 3487 root      15   0    60   28    12 S     0.0  0.0   0:01   0 gpm
 3497 root      15   0   148  132    88 S     0.0  0.0   0:00   0 crond
 3567 xfs       15   0  2456  120    64 S     0.0  0.0   0:00   0 xfs
 3597 daemon    15   0   180  168   120 S     0.0  0.0   0:00   0 atd
 3602 root      15   0   248   88    64 S     0.0  0.0   0:00   0 atalkd
 3606 root      23   0    48    4     0 S     0.0  0.0   0:00   0
mingetty
 3607 root      23   0    48    4     0 S     0.0  0.0   0:00   0
mingetty
 3608 root      23   0    48    4     0 S     0.0  0.0   0:00   0
mingetty
 3609 root      23   0    48    4     0 S     0.0  0.0   0:00   0
mingetty
 3610 root      23   0    48    4     0 S     0.0  0.0   0:00   0
mingetty
 3611 root      23   0    48    4     0 S     0.0  0.0   0:00   0
mingetty
 3612 root      15   0   632    4     0 S     0.0  0.0   0:00   0
gdm-binary
 3656 root      15   0 65360  784   216 S     0.0  0.1   0:01   0 X
 3674 gdm       15   0 13424 2564  1364 S     0.0  0.4   0:00   0
gdmgreeter
 3678 root      23   0   184    4     0 S     0.0  0.0   0:00   0 papd
 3682 root      15   0   476  288   208 S     0.0  0.0   0:00   0 afpd
[root at nexus root]#


More information about the samba mailing list