Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] samba freezes the server

 
   Linux (Home) -> Samba RSS
Next:  [Samba] Samba 3.2.5 and vscan-clamav.so  
Author Message
Sascha Zucca

External


Since: Oct 23, 2005
Posts: 6



(Msg. 1) Posted: Fri Jan 02, 2009 5:10 pm
Post subject: [Samba] samba freezes the server
Archived from groups: linux>samba (more info?)

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

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):

smbd/notify_inotify.c:watch_destructor(351)
inotify_rm_watch returned Das Argument ist ungültig

and

smbd/error.c:error_packet_set(61)
error packet at smbd/nttrans.c(532) cmd=162 (SMBntcreateX)
NT_STATUS_SHARING_VIOLATION

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

Sascha


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

[global]
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
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
SO_SNDBUF=8192 SO_RCVBUF=8192
dead time = 0
getwd cache = yes
case sensitive = no
preserve case = yes
dos filetimes = yes
dos filetime resolution = yes

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

[projects]
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

[install]
inherit acls = Yes
path = /usr/local/pub/daten2/install/
read only = No
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 178



(Msg. 2) Posted: Fri Jan 02, 2009 7:10 pm
Post subject: Re: [Samba] samba freezes the server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, Jan 02, 2009 at 04:36:51PM +0100, Sascha Zucca wrote:
> Hello List !
> oh my....i have a very severe problem here, and i absolutely need
> assistance...
>
> 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

This sounds like a kernel bug to me. An smbd bug can only freeze itself,
not the entire machine.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Sascha Zucca

External


Since: Oct 23, 2005
Posts: 6



(Msg. 3) Posted: Sat Jan 03, 2009 8:30 pm
Post subject: Re: [Samba] samba freezes the server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Volker Lendecke schrieb:
> On Fri, Jan 02, 2009 at 04:36:51PM +0100, Sascha Zucca wrote:
>
>> smbd/notify_inotify.c:watch_destructor(351)
>> inotify_rm_watch returned Das Argument ist ungültig
>>
>
> Try
>
> notify:inotify = false
>
> in [global]. If that helps, your kernel has a broken inotify
> implementation.
>
> Volker
>
hi.
seems like this did the trick.
at least no more inotify errors in the logs, and (at least until now) no
more freezes.
the longest ever uptime of now 28 h looks like proofing this.
i couldn't find any kernel bugs on this....you think i should file one ?
cheers
Sascha

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Sascha Zucca

External


Since: Oct 23, 2005
Posts: 6



(Msg. 4) Posted: Sun Jan 04, 2009 12:30 am
Post subject: Re: [Samba] samba freezes the server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sascha Zucca schrieb:
> Volker Lendecke schrieb:
>
>> On Fri, Jan 02, 2009 at 04:36:51PM +0100, Sascha Zucca wrote:
>>
>>
>>> smbd/notify_inotify.c:watch_destructor(351)
>>> inotify_rm_watch returned Das Argument ist ungültig
>>>
>>>
>> Try
>>
>> notify:inotify = false
>>
>> in [global]. If that helps, your kernel has a broken inotify
>> implementation.
>>
>> Volker
>>
>>
> hi.
> seems like this did the trick.
> at least no more inotify errors in the logs, and (at least until now) no
> more freezes.
> the longest ever uptime of now 28 h looks like proofing this.
>
Hi List...
just saw, i still have quite some errors of this kind:

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

Is this a severe problem?
Do i have to be frightened, that the server will freeze again on monday,
when the workers return?
Thanx in advance
Sascha
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Sascha Zucca

External


Since: Oct 23, 2005
Posts: 6



(Msg. 5) Posted: Sun Jan 04, 2009 12:40 am
Post subject: Re: [Samba] samba freezes the server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Volker Lendecke schrieb:
> On Sun, Jan 04, 2009 at 12:23:47AM +0100, Sascha Zucca wrote:
>
>> error packet at smbd/nttrans.c(532) cmd=162 (SMBntcreateX)
>> NT_STATUS_SHARING_VIOLATION
>>
>> Is this a severe problem?
>>
>
> It always happens if for example two users want to open the
> same .doc file with Microsoft Word. The second opener gets a
> message, NT_STATUS_SHARING_VIOLATION is the technical error
> msg.
>
> Volker
>
so this is a very common thing happening....no problem there i guess, as
long as samba is ok with waiting...

but really...do you think, the inotify thing could be responsable for
all this trouble including daily server freezing?
i would just need some estimation of the situation from you as a real
samba expert...
because after 2 weeks of searching for the problem i don't know what to
think anymore...
Thank you very much for your great assistance...
Sascha


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] can a combination of samba 4 tp4 server set as AD .. - Looking at the warnings about not running samba 4 (tp3) in a working environment, because of the missing file printing features make me wonder if one could get away with only using the AD controller features of samba 4 for now and have a samba 3.x DC,..

[Samba] Domain member samba server and non-ASCII account (.. - Hello! I have network with w2k domain controller, w2k workstations and one linux box (Red Hat Linux release 8.0 (Psyche)) + samba-3.0.10 (winbindd) which joined to the network as domain member server. Samba config: [global] workgroup = MY-COMPANY..

[Samba] BUG: Standard Time v. DST calculated wrong by Samb.. - FYI, the same bug apears if one mounts the file system using "cifs": -rwxr----- 1 user 2532415 2000-04-02 00:34:50.000000000 -0800 fo1.mp3* -rwxr----- 1 user 3876671 2000-03-12 21:33:20.000000000 -0800 fo2.mp3* Linda W wrote: > Summary:...

[Samba] Samba + OpenLDAP: LDAP server is running but could.. - Hi, all. I am trying to set up SAMBA PDC with OpenLDAP using smbldap-tools from IDEALX. This is on a SLES 9 and I had run the latest online update as well as SP1 and SP2 for it. At this point smb is off and ldap is running. I have gotten up to where I...

[Samba] Samba Server for Embedded System, Network-Storage .. - Hi, I am new to the mailing list, if any thing is wrong please excuse me in advance. We are running Linux-2.4.20 on the MIPS32 architecture. We have USB2.0 host and various network interfaces on the board and we want to support "USB Network-Stora...
       Linux (Home) -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact