You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by HasanA <Ha...@cpw.co.uk> on 2004/06/03 18:16:26 UTC

TOO MANY OPEN FILES

Hi
We are running tomcat 4 on Open VMS  system and ocassionally we have seen
this error message and crashed tomcat engine
2004-06-03 08:54:55 HttpConnector[8080] accept:
java.net.SocketException: too many open files
        at java.net.PlainSocketImpl.socketAccept (PlainSocketImpl.java)
        at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:424) (pc 2)
        at java.net.ServerSocket.implAccept (ServerSocket.java:243) (pc 37)
        at java.net.ServerSocket.accept  (ServerSocket.java:222) (pc 10)
        at org.apache.catalina.connector.http.HttpConnector.run
(HttpConnector.java:993) (pc 9)
        at java.lang.Thread.run          (Thread.java:484)       (pc 11)


We have increased the value of maxprocessors from 75 to 750 and only thing
we have noticed is that in past it used to crash every week but after
increasing that value it took two week to crash. It might be totally
irrevelent but this what we observed.
I would appreciate if someone will explain this problem and suggest
solution.

Thanks

Ajwat


This communication together with any attachments transmitted with it ("this E-Mail") is intended only for the use of the addressee and may contain information which is privileged and confidential.  If the reader of this E-Mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are hereby notified that any use, dissemination, forwarding, printing or copying of this E-Mail is strictly prohibited.  Addressees should check this E-mail for viruses.  The Company makes no representations as regards the absence of viruses in this E-Mail.  If you have received this E-Mail in error please notify our ISe Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail at postmaster@cpw.co.uk  Please then immediately delete, erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not necessarily constitute the views of the Company.  Nothing in this E-Mail shall bind the Company in any contract or obligation.

For the purposes of this E-Mail "the Company" means The Carphone Warehouse Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal Way, London W3 6RS


Re: TOO MANY OPEN FILES

Posted by Filip Hanik - Dev <de...@hanik.com>.
you will need to change the number of open file descriptors your OS can handle.
Should be in your kernel config or somewhere around there, don't know to much about Open VMS

Filip

----- Original Message -----
From: "HasanA" <Ha...@cpw.co.uk>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Thursday, June 03, 2004 11:16 AM
Subject: TOO MANY OPEN FILES


> Hi
> We are running tomcat 4 on Open VMS  system and ocassionally we have seen
> this error message and crashed tomcat engine
> 2004-06-03 08:54:55 HttpConnector[8080] accept:
> java.net.SocketException: too many open files
>         at java.net.PlainSocketImpl.socketAccept (PlainSocketImpl.java)
>         at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:424) (pc 2)
>         at java.net.ServerSocket.implAccept (ServerSocket.java:243) (pc 37)
>         at java.net.ServerSocket.accept  (ServerSocket.java:222) (pc 10)
>         at org.apache.catalina.connector.http.HttpConnector.run
> (HttpConnector.java:993) (pc 9)
>         at java.lang.Thread.run          (Thread.java:484)       (pc 11)
>
>
> We have increased the value of maxprocessors from 75 to 750 and only thing
> we have noticed is that in past it used to crash every week but after
> increasing that value it took two week to crash. It might be totally
> irrevelent but this what we observed.
> I would appreciate if someone will explain this problem and suggest
> solution.
>
> Thanks
>
> Ajwat
>
>
> This communication together with any attachments transmitted with it ("this E-Mail") is intended only for the use of the addressee
and may contain information which is privileged and confidential.  If the reader of this E-Mail is not the intended recipient or the
employee or agent responsible for delivering it to the intended recipient you are hereby notified that any use, dissemination,
forwarding, printing or copying of this E-Mail is strictly prohibited.  Addressees should check this E-mail for viruses.  The
Company makes no representations as regards the absence of viruses in this E-Mail.  If you have received this E-Mail in error please
notify our ISe Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail at postmaster@cpw.co.uk  Please then
immediately delete, erase or otherwise destroy this E-Mail and any copies of it.
>
> Any opinions expressed in this E-Mail are those of the author and do not necessarily constitute the views of the Company.  Nothing
in this E-Mail shall bind the Company in any contract or obligation.
>
> For the purposes of this E-Mail "the Company" means The Carphone Warehouse Group Plc and/or any of its subsidiaries.
>
> Please feel free to visit our website:  http:// www.carphonewarehouse.com or http://www.phonehouse.com
>
> The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal Way, London W3 6RS
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org