lemenkov / erlpmd

A drop-in replacement for epmd written in Erlang
25 stars 13 forks source link

Systemd service not starting #2

Open rusio opened 10 years ago

rusio commented 10 years ago

Hi,

I am new to Erlang and am trying to start erlpmd as a systemd service, for a better replacement of the C-based epmd. I installed the built-in package erlpmd-2.0.1-3.fc20, which pulled some additional erlang dependencies, but not the whole erlang distribution. Startup fails with "Failed to create thread: Resource temporarily unavailable (11)". The latest package erlpmd-2.0.1-5.fc21 produces the same error (still on Fedora 20):

sudo systemctl start erlpmd journalctl

systemd[1]: Starting Erlang Port Mapper Daemon... systemd[1]: Started Erlang Port Mapper Daemon. erl[757]: Failed to create thread: Resource temporarily unavailable (11) systemd[1]: erlpmd.service: main process exited, code=killed, status=6/ABRT epmd[765]: epmd: Cannot connect to local epmd systemd[1]: erlpmd.service: control process exited, code=exited status=1 systemd[1]: Unit erlpmd.service entered failed state. systemd[1]: erlpmd.service holdoff time over, scheduling restart. systemd[1]: Stopping Erlang Port Mapper Daemon... systemd[1]: Starting Erlang Port Mapper Daemon... ...

Any ideas what might be wrong? You should be able to reproduce the error using a Fedora 20 cloud image and installing only the erlpmd package with yum.

Best regards, Rusi

lemenkov commented 9 years ago

@rusio sorry for the delayed answer. Please try a new version (I'll build it soon) - 2.x.x had a terrible systemd integration.