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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Mar 28 11:38:14 CDT 2013


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

Matt Jordan updated ASTERISK-21176:
-----------------------------------

    Target Release Version/s: 11.4.0
    
> 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
>      Target Release: 1.8.22.0, 11.4.0
>
>         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: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list