On Oct 6, 2007, at 4:03 AM, Mattias Jiderhamn wrote:
>> Also, what is the stack trace for the slow read() call?
> With JNI, 57% of the time for loading a single page (total 78 s) is
> spent in
> com.caucho.vfs.JniStream.read cased by (only!!!) 22 calls from
That's the keepalive waiting for the next browser request. It's normal.
> Without JNI 43% of the time (total 33 s) is spent in
> java.io.File.lastModified caused by 28000 calls (depency checking over
> and over) from
> and 41% of the time is spent in
> java.io.File.length called 28000 times from
Can you give more of the stack trace? It's conceivable that there's
a huge number of dependency files for some reason (or somehow Resin's
checking the same files repeatedly.)
A truss (or strace or equivalent) would give the exact files that are
resin-interest mailing list