gislab-npo / gislab

GIS.lab - total reduction of deployment and maintenance costs for complete free and open source geospatial infrastructure
http://gislab-npo.github.io/gislab/
GNU General Public License v3.0
40 stars 14 forks source link

Munin is extremely resource hungry #448

Closed imincik closed 9 years ago

imincik commented 9 years ago

Munin is extremely resource hungry when running 'munin-update' process. It is capable to eat whole RAM when running during the installation via Vagrant provisioner (1GB of RAM). Maybe it can be related to fact, that all machines which it is trying to connect are down.

imincik commented 9 years ago

We can change munin command running from cron to execute something like:

/usr/bin/munin-cron --host server $(serf members -tag role=client -status=alive | awk -F " " '{printf "--host %s.gis.lab ", $1}')
mpastor commented 9 years ago

Fixed in 1256ff1314.

imincik commented 9 years ago

I am proposing to place our custom Munin script to '/opt/gislab/system/stats/update-stats.sh'. Reopening this issue for this purpose.