users@glassfish.java.net

Re: Hang up: Too many open files

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Wed, 12 Sep 2007 12:35:49 +0200

Hello there,
I wanted to join this thread, because I have same problem, but in my
case I can do everything with server (root privileges).

This is AMD box with 32bit Ubuntu 7.10 Server, Java 6, Glassfish v2
b45 right now.

At first, I had IOExceptions because of too many opened files. I
changed limit to 2048 and server could work longer, but limit was hit,
so I changed to 4096 (still didn't help), finally I changed to about
32000... well now it can work even several days, but strange thing
happens: the OpenFileDescriptorCount is growing...growing... and when
it is somewhere between 6000 and 8000 server starts acting strange,
for example, Java WebStart is launching our application (in ACC) and
after user logs in nothing happens, the main window never shows up,
like server was frozen. I have to restart it and everything is fine
again.

It looks like some leak, the OpenFileDescriptorCount chart (made by
jconsole) is showing that during day the number is growing (in the
night no one is using application and descriptor count is not growing,
but it never goes down. So, eventually it will hit any limit (but in
my case strange things happens around 6-8k).

I would fill an issue, but I have no idea how to reproduce it. Our
application is used by... I am not sure, but it can be something like
50 users simultaneously (this is a testing time, in few weeks the
number of desktop connected can be around 150). It happens only when
such a great number of users are using it. Each client application is
injecting about 60 stateless session beans (I don't know, maybe that
info is useful).

Regards,
Witold Szczerba

2007/9/12, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org>:
> First thanx for the detailed explanation - understand this now little bit more.
>
> But i am still wondering, why this only occurs in the morning hours.
> When did this occur on your system?
>
>
> > to get another ISP
>
> I think also about that - but dont now how to check an new ISP before:)
> Perhaps i find some, which setups only my configuration and does individual support to OS and my services with an dedicated admin.
> [Message sent by forum member 'hammoud' (hammoud)]
>
> http://forums.java.net/jive/thread.jspa?messageID=235015
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>