ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google

Mail Archive Home | enhydra List | September 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] Enhydra losing track of localhost?


The method InetAddress.getLocalHost use file descriptors to get this information. It's possible that you are getting out of descriptor.
Take a look again to your logs.
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.

Best regards
João Paulo Ribeiro.

Petr Stehlik wrote:
>From time to time one of my Enhydra 5.1.15 servers falls into weird

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:	localhost	mymachine.zln.cz	mymachine

Any idea what could cause this? OS is Debian Woody, hardware is dual P4.



-- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

João Paulo Ribeiro | Senior Software Engineer

PHONE: + 351 253 305 250 
FAX  : + 351 253 305 250

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.

<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.