on my machine all cores run php /var/lib/asterisk/bin/schedtc.php with full CPU usage. This seems to be a recurring problem. Running it by hand (as user asterisk) resulted in a PHP stacktrace pointing to a SysV semaphore exception.
Shutting down and rebooting freepbx helped, but I’d still like to investigate this further, so any pointers are greatly appreciated.
It would be nice to fix the issue, but if you need a band-aid, know that the only thing this script does is to update Asterisk hints for Time Conditions BLF buttons. If you don’t have any TC BLFs you can disable maintenance polling in advanced settings.
Thanks… I’m actually using BLFs. From the looks of it, I’d say this problem occurs when there is a temporary resource shortage (had those, increased CPU and RAM for the box) and the PHP SemaphoreException is correctly thrown, but not actually handled.