samba and crash server

Oleg Novikov olnow at stv.runnet.ru
Tue Sep 13 07:37:36 GMT 2005


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=server-class, dc=ncstu, dc=ru"
   ldap user suffix = "ou=Users,cn=int.ncstu.ru,sambaDomainName=NCSTU,dn=server-class, 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



More information about the samba-technical mailing list