#50406 [NEW]: Curl causing high cpu usage
| From: | matthew at crasxit dot net | Date: | Tue, 08 Dec 2009 04:07:51 +0000 |
| Subject: | #50406 [NEW]: Curl causing high cpu usage | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145505@lists.php.net to get a copy of this message | ||
From: matthew at crasxit dot net
Operating system: Windows 2008
PHP version: 5.3.1
PHP Bug Type: cURL related
Bug description: Curl causing high cpu usage
Description:
------------
I'm having an issue with curl on windows with php. If i have curl enabled
in php and i run php through command line i get an instant cpu spike...
php.exe cpu jumps to about 20% then back down. when i disable curl it only
jumps to about 2%
it does this on non curl scripts. even if i run a blank php file or php -i
it jumps to 20... however httpd.exe using apache2_2.dll seems to be fine
(~2%)
extensions loaded:
curl (problem with curl, fine without)
gd2
mbstring
mysql
mysqli
openssl
Reproduce code:
---------------
any code
--
Edit bug report at http://bugs.php.net/?id=50406&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50406&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50406&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50406&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50406&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50406&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50406&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50406&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50406&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50406&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50406&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50406&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50406&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50406&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50406&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50406&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50406&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50406&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50406&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50406&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50406&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50406&r=mysqlcfg