DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-03-28 16:27:50

secrice
Member
Registered: 2008-03-13
Posts: 5

smbd, cpu usage 100%... why?

Why this happens??


Mem: 59536K used, 2412K free, 0K shrd, 10700K buff, 8088K cached
CPU:   3% usr  96% sys   0% nice   0% idle   0% io   0% irq   0% softirq
Load average: 9.22 9.14 8.75
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
16730  1233 cky      R     5276   8%  13% smbd -D
16682  1233 root     R     5176   8%  13% smbd -D
17148  1233 cky      R     5268   8%  10% smbd -D
16398  1233 cky      R     5260   8%  10% smbd -D
16486  1233 cky      R     5256   8%  10% smbd -D
16529  1233 root     R     5256   8%  10% smbd -D
17277  1233 cky      R     5256   8%  10% smbd -D
22005  1233 cky      R     5208   8%  10% smbd -D
14965  1233 root     R     5180   8%  10% smbd -D
24019     1 root     S    38556  62%   3% /ffp/bin/mlnet
22036 21926 cky      S     3448   6%   0% telnet dns
22038 22037 root     R     1272   2%   0% top -d 2
24054 24053 root     S N  38556  62%   0% /ffp/bin/mlnet
24053 24019 root     S    38556  62%   0% /ffp/bin/mlnet
21925 21909 cky      S     8372  13%   0% sshd: cky@ttyp0
21909  2158 root     S     8216  13%   0% sshd: cky [priv]
21926 21925 cky      S     5564   9%   0% -bash
22058  1233 cky      S     5224   8%   0% smbd -D
2158     1 root     S     5148   8%   0% /usr/sbin/sshd
1233     1 root     S     4928   8%   0% smbd -D
1243  1233 root     S     4928   8%   0% smbd -D
1513     1 root     S     3512   6%   0% /web/webs
1235     1 root     S     2972   5%   0% nmbd -D
1437     1 root     S     2892   5%   0% /ffp/sbin/lighttpd -f /ffp/etc/lighttpd.conf
17771     1 root     S     1568   3%   0% /bin/sh /ctrl_fanspeed.sh
    1     0 root     S     1564   3%   0% init
1555     1 root     S     1564   3%   0% -sh
22238 17771 root     S     1556   3%   0% /bin/sleep 32
11951     1 root     S     1304   2%   0% /sys/custom/upnp/upnp 0 D-Link Corporation http://www.dlink.com DNS-323 DNS-32
16426     1 root     S     1276   2%   0% crond
22037  1669 root     S     1276   2%   0% /ffp/bin/sh
1669     1 root     S     1272   2%   0% /ffp/sbin/telnetd -l /ffp/bin/sh
1582     1 root     S     1264   2%   0% lpd Waiting
1547     1 root     S      776   1%   0% op_server 3 3 3
1494     1 root     S      536   1%   0% chkbutton
1228     1 root     S      496   1%   0% atd

Offline

 

#2 2008-03-28 16:34:55

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: smbd, cpu usage 100%... why?

Your donkey is using a lot of memory. How much swap is it using (output of 'free')?

Offline

 

#3 2008-03-28 18:22:43

secrice
Member
Registered: 2008-03-13
Posts: 5

Re: smbd, cpu usage 100%... why?

Even though I kill mlnet process, smbd processes still exist.
I think this is all about smbd problem..
Any idea?

Mem: 32692K used, 29256K free, 0K shrd, 11616K buff, 12116K cached
CPU:   4% usr  94% sys   0% nice   0% idle   0% io   0% irq   0% softirq
Load average: 10.25 10.37 10
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
16730  1233 cky      R     5276   8%  10% smbd -D
17148  1233 cky      R     5268   8%  10% smbd -D
16398  1233 cky      R     5260   8%  10% smbd -D
16486  1233 cky      R     5256   8%  10% smbd -D
16529  1233 root     R     5256   8%  10% smbd -D
17277  1233 cky      R     5256   8%  10% smbd -D
14965  1233 root     R     5180   8%  10% smbd -D
16682  1233 root     R     5176   8%  10% smbd -D
22058  1233 root     R     5228   8%   7% smbd -D
22005  1233 cky      R     5208   8%   4% smbd -D
25539 21926 cky      S     3448   6%   1% telnet dns
17771     1 root     S     1568   3%   1% /bin/sh /ctrl_fanspeed.sh
25541 25540 root     R     1272   2%   1% top -d 1
21925 21909 cky      S     8372  13%   0% sshd: cky@ttyp0
21909  2158 root     S     8216  13%   0% sshd: cky [priv]
21926 21925 cky      S     5564   9%   0% -bash
2158     1 root     S     5148   8%   0% /usr/sbin/sshd
1233     1 root     S     4928   8%   0% smbd -D
1243  1233 root     S     4928   8%   0% smbd -D
1513     1 root     S     3512   6%   0% /web/webs
1235     1 root     S     2972   5%   0% nmbd -D
1437     1 root     S     2892   5%   0% /ffp/sbin/lighttpd -f /ffp/etc/lighttpd.conf
    1     0 root     S     1564   3%   0% init
