users@glassfish.java.net

Re: Strange Behavior in v2-b25 and v2-b26(from cvs)

From: Binod <Binod.Pg_at_Sun.COM>
Date: Fri, 01 Dec 2006 19:32:44 +0530

The default selectorprovider used with JDK 1.5 is a "poll"
selectorprovider which
consume one file descriptor per selector. Considering that you are
already using
an application that is FD intensive, this might cause a problem.

JDK 1.6 has the epoll selector provider as the default and is less file
descriptor intensive.

http://blogs.sun.com/alanb/entry/epoll

thanks,
Binod.

> I've been running the application on JDK 6 (build 104) on linux for
> few days now and the CPU issue has ceased thus far. JDK 6 is not an
> option for us in right now though. Any idea on what is going on?
>
> Regards,
>
> Iran.
>
> On Nov 29, 2006, at 12:55 AM, Binod wrote:
>
>> Iran Hutchinson wrote:
>>
>>> After a period of time/usage (hours to days) the java process
>>> running glassfish is using 98%+ of the available CPU and the logs
>>> don't say anything about errors (exceptions, out of memory, etc.).
>>> I can log into the GlassFish Administration application fine but
>>> not the web-tier of the application I deployed. A restart of the
>>> application server fixes things. I have seen this both on Linux
>>> (CentOS 4 ) with v2-b25 and Mac OS X 10.4.8 with v2- b26(cvs) both
>>> running on JDK 1.5.
>>>
>>> The Web-tier application is Openlaszlo based (can sometimes need
>>> lots of file descriptors, but I am not getting those errors).
>>
>>
>> Can you try with JDK 1.6 and see if that makes any difference?
>>
>> - Binod.
>>
>>> Enterprise tier is getting a connection from a connection pool.
>>> Everything is Java EE 5 based except a few web services.
>>>
>>> Has anyone seen this behavior or know what could be going on?
>>>
>>> Thanks,
>>>
>>> Iran.
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>