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

Indexing times out (connection reset) #25

Open
zlacelle opened this issue May 1, 2015 · 3 comments
Open

Indexing times out (connection reset) #25

zlacelle opened this issue May 1, 2015 · 3 comments

Comments

@zlacelle
Copy link

zlacelle commented May 1, 2015

When trying to perform the indexing, the following happens (the percent complete varies, but usually right around 15-20%):

Loading Rails environment for Resque
Recreate index for all available search types
[ERROR] Connection reset by peer, retrying (1)...                                                                                                                                           | ETA:  00:08:09
[ERROR] Connection reset by peer, retrying (2)...
[ERROR] Connection reset by peer, retrying (3)...
[ERROR] Connection reset by peer, retrying (4)...
[ERROR] Connection reset by peer, retrying (5)...
[ERROR] Too many exceptions occured, giving up. The HTTP response was: Connection reset by peer
@zlacelle
Copy link
Author

zlacelle commented May 4, 2015

To add to this: I've correctly installed the Resque plugin, and I can see with netstat -l that it's listening on 6379. It seems to index, but just keeps throwing these errors every once in a while.

@maiconzucco
Copy link

For me occurs the same.

@maiconzucco
Copy link

Hi, ziacelle.

I changed the parameter BATCH_SIZE to a low value and works:
bundle exec rake redmine_elasticsearch:reindex_all RAILS_ENV=production BATCH_SIZE=10

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

2 participants