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

Seg fault while trying to ingest #2

Closed
stockholmux opened this issue Oct 20, 2017 · 14 comments
Closed

Seg fault while trying to ingest #2

stockholmux opened this issue Oct 20, 2017 · 14 comments

Comments

@stockholmux
Copy link

While attempting to run the benchmark, I keep running into seg faults.

I'm running Redis 4.02 (OSS) / RediSearch 0.21.3 with 5 nodes. While running the benchmark using this:

./RediSearchBenchmark -engine redis -shards 5 -hosts "localhost:6379,localhost:6380,localhost:6381,localhost:6382,localhost:6383"     -file ~/enwiki-latest-abstract.xml

I'm guessing this is a RediSearch issue, so I'll x-post an issue over on that repo.

Here are the dumps - I was pretty consistently getting 2 out of 5 shards seg faulting.

redisearch-ingest-seg-fault2.txt
redisearch-ingest-seg-fault1.txt

@dvirsky
Copy link
Contributor

dvirsky commented Oct 20, 2017

There is a bug in redis 4.0.2 that was fixed already, run it with redis unstable, it shouldn't happen.

@stockholmux
Copy link
Author

Gotcha. I'll run it and report back.

@dvirsky
Copy link
Contributor

dvirsky commented Oct 20, 2017 via email

@stockholmux
Copy link
Author

Still getting seg faults in a similar pattern (run the benchmark, within a few seconds two nodes give segs, the rest run with no problem) with unstable.

Not sure if this is relevant, but I'm running the bog standard install of unstable with redis.io provided conf file and redisearch and port set via the command line when starting the servers.

seg-fault-4.txt
seg-fault-3.txt

I may try rolling back the versions of RediSearch until I hit one that works with the benchmark.

@stockholmux
Copy link
Author

This must be a relatively recent bug. Unstable + RediSearch 0.20.0 and 0.21.0 do not cause seg faults.

@dvirsky
Copy link
Contributor

dvirsky commented Oct 23, 2017 via email

@stockholmux
Copy link
Author

Yup. Wikipedia extracts.

@dvirsky
Copy link
Contributor

dvirsky commented Oct 23, 2017

@mnunberg do you mind having a look?

@mnunberg
Copy link
Contributor

ok, I seem to have triggered it.

@mnunberg
Copy link
Contributor

@stockholmux btw did you get this on Mac or Linux?

@stockholmux
Copy link
Author

@mnunberg AWS / Ubuntu: c4.4xlarge.

@mnunberg
Copy link
Contributor

I believe I've fixed the issue. Can you verify? (latest master on RediSearch)

@stockholmux
Copy link
Author

@mnunberg I won't have a chance until Thursday, unfortunately.

@filipecosta90
Copy link
Contributor

closing given this issue is no longer relevant/applicable.

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

No branches or pull requests

4 participants