Jump to content


Issue information

  • #035726

  • Fixed

  • 3.2.3

  • 3.3.0 Beta 1

  • 0 - None Assigned


Issue Confirmations

  • Yes (0)No (0)
Photo

Error in core.php getServerLoad()

Posted by RllmukReloaded on 06 February 2012 - 03:39 AM

Line 3772 of core.php has a mistake
$serverstats = @shell_exec('typeperf \"Processor(_Total)\% Processor Time\" -sc 1');
is incorrect, the escape slashes for the double-quotes are not needed, and in fact cause the command to fail, it should read
$serverstats = @shell_exec('typeperf "Processor(_Total)\% Processor Time" -sc 1');

This causes the server load in the ACP to never change & also a major problem with my forum & server, where hundreds and hundreds of instances of cmd.exe were left hanging, consuming all my memory and caused my server to die

changed status to: Fixed
changed fixed-in version to: 3.3.0 Beta 1





0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users