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

Error : curl(56) Recv failure: Connection reset by peer #11899

Closed
rpalsaxena opened this issue Jun 27, 2015 · 3 comments
Closed

Error : curl(56) Recv failure: Connection reset by peer #11899

rpalsaxena opened this issue Jun 27, 2015 · 3 comments

Comments

@rpalsaxena
Copy link

I am trying to load my ES db using bulk API, but I am getting this error
"curl: (56) Recv failure: Connection reset by peer"

The structure of json documents in my json file is correct
But my file size is 750MB

Please suggest me some solution

Thanks

@dadoonet
Copy link
Member

Please use discuss.elastic.co

Try to reduce your bulk size. I think I don't insert more than 10k docs per bulk (small docs). So, some mb at most per bulk.

@rpalsaxena
Copy link
Author

But elasticsearch is made for handling big size data some GBs of data , even wiki and github are also using it .

I think reducing the input size is not a good solution , but I somehow managed to insert the data using python ..

Even then if someone can suggest me best possible solution then kindly comment

@dadoonet
Copy link
Member

dadoonet commented Jul 3, 2015

Yes. I can confirm that elasticsearch can handle billions of documents, trillions of documents.
It does not mean that you can pass all those docs within one single bulk request.

Have a look BTW at http.max_content_length. By default it's limited to 100mb (on purpose).

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html

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