1555     1 root     S     1564   3%   0% -sh
25552 17771 root     R     1556   3%   0% expr ( ( 123 - 32 ) * 10 + 9 ) / 18
11951     1 root     S     1304   2%   0% /sys/custom/upnp/upnp 0 D-Link Corporation http://www.dlink.com DNS-323 DNS-32
16426     1 root     S     1276   2%   0% crond
25540  1669 root     S     1276   2%   0% /ffp/bin/sh
1669     1 root     S     1272   2%   0% /ffp/sbin/telnetd -l /ffp/bin/sh
1582     1 root     S     1264   2%   0% lpd Waiting
1547     1 root     S      776   1%   0% op_server 3 3 3
1494     1 root     S      536   1%   0% chkbutton
1228     1 root     S      496   1%   0% atd
   52     1 root     SW       0   0%   0% [kswapd0]
   50     5 root     SW       0   0%   0% [pdflush]
   51     5 root     SW       0   0%   0% [pdflush]

Offline

 

#4 2008-03-29 19:40:51

Nussmischung
New member
From: Munich
Registered: 2008-03-16
Posts: 4

Re: smbd, cpu usage 100%... why?

Hi,
i think i have the same problem.. smbd uses nearly 100% of the CPU.

http://img3.imagebanana.com/img/khnqltl1/thumb/top.jpg

when i reboot the NAS everything is normal for a few hours..

Offline

 

#5 2008-04-04 11:58:06

Nussmischung
New member
From: Munich
Registered: 2008-03-16
Posts: 4

Re: smbd, cpu usage 100%... why?

any solution for that problem?

Offline

 

#6 2008-05-05 17:46:48

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: smbd, cpu usage 100%... why?

same here, noticed it today for the first time. any solutions?

i did killall smbd then restarted the smbd -D but it's still at 100%

i wouldnt be surprised if this happened on windows but linux.....

edit: i noticed two smbd -D processes consuming 100% of cpu weren't killed with killall command so i used kill -9 on them and restarted again.
everything's back to normal here - 0% cpu now but i hate unexplained stuff smile

Last edited by SilentException (2008-05-05 18:00:03)


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#7 2008-05-06 17:53:30

Levis
Member
Registered: 2008-05-06
Posts: 40

Re: smbd, cpu usage 100%... why?

Same for me.
SMBD at 100% with my account, and something with root, sometimes with nobody account neutral

I need to restart all using: smb restart, but in this way I always lose transfers from my pc to nas sad

I noticed that this happen frequently if I explore the NAS from windows and if I'm using programs like flashfxp that are writing on the NAS.

Is there around some new versions of Samba that we can try with dns323?

Offline

 

#8 2008-05-06 17:59:35

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: smbd, cpu usage 100%... why?

Levis wrote:

Is there around some new versions of Samba that we can try with dns323?

Samba version 2.2.8a is in FWv1.01 - FWv1.03
Samba version 3.0.24 is in FWv1.04
Which firmware are you using?

Last edited by mig (2008-05-06 18:00:08)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#9 2008-05-06 18:05:05

Levis
Member
Registered: 2008-05-06
Posts: 40

Re: smbd, cpu usage 100%... why?

Firmware 1.04

I've also tried this: http://dns323.kood.org/forum/t1949-samba-3.0.28a.html
But with no luck.

Maybe I need to activate the logs for Samba

Offline

 

#10 2008-05-06 18:05:24

Nussmischung
New member
From: Munich
Registered: 2008-03-16
Posts: 4

Re: smbd, cpu usage 100%... why?

mig wrote:

Samba version 2.2.8a is in FWv1.01 - FWv1.03
Samba version 3.0.24 is in FWv1.04
Which firmware are you using?

I was using 1.04 firmware, but i replaced my NAS with a "small" homeserver. 4x 500GB, RAID5, Dual-Core... a little faster, than my old dns 323 tongue

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB