Hi,
I recently installed Hyperic and noticed that it has a tendency to die after being up and running for several days. According to the server, the client continues (for a while) to report the server is available but it fails to report any other information. If I try to stop the client using the appropriate script I get the following result:
Stopping agent ...
Failed to stop agent: Unable to connect to agent: already dead?
However, I can kill the client using sigterm and then start it up again and everything works fine for ~ 1-2 weeks. Below is a snippet from the log file corresponding to the time of death.
Any help would be greatly appreciated.
Regards,
BD
-----
2007-12-31 19:46:01,871 ERROR [SenderThread] Error sending measurements: IO error: java.net.SocketTimeoutException: Read timed out
2007-12-31 20:28:11,892 ERROR [HttpMethodBase] I/O failure reading response body
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.PushbackInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:167)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:142)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:161)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase.java:717)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:764)
at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:112)
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:145)
at org.hyperic.hq.bizapp.client.MeasurementCallbackClient.measurementSendReport(MeasurementCallbackClient.java:62)
at org.hyperic.hq.measurement.agent.server.SenderThread.sendBatch(SenderThread.java:410)
at org.hyperic.hq.measurement.agent.server.SenderThread.run(SenderThread.java:541)
at java.lang.Thread.run(Unknown Source)
2008-01-02 10:12:08,032 ERROR [SenderThread] Error sending measurements: IO error: null
Message was edited by: estebann