[Tile-serving] [openstreetmap/mod_tile] get_load_avg is invalid (#160)
Andrew Aladjev
notifications at github.com
Sun Jun 11 19:05:12 UTC 2017
This issue is related to [question](https://gis.stackexchange.com/questions/170365/pre-rendering-for-whole-planet-using-render-list-is-very-very-slow/243558#243558).
`get_load_avg` on linux:
```
FILE *loadavg = fopen("/proc/loadavg", "r");
fscanf(loadavg, "%lf", &avg);
return avg;
```
Renderer will sleep because he used a lot of cpu time by itself. This is funny, please fix it.
Thank you.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/160
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170611/ab98e888/attachment.html>
More information about the Tile-serving
mailing list