Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-c-0.17.0
-
None
-
redhat 7.2 - activemq-5.14.3 - Python 3.6.0
Description
In the attached file there is an on_message method that performs a lenghty calculation whenever a message is receivede on the input queue. In this case, the branch that gets executed is the one starting at line 123.
A the end of the branch a new message is created and sent so an out queue.
The problem is that if the calculation takes a long time (>1min) to finish, randomly the program crashes when trying to execute the send instruction
(line 157). I also tryed to encapsulate the send into a try/except clause, but the code inside the except never gets executed.
Moreover, the exit code (echo $?) when the program crashes is 0
When this happens, I get this message in the log file:
handlers.py:234 in print_error(): local-idle-timeout expired
but setting the timeout parameters for the connection has no effect.
What could be causing this behaviour?
Best Regard,
PPP