Hi We are using asterisk 1.8.23.1
We have a script that runs on a minute cron which polls the asterisk server for 3 bits of information by using asterisk -rx 'command' which then gets pushed to a graphite server we have 99% of this runs smoothly. Every now and again, the asterisk service will become completely unresponsive and if we look at the logs we will see the following: [2013-11-07 00:17:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:17:01] VERBOSE[26566] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:17:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:17:01] VERBOSE[26586] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:17:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:18:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:18:01] VERBOSE[26650] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:18:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:18:01] VERBOSE[26670] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:18:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:19:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:19:01] VERBOSE[26736] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:19:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:19:01] VERBOSE[26756] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:19:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:20:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:20:01] VERBOSE[26820] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:20:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:20:01] VERBOSE[26841] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:20:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:21:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:21:01] VERBOSE[26914] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:21:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:21:01] VERBOSE[26934] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:21:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:22:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:22:01] VERBOSE[27000] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:22:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:22:01] VERBOSE[27020] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:22:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:23:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:23:01] VERBOSE[27084] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:23:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:23:01] VERBOSE[27104] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:23:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:24:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:24:01] VERBOSE[27170] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:24:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:24:01] VERBOSE[27190] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:24:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:25:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:25:01] VERBOSE[27255] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:25:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:25:01] VERBOSE[27276] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:25:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:26:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:26:01] VERBOSE[27624] asterisk.c: -- Remote UNIX connection disconnected [2013-11-07 00:26:01] VERBOSE[25963] asterisk.c: -- Remote UNIX connection [2013-11-07 00:26:01] VERBOSE[27644] asterisk.c: -- Remote UNIX connection disconnected As you can see, at these times there isn't a disconnect for every connect. I think this ends up maxing out the amount of connections the service allows and that's what makes it unresponsive. A service restart fixes the issue at this time. This happens completely randomly, I've not been able to correlate this happening with any other events that are going on at the time. Can anyone think of any reason why doing the asterisk -rx command might not disconnect cleanly? Thanks in Advance Ish -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: [email protected] w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
