oznu / docker-unms

This image is no longer maintained: https://github.com/oznu/docker-unms/issues/53
143 stars 68 forks source link

High load on raspberry with raspberian default install #40

Closed Snotmann closed 5 years ago

Snotmann commented 5 years ago

Hey guys,

i installed like in the description but the load is incredebelly high direct aber starting the container ...

%Cpu(s): 1,6 us, 0,6 sy, 0,0 ni, 30,0 id, 67,7 wa, 0,0 hi, 0,1 si, 0,0 st

14:30:55 up 7:43, 1 user, load average: 2,18, 1,59, 1,51

... dont know why ... bot postgres seems to write on disc all the time. Nothing is configured so far ... but this is seen in iotop: 19301 be/4 systemd- 0.00 B/s 6.50 K/s 0.00 % 99.99 % postgres: postgres unms 127.0.0.1(33310) SELECT

Snot

Snotmann commented 5 years ago

My last sd card went defect after too many writing cycles and this happen with four devices on it

Snotmann commented 5 years ago

Ok got it ... it was a class 4 micro sd card ... seems to be too slow for postgresql ;)

Snotmann commented 5 years ago

btw: it is possible to put the database on a usb device ? I cant copy the stuff to the location because the user seems to be systemd-bus-proxy ?!