tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Flaumenhaft" <...@sidelight.com>
Subject Re: Too many open files with Tomcat-3.2.1 under Solaris
Date Thu, 01 Mar 2001 20:05:29 GMT
Hi Zsolt,

Most UNIX systems need one file descriptor per open socket. That error
message almost always means you don't have enough file descriptors. In
Linux, at least the last time I checked, you need to recompile the kernel to
change the number of file descriptors allocated by the system. Under
Solaris, you can change it in /etc/system.

See:

http://www.rational.com/technotes/clearcase_html/ClearCase_html/technote_344
.html

I'd recommend bumping it to 1024 and see if your problem goes away.

Hope that helps.

Regards,
Ben Flaumenhaft
Principal, Sidelight Consulting
http://www.sidelight.com

----- Original Message -----
From: "Zsolt Koppany" <zk@intland.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, March 01, 2001 6:59 AM
Subject: Too many open files with Tomcat-3.2.1 under Solaris


> Hi,
>
> I just want to port our tomcat application to Solaris-2.7 and after a
> short time I get the error message "Too many open files" from
> java.net.SocketException.
>
> The same applications does not have the problem under Linux.
>
> I'm pretty sure that not our application causes the problem.
>
> I use j2sdk1_3_0_02 under Solaris.
>
> Any ideas?
>
>
> --
> Zsolt Koppany
> Intland GmbH www.intland.com
> Schulze-Delitzsch-Strasse 16
> D-70565 Stuttgart
> Tel: +49-711-7871080 Fax: +49-711-7871017
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message