]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Update WARNING message.
authorLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:37:43 +0000 (15:37 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:37:43 +0000 (15:37 +0000)
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/branches/1.4@228896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 3c772cf5b0c405764408c4add4ec184af38a8eba..3c7d3b9636706e81fb1a3a8746433cae0fc00d0e 100644 (file)
@@ -759,7 +759,7 @@ struct ast_channel *ast_channel_alloc(int needqueue, int state, const char *cid_
 
        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:
 #ifdef HAVE_DAHDI
                        if (tmp->timingfd > -1)