Re: [JBoss-dev] "Too many open files"-errors

2003-02-23 Thread Scott M Stark
I don't know what could be opening the copy of the conf/jboss-service.xml file
so many times. Can you modify the File source to see what is opening this file
and pick it up with the bootclasspath option.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: "Thomas Peuss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 23, 2003 2:42 AM
Subject: [JBoss-dev] "Too many open files"-errors


> I am having problems to get JBoss run for longer than 1 week. Then the 
> OS (Linux 2.4.x) throws "Too many open files"-errors.
> 
> Environment used:
> - RedHat Linux 7.2 on a SMP-machine.
> - BEA JRockit 8 (we are using JRockit because we see excessive GC-pauses 
> (>500s !!) with the Sun JDK), heap-size 1.2GB
> - JBoss 3.0.3 (tried JBoss 3.0.6, too) with Tomcat 4.0.6
> 
> A first investigation with the "lsof" (list open files) showed that the 
> JVM has opened 140.000 files! I then had a look which files were open. 
> One that is opened 100.000 times is one called 
> ${jboss.home}/server/default/tmp/deploy/.../conf/jboss-service.xml. Can 
> someone give me a hint where in the code this file is opened? I patched 
> one place in JBoss already. That brought down the inital file open count 
> to 10.000. So we now run into problems a little later.
> 
> Comments welcome
> Thomas
> 
> 
> 
> ---
> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> The most comprehensive and flexible code editor you can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> www.slickedit.com/sourceforge
> ___
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] "Too many open files"-errors

2003-02-23 Thread Thomas Peuss
I am having problems to get JBoss run for longer than 1 week. Then the 
OS (Linux 2.4.x) throws "Too many open files"-errors.

Environment used:
- RedHat Linux 7.2 on a SMP-machine.
- BEA JRockit 8 (we are using JRockit because we see excessive GC-pauses 
(>500s !!) with the Sun JDK), heap-size 1.2GB
- JBoss 3.0.3 (tried JBoss 3.0.6, too) with Tomcat 4.0.6

A first investigation with the "lsof" (list open files) showed that the 
JVM has opened 140.000 files! I then had a look which files were open. 
One that is opened 100.000 times is one called 
${jboss.home}/server/default/tmp/deploy/.../conf/jboss-service.xml. Can 
someone give me a hint where in the code this file is opened? I patched 
one place in JBoss already. That brought down the inital file open count 
to 10.000. So we now run into problems a little later.

Comments welcome
Thomas


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development