We are trying to index a file (word document) which is > 45 MB . It is failing throwing an exception as below:
Maximum timeout reached while retrying request. Call: Status code unknown from: PUT /test_index6/_doc/16601?pipeline=Attachment
What is the maximum file size recommendation and how do we increase the size limit to handle large file indexing?
Error Message : Exception of type 'System.OutOfMemoryException' was thrown.
Stack Trace:" at Elasticsearch.Net.Transport1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters) in E:\Projects\Elastic\elasticsearch-net-copy\src\Elasticsearch.Net\Transport\Transport.cs:line 95 at Elasticsearch.Net.ElasticLowLevelClient.DoRequest[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters) in E:\Projects\Elastic\elasticsearch-net-copy\src\Elasticsearch.Net\ElasticLowLevelClient.cs:line 70 at Nest.ElasticClient.DoRequest[TRequest,TResponse](TRequest p, IRequestParameters parameters, Action1 forceConfiguration) in E:\Projects\Elastic\elasticsearch-net-copy\src\Nest\ElasticClient.cs:line 133 at Nest.ElasticClient.Index[TDocument](IIndexRequest1 request) in E:\Projects\Elastic\elasticsearch-net-copy\src\Nest\ElasticClient.NoNamespace.cs:line 672 at Nest.ElasticClient.Index[TDocument](TDocument document, Func2 selector) in E:\Projects\Elastic\elasticsearch-net-copy\src\Nest\ElasticClient.NoNamespace.cs:line 658 "
Error Message : Maximum timeout reached while retrying request. Call: Status code unknown from: PUT /consult_index6/_doc/16601?pipeline=Attachment
No stack trace on elastic side for this.
We increased the http_max_content_length to 350 mb, but we still the issue with that. Also, when we check elasticsearch.log within the server, don't see much details.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.