We try to do our best, but the problem is that this is a leak internal to java itself (classloader and urlconnection)
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html play with antiJarLocking and antiResouceLocking attributes. johan On Thu, Dec 3, 2009 at 09:41, Pascal Grange < pascal1.gra...@orange-ftgroup.com> wrote: > Hello, > > I observe file descriptor leaks when running my wicket application. By leak > I mean that the java process tries to open more than 1024 file descriptors. > When I lsof the process, here is what I see : > > lsof -p 24689 | wc -l -> 1095 > lsof -p 24689 | grep wicket-1.3.4.jar | wc -l -> 522 > lsof -p 24689 | grep wicket-datetime-1.3.4.jar | wc -l -> 401 > lsof -p 24689 | grep wicket-extensions-1.3.4.jar | wc -l -> 6 > > I am new to wicket and I need help to fix this. Searching for file > descriptor leaks in wicket on google I found some old mailing-list post but > that doesn't help me a lot so I post here :) I red about issues with jar url > but the post are so old that I understand those are fixed bug ? > > No need to precise what versions of wicket stuffs I use, your can see that > above. For java, it's version 1.5.0_14 and Tomcat version is 5.5.25. > > Thanks for your help, > Pascal. > > > ******************************** > Ce message et toutes les pieces jointes (ci-apres le "message") sont > confidentiels et etablis a l'intention exclusive de ses destinataires. > Toute utilisation ou diffusion non autorisee est interdite. > Tout message electronique est susceptible d'alteration. Multimedia Business > Services decline toute responsabilite au titre de ce message s'il a ete > altere, deforme ou falsifie. > Si vous n'etes pas destinataire de ce message, merci de le detruire > immediatement et d'avertir l'expediteur. > ********************************* > This message and any attachments (the "message") are confidential and > intended solely for the addressees. Any unauthorised use or dissemination is > prohibited. > Messages are susceptible to alteration. Multimedia Business Services shall > not be liable for the message if altered, changed or > falsified. > If you are not the intended addressee of this message, please cancel it > immediately and inform the sender. > ******************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >