Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-26 Thread Christopher Schultz
-Original Message- From: André Warnier (tomcat/perl) Sent: Tuesday, May 25, 2021 12:42 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 Hi. The point is to try to figure out what these thousands of apparently "TCPv6" sockets belon

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-26 Thread tomcat/perl
Message- From: André Warnier (tomcat/perl) Sent: Tuesday, May 25, 2021 12:42 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 Hi. The point is to try to figure out what these thousands of apparently "TCPv6" sockets belonging to the tomc

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-26 Thread tomcat/perl
23490 protocol: TCPv6 java165217 root 118u sock0,9 0t0 16823491 protocol: TCPv6 .. Thanks -Original Message- From: André Warnier (tomcat/perl) Sent: Tuesday, May 25, 2021 12:42 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-25 Thread Yeggy Javadi
Pv6 .. Thanks -Original Message- From: André Warnier (tomcat/perl) Sent: Tuesday, May 25, 2021 12:42 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 Hi. The point is to try to figure out what these thousands of apparently "TCPv6" socke

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-25 Thread tomcat/perl
java143152 root *817u IPv6 15611323 0t0 TCP Yeggy-F8-FMSVA:36081->Yeggy-F8-FMSVA:40318 (ESTABLISHED) java143152 root *818u IPv6 15602584 0t0 TCP Yeggy-F8-FMSVA:http->10.197.255.10:55039 (ESTABLISHED) Thank -Original Message----- From: André Warnier (tomcat/perl) Sen

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-24 Thread Yeggy Javadi
t;>> >>> > netstat -p -a -6 --tcp >>> >>> That is an alternative list of sockets, which also shows the "tcp state" >>> of the sockets. >>> To get only the ones of the tomcat JVM PID, filter with grep based of >>>

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-23 Thread tomcat/perl
30244 root 124u sock0,9 0t0 11987360 protocol: TCPv6 ... Keep seeing the same line -Original Message- From: André Warnier (tomcat/perl) Sent: Saturday, May 22, 2021 10:22 AM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-23 Thread Felix Schumacher
t;> protocol: TCPv6 >> java130244 root 104u sock 0,9 0t0 11987339 >> protocol: TCPv6 >> java130244 root 105u sock0,9 0t0 11987347 >> protocol: TCPv6 >> java130244 root 106u sock0,

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-23 Thread Felix Schumacher
> protocol: TCPv6 > java130244 root 116u sock0,9 0t0 11987352 > protocol: TCPv6 > java130244 root 117u sock0,9 0t0 11987353 > protocol: TCPv6 > java130244 root 118u sock0,9 0t0 11987354 > pr

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-22 Thread Yeggy Javadi
cat-8.5.59 too many open files on Linux 8 Mmm. Nothing very special in that netstat output. The sockets seen there look quite normal for tomcat, and there are not a lot. What about the IPv4 sockets ? (remove the -6 in your netstat command) Looks like lsof is counting things which are not IPv6 TCP sock

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-22 Thread tomcat/perl
8:28 AM To: Tomcat Users List Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 ss has all the same options as netstat On Fri, May 21, 2021 at 3:51 AM André Warnier (tomcat/perl) wrote: Soyrry to top-post, but it's getting cluttered down there.. The next thing that you may

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-21 Thread Yeggy Javadi
8:28 AM To: Tomcat Users List Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 ss has all the same options as netstat On Fri, May 21, 2021 at 3:51 AM André Warnier (tomcat/perl) wrote: > Soyrry to top-post, but it's getting cluttered down there.. > > The next thing

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-21 Thread Noelette Stout
lina.startup.Bootstrap start > > root 132566 132492 0 20:10 pts/100:00:00 grep --color=auto > tomcat > > > > #lsof -p 130244 | wc -l > > 8028 > > > > #lsof -p 130244 | grep "protocol: TCPv6"| wc -l > > 7474 > > > > Thanks > > > >

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-21 Thread tomcat/perl
pts/100:00:00 grep --color=auto tomcat #lsof -p 130244 | wc -l 8028 #lsof -p 130244 | grep "protocol: TCPv6"| wc -l 7474 Thanks -Original Message- From: André Warnier (tomcat/perl) Sent: Thursday, May 20, 2021 4:19 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-20 Thread Yeggy Javadi
rl) Sent: Thursday, May 20, 2021 4:19 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 Hi. According to the list below, you have 2 java (JVM) processes running on your system. One (PID = 130244) is the JVM which runs tomcat. This is visible when yo

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-20 Thread tomcat/perl
1 12:49 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 Yeggy, On 5/19/21 19:37, Yeggy Javadi wrote: Hi Chris, Thanks for your email. Below are replies to your questions: 1. Did you upgrade anything recently (like Java VM)? [YJ] To support Linux 8, only P

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-20 Thread Yeggy Javadi
: Thursday, May 20, 2021 12:49 PM To: users@tomcat.apache.org Subject: Re: apache-tomcat-8.5.59 too many open files on Linux 8 Yeggy, On 5/19/21 19:37, Yeggy Javadi wrote: > Hi Chris, > Thanks for your email. Below are replies to your questions: > > 1. Did you upgrade anything recentl

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-20 Thread Christopher Schultz
trace would be helpful. [YJ] The application error can occur in any place with the (Too many open files) error when the limit of open files for tomcat has reached (262144 in my environment), for example, I can get a connectivity error when pulling info from a server as below

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-19 Thread Yeggy Javadi
can occur in any place with the (Too many open files) error when the limit of open files for tomcat has reached (262144 in my environment), for example, I can get a connectivity error when pulling info from a server as below : [InventoryPullerTask - 10.1.6.25] ERROR FSSDataCollectorService

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-17 Thread Christopher Schultz
Yeggy, On 5/17/21 15:17, Yeggy Javadi wrote: Hi, I am seeing too many TCP sockets open by tomcat on Oracle Linux 8: java51798 root 6601u sock0,9 0t0 3959342 protocol: TCPv6 I was running the same application on Linux 7.6 with the same apache-tomcat version without

apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-17 Thread Yeggy Javadi
Hi, I am seeing too many TCP sockets open by tomcat on Oracle Linux 8: java51798 root 6601u sock0,9 0t0 3959342 protocol: TCPv6 I was running the same application on Linux 7.6 with the same apache-tomcat version without seeing this issue. I saw that RedHat has remove

Re: HTTP rejections and too many open files exception on tomcat

2013-02-18 Thread Mark Thomas
On 18/02/2013 21:14, Pid wrote: On 18/02/2013 17:05, Radha Krishnan D wrote: Hi Am sorry, clicked submit by mistake The below is the actual problem We are running into too many open files exception on our production tomcat server for the last 2-3 days. We have max threads as 150 and

Re: HTTP rejections and too many open files exception on tomcat

2013-02-18 Thread Pid
On 18/02/2013 17:05, Radha Krishnan D wrote: > Hi > > Am sorry, clicked submit by mistake > > The below is the actual problem > > > We are running into too many open files exception on our production tomcat > server for the last 2-3 days. > > We have max

Re: HTTP rejections and too many open files exception on tomcat

2013-02-18 Thread André Warnier
André Warnier wrote: Radha Krishnan D wrote: Hi Am sorry, clicked submit by mistake The below is the actual problem We are running into too many open files exception on our production tomcat server for the last 2-3 days. We have max threads as 150 and acceptCount as 100 and at one

Re: HTTP rejections and too many open files exception on tomcat

2013-02-18 Thread André Warnier
Radha Krishnan D wrote: Hi Am sorry, clicked submit by mistake The below is the actual problem We are running into too many open files exception on our production tomcat server for the last 2-3 days. We have max threads as 150 and acceptCount as 100 and at one point of time all the 250

RE: HTTP rejections and too many open files exception on tomcat

2013-02-18 Thread Radha Krishnan D
Hi Am sorry, clicked submit by mistake The below is the actual problem We are running into too many open files exception on our production tomcat server for the last 2-3 days. We have max threads as 150 and acceptCount as 100 and at one point of time all the 250 threads are busy

Re: HTTP rejections and too many open files exception on tomcat

2013-02-18 Thread André Warnier
Radha Krishnan D wrote: Hi, We are running into too many open issues exception on our production systems for the last With a lot of guesswork .. Google for "ulimit" ? Get a bigger server ? - To unsubscribe, e-mail: user

Re: Tomcat 7 NIO Socket accept failed - Too many open files

2012-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/2/12 5:40 PM, Filip Hanik (mailing lists) wrote: > Ok, lsof -p (IIRC) should do the trick, it will tell all the > handles open for that process, and you can deduce where the > problem stems from +1 If you have maxThreads="800" then you

RE: Tomcat 7 NIO Socket accept failed - Too many open files

2012-05-02 Thread Filip Hanik (mailing lists)
t.apache.org > Subject: Re: Tomcat 7 NIO Socket accept failed - Too many open files > > > > On 5/2/2012 12:34 PM, Pid * wrote: > > It's an OS issue: google 'ulimit'. > > > > > > p > > Yes, I am familiar with ulimit -Sn (it's 1024), but I

Re: Tomcat 7 NIO Socket accept failed - Too many open files

2012-05-02 Thread David Wall
On 5/2/2012 12:34 PM, Pid * wrote: It's an OS issue: google 'ulimit'. p Yes, I am familiar with ulimit -Sn (it's 1024), but I suspect this could be a Tomcat issue somehow opening too many files and/or not releasing them. I had never seen this issue before we upgraded from Tomcat 5.5 (al

Re: Tomcat 7 NIO Socket accept failed - Too many open files

2012-05-02 Thread Pid *
On 2 May 2012, at 20:19, David Wall wrote: > I am running Tomcat 7.0.26 on Linux we received a lot of the following > exceptions during load testing: > > May 2, 2012 3:04:03 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run > SEVERE: Socket accept failed > java.io.IOE

Tomcat 7 NIO Socket accept failed - Too many open files

2012-05-02 Thread David Wall
I am running Tomcat 7.0.26 on Linux we received a lot of the following exceptions during load testing: May 2, 2012 3:04:03 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run SEVERE: Socket accept failed java.io.IOException: Too many open files at

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread Pid
id * > To: Tomcat Users List > Sent: Friday, January 27, 2012 1:03 AM > Subject: Re: Tomcat 6.0.35-SocketException: Too many open files issue with > > On 27 Jan 2012, at 05:32, gnath wrote: > >> Hello Chris, >> >> >> After seeing the initial connecti

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread gnath
4422) >        at com.mysql.jdbc.Connection.close(Connection.java:2098) >        - locked <0x0005bd522568> (a com.mysql.jdbc.Connection) >        at >org.apache.tomcat.jdbc.pool.PooledConnection.disconnect(PooledConnection.java:320) > > > > Please help us on this. Could it be a

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread Pid *
422) > at com.mysql.jdbc.Connection.close(Connection.java:2098) > - locked <0x0005bd522568> (a com.mysql.jdbc.Connection) > at > org.apache.tomcat.jdbc.pool.PooledConnection.disconnect(PooledConnection.java:320) > > > > Please help us on this. Could it be a problem w

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-26 Thread gnath
oledConnection.disconnect(PooledConnection.java:320) Please help us on this. Could it be a problem with tomcat-jdbc.jar? Thanks -G From: Christopher Schultz To: Tomcat Users List Sent: Thursday, January 26, 2012 9:41 AM Subject: Re: Tomcat 6.0.35-SocketException

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-26 Thread Christopher Schultz
you. But at least the hard part is done: finding out what's breaking. > when it happened again and we saw some kind of DBCP Connection pool > issues leading to 'Too Many open files' issue. That will definitely do it. > So we decided to replace the commons DBCP with t

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-26 Thread Pid
> kind of DBCP Connection pool issues leading to 'Too Many open files' issue. > So we decided to replace the commons DBCP with tomcat-jdbc.jar (with same > configuration properties). After this change, it seemed for few hours but > started seeing in the logs where the C

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-25 Thread gnath
s. thank you once again, I really appreciate your help. Thanks -G From: Christopher Schultz To: Tomcat Users List Sent: Monday, January 23, 2012 7:51 AM Subject: Re: Tomcat 6.0.35-SocketException: Too many open files issue with -BEGIN PGP SIGNED MES

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-23 Thread Christopher Schultz
Max realtime priority 0 0 Those all look good to me. > This morning Tomcat hung again but this time it dint say 'too many > open files' in logs but i only see this below in catalina.out: > > org.apache.tomcat.util.http.Parameters processParame

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-23 Thread Daniel Mikusa
> Sent: Monday, January 23, 2012 1:32 AM > Subject: RE: Tomcat 6.0.35-SocketException: Too many open files issue with > > Sorry to possibly state the obvious, but are there perhaps files that are not > being closed? > > This can often happen if code goes into a "catch

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-23 Thread gnath
List ; gnath Sent: Monday, January 23, 2012 1:32 AM Subject: RE: Tomcat 6.0.35-SocketException: Too many open files issue with Sorry to possibly state the obvious, but are there perhaps files that are not being closed? This can often happen if code goes into a "catch", and a f

