SteelSeries graphs not consistent

Thanks Nike - I have cpanel, but do not know what I am looking for. I have opened a ticket with Hostmetro (ISP) and we shall see what they say. If you would like to see cpanel for yourself, PM me and I will give you access.

What I did find is in the attachment.

Thanks again

Craig


As I recall in cpanel you should have a lot of stats on the left side like this screenshot I grabbed off the web, and there are also some graphs under Logs, Resource Usage.


I will post a screen shot. In the meantime after 2 back and forths, this is the latest response from them. Does this make sense??

Hello,
Thank you for contacting us.
I believe that it is a code related issue. Could you check this with your developer?
Upon checking, I could see that the following scripts which are using high memory resources.


cdcpccon 976928 14.0 0.0 261660 17784 ? R 09:41 0:00 /usr/bin/php /home/cdcpccon/public_html/wxgraphs/windgust_1hr.php
cdcpccon 976931 13.5 0.3 326940 81976 ? R 09:41 0:00 /usr/bin/php /home/cdcpccon/public_html/wxgraphs/winddir_24hr.php
cdcpccon 976939 20.0 0.1 327196 44068 ? R 09:41 0:00 /usr/bin/php /home/cdcpccon/public_html/wxgraphs/solar_24hr.php
cdcpccon 976940 20.0 0.1 327196 41132 ? R 09:41 0:00 /usr/bin/php /home/cdcpccon/public_html/wxgraphs/uv_24hr.php
If you have any other questions or concerns, please do not hesitate to contact us. It is always our pleasure to be of assistance.
Regards,
Philip W
http://www.hostmetro.com/
Knowledgebase: http://hostmetro.com/knowledgebase
Video Tutorials: http://hostmetro.com/demos/

Ticket ID: #989427
Subject: Server errors
Status: Answered
Ticket URL: https://secure.hostmetro.com/billing/viewticket.php?tid=989427&c=mkVHGuVm

visit our website | log in to your account | get support
Copyright

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'));
?>