[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:39:18 CST 2013


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

             Summary: 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


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