Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
I experienced that in FW 1.04b84 there seems to be a problem with the Samba Daemon. It caused excessive CPU load as discussed in http://dns323.kood.org/forum/t1942-smbd … y%3F.html.
I've upgraded to FW 1.05 and it seemed to work quite well for weeks. But now I have a similar problem here:
Mem: 60392K used, 1556K free, 0K shrd, 10716K buff, 3180K cached
Load average: 1.12 1.29 1.15
PID USER STATUS VSZ PPID %CPU %MEM COMMAND
3183 root RW 5328 2455 93.0 8.5 smbd
8642 root SW 45152 1 4.5 72.7 mlnet
51 root SW 0 1 0.5 0.0 kswapd0
8678 root RW 1424 8573 0.3 2.2 top
8668 root SWN 45152 8667 0.0 72.7 mlnet
8667 root SW 45152 8642 0.0 72.7 mlnet
2162 root SW 12732 1 0.0 20.5 foto.fcgi
26167 root SW 12732 2162 0.0 20.5 foto.fcgi
2160 root SW 8504 1 0.0 13.7 lighttpd
2455 root SW 4932 1 0.0 7.9 smbd
2459 root SW 4932 2455 0.0 7.9 smbd
1944 root SW 4716 1 0.0 7.5 webs
24892 root SW 2984 1 0.0 4.8 pure-ftpd
2460 root SW 2976 1 0.0 4.7 nmbd
2080 root SW 1568 1 0.0 2.5 crond
1 root SW 1564 0 0.0 2.5 init
1998 root SW 1564 1 0.0 2.5 sh
8573 root SW 1436 2194 0.0 2.3 sh
2194 root SW 1432 1 0.0 2.3 telnetd
14494 root SW 1316 1 0.0 2.1 upnp
2037 root SW 1264 1 0.0 2.0 lpdAny hints?
Bernhard
Offline
You stopped and started samba, didn't youYou should have 'smbd -D', not just smbd. I don't know if that makes the difference, but this is from my unit running 1.04 and my unit with 1.05 is the same. You may also want to check that any of your other fun_plug software you have running is not using samba.
Mem: 60420K used, 1528K free, 0K shrd, 12116K buff, 35204K cached
CPU: 0% usr 0% sys 0% nice 99% idle 0% io 0% irq 0% softirq
Load average: 0.00 0.00 0.00
PID PPID USER STAT VSZ %MEM %CPU COMMAND
4724 4723 root R 1272 2% 0% top
1127 1 root S 5576 9% 0% /ffp/sbin/unfsd -e /ffp/etc/exports
1161 1157 root S 4976 8% 0% /usr/sbin/samba/smbd -D
1157 1 root S 4944 8% 0% /usr/sbin/samba/smbd -D
941 1 root S 3616 6% 0% /web/webs
1162 1 root S 3016 5% 0% /usr/sbin/samba/nmbd -D
800 1 root S 1568 3% 0% crond
1 0 root S 1564 3% 0% init
981 1 root S 1564 3% 0% -sh
4723 1174 root S 1276 2% 0% /ffp/bin/sh
1174 1 root S 1268 2% 0% /ffp/sbin/telnetd -l /ffp/bin/sh
1002 1 root S 1264 2% 0% lpd Waiting
975 1 root S 776 1% 0% op_server 3 3 3
1117 1 root S 588 1% 0% /ffp/sbin/rpc.portmap
922 1 root S 532 1% 0% chkbutton
765 1 root S 496 1% 0% atd
954 1 root S 488 1% 0% fancontrol
52 1 root SW 0 0% 0% [kswapd0]
201 1 root SW 0 0% 0% [mtdblockd]
228 1 root SW< 0 0% 0% [loop0]
4 1 root SW< 0 0% 0% [khelper]
2 1 root SWN 0 0% 0% [ksoftirqd/0]
5 1 root SW< 0 0% 0% [kthread]
53 5 root SW< 0 0% 0% [aio/0]
190 1 root SW 0 0% 0% [scsi_eh_0]
191 1 root SW 0 0% 0% [scsi_eh_1]
192 1 root SW 0 0% 0% [scsi_eh_2]
193 1 root SW 0 0% 0% [scsi_eh_3]
3 1 root SW< 0 0% 0% [events/0]
216 5 root SW< 0 0% 0% [kcryptd/0]
217 5 root SW< 0 0% 0% [kmirrord/0]
11 5 root SW< 0 0% 0% [kblockd/0]
14 1 root SW 0 0% 0% [khubd]
50 5 root SW 0 0% 0% [pdflush]
51 5 root SW 0 0% 0% [pdflush]Offline
Hi bq,
thanks for your answer.
No, actually I didn't start Samba manually. The box ran for weeks without any issue. Even MLDonkey (2.9.5 BT only) was running stable in this period. Recently, I activated the FTP Server for sharing photos with friends over the internet. I wonder whether the FTP caused the Samba crash.
There is a lot of stuff running on my box; actually it seems to be a little bit overloaded in respect of memory. Maybe it is simply the lack of memory and excessive swapping in rare situations?
I also didn't start Samba for a fun_plug software, neither in my chroot'ed Debian.
Yours,
Bernhard
Offline