[asterisk-commits] lmadsen: branch 1.4 r228896 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 9 09:37:46 CST 2009


Author: lmadsen
Date: Mon Nov  9 09:37:43 2009
New Revision: 228896

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228896
Log:
Update WARNING message.
Update a WARNING message to give a suggested fix when encountered.

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

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/channel.c?view=diff&rev=228896&r1=228895&r2=228896
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Mon Nov  9 09:37:43 2009
@@ -759,7 +759,7 @@
 
 	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)




More information about the asterisk-commits mailing list