[Samba] Lots of smbd processes and connections?
Brian
bbayorgeon at charter.net
Tue Oct 27 19:52:30 MDT 2009
Sorry I don't think so....basically as you can see in my earlier
post I tried a workaround by creating a share with the last character
clipped off (in my case "roo"). Great news, the attempt to connect msgs
are now gone, but my server is still being spammed
I did some stats on my client with a "net statistics workstation"
command and came up with:
Bytes received 137,514 bytes/sec
Server Message Blocks (SMBs) received 1,302 SMB blocks/sec
Bytes transmitted 95,329 bytes/sec
Server Message Blocks (SMBs) transmitted 1,302 SMB blocks/sec
So the error msgs are gone, but the server is getting spammed with
greater than 1000 SMB msg blocks per second while IDLE! I don't
know what is "normal" but 1300 / sec sounds like a LOT!
smbd is being a trooper though as it didn't drop one of them!
Here is what top shows:
last pid: 7417; load averages: 6.22, 6.27, 6.
39 processes: 7 running, 32 sleeping
CPU: 4.0% user, 0.0% nice, 29.5% system, 1.4% interrupt, 65.0% idle
Mem: 36M Active, 606M Inact, 183M Wired, 110M Buf, 162M Free
Swap: 1902M Total, 1902M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
6848 root 1 66 0 14652K 8128K CPU0 2 33:00 30.37% smbd
1497 root 1 104 0 14600K 7224K RUN 1 34:35 0.00% smbd
863 root 1 107 0 14620K 7304K RUN 2 22:08 0.00% smbd
1408 root 1 104 0 14600K 7224K RUN 1 7:51 0.00% smbd
6552 root 1 101 0 14640K 7984K RUN 1 3:00 0.00% smbd
1401 root 1 104 0 14600K 7224K RUN 1 0:25 0.00% smbd
5628 root 1 44 0 8340K 5316K select 1 0:11 0.00% mc
756 root 1 44 0 4672K 2276K select 2 0:04 0.00% ntpd
7126 root 1 44 0 3496K 1748K CPU1 1 0:03 0.00% top
5588 root 1 44 0 8428K 3892K select 1 0:02 0.00% sshd
793 root 1 44 0 5876K 3444K select 0 0:02 0.00% sendmail
620 bind 7 4 0 27892K 22424K kqread 0 0:02 0.00% named
706 dhcpd 1 44 0 3128K 2040K select 1 0:01 0.00% dhcpd
6839 root 1 44 0 9540K 4360K select 0 0:01 0.00% nmbd
5630 root 1 8 0 4396K 2264K wait 1 0:01 0.00% bash
552 root 1 44 0 3184K 1228K select 0 0:00 0.00% syslogd
804 root 1 8 0 3212K 1272K nanslp 2 0:00 0.00% cron
5593 root 1 8 0 4396K 2260K wait 0 0:00 0.00% bash
797 smmsp 1 20 0 5876K 3232K pause 2 0:00 0.00% sendmail
6845 root 1 96 0 14428K 7804K select 1 0:00 0.00% smbd
847 root 1 5 0 3184K 1092K ttyin 2 0:00 0.00% getty
787 root 1 44 0 5752K 3528K select 1 0:00 0.00% sshd
846 root 1 5 0 3184K 1092K ttyin 1 0:00 0.00% getty
852 root 1 5 0 3184K 1092K ttyin 2 0:00 0.00% getty
851 root 1 5 0 3184K 1092K ttyin 2 0:00 0.00% getty
850 root 1 5 0 3184K 1092K ttyin 3 0:00 0.00% getty
849 root 1 5 0 3184K 1092K ttyin 1 0:00 0.00% getty
848 root 1 5 0 3184K 1092K ttyin 0 0:00 0.00% getty
824 root 1 96 0 3240K 1356K select 2 0:00 0.00% inetd
5543 root 1 5 0 3184K 1092K ttyin 1 0:00 0.00% getty
6847 root 1 96 0 14428K 7744K select 2 0:00 0.00% smbd
493 root 1 45 0 1888K 564K select 2 0:00 0.00% devd
147 root 1 20 0 1380K 804K pause 2 0:00 0.00%
adjkerntz
-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Matthew Dickinson
Sent: Tuesday, October 27, 2009 8:30 PM
To: Jeremy Allison
Cc: samba at lists.samba.org
Subject: Re: [Samba] Lots of smbd processes and connections?
Which got me to thinking:
The thread http://lists.samba.org/archive/samba/2005-October/112876.html
In particular the last post
http://lists.samba.org/archive/samba/2005-October/112929.html
So... new config item:
w2k client workaround = yes
iff requested share does not exist, but a single share with the
same name plus one character does exist, connect to that instead.
Matthew
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list