storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "darion.yaphet" <>
Subject Re:[Storm v0.9.6] DRPC Server periodically crashes after sometime
Date Thu, 11 Aug 2016 01:24:23 GMT
Maybe you should check the JVM memory parameter -Xms and -Xmx to found memory usage.

At 2016-08-11 08:00:54, "Rahul R" <> wrote:

I have a drpc server running in nimbus server.  After every 'X' minutes, I see the following
in the
drpc log

java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>( ~[na:1.8.0_91]
at java.nio.ByteBuffer.allocate( ~[na:1.8.0_91]
at org.apache.thrift7.server.TNonblockingServer$
at org.apache.thrift7.server.TNonblockingServer$SelectThread.handleRead(
at org.apache.thrift7.server.TNonblockingServer$
at org.apache.thrift7.server.TNonblockingServer$

There is enough memory available in the system .

storm@alerts:~/apache-storm-0.9.6/logs$ free -m
            total       used       free     shared    buffers     cached
Mem:          7985       2217       5767          0         81       1203
-/+ buffers/cache:        932       7052
Swap:            0          0          0

My DRPC Spout throws the following error

java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException:
Connection refused at backtype.storm.drpc.DRPCInvocationsClient.<init>(
at at backtype.storm.daemon.executor$fn3371$fn3386.invoke(executor.clj:529)
at backtype.storm.util$async_loop$fn__460.invoke(util.clj:461) at
at Caused by: org.apache.thrift7.transport.TTransportException: Connection refused at
at at backtype.storm.drpc.DRPCInvocationsClient.connect(
at backtype.storm.drpc.DRPCInvocationsClient.<init>( ...
5 more Caused by: Connection refused at
Method) at at at
at at
at ... 8 more

Restarting the DRPC Server solves the problem for the moment. Is there any other better solution



View raw message