[jcifs] Mike or Chris
Christopher R. Hertel
crh at ubiqx.mn.org
Wed Apr 30 07:30:14 EST 2003
I will try to read this later. I am busy digging out after my trip to
SambaXP, getting my book into production, and handling visiting in-laws.
Chris -)-----
On Tue, Apr 29, 2003 at 05:12:09PM -0400, Dan Dumont wrote:
> I have made some headway in my troubles to use jcifs as my smb interface.
> But I am still having a few issues and I was wondering if you could take a
> look at what I have now, and maybe offer some advice.
>
>
>
> In order to address the issue that I was having earlier with the maxmpxcount
> being decremented, I changed this line in SmbTransport.java :
>
>
>
> mpxCtrl.maxMpxCount = negotiatedMaxMpxCount < 1 ?
>
> 1 : negotiatedMaxMpxCount;
>
>
>
> what I did was comment out the line completely. I do not understand why you
> would ever have any less mpx connections than open hosts (in my case
> threads) at a time.
>
>
>
> This proved to be a GREAT improvement in speed of the index.
>
>
>
> The issue I am facing now is that I tried an index over the list of ip
> addresses that my current perl setup uses and found that I can connect with
> about 20% less servers than my perl one connects with. I know this isn't
> much to go on, but were you aware of anything that would make jcifs unable
> to connect to certain kinds of hosts, where smbclient would not have a
> problem?
>
>
>
> Or do you think it might have something to do with my little modification.
> I dunno. I will be generating log files of what hosts each server picks
> up and comparing them and running tests on both servers, but I wanted to ask
> if you had any ideas first.
>
--
"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