wallix / PEPS

Innovative Open source Email + File sharing
GNU Affero General Public License v3.0
699 stars 109 forks source link

peps_server dying on ubuntu #36

Open william-richard opened 9 years ago

william-richard commented 9 years ago

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?

william-richard commented 9 years ago

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
hbbio commented 9 years ago

It says killed, so it might be a lack of RAM. How much are you using?

william-richard commented 9 years ago

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!