How to solve :com.solacesystems.jcsmp.JCSMPTransportException: Unexpected error:Fatal reactor error

2019-12-24 07:20:46.556000+0000 [86052:Context_3_ReactorThread] INFO com.solacesystems.jcsmp.protocol.impl.TcpClientChannel: (Client name: gtosp-tibco/86052/#0bb60005/5jqZ4iMrCl Local addr: 10.0.0.8:57346 Remote addr: ...:55555) - handleException(): Channel Closed Event (smfclient 12)
2019-12-24 07:20:46.563000+0000 [86052:Context_3_ReactorThread] INFO com.solacesystems.jcsmp.protocol.impl.TcpClientChannel: Channel Closed (smfclient 12)
2019-12-24 07:20:46.573000+0000 [86052:Context_3_ReactorThread] INFO com.solacesystems.jcsmp.impl.flow.SubFlowManagerImpl: SubChannel (smfclient 12, name=*******/86052/#0bb60005/5jqZ4iMrCl, desc=) threw exception, non-recoverable.
com.solacesystems.jcsmp.JCSMPTransportException: Unexpected error:Fatal reactor error
at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.handleException(TcpClientChannel.java:1325)
at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.handleException(TcpClientChannel.java:1251)
at com.solacesystems.jcsmp.protocol.nio.impl.SubscriberMessageReader.notifyFatalError(SubscriberMessageReader.java:184)
at com.solacesystems.jcsmp.protocol.smf.SimpleSmfClient.notifyFatalError(SimpleSmfClient.java:1165)
at com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor.processReactorChannels(SyncEventDispatcherReactor.java:208)
at com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor.eventLoop(SyncEventDispatcherReactor.java:157)
at com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor$SEDReactorThread.run(SyncEventDispatcherReactor.java:338)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.solacesystems.jcsmp.JCSMPFatalErrorException: Fatal reactor error
... 4 common frames omitted
Caused by: java.lang.OutOfMemoryError: unable to create new native thread

Answers

  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 634 admin

    Looks like you ran out of memory? Try adding more memory? Or check for memory leaks?

    If you explained what you were doing, code snippets, configuration options, etc., it may help to debug further.

  • Manikanta532
    Manikanta532 Member Posts: 13

    Thank you Aaron , we increased the no of open processes in limit config that resolved our issue

  • Sridevi
    Sridevi Member Posts: 1
    edited October 2021 #4

    Dear Manikanta, Could you please elaborate the solution which worked for you like how you increased no of processes in limit.

    Thanks in advance.