Menu

I know fix to 100%cpu load

Help
2004-08-28
2013-04-09
  • Nobody/Anonymous

    Hi, if you have had a problem with windows that php uses 99% of your cpu..here is the fix. first, you must add the following line:
    $irc->setUseSockets(TRUE);
    Next and most importantly, you must edit php.ini to dynamically add the php_sockets.dll extension
    Open php.ini
    Find:
    ;extension=php_sockets.dll
    Just take the ; off the beginning (to disable comment):
    extension=php_sockets.dll
    there you go, it should now use 0.01% of your cpu :)
    Havoc Bond <irc.ei-planet.com>

     
    • Nobody/Anonymous

      Thanks. Are there any solutions to this when running linux ? top shows the apache2 processes spliting all availiable cpu time between them. System works fine otherwise.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.