peps_server dying on ubuntu
william-richard opened this issue · 3 comments
I am trying to set up PEPS on a digtial ocean Ubuntu droplet.
I followed this section of the readme
I am using self signed certificates, create via the make certificate
task. The certificate Common Name matches what I echo'd into the domain
file.
When I run make run
, the peps_server
container comes up for less than 30 seconds and then dies with the following error message
root@VPS:~/PEPS# docker logs peps_server
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/10peps.sh...
Killed
*** /etc/my_init.d/10peps.sh failed with status 137
*** Killing all processes...
I'm not quite sure how to diagnose this problem - can I have some advice about what may be going wrong?
Also, I don't know if this makes any difference, but I am running ubuntu 14.04
root@VPS:~/PEPS# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
It says killed, so it might be a lack of RAM. How much are you using?
I only have 512MB on this VM, and you're exactly right that it's running out of RAM and then killing the process.
Thanks for helping to sort that out!