-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
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
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
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
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
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
>>>
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
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,
> 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
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
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
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
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
> >
> >
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.
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
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
: 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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
> 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
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
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
> 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
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
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(
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
-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.
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
-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
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
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
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
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
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
, 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
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
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
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
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
> 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
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
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
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
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
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
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.
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
>
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
> 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
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
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
> 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
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:
-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
-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
-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
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
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
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
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
-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
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
>>>
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
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
-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
: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
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
;> 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
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
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
-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
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
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
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
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
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
- 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
- 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: &
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
- 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
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
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 - 100 of 142 matches
Mail list logo