[asterisk-bugs] [JIRA] (ASTERISK-21176) Call files on OS X, using KQueue, do not get processed (load 100%)

Carlton O'Riley (JIRA) noreply at issues.asterisk.org
Wed Feb 27 09:46:18 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlton O'Riley updated ASTERISK-21176:
---------------------------------------

    Attachment: kqueue_osx.patch

Patch to fix KQueue/kevent timeout setting issue.
                
> Call files on OS X, using KQueue, do not get processed (load 100%)
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-21176
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21176
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_spool
>    Affects Versions: 11.2.1
>         Environment: OS X 10.8.2
>            Reporter: Carlton O'Riley
>         Attachments: kqueue_osx.patch
>
>
> When building Asterisk on 11.2.1 on OS X it properly detects and uses KQueue to watch for changes to the Asterisk spool directory, however placing call files in the spool directory do not get processed.  Asterisk also starts using 100% of the CPU.  Looking over the code the timeout value is being set to MAX_INT seconds when the spool directory is empty, which is an invalid value, causing call to kevent to error immediately and create a tight loop leading to the increased loading.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list