[jcifs] RE: jCIFS corrupt files

barry.roberts at xactsites.com barry.roberts at xactsites.com
Thu Oct 2 04:36:47 EST 2003

That's what I thought. I was wrong.  I'm still seeing the same problem.

> Pardon me for being dense (I'm good at it, however, and I've learned to 

Pardon me for being incomprehensible.  I haven't gotten much sleep lately. I had stress tested our app with jCIFS pretty thoroughly, but this didn't show up until the worst possible time.  It seems that slow machines (like our test servers which I stress tested on) don't do it nearly as often, if at all.  I'm still trying to narrow down circumstances and find a workaround.

Barry Roberts

-----Original Message-----
From:	Christopher R. Hertel [mailto:crh at ubiqx.mn.org]
Sent:	Wed 10/1/2003 12:20 PM
To:	Barry Roberts
Cc:	michael_b_allen at ml.com; jcifs at samba.org
Subject:	Re: [jcifs] RE: jCIFS corrupt files
On Wed, Oct 01, 2003 at 06:12:47AM -0600, barry.roberts at xactsites.com wrote:
> Last night I recompiled my own version of jcifs with
> SmbFileOutputStream.write and SmbFileInputStream.read() synchronized.
> I have not been able to reproduce any corrupt files.
> So it doesn't require multiple threads once the JVM/jCIFS whatever has
> gotten into a bad state, but it is much easier to get into that state
> with multiple threads. I was running a 20-thread stress test to
> reproduce it.  Each thread should have been writing to it's own files,
> but they all do a fair amount of SmbFile*putStream IO in close time
> proximity.
> Thanks for the help.  I really like jCIFS.


Pardon me for being dense (I'm good at it, however, and I've learned to 
play to my strengths)...  I don't understand what you are saying in the 
message above.

You say "I have not been able to reproduce any corrupt files."  Does that
mean that you believe the problem is resolved?  I am not sure where the
problem existed (you code, our code, the JVM, the compiled bytecode).  
Any clues?

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

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list