SteelSeries graphs not consistent

niko - last post on this issue before I remove everything SteelSeries and start over.

I opened the test page and then the gauges page, and went to the error log on the server, and this is what I got…

[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/solar_24hr.php, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/windgust_1hr.php, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: SteelSeries Gauges
[Sun Apr 22 10:34:54 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/temp+hum_24hr.php, referer: SteelSeries Gauges
[Sun Apr 22 10:34:53 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/humidity_1hr.php, referer: SteelSeries Gauges
[Sun Apr 22 10:34:53 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/baro_24hr.php, referer: SteelSeries Gauges
[Sun Apr 22 10:34:53 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/temp+dew+hum_1hr.php, referer: SteelSeries Gauges
[Sun Apr 22 10:34:51 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:51 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/rain_this_year.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:50 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:50 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/rain_week.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:39 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:39 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/baro_7days.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:37 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:37 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:37 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/humidity_24hr.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:37 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/humidity_7days.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:36 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:36 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:36 2018] [error] [client 74.67.155.152] File does not exist: /home/cdcpccon/public_html/500.shtml, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:36 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/baro_7days_line.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:36 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/windspeed_7days.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html
[Sun Apr 22 10:34:36 2018] [error] [client 74.67.155.152] (12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/cdcpccon/public_html/wxgraphs/winddir_24hr.php, referer: http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html

Also attached is graph from cpanel…

I think the error log is the key -

Craig


Yeah, it’s definitely burning up memory. I don’t think the steel series itself is a problem, that uses javascript which runs in the browser not on the server. I would just start over with jpgraph.

Will do and thank you for helping me think this thru.

Craig

There is a much newer version of the jpgraphs library available for download, maybe worth trying that? It also may be worth trying seeing a smaller graph size?

Mark - thanks. I downloaded from a link in the tutorial and thought I was getting the latest version. Since I am starting over again from scratch, I will look and be sure to get the newest version.

Craig

Mark - help me here - I went to JPGraph.net and the version there is 4.2.0 which is the one I was using. Am I missing something?

Thanks

Craig

AFAIK 4.2.0 is the latest version.

OK - will try again in the morning.

Thanks

Sorry, but I was pretty sure when I loaded up your test page it didn’t show as version 4.2.0 - I went and checked which version I was using before I posted (which is 4.2.0)

OK, official frustration… #-o

I redid everything and am getting the same results. I am using JPgraph-4.2.0 and wxgraphs off broadstairs site dated 11/20/2016. When the SteelSeries loads, it look fine but the graphs do not resolve consistently, and there are server errors. See attachment. If I call directly any graph, it is created and resolves fine.

Errors start with 'cannot allocate memory:couldn’t create child…

Any thoughts?

Thanks

Craig


Clutching at straws let’s see if there are any php errors, add this line right at the top of one of the graph scripts

error_reporting(E_ALL);

and then run that script

If niko’s suggestion doesn’t throw any light on this, then it sounds like the php fpm (if you are using fpm) needs some more memory allocating to it to me.
I set my script memory limit to 128M which I think may be the default in 7.0?..

memory_limit = 128M

http://php.net/memory-limit

Mark, if you look back at the chart in reply #8 it appears he’s hitting a 1 GB limit :?

Hmm, 1GB is an awful lot of memory, wonder if it is a shared process on a shared hosting server rather than each client getting their own process.

Niko - Mark - put line of code into script and ran it - there were no errors in the server logs and graph resolved properly.

Craig


Yeah, I think there’s something funky on the server side. Many users have installed this graph set over time, in the gauges or standalone, and Craig’s the first one that I can recall getting this issue :frowning:

It would be interesting to see what limits are set in php.ini but I don’t know if Craig has access to that.

Craig

Try running this script:

<?php
print_r(ini_get('memory_limit'));
?>

Niko -Hope I did this correctly - created a new php file in Dreamweaver and put it on the server and call the file - the return was 256M with no errors.

Craig

Yep, that’s OK. No red flag there unfortunately :frowning:

OK - thanks - just sent you a PM.