How many open files are needed by tomcat depend
on several points.

Have a look at lsof (as root) to see what and
how many files are open at a given time.

64 open files is a quite low number. (Even the limit of
1024 can be quite low if the server is under heavy load
or runs more applications than just the web server and
tomcat.)

> -----Urspr�ngliche Nachricht-----
> Von: Tognolini Raffaella, CH [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 24. Juli 2001 11:10
> An: '[EMAIL PROTECTED]'
> Betreff: AW: too many open files
> 
> 
> Hi,
> My applet ist just a java-"application" and is doing nothing 
> with files, the
> only files I open directly, I close them.
> In DEBUG of tomcat, you can see, it's just loading classes 
> and after a while
> 
> (not long) doing nothing else then opening different windows 
> in my applet
> (new classes are loaded) tomcat can't anymore...
> On my Solaris there is a soft-limit of 64 open files and an 
> hard limit of
> 1024 I could add some more to the soft-limit, but I thought, 
> that jvm or the
> classloader of tomcat should just work....
> There are other people that also did last-test with their 
> applet and had the
> same problem, and just on solaris, but not on linux or others...
> Thanx
> Raffaella
> 
> > -----Urspr�ngliche Nachricht-----
> > Von:        John Clark Naldoza y Lopez [SMTP:[EMAIL PROTECTED]]
> > Gesendet am:        Dienstag, 24. Juli 2001 10:38
> > An: [EMAIL PROTECTED]
> > Betreff:    Re: too many open files
> > 
> > "Tognolini Raffaella, CH" wrote:
> > > 
> > > Hi,
> > > Conf: Tomcat 3.2.2 and jdk 1.1.8 OS Solaris 2.6
> > > Browser Netscape
> > > 
> > > After a while that my applet is running and tomcat 
> loading classes, I
> > > receive
> > > following exception, continously and tomcat dies. Do you 
> have an idea?
> > > Is like tomcat can't load any more classes:
> > 
> > What's the maximum number of open files for Solaris 2.6?  
> How many open
> > files are there?
> > 
> > What does your applet do?  Does it open files and not close 
> them after
> > they are read?
> > 
> > 
> > Cheers,
> > 
> > 
> > John Clark
> > -- 
> >      /) John Clark Naldoza y Lopez                           (\
> >     / )    Software Design Engineer III                      ( \
> >   _( (_    _  Web-Application Development                    _) )_
> >  (((\ \>  /_>    Cable Modem Network Management System <_\  </ /)))
> >  (\\\\ \_/ /         NEC Telecom Software Phils., Inc.  \ \_/ ////)
> >   \       /                                              \       /
> >    \    _/  phone: (+63 32) 233-9142 loc. 3112            \_    /
> >    /   /  cellphone: (+63 919) 399-4742                     \   \
> >   /   / email: [EMAIL PROTECTED]                        \   \
> 

Reply via email to