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

bblfshd crashed and does not start after parsing millions of files #286

Closed
vmarkovtsev opened this issue May 3, 2019 · 3 comments
Closed
Assignees
Labels

Comments

@vmarkovtsev
Copy link
Contributor

vmarkovtsev commented May 3, 2019

I ran massive file parsing on 4 machines:

  • typos-1.infra.mining.prod.srcd.host
  • typos-2.infra.mining.prod.srcd.host
  • typos-3.infra.mining.prod.srcd.host
  • typos-4.infra.mining.prod.srcd.host

The pipeline was the same as in #270 (comment) How I started bblfshd:

docker run -d --name bblfshd --privileged -p 9432:9432 bblfsh/bblfshd
docker exec -it bblfshd bblfshctl driver install --all

All the versions correspond to #281

Those instances ran for several days and then crashed. docker start bblfshd starts the server and it immediately stops. Each of the 4 machines has the same symptoms. The free space is fine: 75% of a 200GB volume is free.

Here are the logs:

Each file is ~4 gigs uncompressed.

I noticed that #270 persists. The access to my machines can be granted by @rporres upon request.

@dennwc dennwc self-assigned this May 3, 2019
@dennwc dennwc added the bug label May 3, 2019
@dennwc
Copy link
Member

dennwc commented May 3, 2019

error creating control listener: listen unix /var/run/bblfshctl.sock: bind: address already in use

Try removing the /var/run/bblfshctl.sock file on the server.

@dennwc
Copy link
Member

dennwc commented May 3, 2019

It also shows a giant stack trace at the end. From a quick look, it may have been affected by #264.

@dennwc
Copy link
Member

dennwc commented May 3, 2019

bblfshd v2.13.0 is out and should fix the crash, memory consumption and hopefully the CPU consumption as well.

Leaving this issue open, since we still need to solve an issue with the socket left after bblfshd crash.

dennwc pushed a commit to dennwc/bblfshd that referenced this issue May 3, 2019
dennwc pushed a commit to dennwc/bblfshd that referenced this issue May 3, 2019
dennwc pushed a commit to dennwc/bblfshd that referenced this issue May 3, 2019
dennwc pushed a commit to dennwc/bblfshd that referenced this issue May 6, 2019
@dennwc dennwc closed this as completed in 0348098 May 6, 2019
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