When running the bulk indexing with python everything works fine.. good
solid throughput for the full indexing run.
When doing the same with the Java api what is happening is that thousands
of client threads are being created (7000)
And the server stops indexing and then the client just hangs with direct
buffer memory errors being displayed ie
Exception: error [Direct buffer memory]
Also I notice this in the dmesg: possible SYN flooding on port 9300.
Sending cookies. (not sure if related)
I can't understand why ES is creating so many client threads because I'm
BulkResponse bulkResponse = bulkRequest.execute().actionGet();
which is synchronous? And the ES threads should not exceed my client
I have tried both nodeClient and transportClient and same thing.
Any help appreciated.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1b8ec428-0e0b-4d33-8d02-0c9d50436d43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.