Skip to content

Runing slr a second time makes original cluster unmanageable #88

Open
@grimborg

Description

@grimborg

I've noticed that if I run slr a second time (by mistake), the original cluster becomes unmanageable.

$ slr --pid pid_file --size 4 --detach my/server.js
$ slr
--whoops, I meant slrc, ctrl-C
$ slrc
Communication error (connect ENOENT), check master is listening 

The original cluster is still running, but slrc can no longer communicate with the master.

Is this the intended behaviour? Is there a way for slr to check whether it's already running?

Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions