Bug #70130 [Com]: usleep(1) CPU usage
[email protected] ("saniafd93 at gmail dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=70130&edit=1 ID: 70130 Comment by: saniafd93 at gmail dot com Reported by: saniafd93 at gmail dot com Summary: usleep(1) CPU usage Status: No Feedback Type: Bug Package: SPL related Operating System: Ubuntu 14.04 PHP Version: 5.5.27 Block user comment: N Private report: N New Comment: @yohgaki yes, bug still present on Ubuntu 14.04 (kernel version 3.13.0-65, php version 5.5.9-1). Sorry for my late answer. Previous Comments: ------------------------------------------------------------------------ [2015-12-20 04:22:14] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ [2015-12-09 01:15:01] [email protected] I tested on my Fedora 22 64bit with PHP 5.5/5.6/7.0 (today's git) and didn't have this issue. @saniafd93 do you still have this problem? ------------------------------------------------------------------------ [2015-08-10 22:37:05] [email protected] > I didn't update to a new version, because the latest PHP version > on production environment (Ubuntu 14.04) was PHP 5.5.19 all the > time. Hard to tell what's causing the problem then. It might not be a PHP issue at all. ------------------------------------------------------------------------ [2015-07-29 06:19:52] saniafd93 at gmail dot com I've already reviewed the PHP versions on my machines: - 2core Windows 8.1 - PHP 5.5.13 - 4core Windows 8.1 - PHP 5.5.19 (also tested PHP 5.6) - 4core Ubuntu 14.04 - PHP 5.5.9 - 8core Ubuntu 14.04 - PHP 5.5.9 But the fact remains: 5.5.9 before March worked fine ------------------------------------------------------------------------ [2015-07-29 05:28:41] saniafd93 at gmail dot com I didn't update to a new version, because the latest PHP version on production environment (Ubuntu 14.04) was PHP 5.5.19 all the time. I was badly surprised by this bug in a LTS version. Anyway, this is a strange behavior, because as I wrote, untill March all worked fine. CPU usage on production Ubuntu 14.04 was ~1% with usleep(1); Same behavior now requires at least usleep(10000); ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70130 -- Edit this bug report at https://bugs.php.net/bug.php?id=70130&edit=1