-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weathermap full size view blank sometime #255
Comments
I don't think those warnings would cause a blank map. Are you sure you aren't just loading the web page while the image is being written? (e.g. does pressing reload in the browser fix it?) |
Hi @howardjones , Yes It happened randomly. Sometime reload browser several time and even clear all cache but full view still not working at all. The only error I can fine is the above Strict Standards: Non-static method PEAR::isError(). Or because of width too big ?
|
It's not the PEAR thing. That's just a warning to do with the command line tool. So how are you normally generating your map? cron? Cacti poller? It would be good to look at the output png file when you get a blank, and see if the file is zero length or only just written. (so is it a bad file, or half-written, or something like that) That is a big map, but it shouldn't cause a problem as long as memory_limit is high enough. The PHP png-writing code is not very fast, but only a few seconds for a large image, not 5 minutes! :-) |
Oh, that's interesting. So it is producing the image file. This is a new one! :-) (things you don't want to hear a doctor say) Do you get any error in the cacti poller log? |
Cannot find any error beside this
|
OK, well that will do it. PHP just stopped halfway through writing out the HTML file. So I guess you are using one-minute polling in Cacti. Cacti sets the max-runtime to match the poller time, so it can't accidentally run multiple pollers. Weathermap has to finish inside that one minute too. This is mainly a Cacti performance issue - if you must have 1 minute polling, you might need to tune your system better. SSDs, Boost, newer Cacti, newer PHP, Weathermap rrd_use_poller_output should all help. (php 7 can be up to 2x faster than php 5 - but check which Cacti versions work with it. Also for Cacti 1.x you probably want phalek's fork of Weathermap.) There is a good FAQ for Cacti performance tuning on the Cacti Forums. The quickest to try though is add |
Hi All,
Our weathermap now becoming weird on full size map view sometime we can see full view sometime it was blank.
The text was updated successfully, but these errors were encountered: