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-06-02 13:40:51

bgoedel
Member
From: Vienna, Austria
Registered: 2007-11-24
Posts: 62

Samba causes excessive CPU load (FW1.04 1/10/2008)

Hi,

I recently updated from FW1.04b58 to FW1.04b84 (1/10/2008). I'm running the DNS-323 fun_plug'ged with a lighttpd in a chroot'ed Sarge and MLDonkey 2.9.2.
Due to very slow reactions of MLDonkey on its web interface, I checked using "top" in a telnet session. The normal look is like this:

Code:

Mem: 60276K used, 1672K free, 0K shrd, 10712K buff, 2308K cached
Load average: 1.09 1.50 2.16
  PID USER     STATUS   VSZ  PPID %CPU %MEM COMMAND
11340 root     RW     45292     1 93.4 72.9 mlnet
12589 root     RW      1424 12530  0.3  2.2 top
11357 root     SW     45292 11340  0.0 72.9 mlnet
11358 root     SWN    45292 11357  0.0 72.9 mlnet
 1818 root     SW     12736     1  0.0 20.5 foto.fcgi
 2086 root     SW     12736  1818  0.0 20.5 foto.fcgi
 5374 root     SW      8504     1  0.0 13.7 lighttpd
 1235 root     SW      4928     1  0.0  7.9 smbd    <---
 1245 root     SW      4928  1235  0.0  7.9 smbd    <---
 1618 root     SW      3604     1  0.0  5.8 webs
 1237 root     SW      2976     1  0.0  4.7 nmbd    <---
 1722 root     SW      1568     1  0.0  2.5 crond
    1 root     SW      1564     0  0.0  2.5 init
 1658 root     SW      1564     1  0.0  2.5 sh
 1995 root     SW      1432     1  0.0  2.3 telnetd
12530 root     SW      1424  1995  0.0  2.2 sh
 1689 root     SW      1264     1  0.0  2.0 lpd
 1650 root     SW       776     1  0.0  1.2 op_server
 1597 root     SW       532     1  0.0  0.8 chkbutton
 1230 root     SW       496     1  0.0  0.7 atd
 1622 root     SW       488     1  0.0  0.7 fancontrol

As you can see there are 2 processes "smbd" and a process "nmbd" running.
When the box isn't reacting at normal response time anymore, there are two more processes "smbd" sharing 100% CPU with mlnet; i.e., each of these processes causes than about 33.3% CPU load.

You can't kill these two smbd processes without using the -9 option. After that, the box is running at "normal" speed again.


Is this a bug in the new Samba version?

Yours,
Bernhard

Offline

 

#2 2008-06-02 13:55:59

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

Re: Samba causes excessive CPU load (FW1.04 1/10/2008)

trhis was already discussed and there is no fix yet i think

http://dns323.kood.org/forum/t1942-smbd … hy%3F.html


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

 

#3 2008-06-02 14:41:18

bgoedel
Member
From: Vienna, Austria
Registered: 2007-11-24
Posts: 62

Re: Samba causes excessive CPU load (FW1.04 1/10/2008)

Hi,

oops, I searched the forum because I had the feeling that I'm not the only one experiencing this issue but obviously not thoroughly enough :-) Sorry. And thanks for the cross reference.

I'm wondering whether to downgrade to 1.04b58 which I had before without that issue. Most likely, this FW version uses the old Samba 2.2.8a.


Yours,
Bernhard

Offline

 

#4 2008-06-02 15:28:54

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Samba causes excessive CPU load (FW1.04 1/10/2008)

You could also try FW 1.05.  I have yet to have this issue.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#5 2008-06-04 17:03:49

bgoedel
Member
From: Vienna, Austria
Registered: 2007-11-24
Posts: 62

Re: Samba causes excessive CPU load (FW1.04 1/10/2008)

I've upgraded to FW 1.05 and didn't encounter the issue anymore. The upgrade didn't require a reformat, everything is fine.

Thanks for your help,
Bernhard

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB