-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 files" in tomcat. The serv
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 manager increase the amount of open fil
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
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 tomcat (if explicitly set)?
-What's your file descriptor configuration in the OS (if explicitly
set)?
-does the problem arrive alongsid
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
On 25/05/2010 11:38, pri...@samea.de wrote:
> Hello,
>
> 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?
p
> Further it crashes by opening the nameserver.
>
> Thanks for your help.
>
> br,
>
> Mar
Hello,
I had a look at my servlet, but it closes the connection after
doing a request.
Further it crashes by opening the nameserver.
Thanks for your help.
br,
Markus
>pri...@samea.de wrote:
>> Hello,
>>
>> I have a problem with my little CORBA-Servlet.
>> Allways I get this error:
>>
>> ja
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.ch.Net.socket(Net.java:97)
> sun.nio.ch.SocketChannel
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)
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
Mohit Anchlia wrote:
> 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 o
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: &
I can see you can't wait to hear the debate. Anyhow, I am using
HttpClient from apache commons and I do have .getReleaseConnection().
On Tue, Oct 7, 2008 at 4:56 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> - Original Message - From: "Mohit Anchlia" <[EMAIL PROTECTED]>
> To: "Tomcat User
- 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 root 935u IPv4 30842592 TC
Tobias Schulz-Hess wrote:
Hi Rainer,
Rainer Jung schrieb:
Hi,
1) How many fds does the process have, so is the question "why can't
we use all those 4096 fds configured", or is it "Where do those 4096
fdsused by my process come from"?
The latter. We can actually see the 4096 fds are used (by p
Hi Rainer,
Rainer Jung schrieb:
> Hi,
>
> 1) How many fds does the process have, so is the question "why can't
> we use all those 4096 fds configured", or is it "Where do those 4096
> fdsused by my process come from"?
The latter. We can actually see the 4096 fds are used (by port 8080 in
CLOSE_WAI
Hi,
1) How many fds does the process have, so is the question "why can't we
use all those 4096 fds configured", or is it "Where do those 4096
fdsused by my process come from"?
2) CLOSE_WAIT means the remote side closed the connection and the local
side didn't yet close it. What's you remote
Tobias Schulz-Hess schrieb:
For Linux, this can be done dynamically by launching (fron the OS
prompt):
echo "16384" >/proc/sys/fs/file-max
When I do
~# cat /proc/sys/fs/file-max
203065
This setting is a kernel limit.
This tells me, that (at least this specific setting) is already
suf
Hi Bruno,
thanks for your quick reply.
Bruno Vilardo schrieb:
> What Does "uname -a" say?
:~# uname -a
Linux bruder 2.6.18-5-amd64 #1 SMP Thu May 31 23:51:05 UTC 2007 x86_64
GNU/Linux
You are probably more interested in:
~# cat /proc/version
Linux version 2.6.18-5-amd64 (Debian 2.6.18.dfsg.1-13)
Tobias,
You probably need to tune some kernel paramerters. I had some issues
with our application get "stuck" at some point that we needed to
restart everything. And since you said it is a brend new server, you
might have the defalt values set in there.
What Does "uname -a" say?
The kernel param
IMHO, try jakarta.apache.org JMeter. Take a close look at the very rigorous
load/stress testing so-called Test Plan that is a distributed load test. HTH.
Tobias Schulz-Hess wrote ..
> Hi there,
>
> we use the current Tomcat 6.0 on 2 machines. The hardware is brand new and is
> really
> fast. We
Since you are on a Linux system, use a little utility called "lsof"
This one will list all the file descriptor associated with your process.
When you get the output, it will point you to where you are using up all
your file descriptors.
Also, check your "ulimit -n" setting for the user running
ubject: Re: Too Many Open Files error
Thanks Jim,
It was previously set to 1024, and I quadrupled it. When you say ulimit
is persistent will it persist across a reboot?
I don't seem to have the command lsof, I'll try and apt-get it.
Cheers
Dan
Jim Cox wrote:
On 10/19/07, Daniel M
Hi Dan,
You can try sysctrl.conf file. Add in the ulimit -n for open files.
- Original Message
From: Daniel M Garland <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Friday, 19 October 2007 9:43:00
Subject: Re: Too Many Open Files error
Thanks Jim,
It was previously set to 102
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
> Thanks Jim,
>
> It was previously set to 1024, and I quadrupled it. When you say ulimit
> is persistent will it persist across a reboot?
>
> I don't seem to have the command lsof, I'll try and apt-get it.
>
> Cheers
> Dan
The settings shou
Thanks Jim,
It was previously set to 1024, and I quadrupled it. When you say ulimit
is persistent will it persist across a reboot?
I don't seem to have the command lsof, I'll try and apt-get it.
Cheers
Dan
Jim Cox wrote:
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
Should I the
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
> Should I then place ulimit -n in the catalina startup scripts?
Setting a limit with ulimit is "sticky" (i.e. persistent), so there's
no need to stick it in the startup script.
However, you didn't answer the previous two questions abo
Should I then place ulimit -n in the catalina startup scripts?
Jim Cox wrote:
On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
Hi all
I'm seeing a problem on a Tomcat instance:
18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
o
On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm seeing a problem on a Tomcat instance:
>
> 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
> SEVERE: Socket accept failed
> org.apache.tomcat.jni.Error: Too many open files
> at org.apache.to
Am Donnerstag 18 Oktober 2007 schrieb Daniel M Garland:
> Hi all
>
> I'm seeing a problem on a Tomcat instance:
>
> 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
> SEVERE: Socket accept failed
> org.apache.tomcat.jni.Error: Too many open files
> at org.apache.tom
41 matches
Mail list logo