Forum Moderators: coopster

Message Too Old, No Replies

Php with curl using high cpu

         

crasx

9:23 pm on Dec 7, 2009 (gmt 0)

10+ Year Member



Hi
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%
does anybody know why or how to fix it?
i need to run cron jobs every minute or so and cant have the cpu jumping like that...
the weird thing is 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 seems to be fine (~2%)

os: server 2008
php 3.5.1
apache 2.2

suggestions?

coopster

11:16 am on Dec 11, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, crasx.

No idea, but perhaps your system logs have something?