You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by abe oppenheim <ab...@gmail.com> on 2015/09/23 00:03:14 UTC

Supervisor dies with Stackoverflow error?

My topology submits fine, and sometimes runs for a while. But eventually I
start seeing the below stacktrace over and over and it stops processing
messages.

I realize this is a bit vague, but any recommendations for troubleshooting?


2015-09-22T00:19:01.220-0400 b.s.d.supervisor [INFO] Starting supervisor
with id d9b7f39a-854e-464d-a484-eb61a1ce172d at host stormsc3n6.csnzoo.com
2015-09-22T00:19:02.111-0400 b.s.event [ERROR] Error when processing event
java.lang.StackOverflowError: null
        at java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:144)
~[na:1.7.0_11]
        at
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2266)
~[na:1.7.0_11]
        at
java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2559)
~[na:1.7.0_11]

Re: Supervisor dies with Stackoverflow error?

Posted by Bobby Evans <ev...@yahoo-inc.com.INVALID>.
The ObjectInputStream is recursive and used when deserializing java serialized objects.  Sadly clojure also like to create really deep stacks too, so you might just need to increase the size of your stack for the supervisor "-Xss".  I don't totally know what you are trying to deserialize because there isn't enough of the stack trace to see that part.  Debugging java serialization is always a pain, so I would try to increase the stack size, and if that still does not work you probably have a corrupted java serialized object, and you might need to kill and relaunch your topology. - Bobby 


     On Tuesday, September 22, 2015 5:04 PM, abe oppenheim <ab...@gmail.com> wrote:
   

 My topology submits fine, and sometimes runs for a while. But eventually I
start seeing the below stacktrace over and over and it stops processing
messages.

I realize this is a bit vague, but any recommendations for troubleshooting?


2015-09-22T00:19:01.220-0400 b.s.d.supervisor [INFO] Starting supervisor
with id d9b7f39a-854e-464d-a484-eb61a1ce172d at host stormsc3n6.csnzoo.com
2015-09-22T00:19:02.111-0400 b.s.event [ERROR] Error when processing event
java.lang.StackOverflowError: null
        at java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:144)
~[na:1.7.0_11]
        at
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2266)
~[na:1.7.0_11]
        at
java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2559)
~[na:1.7.0_11]