[asterisk-bugs] [Asterisk 0018773]: [patch] FD 32767 exceeds the maximum size of ast_fdset
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Apr 26 14:38:43 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18773
======================================================================
Reported By: jamicque
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 18773
Category: Core/General
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.16.1
JIRA: SWP-3084
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-02-09 02:56 CST
Last Modified: 2011-04-26 14:38 CDT
======================================================================
Summary: [patch] FD 32767 exceeds the maximum size of
ast_fdset
Description:
When i try to run asterisk with changed ulimit, I have an error message
during the start, here is the example:
root at HOME:~# ulimit -n 32768 -c unlimited
root at HOME:~# asterisk
FD 32767 exceeds the maximum size of ast_fdset!
Asterisk already running on /var/run/asterisk.ctl. Use 'asterisk -r' to
connect.
root at HOME:~#
======================================================================
----------------------------------------------------------------------
(0134150) svnbot (reporter) - 2011-04-26 14:38
https://issues.asterisk.org/view.php?id=18773#c134150
----------------------------------------------------------------------
Repository: asterisk
Revision: 315504
_U trunk/
U trunk/include/asterisk/select.h
------------------------------------------------------------------------
r315504 | tilghman | 2011-04-26 14:38:42 -0500 (Tue, 26 Apr 2011) | 35
lines
Merged revisions 315503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r315503 | tilghman | 2011-04-26 14:32:50 -0500 (Tue, 26 Apr 2011) | 28
lines
Merged revisions 315502 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r315502 | tilghman | 2011-04-26 14:22:52 -0500 (Tue, 26 Apr 2011) | 21
lines
Merged revisions 315501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r315501 | tilghman | 2011-04-26 14:18:46 -0500 (Tue, 26 Apr 2011) |
14 lines
Fix the bounds-checking code.
The code that set the bit within the select bitfield was correct,
but the
bounds-checking code was not. The change to that line uses the new
_bitsize
macro for clarity. Also, FD_ZERO macro did not zero-out anything
but the
first word of the bitfield, so this could have caused problems with
modules
using that macro with the expanded bitfield.
(closes issue https://issues.asterisk.org/view.php?id=18773)
Reported by: jamicque
Patches:
20110423__issue18773.diff.txt uploaded by tilghman (license
14)
Tested by: chris-mac
........
................
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=315504
Issue History
Date Modified Username Field Change
======================================================================
2011-04-26 14:38 svnbot Checkin
2011-04-26 14:38 svnbot Note Added: 0134150
======================================================================
More information about the asterisk-bugs
mailing list