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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Mar 6 15:17:01 CST 2013


Rusty Newton created ASTERISK-21213:
---------------------------------------

             Summary: Call files on OS X, using KQueue, do not get processed (load 100%)
                 Key: ASTERISK-21213
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21213
             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: 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