Vikingbot is yet another simple PHP based IRC bot with support for plugins and secure IRC servers. The bot requires Unix/Linux shell access with PHP support and SSL support in PHP for use against secure IRC servers.
VikingBot used to work great; now one core is always on. The only thing that changed is the php version I believe (5.6.8).
The cause seems to be the " $data = fgets($this->socket, 256); " call, which is blocking (and polling the read() function on the socket - as revealed by systrace) instead of timing out and returning 0 bytes.
The code seems to set the socket as non blocking, but I see it looping endlessly.
Hmm, it is not quite unlikely that this might be a PHP bug if everything worked fine before you upgraded PHP. Are you connection to a server with SSL or is it an unencrypted connection?
VikingBot used to work great; now one core is always on. The only thing that changed is the php version I believe (5.6.8).
The cause seems to be the " $data = fgets($this->socket, 256); " call, which is blocking (and polling the read() function on the socket - as revealed by systrace) instead of timing out and returning 0 bytes.
The code seems to set the socket as non blocking, but I see it looping endlessly.