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

Multiple Concierge on one system #275

Open
5 tasks done
Awarua- opened this issue Sep 21, 2017 · 4 comments
Open
5 tasks done

Multiple Concierge on one system #275

Awarua- opened this issue Sep 21, 2017 · 4 comments

Comments

@Awarua-
Copy link
Member

Awarua- commented Sep 21, 2017

In raising this issue, I confirm to the best of my ability the following (please check boxes, e.g. [X]):

  • There are no duplicate issues.
  • The problem does not lie with an upstream dependency.
  • An installed module/integration/service/other is not causing your problem.
  • This is reproducible on the latest codebase with up to date NPM dependencies.
  • I have added appropriate labels to this issue.

Expected Behaviour:
I can run multiple instances of Concierge on the same system

Actual Behaviour:
One instance will run, the rest will crash on startup with a seg fault.

Steps to Reproduce:
Try to start more than one Concierge instance, from different directories

This is a problem for the future if we want horizontal scaling.
Work around atm, is to use docker containers.

@drkno
Copy link
Member

drkno commented Sep 22, 2017

"I have added appropriate labels to this issue."
Ummm... bug? Regression?

"The problem does not lie with an upstream dependency."
Segfault = node? Sure its our issue to work out why but still

@Awarua-
Copy link
Member Author

Awarua- commented Sep 22, 2017

Yes, it could be with upstream, but no real indication of what causes it.
It's also harder to track down now that the core is async.

@drkno
Copy link
Member

drkno commented Sep 22, 2017

It's also harder to track down now that the core is async.

I will admit that. However it is async-await not raw promise so tracking down the source is possible

@drkno
Copy link
Member

drkno commented Sep 23, 2017

image

@Awarua- Aside from the obvious issue in the screenshot above (can't have 2 instances of boss running on same machine unless they bind to a different port), I can't reproduce on the following configuration:
Node: v8.5.0
OS: Windows
Modules: default (2 fresh clones)
Config: default (2 fresh clones)

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

No branches or pull requests

2 participants