Re: [enhydra] Enhydra losing track of localhost?
João Paulo Ribeiro <[email protected]> Mon, 12 Sep 2005 10:34:28 +0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1126517629-14487-31 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi.<br> <br> The method InetAddress.getLocalHost use file descriptors to get this information. It's possible that you are getting out of descriptor.<br> Take a look again to your logs.<br> If this happen again, try to see how much descriptors your process is using/wasting. Take a look to the directory in /proc/<process-id>/fd.<br> <br> Best regards<br> João Paulo Ribeiro.<br> <br> Petr Stehlik wrote: <blockquote cite="[email protected]" type="cite"> <pre wrap="">>From time to time one of my Enhydra 5.1.15 servers falls into weird state: 2005-08-23 14:07:35,817: [Thread-1093], ERROR, Multiserver: Error in Enhydra Handler java.net.UnknownHostException: mymachine: mymachine at java.net.InetAddress.getLocalHost(Unknown Source) at org.enhydra.servlet.connectionMethods.EnhydraDirector.EnhydraDirectorHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) It cannot find out the IP address of localhost? Restart of multiserver fixes it for a couple days but then the problem appears again. I hardcoded the IP address into /etc/hosts but it didn't help: /etc/hosts: 127.0.0.1 localhost 194.108.5.10 mymachine.zln.cz mymachine Any idea what could cause this? OS is Debian Woody, hardware is dual P4. Petr </pre> <pre wrap=""> <hr size="4" width="90%"> -- You receive this message as a subscriber of the <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> mailing list. To unsubscribe: <a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a> For general help: <a class="moz-txt-link-freetext" href="mailto:[email protected]?subject=help">mailto:[email protected]?subject=help</a> ObjectWeb mailing lists service home page: <a class="moz-txt-link-freetext" href="http://www.objectweb.org/wws">http://www.objectweb.org/wws</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- João Paulo Ribeiro | Senior Software Engineer <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> PHONE: + 351 253 305 250 FAX : + 351 253 305 250 <a class="moz-txt-link-abbreviated" href="http://www.mobicomp.com">www.mobicomp.com</a> ________________________________________________________________ About Solutions | Wireless World CONFIDENTIALITY NOTICE: This message, as well as existing attached files, is confidential and intended exclusively for the individual(s) named as addressees. If you are not the intended recipient, you are kindly requested not to make any use whatsoever of its contents and to proceed to the destruction of the message, thereby notifying the sender. DISCLAIMER: The sender of this message can not ensure the security of its electronic transmission and consequently does not accept liability for any fact which may interfere with the integrity of its content.</pre> </body> </html> ------------=_1126517629-14487-31 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1126517629-14487-31--