From: Leif Madsen Date: Mon, 9 Nov 2009 15:37:43 +0000 (+0000) Subject: Update WARNING message. X-Git-Tag: 1.4.27-rc4~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=446f9a0e47d8a3f2020c5d5ba7f7cc3136098643;p=thirdparty%2Fasterisk.git 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/branches/1.4@228896 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 3c772cf5b0..3c7d3b9636 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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)