File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

too many files open

 
Nims H.
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I have following configuration...
Resin-3 on centos-4.

I am using virtual hosting on my server. Now problwm is that some time my server do not redirect to my actuall location as per host name but goes directly to root folder of resin. when i see the lof it shows me that the exception thrown file not found exception. and reason was written that TOO MANY FILES OPEN.

Please help me out.....

Thanx in advance...

[ June 06, 2006: Message edited by: Nims H. ]
[ June 07, 2006: Message edited by: Bear Bibeault ]
 
Martin Simons
Ranch Hand
Posts: 196
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Somewhere in your code you are opening files without closing them. Do not
forget to close your files. Either that, or you have so many concurrent
users during the instant in time that a specific code block is running,
that you have exceeded the systems open file limit. If this is the case,
you need to extend the systems open file limit. On Solaris you can do this
using the ulimit command, or even better, in the /etc/system file. On
other systems I am not sure how. I am, however, almost certain, that your
problem lies in the first sentence of this reply.
 
pawank gupta
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
plz describe ur problem in detail
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nims H,

Two things.......

One:
We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here

Two:
In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here. In particular, please see UseAMeaningfulSubjectLine
and
EaseUp.


Many people will make a point of skipping by questions with the word 'URGENT' in the subject line. Also, typing in all caps is the equivalent to yelling in a web forum and is considered to be rude. You will stand a better chance of getting your question answered if you fix your subject line.

Again, welcome to JavaRanch and good luck with your question.
-Ben
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have amended the subject line.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic