[jcifs] Multiple host SMB Crawler
Dan Dumont
Dan at canofsleep.com
Thu Apr 17 05:10:14 EST 2003
I have achieved almost a 'perfect' workaround to the problem I was having.
'Almost' because I really did not grasp what you were trying to tell me in
your explanation.
However, what I found was that if I modified the maxMpxCount to 100 in your
code. The indexing program will run at full speed (note I tried setting
this in the options and it didn't work... at all. Perhaps I am doing
something wrong)
However, after about 100 ip address have been... indexed, or discarded or
whatever, all the threads lock up in
synchronized int aquireMid() throws InterruptedException {
while( mpxCount >= maxMpxCount ) {
wait();
}
^^^ there.
Is the timeout like... really high or something, so high that if I let my
computer work at this until after next Christmas it will finally give up and
let me through?
Or is this a problem with my little code edit.
Or is this simply another unintended side effect?
-----Original Message-----
From: Allen, Michael B (RSCH) [mailto:Michael_B_Allen at ml.com]
Sent: Thursday, April 10, 2003 11:43 PM
To: 'Dan Dumont'
Subject: RE: [jcifs] Multiple host SMB Crawler
Because you'll only save a few seconds on startup. If you scan for more than
a handfull of IP's the overall benifit will be dwarfed by the time it takes
for the
whole scan to complete.
> -----Original Message-----
> From: Dan Dumont [SMTP:Dan at canofsleep.com]
> Sent: Thursday, April 10, 2003 11:36 PM
> To: 'Allen, Michael B (RSCH)'
> Subject: RE: [jcifs] Multiple host SMB Crawler
>
> So how will changing this not help?
>
> -----Original Message-----
> From: jcifs-bounces+dan=canofsleep.com at lists.samba.org
> [mailto:jcifs-bounces+dan=canofsleep.com at lists.samba.org] On Behalf Of
> Allen, Michael B (RSCH)
> Sent: Thursday, April 10, 2003 11:29 PM
> To: 'Dan Dumont'
> Cc: 'jcifs at samba.org'
> Subject: RE: [jcifs] Multiple host SMB Crawler
>
>
>
> > -----Original Message-----
> > From: Dan Dumont [SMTP:Dan at canofsleep.com]
> > Sent: Thursday, April 10, 2003 11:13 PM
> > To: 'Michael B.Allen'
> > Subject: RE: [jcifs] Multiple host SMB Crawler
> >
> > Thank you very much for you help. I thought something was up, but I
> > couldn't be sure. This will speed things along nicely.
> >
> Actually it won't. I don't think you understood what I said. The
> problem
> only occurs when this MpxControl.maxMpxCount variable is initialize
> which happens once during the lifetime of the VM.
>
> Mike
>
>
>
>
>
>
>
More information about the jcifs
mailing list