SteelSeries graphs not consistent

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.

It’s a problem with jpgraph in general, not specific to the wxgraphs. I set up a test page on Craig’s server using five of the jpgraph examples and it has the same problem :?

Niko - thank you. I also noticed that they had throttled me back since after numerous tests and attempts with high memory usage, so I think it is a pre-programmed reaction that lasts for maybe 24 hours…

Craig

N - I think I have all the pointers going to the correct folders. There are only 3 or 4 places to configure, right?

Craig

I don’t see that as a problem. I think it may be worth trying a different jpgraph version.

I just saw this and decided to try jpgraph 4.2.0 with my copy of the graphs on PHP 7 and it works fine both locally here on my own server and on my live website. So yes the issue is as has been suggested.

Stuart

Thanks Stuart. I now tried 4.0.1 on Craig’s server and it doesn’t change the problem with wxgraphs or the jpgraph examples. I don’t know what else to do :dontknow:

Yup I took a look again at his steel gauges and sure enough it’s a lottery as to which graphs pop up and which dont. There’s something very strange with the server.

Stuart

Same on the test page http://www.cdcpcconsulting.com/wxgraphs/wxgraphs_test.html

For whatever reason each graph is using a lot of memory, so one or two are OK, but more than that and the server can’t/won’t handle it :?

Exactly what level of PHP is the server running? Is it user selectable in CPanel, some systems allow different versions of PHP to be selected and if so might be worth trying a different PHP version.

Stuart

It’s 5.4.36, I’ll see if there are any options.

I can select it on my system. Currently running 7.2 and it’s all OK. I can try older ones so just tried 5.4 and it works fine almost instant display of all graphs just fine.

Stuart

There’s a warning message:

Warning: Changing php modules and php options via PHP Selector for native php version is impossible

and it currently shows running “native (5.4)” - I’m not really sure what that means but it’s not my server so I’m reluctant to mess with it.