[SR-Users] transaction is not suspended ERROR

david descartin at bts.io
Tue Oct 4 13:57:01 CEST 2016


Hello all

i'm having some errors sometimes and  i'm not able to know why they
happen
i made a lua configuration script where i create some ESL sockets with
several freeswitches (10) (around 500-600 sockets in total, depending on
the number os children (8) and listen ips we have (5)), and i use the
lua script to send some API to the FSW by a function.
No matter what the FSW replies.
i dont know why, but i think that having that conn:bgapi($command) in
the lua script, makes the issue to happen. theorically, the lua script
waits to receive the response from the fsw through the tcp socket, and
after that the script continues (with an async_sleep command), but after
the API sent, i see (only sometimes, few times) an async_sleep seem to
fail when doing the t_continue with the following error

 WARNING: tm [t_suspend.c:186]: t_continue(): transaction is not
suspended [20748:225229907]

could it be posible that having manye ESL sockets opened in the kamailio
server makes this to happen?
how many async workers are needed? i have 8 right now
is there a way where i can know or correlate the log to a $ci or
something known?

best regards
david

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161004/e7c8ccbf/attachment.html>


More information about the sr-users mailing list