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

bblfsh spawns zombie processes when it runs on ubuntu #78

Closed
zurk opened this issue Jul 20, 2017 · 3 comments
Closed

bblfsh spawns zombie processes when it runs on ubuntu #78

zurk opened this issue Jul 20, 2017 · 3 comments

Comments

@zurk
Copy link

zurk commented Jul 20, 2017

What happened?

I worked with bblfsh on science-3 machine and found that too many zombies spawn in the system.
when I close bblfsh container they are gone away.

How can you reproduce it?

I work with bblfsh on science-3 machine.
It will be easier to reproduce it on it (In case, I can show you how) but in general, I do something like this:
run bblfsh in the usual way
docker run --privileged -p 9432:9432 --name bblfsh bblfsh/server

run another container in my case it is
docker run --rm -it -v /storage:/storage --device /dev/nvidiactl --device /dev/nvidia-uvm -v /data:/data -expose=9432 --privileged -e "LD_PRELOAD=" srcd/science bash

May be it is reproducible just in the system.

then

pip3 install git+https://github.com/bblfsh/client-python
pip3 install git+https://github.com/src-d/ast2vec@develop

and then run attached script.
entry_point.py.zip

You can check kind of zombies number with ps aux | grep Z | wc -l before and after.
In my case it 4 and 15.

Priority:

Medium

I need to get UAST for many repos in nearest future, so it quite important.

Other info you may need:

I tried to reproduce the same result under MacOS and failed

@abeaumont
Copy link
Contributor

I'd say it's a duplicate of #42

@abeaumont abeaumont marked this as a duplicate of #42 Jul 20, 2017
@zurk
Copy link
Author

zurk commented Jul 21, 2017

Seems to be.
Can you estimate when it will be fixed?

@abeaumont
Copy link
Contributor

@zurk I'll close this, let's move the discussion to #42 to avoid duplication

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