Volker, To be honest, I don't really know clientgen.c. I just see there is a 20000ms there. And I try it and see if I am lucky. Obviously, I am not.
My issue is still server side. In case that VFS_CLOSE operation takes longer time than 20s, Samba server shall loads a new module. I don't want that happens. As you have mentioned, probably the client side ran into timeout and opened a new connection. To prevent this happening, I would think the quick workaround here would be to increase the timeout value at the client side. But I don't know how to do it. Thanks Eric On Fri, Dec 14, 2012 at 7:10 PM, Volker Lendecke <[email protected]>wrote: > On Fri, Dec 14, 2012 at 06:44:56PM +0800, Eric Liu wrote: > > Hi Folk, > > > > Note, I am using Samba 3.5.10. I have tried to change > > source3\libsmb\clientgen.c line 591. But it does not work. > > cli->timeout = 20000 * 360; /* was 20000, Timeout in in > > milliseconds. */ > > clientgen.c is a client piece. VFS CLOSE is server side. > There is something I am missing in this picture... > > Can you describe a bit more closely what you are doing? > > Volker > > -- > SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen > phone: +49-551-370000-0, fax: +49-551-370000-9 > AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen > http://www.sernet.de, mailto:[email protected] > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
