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

Server stays running on exit, restart #4737

Closed
rashidkpc opened this issue Aug 24, 2015 · 1 comment · Fixed by #4744
Closed

Server stays running on exit, restart #4737

rashidkpc opened this issue Aug 24, 2015 · 1 comment · Fixed by #4744
Labels
bug Fixes for quality problems that affect the customer experience dev PR sent v4.2.0-beta1

Comments

@rashidkpc
Copy link
Contributor

The server exit no longer seems to function correctly in dev mode. It often leaves a process hanging and continues to serve request. Also, when the auto restart works, it seems to leave another process running serving the old code.

Currently to make changes to the server code one must killall -9 iojs to ensure changes are reflected

@rashidkpc rashidkpc added bug Fixes for quality problems that affect the customer experience v4.2.0-beta1 dev labels Aug 24, 2015
@spalger
Copy link
Contributor

spalger commented Aug 25, 2015

To replicate this:

  1. delete your optimize/bundles directory

  2. create an empty file at optimize/bundles/webpack.records

  3. in a console tab, run this script to repeatedly log the iojs process list

    while [ 1 ]; do ps | grep iojs; sleep 1; clear; done
  4. in another console tab run the kibana server in dev mode

    ./bin/kibana --dev
  5. observe the server logging optimizer crashed with status code 1 and the process list growing by one each time you do _#_4

  6. Finally killall iojs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience dev PR sent v4.2.0-beta1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants