RE: Too Many Open Files?
I realize I'm a bit late responding to this (been in summer mode), but yes - a webmin module would be fine. -Original Message- From: Michael J. Cannon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 4:37 PM To: Orion-Interest Subject: Re: Too Many Open Files? Would there be interest in a Webmin .wbm module for this and other functionality (also might open the db and console in the web page). Of course, would be SSL enabled. Mike - Original Message - From: Curt Smith [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 2:55 PM Subject: Re: Too Many Open Files? What about being able to open port 80 as non-root? curt Eddie Post [EMAIL PROTECTED] 08/08/01 11:38AM My experience to overcome this problem: Make absolutely sure you don't run Orion as root, such that all java processes are killed nicely and they don't keep on running. They told me that even with su -, java sees the real owner the initiated this (I still have to get deeper into this). After I just started Orion from the command prompt as normal user, this problem disappeared. I used to start Orion with su - in a start-up script. Eddie THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE, IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION. ANY UNAUTHORISED DISCLOSURE IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT OUR INTERNAL RECORDS. PLEASE THEN DELETE THE ORIGINAL EMAIL. THANK YOU
Too Many Open Files?
OS: RedHat7.1 ORION: 1.5.2 JAVA: Blackdown 1.3.1 FCS (-green -Xmx400M) ERROR: java.io.FileNotFoundException:filename (Too many open files) Hi, I am receiving the above error in the global-application.log a number of times a day. Is this related to the problem on linux where you can only have 1024 file handles open? Has anyone resolved this / has documentation on how to do it? What are the implications of this error to the user - I have not experienced any problems on the client side. Thanks, Richard.
Re: Too Many Open Files?
This article may address your issue. http://www.patoche.org/LTT/all/0128.html AFAIK the error is propagated to the client, unless you are catching the IO exception on the way through somewhere. Scott -- Scott Farquhar :: [EMAIL PROTECTED] Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World Richard Taylor wrote: OS: RedHat7.1 ORION: 1.5.2 JAVA: Blackdown 1.3.1 FCS (-green -Xmx400M) ERROR: java.io.FileNotFoundException: filename (Too many open files) Hi, I am receiving the above error in the global-application.log a number of times a day. Is this related to the problem on linux where you can only have 1024 file handles open? Has anyone resolved this / has documentation on how to do it? What are the implications of this error to the user - I have not experienced any problems on the client side. Thanks, Richard.
Re: Too Many Open Files?
Richard, This was discussed on the list a couple of weeks ago. The answers to your questions: Is it related to the problem on linux where you can only have 1024 file handles open? yes. Has anyone resolved this? yes. To rectify, you must recompile the kernel to handle more open file handles (summary of the original post). Jeff. Richard Taylor wrote: OS: RedHat7.1ORION: 1.5.2JAVA: Blackdown 1.3.1 FCS (-green -Xmx400M) ERROR:java.io.FileNotFoundException: filename (Too many open files) Hi, I am receiving the above error in the global-application.log a number of times a day. Is this related to the problem on linux where you can only have 1024 file handles open? Has anyone resolved this / has documentation on how to do it? What are the implications of this error to the user - I have not experienced any problems on the client side. Thanks, Richard. -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
Re: Too Many Open Files?
Yep running out of file descriptors. You have a max of 1024 per process, but as just about everything in Linux (and Unix) uses a file descriptor (like the tcp sockets java uses), you can easily use this up. www.jlinux.org has instructions on what you need to change before you recompile your kernel. You may also want to change to native threads as well as this will give you better performance for server side apps. Chris Richard Taylor wrote: OS: RedHat7.1 ORION: 1.5.2 JAVA: Blackdown 1.3.1 FCS (-green -Xmx400M) ERROR: java.io.FileNotFoundException: filename (Too many open files) Hi, I am receiving the above error in the global-application.log a number of times a day. Is this related to the problem on linux where you can only have 1024 file handles open? Has anyone resolved this / has documentation on how to do it? What are the implications of this error to the user - I have not experienced any problems on the client side. Thanks, Richard.
Re: Too Many Open Files?
Would there be interest in a Webmin .wbm module for this and other functionality (also might open the db and console in the web page). Of course, would be SSL enabled. Mike - Original Message - From: Curt Smith [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 2:55 PM Subject: Re: Too Many Open Files? What about being able to open port 80 as non-root? curt Eddie Post [EMAIL PROTECTED] 08/08/01 11:38AM My experience to overcome this problem: Make absolutely sure you don't run Orion as root, such that all java processes are killed nicely and they don't keep on running. They told me that even with su -, java sees the real owner the initiated this (I still have to get deeper into this). After I just started Orion from the command prompt as normal user, this problem disappeared. I used to start Orion with su - in a start-up script. Eddie