[Samba] Smbd hanging

Matt Lung matt.lung at midwest-tool.com
Thu Mar 23 20:58:01 GMT 2006


Problem
------------
SMBD processes spawn out of control until the Samba stops responding.  
Restarting the service does not clear the processes.  Only a reboot of 
the server will bring it back to a usable state. 

This server is home to our postgres databases, Access front ends, and 
Production Files (excel, word...).  It is a samba domain member server.  
We have multiple Samba file servers here but this server is the only one 
that exhibits this behavior.  All servers are running the same samba 
version and OS version.  It has been happening for months now and is not 
occurring at regular intervals.  Please see the info below.  I'd like to 
stop this from occurring so any and all help would be welcome with open 
arms. 

Site Info
------------
Samba Version:  samba-3.0.20b-1
OS:  Fedora Core 3
Kernel:  kernel-2.6.12-1.1381_FC3

Log Info
---------
There were not errors from the day the server crashed, but there was one 
3 days prior.  See snip...

[2006/03/20 15:14:05, 0] lib/util.c:smb_panic2(1548)
  PANIC: internal error
[2006/03/20 15:14:05, 0] lib/util.c:smb_panic2(1556)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic2+0x8a) [0xb7e4fe03]
   #1 smbd(smb_panic+0x19) [0xb7e50037]
   #2 smbd [0xb7e3bef1]
   #3 [0xb7c76420]
   #4 smbd(cli_start_connection+0x37e) [0xb7d32427]
   #5 smbd(cli_full_connection+0x6a) [0xb7d32573]
   #6 smbd(enumerate_domain_trusts+0x145) [0xb7e9a45a]
   #7 smbd(update_trustdom_cache+0xdd) [0xb7e99f3b]
   #8 smbd(is_trusted_domain+0x65) [0xb7e94519]
   #9 smbd(make_user_info_map+0x163) [0xb7e94761]
   #10 smbd [0xb7e95367]
   #11 smbd [0xb7d5870f]
   #12 smbd(ntlmssp_update+0x143) [0xb7d57c41]
   #13 smbd(auth_ntlmssp_update+0x44) [0xb7e95726]
   #14 smbd [0xb7cefaba]
   #15 smbd(reply_sesssetup_and_X+0x4f1) [0xb7cf1069]
   #16 smbd [0xb7d1cfa3]
   #17 smbd(process_smb+0x19b) [0xb7d1d3c8]
   #18 smbd(smbd_process+0x13a) [0xb7d1e26d]
   #19 smbd(main+0x91e) [0xb7ed8455]
   #20 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xb78b1e23]
   #21 smbd [0xb7cb4e41]

Smb.conf
---------------
# Global parameters
[global]
        workgroup = XXX
        server string = Samba Server
        security = DOMAIN
        log file = /var/log/samba/log
        max log size = 100000
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        ldap ssl = no
        log level = 3
        load printers = No
        kernel oplocks = Yes
        deadtime = 15
        printing = lprng
        printcap cache time = 0
        machine password timeout = 0

[homes]
        comment = Home Directories
        read only = No
        browseable = No
        available = No

#[printers]
#       comment = All Printers
#       path = /var/spool/samba
#       printable = Yes
#       browseable = No

[public_app]
        comment = Public Data Repository
        path = /var/local/group_shares/public_data
        read only = No
        create mask = 02775
        force create mode = 02775
        directory mask = 02775
        force directory mode = 02775

[prod_control]
        comment = Production Control Repository
        path = /var/local/group_shares/prod_control
        read only = No
        create mask = 02775
        force create mode = 02775
        directory mask = 02775
        force directory mode = 02775

-- 
Matt Lung

Midwest Tool & Die, Corp.




More information about the samba mailing list