dev@glassfish.java.net

Re: is quicklook working right now?

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 09 Oct 2009 14:41:03 -0700

Bill Shannon wrote on 10/08/09 15:42:
> I just updated my workspace, built everything from scratch, and quicklook
> is failing pretty dramatically. Yes, it might be the few changes I have
> in my workspace, but before I waste hours figuring this out, is it working
> for anyone else?

Just FYI, I figured out what my problem was.

In the process of debugging this, I had changed my ulimit for the number
of open files from 256 to 512. What I failed to realize at the time was
that 256 was the soft limit and the hard limit was 65535. My change
changed *both* limits to 512. I guess the JVM is smart enough to raise
the soft limit as needed.

Apparently the server needs to open more than 512 files *simultaneously*!
(Or maybe it's quicklook/maven/ant.)

Wow!

I won't be surprised if someone is forgetting to close files/resources,
but that's a problem for another day.

Resetting the ulimit allowed quicklook to run.