Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemd service not starting #2

Open
rusio opened this issue Oct 16, 2014 · 1 comment
Open

Systemd service not starting #2

rusio opened this issue Oct 16, 2014 · 1 comment

Comments

@rusio
Copy link

rusio commented Oct 16, 2014

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
Copy link
Owner

lemenkov commented Nov 3, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants