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

electrode development workflow frequently leaves zombie processes behind #1552

Closed
cdaringe opened this issue Mar 10, 2020 · 2 comments
Closed
Labels

Comments

@cdaringe
Copy link
Contributor

cdaringe commented Mar 10, 2020

Type of issue

bug

My environment

os: mac, many versions
node/npm: many versions

Expected behavior

no zombie processes

Current behavior

  • electrode processes crash periodically, or are exited manually, then
  • electrode leaves PIDs running for the internal proxy, wds, or application server

Steps to reproduce the behavior

  • use electrode in dev mode
  • actively develop code that causes processes to crash (non-deterministic)
  • re-run electrode, observe EADDRINUSE

Command line output

example:

[proxy] {"level":50,"time":1583866298115,"pid":43308,"hostname":"m-c02x6042jgh7","name":"redbird","code":"EADDRINUSE","errno":-48,"syscall":"listen","address":"::","port":3000,"msg":"Server Error","stack":"Error: listen EADDRINUSE: address already in use :::3000
@jchip
Copy link
Member

jchip commented Mar 10, 2020

These two released PRs should've fix the zombies
#1531
#1542

Do you still see them? Do you have a specific steps to repo?

@cdaringe
Copy link
Contributor Author

@jchip, it happens pretty regularly in our repo ATM. All it takes is starting and editing. Generally a TS compiler error from Babel triggers it somewhat reliably. We can get a DM going and I can hook you up

@jchip jchip added the fixed label Apr 28, 2020
@jchip jchip closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants