dev@glassfish.java.net

Re: is quicklook working right now?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 09 Oct 2009 15:18:46 -0700

Jeanfrancois Arcand wrote:
>
>
> Bill Shannon wrote:
>> 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.
>
> Can you grab a lsof/pfiles snapshot when it runs? It might now be GF
> itself but Maven.
>

Yes, that would help. Also, what error was it failing with?
Anything in server.log?

> -- Jeanfrancois
>
>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>