[Samba] [solved] 1 minute wait on a share /
call_trans2qfsinfo takes 60seconds
Thierry ITTY
thierry.itty at besancon.org
Tue Mar 11 10:36:12 GMT 2003
this problem is solved
it was NOT a samba problem
let's summarize :
a linux/samba server with several shares
with one (and only one) of these shares, each windows client clic on the
disk in the file manager was blocked for exactly one minute, whereas any
other shares answered immediately. that's why i focused on a samba problem.
after havind read trans2.c code i realized that the problem should occur at
a lower level
and yes, some basic fs commands were giving errors or taking minutes too
(df, mount...). this was due to a broken mount remaining from older days
(exactly, it was an mount.smbfs which worked for weeks, until the windows
server has been shutdown forever)
i just killed the mount.smbfs process (umount didn't work) and now all the
shares answer quickly
may this save time to somebody else one day...
A 12:04 10/03/2003, vous avez écrit :
>Hi
>
>I have a linux mdk 8.0 w/ custom 2.4.19-16 kernel, acls, quotas etc
>I have a samba 2.2.7 serving several shares on LVs
>everything's fine but with one share :
>
>whenever a windows client accesses this share his file manager is locked
>out for exactly one minute. this happens when the client requests the
>directory listing (or when an automatic refresh takes place)
>
>i can't see any reason why this share doesn't behave like other ones
>
>here's a bit of a client log file (debug level 6) which shows that
>smbd/trans2.c:call_trans2qfsinfo(1356) takes just 60 seconds (and everytime
>it's called for that share)
>
>i really need help !
>
>TIA,
>
>piece of log file
>
>[2003/03/06 20:07:49, 5, pid=1993, effective(10774, 10027), real(0, 0)]
>lib/util.c:show_msg(291)
> smb_bcc=5
>
>[2003/03/06 20:07:49, 3, pid=1993, effective(10774, 10027), real(0, 0)]
>smbd/process.c:switch_message(685)
> switch message SMBtrans2 (pid 1993)
>
>[2003/03/06 20:07:49, 4, pid=1993, effective(10774, 10027), real(0, 0)]
>smbd/uid.c:change_to_user(119)
> change_to_user: Skipping user change - already user
>
>[2003/03/06 20:07:49, 3, pid=1993, effective(10774, 10027), real(0, 0)]
>smbd/trans2.c:call_trans2qfsinfo(1356)
> call_trans2qfsinfo: level = 259
>
>[2003/03/06 20:08:49, 5, pid=1993, effective(10774, 10027), real(0, 0)]
>smbd/trans2.c:call_trans2qfsinfo(1483)
> call_trans2qfsinfo : SMB_QUERY_FS_SIZE_INFO bsize=1024, cSectorUnit=2,
>cBytesSector=512, cUnitTotal=15604480, cUnitAva
>il=15446784
>
>[2003/03/06 20:08:49, 6, pid=1993, effective(10774, 10027), real(0, 0)]
>lib/util_sock.c:write_socket(518)
> write_socket(12,84)
>
>
>
>
> - * - * - * - * - * - * -
>Bien sûr que je suis perfectionniste !
>Mais ne pourrais-je pas l'être mieux ?
> Thierry ITTY
>eMail : Thierry.Itty at Besancon.org FRANCE
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
- * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
Thierry ITTY
eMail : Thierry.Itty at Besancon.org FRANCE
More information about the samba
mailing list