RE: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-23 Thread Purvis Robert (NHS CONNECTING FOR HEALTH)
al Message- From: gnath [mailto:gautam_exquis...@yahoo.com] Sent: 22 January 2012 08:01 To: users@tomcat.apache.org Subject: Tomcat 6.0.35-SocketException: Too many open files issue with Hello, We have been seeing "SocketException: Too many open files" in production environment(

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-22 Thread gnath
e priority 0    0    Max realtime priority 0    0 This morning Tomcat hung again but this time it dint say 'too many open files' in logs but i only see this below in catalina.out: org.apache.tomcat.util.http.Parameters processParameters I

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 G, On 1/22/12 3:01 AM, gnath wrote: > We have been seeing "SocketException: Too many open files" in > production environment(Linux OS running Tomcat 6.0.35 with sun's > JDK 1.6.30) every day and requires a restart of Tomcat.

Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-22 Thread gnath
Hello, We have been seeing "SocketException: Too many open files" in production environment(Linux OS running Tomcat 6.0.35 with sun's JDK 1.6.30) every day and requires a restart of Tomcat. When this happened for the first time, we searched online and found people suggesting

Re: Too many open files error

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lance, On 8/24/2011 11:21 AM, Campbell, Lance wrote: > Tomcat 6.0.32 Java 1.6.27 Apache 2.0 RedHat 6.x 64 bit > /proc/sys/fs/file-max = 3233344 > > We experienced an issue where we were getting the error "too many > open fi

Re: Too many open files error

2011-08-24 Thread Francis GALIEGUE
On Wed, Aug 24, 2011 at 17:33, Campbell, Lance wrote: > The file /etc/security/limits.d is empty.  What would be an example of > something you would expect to see in there that would relate to changing the > RMILIT_NFILE value? > It's a directory, not a file. Create a file named tomcat in it (o

RE: Too many open files error

2011-08-24 Thread Campbell, Lance
10:24 AM To: Tomcat Users List Subject: Re: Too many open files error On Wed, Aug 24, 2011 at 17:21, Campbell, Lance wrote: > Tomcat 6.0.32 > Java 1.6.27 > Apache 2.0 > RedHat 6.x 64 bit > /proc/sys/fs/file-max = 3233344 > > We experienced an issue where we were getting the

Re: Too many open files error

2011-08-24 Thread Francis GALIEGUE
On Wed, Aug 24, 2011 at 17:21, Campbell, Lance wrote: > Tomcat 6.0.32 > Java 1.6.27 > Apache 2.0 > RedHat 6.x 64 bit > /proc/sys/fs/file-max = 3233344 > > We experienced an issue where we were getting the error "too many open files" > in tomcat.  The server m

Too many open files error

2011-08-24 Thread Campbell, Lance
Tomcat 6.0.32 Java 1.6.27 Apache 2.0 RedHat 6.x 64 bit /proc/sys/fs/file-max = 3233344 We experienced an issue where we were getting the error "too many open files" in tomcat. The server manager increase the amount of open files to the above. But the error kept coming back

Re: too many open files issue in tomcat

2011-06-27 Thread Jason Viloria
On Mon, Jun 27, 2011 at 12:30 PM, Mark Thomas wrote: > On 27/06/2011 11:21, dasari@wipro.com wrote: > > Hi, > > > > Tomcat version is 6.0.29 > > OS is RHEL5.5-1 > > -Xms256m -Xmx768m" > > No explicit file descriptor configuration its default of OS > > Not observed the out of memory error but

Re: too many open files issue in tomcat

2011-06-27 Thread Mark Thomas
, June 27, 2011 3:38 PM > To: users@tomcat.apache.org > Subject: RE: too many open files issue in tomcat > > I think you will get better help by providing the following: > -Which tomcat version are you using? > -Which OS are you deploying on? > -What is your memory setting for t

RE: too many open files issue in tomcat

2011-06-27 Thread dasari.rao
gards Dayakar -Original Message- From: Guy Katz [mailto:gk...@allot.com] Sent: Monday, June 27, 2011 3:38 PM To: users@tomcat.apache.org Subject: RE: too many open files issue in tomcat I think you will get better help by providing the following: -Which tomcat version are you using? -Which O

RE: too many open files issue in tomcat

2011-06-27 Thread Guy Katz
bject: too many open files issue in tomcat Hi, I am facing the issue of "too many open files" in the tomcat and not able to process any request further. Did somebody faced the same problem and what is the problem and solution for the same. This issue is creating lot of problem on the

too many open files issue in tomcat

2011-06-27 Thread dasari.rao
Hi, I am facing the issue of "too many open files" in the tomcat and not able to process any request further. Did somebody faced the same problem and what is the problem and solution for the same. This issue is creating lot of problem on the production systems and if somebody h

Re: Too many open files

2010-05-25 Thread Rainer Jung
On 25.05.2010 11:54, André Warnier wrote: pri...@samea.de wrote: Hello, I have a problem with my little CORBA-Servlet. Allways I get this error: java.net.SocketException: Too many open files sun.nio.ch.Net.socket0(Native Method) sun.nio.ch.Net.socket(Net.java:97) sun.nio.ch.SocketChannelImpl

RE: too many open files

2010-05-25 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: too many open files > > > I had a look at my servlet, but it closes the connection after > > doing a request. > > Does it close the connection if the request throws an error? And as previously suggested, use netsta

Re: too many open files

2010-05-25 Thread Pid
or your help. > > br, > > Markus > > >> pri...@samea.de wrote: >>> Hello, >>> >>> I have a problem with my little CORBA-Servlet. >>> Allways I get this error: >>> >>> java.net.SocketException: Too many

RE: too many open files

2010-05-25 Thread privat
t; Allways I get this error: >> >> java.net.SocketException: Too many open files >> sun.nio.ch.Net.socket0(Native Method) >> sun.nio.ch.Net.socket(Net.java:97) >> sun.nio.ch.SocketChannelImpl.(SocketChannelImpl.java:84) >> >> sun.nio.c

Re: Too many open files

2010-05-25 Thread Pid
On 25/05/2010 10:26, pri...@samea.de wrote: > Hello, > > I have a problem with my little CORBA-Servlet. > Allways I get this error: > > java.net.SocketException: Too many open files > sun.nio.ch.Net.socket0(Native Method) > sun.nio.c

Re: Too many open files

2010-05-25 Thread André Warnier
pri...@samea.de wrote: Hello, I have a problem with my little CORBA-Servlet. Allways I get this error: java.net.SocketException: Too many open files sun.nio.ch.Net.socket0(Native Method) sun.nio.ch.Net.socket(Net.java:97) sun.nio.ch.SocketChannelImpl.(SocketChannelImpl.java:84

Too many open files

2010-05-25 Thread privat
Hello, I have a problem with my little CORBA-Servlet. Allways I get this error: java.net.SocketException: Too many open files sun.nio.ch.Net.socket0(Native Method) sun.nio.ch.Net.socket(Net.java:97) sun.nio.ch.SocketChannelImpl.(SocketChannelImpl.java:84

RE: java.net.SocketException: Too many open files

2009-06-04 Thread Lawrence Lamprecht
groet, Lawrence Lamprecht -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, June 03, 2009 10:20 PM To: Tomcat Users List Subject: RE: java.net.SocketException: Too many open files > From: John Cartwright [mailto:john.c.cartwri...@noaa.

RE: java.net.SocketException: Too many open files

2009-06-03 Thread Martin Gainty
gt; From: john.c.cartwri...@noaa.gov > Subject: Re: java.net.SocketException: Too many open files > To: users@tomcat.apache.org > > Thanks for your suggestions Martin, I'll look into modifying the memory > parameters. Strange thing is that this has been running for weeks w/o >

Re: java.net.SocketException: Too many open files

2009-06-03 Thread John Cartwright
Thanks for your reply Peter. Initially I was assuming that lsof was not showing me files on disk that were being opened and read by servlets. However, I've been unable to reproduce that in a more controlled setting. Since this system has been running for weeks w/o any modification, something

RE: java.net.SocketException: Too many open files

2009-06-03 Thread Caldarale, Charles R
> From: John Cartwright [mailto:john.c.cartwri...@noaa.gov] > Subject: Re: java.net.SocketException: Too many open files > > I'll look into modifying the memory parameters. That would be a complete waste of time. The heap size has nothing to do with the problem you&#

Re: java.net.SocketException: Too many open files

2009-06-03 Thread John Cartwright
abilité pour le contenu fourni. Date: Wed, 3 Jun 2009 09:04:33 -0600 From: john.c.cartwri...@noaa.gov Subject: java.net.SocketException: Too many open files To: users@tomcat.apache.org Hello All, something strange happened to our tomcat 5.5 instance running on RHEL Linux. Suddenly we bega

RE: java.net.SocketException: Too many open files

2009-06-03 Thread Martin Gainty
sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 3 Jun 2009 09:04:33 -0600 > From: john.c.cartwri...@noaa.gov > Subject: java.net.SocketException: Too many open files > To: users@tomcat.apache.org > > Hello All, &g

RE: java.net.SocketException: Too many open files

2009-06-03 Thread Peter Crowther
> From: john.c.cartwri...@noaa.gov [mailto:john.c.cartwri...@noaa.gov] > Can someone please help to to understand what might cause such an > exception? File descriptor exhaustion - the process has run out of fds. Any i/o could use a file descriptor, whether that's socket to httpd, socket to data

java.net.SocketException: Too many open files

2009-06-03 Thread John . C . Cartwright
tException: Too many open files at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) at java.net.ServerSocket.implAccept(ServerSocket.java:450) at java.net.ServerSocket.accept(ServerSocket.java:

Re: NIO Connector: Too many open files [SOLVED]

2009-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/22/2009 10:14 AM, Filip Hanik - Dev Lists wrote: > [The NIO connector in 6.0.18] simply never called close on the FD when it was > done I tried the tomcat-coyote.jar from Tomcat 6.0.20 and everything worked quite well. Thanks a lot for c

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/22/2009 8:48 AM, Rainer Jung wrote: > The file descriptos thing is totaly independent. I hijacked the thread :) Yeah, I know. Filip independently mentioned that there's a fd leak in the NIO implementation includes in 6.0.18. I have yet t

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/22/2009 10:32 AM, Rainer Jung wrote: > On 22.05.2009 15:46, Christopher Schultz wrote: >> Rainer, >> >> On 5/22/2009 8:55 AM, Rainer Jung wrote: >>> You could run a JSP including a call to System.gc(); >> Right. The JVM is out of file des

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
Filip, On 5/22/2009 10:14 AM, Filip Hanik - Dev Lists wrote: > if you look at the commit, there are changelog changes in there. one of > them being a FD leak with static content. Gotcha. I was just looking at the commit comment itself. > It simply never called close on the FD when it was done O

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
On 22.05.2009 15:46, Christopher Schultz wrote: > Rainer, > > On 5/22/2009 8:55 AM, Rainer Jung wrote: >> You could run a JSP including a call to System.gc(); > > Right. The JVM is out of file descriptors. I cannot deploy a new JSP > onto the server without restarting it. ;) I mentioned this in m

Re: NIO Connector: Too many open files

2009-05-22 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/21/2009 12:34 PM, Filip Hanik - Dev Lists wrote: hi Christopher, generally, ulimit -n 1024 is too low for any kind of web server. Fair enough, but I'm not putting an unreasonable load on my server wi

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
Rainer, On 5/22/2009 8:55 AM, Rainer Jung wrote: > You could run a JSP including a call to System.gc(); Right. The JVM is out of file descriptors. I cannot deploy a new JSP onto the server without restarting it. ;) I mentioned this in my initial post. > First of all this really looks bad and int

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/21/2009 12:34 PM, Filip Hanik - Dev Lists wrote: > hi Christopher, generally, ulimit -n 1024 is too low for any kind of web > server. Fair enough, but I'm not putting an unreasonable load on my server with ulimit -n 1024 and 40 concurrent

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
Hi Chris, On 22.05.2009 14:29, Christopher Schultz wrote: >>> $ jmap -heap 1430 >>> Attaching to process ID 1430, please wait... >>> Debugger attached successfully. >>> Client compiler detected. >>> JVM version is 11.3-b02 >>> >>> using thread-local object allocation. >>> Mark Sweep Compact GC >>>

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
Hi Chris, On 22.05.2009 14:14, Christopher Schultz wrote: > Rainer, > > On 5/21/2009 12:21 PM, Rainer Jung wrote: >> 2 remarks about all your stress testing efforts: > >> A) TIME_WAIT > >> When not doing HTTP Keep-Alive, under high load the size of the TCP hash >> table and the effectiveness of

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
ous tests are not completing for the NIO >> connector because the server is running out of files: >> >>> May 20, 2009 2:35:55 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run >>> SEVERE: Socket accept failed >>> java.io.IOException: Too many open files

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/21/2009 12:21 PM, Rainer Jung wrote: > 2 remarks about all your stress testing efforts: > > A) TIME_WAIT > > When not doing HTTP Keep-Alive, under high load the size of the TCP hash > table and the effectiveness of the system to lookp u

Re: NIO Connector: Too many open files

2009-05-21 Thread Filip Hanik - Dev Lists
:35:55 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run SEVERE: Socket accept failed java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145) at org.apache.tomcat.util.net.Ni

