Merged revisions 228896 via svnmerge from
authorLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:38:38 +0000 (15:38 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:38:38 +0000 (15:38 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines

  Update WARNING message.
  Update a WARNING message to give a suggested fix when encountered.

  (closes issue #16198)
  Reported by: atis
  Tested by: atis
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228897 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index dd3d110..3ec23f9 100644 (file)
@@ -856,7 +856,7 @@ __ast_channel_alloc_ap(int needqueue, int state, const char *cid_num, const char
 
        if (needqueue) {
                if (pipe(tmp->alertpipe)) {
-                       ast_log(LOG_WARNING, "Channel allocation failed: Can't create alert pipe!\n");
+                       ast_log(LOG_WARNING, "Channel allocation failed: Can't create alert pipe! Try increasing max file descriptors with ulimit -n\n");
 alertpipe_failed:
                        if (tmp->timer) {
                                ast_timer_close(tmp->timer);