ganglia / ganglia-web

Ganglia Web Frontend
BSD 3-Clause "New" or "Revised" License
316 stars 170 forks source link

Make command string shorter for exec #217

Open dgoon opened 10 years ago

dgoon commented 10 years ago

If you have really many hosts and stack graph is not generated with no reason, too long command could be one reason.

When we have too many hosts, given command string to (my_)passthru becomes so long(in my case, >2MBs) that 'exec' function cannot handle it properly. Saving command in the file seems a little bit inefficient but works correctly even if you have many(>1000) hosts, especially for generating stacked graph.