Support » Plugin: WP Server Health Stats » Plugin Misreporting Total Server Memory

  • Resolved pcpro178

    (@pcpro178)


    The server stats are reporting that my server has a total of 256MB memory. My server actually has 1GB of RAM. (I verified this with my hosting provider.) What might be causing this misreport, and can it be fixed?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Saumya Majumder

    (@isaumya)

    The memory that the plugin is showing you is the PHP memory, the amount of meory alloted to PHP not your server’s physical memory. Ask your what the PHP memory they have alloted for your site.

    Hi Saumya. Thanks for the quick response. My hosting provider tells me that my PHP memory limit is actually set to 90MB. Sure enough, when I check PHP info, memory_limit is set to 90M. Your thoughts?

    Plugin Author Saumya Majumder

    (@isaumya)

    Try uninstalling and re installing the plugin. Technically it’s not possible. Because it seems in your PHP INI file the limit is set to 90MB but when PHP is asking you for that it is saying its 256MB.

    Can you check your wp-config file and see if the memory limit has been hardcodedly defined there or not?

    Hi Saumya. I check wp-config.php, and there’s no indication of memory_limit being set there (nor anything being set to 256). I’ve send another request to my hosting provider asking about the possibility of my PHP installation or php.ini file being run from the wrong location.

    Plugin Author Saumya Majumder

    (@isaumya)

    Yah, its possible too. You see the the PHP memory limit is not a hard coded number. PHP ask the server for the details and whatever value it provides, it shows that to you. So for some reason when PHP is asking your server about PHP memory limit, its saying 256MB.

    As I don’t have access to your server/cpanel or your wp admin I have no idea whats behind this. But I’ve explained you the logic behind it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin Misreporting Total Server Memory’ is closed to new replies.