Patch: FYI: gcj3.1 status update

Jeff Sturm jsturm@one-point.com
Fri Apr 5 10:01:00 GMT 2002


On Fri, 5 Apr 2002, Andrew Haley wrote:
> I'm pretty sure that it is an issue, because the Linux kernel
> engineers told me that they'd had to increase the number of available
> file handles "because of Java servers." Now, I'm guessing that this
> is the cause, but it looks like a good candidate.

They must be talking about per-process, not system-wide handles.
It just so happens that few people attempted to run multithreaded servers
on Linux before java came along. And then there are artificial benchmarks
like VolanoMark.
We've had to run our servers with "ulimit -n 1024". Empirically, that
seems to be plenty for us, even with high transaction volumes.
Come to think of it... why couldn't the FileDescriptor::open code in
libgcj attempt to call setrlimit as well as run finalizers before it gives
up?
Jeff


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /