[Samba] Lock ups?

Chris samba at hal.kaos.gen.nz
Thu Jun 3 09:19:35 GMT 2004


Ok.. further debug.. maybe someone will be able to help with this... I set
log level to 10 then tailed the log for the user... When firing up ACDSEE
on the XP client on the Debian server I see this whenever there is a
pause.

[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1508)
  is_in_path: Surfers 07.jpg
[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1512)
  is_in_path: no name list.
[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1508)
  is_in_path: Surfers 08.jpg

looks good... but then there is a huge number of these...

[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1512)
  is_in_path: no name list.

then this...

[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1512)
  is_in_path: no name list.
[2004/06/03 21:12:01, 10] smbd/mangle_hash2.c:is_mangled(269)
  is_mangled Waves 06.wav ?
[2004/06/03 21:12:01, 10] smbd/mangle_hash2.c:is_mangled_component(208)
  is_mangled_component Waves 06.wav (len 12) ?
[2004/06/03 21:12:01, 5] smbd/filename.c:unix_convert(312)
  New file Waves 06.wav
[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1508)
  is_in_path: storage/helens-stuff/Helen's Pictures/Japan/The Beach/Waves
06.wav
[2004/06/03 21:12:01, 8] lib/util.c:is_in_path(1512)
  is_in_path: no name list.
[2004/06/03 21:12:01, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353)
  call_trans2qfilepathinfo: SMB_VFS_STAT of storage/helens-stuff/Helen's
Pictures/Japan/The Beach/Waves 06.wav failed (No such file or directory)
[2004/06/03 21:12:01, 10] smbd/trans2.c:set_bad_path_error(2213)
  set_bad_path_error: err = 2 bad_path = 0
[2004/06/03 21:12:01, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2004/06/03 21:12:01, 3] smbd/error.c:error_packet(118)
  error packet at smbd/trans2.c(2219) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND

even though that file is defiantly there.

Does this make it any more obvious?



On Wed, 2 Jun 2004, Chris wrote:

> I'm still having this problem despite tweaking various things on my XP
> client and a few things on the Debian Samba server. It must be a Samba
> problem becasue I get the same effect on two different XP clients and one
> Linux client.
>
> The network layer is fine (all cards swaped round and/or replaced. Switch
> replaced and there are no ethernet errors. Locked at 100 meg full duplex
> throughout on all cards. (I must say it's the fastest network I've created
> after all this farking about).
>
> I have put up an ethereal capture taken during one of the pauses if anyone
> cares to have a look. I'm seeing what looks (to my untrained samba
> eye) like funny behavior. The trace
> was started after the "freeze" started. It lasted about 10 second during
> which the Samba server was unresponsive. The Debian samba server is
> 192.168.1.100 and the XP client is 192.168.1.3
>
> http://www.kaos.gen.nz/capture/lock-up.cap
>
> (400k)
>
> I'm seeing normal traffic till the lock.. then some trans2 response
> <unknown>. packets...
>
> then at packet 18 the pause ended and I see some error "status cancel"
> messages (god only knows) and some SMB close requests.. then everything
> comes right and the data starts streaming as normal.
>
> Anyone got any suggestions?
>
> On Mon, 31 May 2004, Chris wrote:
>
> > Hi there. I'm reasonably new to Samba but quite experainced with Linux.
> >
> > The other day I decided to throw a file server together for my house. I
> > put together a Linux box with 5 120 gig drives raid 5'd in a rack mount
> > box and put it in the basement.
> >
> > It's running debian and Samba 3.0.2a-1. The Kernel is 2.4.26.
> >
> > I am then mounting the drive as a mapped network drive under a windows XP
> > box that is my main PC.
> >
> > Initially all seemed good. I filled the raid and started using the PC. I
> > am however getting what appear to be "lock ups" regularly when browsing
> > the samba share I have created. I'll be browsing happy as larry with music
> > also streaming off the share when my explorer window will lock up and the
> > music will stop playing. Any attempt to open "My Computer" or any explorer
> > window to access the share results in nothing. If I wait 10 seconds to 1
> > min it suddenly comes right and everything pootles along again as normal.
> >
> > If I just stream 1 file off the server then it's fine for (the longest
> > I've tried) up to 2 hours. But if I start browsing the shares or opening
> > other shared files I get lock ups within 1-5 min. It's very frustrating
> > when I'm trying to do multiple things at once.
> >
> > I ran ethereal on the windows end and when the pauses happen I see SMB
> > messages flying round but they seem to be requests for the same bit over
> > and over.. Usually as the pause ends I see a close request going from the
> > XP box to the Linux server. I can provide ethereal captures if that would
> > help.
> >
> > I am also SSHed into the server and it's not a drive pause as the drive
> > and mounted dir are totally responsive under linux while the pause is in
> > effect.
> >
> > I don't think it's network related as I have 100 meg full duplex locked
> > all the way through. Both PC's are plugged into a Cisco 2950 and I see no
> > itteruption of traffic between the two when a pause occurs.
> >
> > Below is my SMB conf.... any suggestions? My GF is going to kill me if her
> > photo editing keeps locking up like this. :)
> >
> > ------
> > [global]
> > server string = %h server (Samba %v)
> > netbios name = atari
> > wins support = yes
> > dns proxy = no
> > log file = /var/log/samba/log.%m
> > max log size = 1000
> > syslog = 0
> > panic action = /usr/share/samba/panic-action %d
> > encrypt passwords = true
> > passdb backend = tdbsam guest
> > obey pam restrictions = yes
> > passwd program = /usr/bin/passwd %u
> > socket options =  TCP_NODELAY,  IPTOS_LOWDELAY, SO_KEEPALIVE, SO_SNDBUF=8192, SO_RCVBUF=8192, SO_RCVBUF, SO_SNDBUF
> > [shared]
> >    comment = Storage
> >    writable = yes
> >    locking = yes
> >    oplocks = True
> >    create mask = 0700
> >    directory mask = 0700
> >    path = /raid-1/shared
> >    public = yes
> >
> > ------
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list