[Tile-serving] [osm2pgsql] Cannot allocate memory for helper processes (#90)

Paul Norman notifications at github.com
Sat Sep 28 21:51:33 UTC 2013


Various memory-related output, in the hope that it helps

```
ubuntu at ip-10-66-18-58:~/osm$ free -m
             total       used       free     shared    buffers     cached
Mem:         34236      34079        157          0         31      11723
-/+ buffers/cache:      22324      11912
Swap:            0          0          0
```

```
Mem:  35058228k total, 34897048k used,   161180k free,    32884k buffers
Swap:        0k total,        0k used,        0k free, 12003504k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3530 ubuntu    20   0 28.0g  20g 3660 R   54 62.4 264:16.78 osm2pgsql
 3534 postgres  20   0  306m 177m 150m S    7  0.5  14:10.43 postgres
 4120 postgres  20   0  257m 155m 150m R   34  0.5  70:09.60 postgres
 3533 postgres  20   0  280m 155m 150m S    1  0.5  39:04.12 postgres
 3535 postgres  20   0  279m 154m 150m S    0  0.5   8:49.18 postgres
 4121 postgres  20   0  254m 151m 147m S    0  0.4   0:47.90 postgres
30658 postgres  20   0 1295m 148m 141m D    0  0.4   0:31.62 postgres
11748 postgres  20   0  246m 147m 146m S    0  0.4   0:14.87 postgres
11749 postgres  20   0  245m 131m 130m S    1  0.4   1:13.54 postgres
 3532 postgres  20   0  278m  28m  24m S    0  0.1   5:48.33 postgres
11746 postgres  20   0  245m  26m  25m S    0  0.1   0:09.98 postgres
11750 postgres  20   0  245m  17m  16m D    0  0.1   0:23.56 postgres
 9999 ubuntu    20   0 31480  13m 1520 S    0  0.0   0:01.14 bash
```
![memory-day](https://f.cloud.github.com/assets/1190866/1232082/23a2f7ee-2887-11e3-8bd7-25e1909b3d67.png)

```sh
ubuntu at ip-10-66-18-58:~/osm$ grep ".*" /proc/sys/vm/overcommit_*
/proc/sys/vm/overcommit_memory:0
/proc/sys/vm/overcommit_ratio:50
```

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/90#issuecomment-25309217
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130928/fab07f9d/attachment.html>


More information about the Tile-serving mailing list