[jcifs] threaded network crawler code examples (transport problem)

Christopher R. Hertel crh at ubiqx.mn.org
Tue Jul 29 04:40:17 EST 2003


On Mon, Jul 28, 2003 at 01:50:36PM -0400, Dan Dumont wrote:
> It is not clear to me that my workaround is the "correct" solution to this 
> problem.
> 
> However in my mind there should not be one global maxmpxcount, but a map 
> of server->maxmpxcounts

The SMB MaxMpxCount value is negotiated between the client and server on a 
per-transport-connection basis, so (from a strictly theory standpoint) I'd 
agree with you.  I would also say, though, that with regard to SMB/CIFS 
practice often trumps theory.

> >Maxmpxcount stands for "Maximum Multiplex Count" and it refers
> >specifically to the number of separate client SMB requests that may be
> >outstanding with a given server at a given time.
> 
> This does not appear to be happeneing.  One (or more) host(s) will set 
> this to 1 and all threads suffer.

I really need time to get back into the code.  Sigh.

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the jcifs mailing list