You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Jan Wrang <ja...@cinatit.com> on 2002/05/08 15:08:22 UTC

using jsp's / Domain access / too many open files

Hi,

I have several JSP pages which access my slide domain
together with the webdav servlet.

I not sure if the JSP's are accessing the domain correctly because
I have the following problem.
The system works as intended, both the webDAV access and
my web interface which is build through JSP's. But
if I look at the number of open files on my Linux server,
it says
[root@gw01 conf]# more /proc/sys/fs/file-nr
3474    196     8192

The first number, which is the peek number in open filehandles,
increases EVERY time I upload a file through the webDAV interface.
At some point, it reaches the max-limit and the server crashes ......

This problem doesn't arise if my jsp's isn't placed in the webapps
directory,
so the problem must be related to my own jsp pages somehow.

My own theory is that the problem is related to how the JSP's connect and
disconnect
from the Domain.

If somebody has a webapplication where a JSP page access the slide Domain
while there is also access through
the webdav interface, some sample code would be great !

Otherwise if anybody has experienced similar problems,
any help would be great.

Best regards,

Jan





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>