Recently updated cacti 1.2.17 to 1.2.19 on Rocky Linux from epel-release. after upgrade weathermap plugin getting disabled time to time and need to enable it manually from the plugins window. Also cacti consumes all the RAM in vm and freeze it after running some time. only fix is restart php-fpm service or wait oom to kill/clean it up. after such memory leak event, there's empty parts on graph always.
In cacti logs there's an error repeating
2022-02-19 04:00:07 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php[830]:api_plugin_hook(), /lib/plugins.php[82]:api_plugin_run_plugin_hook(), /lib/plugins.php[215]:weathermap_poller_bottom(), /plugins/weathermap/setup.php[787]:weathermap_run_maps(), /plugins/weathermap/lib/poller-common.php[195]:WeatherMap->ReadData(), /plugins/weathermap/lib/Weathermap.class.php[955]:WeatherMapDataSource_rrd->ReadData(), /plugins/weathermap/lib/datasources/WeatherMapDataSource_rrd.php[627]:WeatherMapDataSource_rrd->wmrrd_read_from_real_rrdtool(), /plugins/weathermap/lib/datasources/WeatherMapDataSource_rrd.php[412]:fgets(), CactiErrorHandler())
This version of weathermap I downloaded from https://github.com/thurban/plugin_weathermap which made compatible for cacti v1.x. this was working without any issues with v1.2.17
Can anyone point me the right direction how to fox this memory issue and weathermap plugin auto-disable issue ?
Thanks
Weathermap getting disabled and php memory leak
Moderators: Developers, Moderators
Re: Weathermap getting disabled and php memory leak
could anyone can help with this ?
Thanks
Thanks
Re: Weathermap getting disabled and php memory leak
Technically Weathermaps isn't supported any more by the original owner but Thomas Urban made some fixes for 1.2 in his branch of Weathermaps. You may want to reach out to him.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 2 guests