Re: NIO Connector: Too many open files

2009-05-21 Thread Rainer Jung
2 remarks about all your stress testing efforts: A) TIME_WAIT When not doing HTTP Keep-Alive, under high load the size of the TCP hash table and the effectiveness of the system to lookp up TCP connections can limit the throughput you can reach. More precisely, depending on the excat way of connec

Re: NIO Connector: Too many open files

2009-05-21 Thread Rainer Jung
;> May 20, 2009 2:35:55 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run >> SEVERE: Socket accept failed >> java.io.IOException: Too many open files >> at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) >> at >> sun.nio.ch.ServerSocketChannel

NIO Connector: Too many open files

2009-05-21 Thread Christopher Schultz
35:55 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run > SEVERE: Socket accept failed > java.io.IOException: Too many open files > at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) > at > sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl

Re: Too many open files

2008-10-10 Thread Mohit Anchlia
I am using tomcat to apache (for load balancing) On Fri, Oct 10, 2008 at 12:23 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Johnny, > > Johnny Kewl wrote: >> PS: I see you have a Apache in front... >> Try this... setup the 8080 connector

Re: Too many open files

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: > PS: I see you have a Apache in front... > Try this... setup the 8080 connector if you havnt already got it working > in TC... and go into TC direct... then check file handles > If no problem, you know its Apache or the

Re: Too many open files

2008-10-10 Thread Christopher Schultz
if these polie up on top of each other because of long (minutes?) timeouts then you can easily run out of file handles (socket ~= file handle, which is why you are getting the "too many open files" error). Consider setting some of these timeout options on HttpClient (if such options

Re: Too many open files

2008-10-08 Thread Mohit Anchlia
I don't know how that will help in lowering down the CLOSE_WAITS from tomcat to apache. I'll look at it though. On Wed, Oct 8, 2008 at 3:07 PM, Serge Fonville <[EMAIL PROTECTED]> wrote: > I'm recently new to tomcat, but still I hope I am able to help a little.On > one end, any connection object sh

Re: Too many open files

2008-10-08 Thread Serge Fonville
I'm recently new to tomcat, but still I hope I am able to help a little.On one end, any connection object should be nulled so the garbage collector can pick it up. On the other end, in server.xml define an executor and refer it in the connector, that way, you can specify the idle time and the maxim

Re: Too many open files

2008-10-08 Thread Mohit Anchlia
So I tried all the options. I also changed the code to use connection pooling with only 2 connections but still there are bunch of CLOSE_WAITS. As soon as I stop tomcat all of them go away. I am not able to figure out why there are so many CLOSE_WAITS hanging around when I just have 2 connections i

Re: Too many open files

2008-10-08 Thread Konstantin Kolinko
2008/10/8 Mohit Anchlia <[EMAIL PROTECTED]>: > I can see you can't wait to hear the debate. Anyhow, I am using > HttpClient from apache commons and I do have .getReleaseConnection(). > See comment #22 here: https://issues.apache.org/bugzilla/show_bug.cgi?id=28727#c22 and the message thread that it

Re: Too many open files

2008-10-07 Thread Johnny Kewl
- Original Message - From: "Mohit Anchlia" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, October 08, 2008 2:11 AM Subject: Re: Too many open files I can see you can't wait to hear the debate. Anyhow, I am using HttpClient fr

Re: Too many open files

2008-10-07 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, October 08, 2008 1:56 AM Subject: Re: Too many open files - Original Message - From: "Mohit Anchlia" <[EMAIL PROTECTED]> To: &

Re: Too many open files

2008-10-07 Thread Mohit Anchlia
MAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tuesday, October 07, 2008 11:44 PM > Subject: Too many open files > > >> Tomcat throws too many open files and when I do lsof I get bunch of: >> >> java14130 root 935u IPv4 30842592 TCP

Re: Too many open files

2008-10-07 Thread Johnny Kewl
- Original Message - From: "Mohit Anchlia" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 07, 2008 11:44 PM Subject: Too many open files Tomcat throws too many open files and when I do lsof I get bunch of: java14130

Too many open files

2008-10-07 Thread Mohit Anchlia
Tomcat throws too many open files and when I do lsof I get bunch of: java14130 root 935u IPv4 30842592 TCP localhost:41971->localhost:http (CLOSE_WAIT) java14130 root 937u IPv4 30841213 TCP efeitws3.ptctax.intuit.com:41161->10.10.81.94:webcache (CLOS

Re: Too many open files exception under heavy load - need help!

2008-01-25 Thread Rainer Jung
of traffic). The machines have debian 4.1/64 as OS. However, sometimes (especially if we have lots of traffic) we get the following exception: INFO | jvm 1 | 2008/01/23 15:28:18 | java.net.SocketException: Too many open files INFO | jvm 1| 2008/01/23 15:28:18 | at java.net.PlainSocketImp

  1   2   >