[PATCH] Fix delayed shutdown when smsbox vanishes with high

2015-04-22 Thread hbilman
Hi Stipe, Thanks for this patch. By the way David Schneider sent a patch to the devel group on Tue, 31 Mar 2015 11:49:47 +0200. When you are committing your code, please consider reviewing his patch as well and commit it if you think it's necessary. If developer's patches are ignored they will

[PATCH] Fix delayed shutdown when smsbox vanishes with high MO traffic

2015-04-21 Thread Stipe Tolj
Hi list, when having a high IO scenario, i.e. a lot of DLRs coming in from the upstream SMSC side, and the smsbox connection vanished, then the thread gw/bb_box.c:sms_to_smsboxes() is most likely in the gwthread_sleep() loop captured. If we SIGTERM bearerbox it will iterate one more time,