hi,
the smbd daemons are fallting into process status "D" (uninterruptible
sleep). The only way to ged rid of these processes is rebooting your system! To
analayze why smbd is falling into status "D" you have to check your
logs. Another option is building a strace profile of smbd to see what`s going
on.
cheers Stefan
-------- Original Message --------
Subject: [Samba] RE: samba and crash server (14-Sep-2005 11:57)
From: Dirk.Laurenz@Fujitsu-Siemens.com
To: olnow@stv.runnet.ru
> Hi,
>
> please check, if your hard drives are ok. Status D means Disk Sleeps and
> Samba is
> waiting for Harddisk I/O. Can you do a ls in these directories?
>
> Mit freundlichem Gru?,
>
>
>
> Dirk Laurenz
> Systems Engineer
>
> Fujitsu Siemens Computers
> S CE DE SE PS N/O
> Sales Central Europe Deutschland
> Professional Service Nord / Ost
>
> Hildesheimer Strasse 25
> 30880 Laatzen
> Germany
>
> Telephone: +49 (511) 84 89 - 18 08
> Telefax: +49 (511) 84 89 - 25 18 08
> Mobile: +49 (170) 22 10 781
> Email: mailto:dirk.laurenz@fujitsu-siemens.com
> Internet: http://www.fujitsu-siemens.com
> http://www.fujitsu-siemens.de/services/index.html
>
****************************************************************************
> ***************************************
>
>
> -| -----Original Message-----
> -| From:
> -| samba-technical-bounces+dirk.laurenz=fujitsu-siemens.com@lis
> -| ts.samba.org
> -| [mailto:samba-technical-bounces+dirk.laurenz=fujitsu-siemens
> -| .com@lists.samba.org] On Behalf Of Oleg Novikov
> -| Sent: Tuesday, September 13, 2005 9:38 AM
> -| To: samba-technical@lists.samba.org
> -| Subject: samba and crash server
> -|
> -| Hello All!
> -|
> -| We use Samba 3.0.14a as PDC on server with dual P4
> -| Xeon processor.
> -| Earlier we use previos version, but problem is
> -| same. On server
> -| instaled SLES 9.
> -|
> -| When samba working in system is occur process with status D, i.e.
> -| #ps ax
> -| 9264 ? S 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
> -| 9265 ? S 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
> -| 9272 ? D 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
> -| 9274 ? D 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
> -| 9281 ? D 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
> -| ^^^
> -|
> -| The quantity of such processes quickly grows. We cannot
> -| kill any of
> -| this process. In few minutes the server is cannot make
> -| anything. Then
> -| we press reset on server, but in some time this error
> -| is repeated
> -| again.
> -|
> -| smb.conf:
> -|
> -| [global]
> -|
> -| workgroup = NCSTU
> -| netbios name = server-class
> -| server string = Server class PDC
> -| time server = yes
> -| hosts allow = 195.209.245. 195.209.244. 62.76.116.
> -| 192.168. 127. 62.76.117. 10.35.5.194
> -| use sendfile = no
> -|
> -| log file = /var/log/samba/log.%m.%I
> -| log level = 3
> -| syslog = 0
> -| max log size = 1000
> -|
> -| security = user
> -|
> -| encrypt passwords = yes
> -| null passwords = yes
> -| socket options = SO_KEEPALIVE SO_REUSEADDR SO_BROADCAST
> -| TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_SNDBUF=50000
> -| SO_RCVBUF=50000
> -|
> -| interfaces = 195.209.244.13/24 127.0.0.1
> -| local master = yes
> -| os level = 65535
> -| domain master = yes
> -| preferred master = yes
> -| domain logons = yes
> -| logon script = %m.bat
> -| logon script = %U.bat
> -|
> -| logon path = \\%L\Profiles\%U
> -| logon drive = Z:
> -| wins support = yes
> -|
> -| dns proxy = no
> -| passwd chat = *new*password* %n\n *new*password* %n\n
> -| *seccessfuly*
> -| unix password sync = yes
> -| add machine script = /usr/local/sbin/smbldap-useradd.pl
> -| -w -d /dev/null -g 553 -s /bin/false %u
> -| delete user script = /usr/local/sbin/smbldap-userdel.pl %u
> -|
> -| #ldap
> -| passdb backend = ldapsam:ldap://127.0.0.1:389/
> -| ldap suffix = dc=server-class,dc=ncstu,dc=ru
> -| ldap ssl = no
> -| ldap passwd sync = yes
> -| ldap machine suffix =
> -| "ou=Computers,cn=int.ncstu.ru,sambaDomainName=NCSTU,dn=serve
> -| r-class, dc=ncstu, dc=ru"
> -| ldap user suffix =
> -| "ou=Users,cn=int.ncstu.ru,sambaDomainName=NCSTU,dn=server-cl
> -| ass, dc=ncstu, dc=ru"
> -| ldap admin dn =
"cn=Manager,dc=server-class,dc=ncstu,dc=ru"
> -|
> -| nt acl support = yes
> -| unix charset = UTF8
> -| dos charset = 866
> -| display charset = UTF8
> -| deadtime = 1
> -| enable privileges = yes
> -|
> -| #============================ Share Definitions
> -| =============================> -|
> -| # Un-comment the following and create the netlogon
> -| directory for Domain Logons
> -| [netlogon]
> -| comment = Network Logon Service
> -| path = /var/spool/samba/netlogon
> -| guest ok = yes
> -| writable = no
> -| share modes = no
> -|
> -|
> -| # Un-comment the following to provide a specific roving
> -| profile share
> -| # the default is to use the user's home directory
> -| [student]
> -| path = /var/spool/samba/student
> -| read only = no
> -| browseable = no
> -| writeable = no
> -| create mask = 0660
> -| security mask = 0550
> -| force security mode = 7777
> -| directory mask = 0770
> -| directory security mask = 0550
> -|
> -|
> -| [Profiles]
> -| path = /var/spool/samba/profiles
> -| read only = no
> -| browseable = no
> -| writeable = yes
> -| create mask = 0600
> -| directory mask = 0700
> -|
> -| --
> -| Oleg Novikov
> -|
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
>