[Samba] samba freezes the server

Sascha Zucca zucca at web.de
Fri Jan 2 15:37:02 GMT 2009

Hello List !
oh my....i have a very severe problem here, and i absolutely need

my samba version is 3.2.6-3.1-2034-SUSE-CODE11
on an opensuse 11.1 though this thing happened on an ubuntu intrepid
with 3.2.4 too:

the smbd freezes the whole system here.....for no obvious reason
i already tested everything, and everything works perfectly, untill 2 or
more people want to work with it...

- hardware is ok (18h stress test with bonnie, mprime, glxgears, memtester)

- samba basically seems ok too (8 hours of running a script copying 500
mb to a share, deleting them again and restarting the procedure. this
has been done with 400 loops on 3 clients simultanously and everything
was functioning very well.)
Logging in and out, reaching the shares, copying the profiles to the
server...everything is normally ok.

i am labouring on this for about 2 weeks now....and the problem is not
really reproducable it just happens to appear once or twice a day...
the whole system is frozen then and nothing can be done unless you
restart the whole server machine makeing it work perfect

the only relevant info i have on this is that the freeze appeared when
logging out from the domain the last two times, and that i have this in
my logs (loglevel 3):

inotify_rm_watch returned Das Argument ist ungültig


error packet at smbd/nttrans.c(532) cmd=162 (SMBntcreateX)

please help me... This isn't my first samba server...but i am really
going nuts with this one.
Any idea is very welcome...
thank you very much


my smb.conf (the main share being worked on being "projects"):

        workgroup = domainname
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        logon path = \\%L\profiles\.msprofile
        logon home = \\%L\%U\.9xprofile
        logon script = user.log.bat
        logon drive = Q:
        usershare allow guests = Yes
        add machine script = /usr/sbin/useradd  -c Machine -d
/var/lib/nobody -s /bin/false %m$
        domain logons = Yes
        domain master = Yes
        local master = Yes
        netbios name = fileserver
        os level = 65
        preferred master = Yes
        security = user
        time server = Yes
        bind interfaces only = Yes
        log file = /var/log/samba/%m.samba-log
        max log size = 30000
        syslog = 1
        syslog only = no
        debug level = 3
        max mux = 50000
        dead time = 0
        getwd cache = yes
        case sensitive = no
        preserve case = yes
        dos filetimes = yes
        dos filetime resolution = yes

        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes
        comment = Network Profiles Service
        path = %H
        read only = No
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
        comment = All users
        path = /home
        read only = No
        inherit acls = Yes
        veto files = /aquota.user/groups/shares/
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
        comment = Network Logon Service
        path = /var/lib/samba/netlogon
        write list = root

        inherit acls = Yes
        path = /usr/local/pub/daten1/projects
        read only = No
        create mask = 0775
        directory mask = 0775
        force group = samba-users
        force user = root
        case sensitive = No
        guest ok = Yes

        inherit acls = Yes
        path = /usr/local/pub/daten2/install/
        read only = No

More information about the samba mailing list