Hi,

I have installed solr on my work server and I am currently connecting
to it using OpenVPN. I indexed around 6K documents to test it out. I
was experiencing a weird behaviour where queries are randomly very
slow. At first, I suspected a connectivity issue, but after some
exploration, it seems there is a constant delay after initial TCP/IP
connection.

As it can be seen on the attached screenshot, TCP handshake takes 5ms,
then solr takes 6 seconds to read the request, and it instantly
returns the response. After the initial delay, all other requests over
the same tcp/ip connection (which seems to be kept alive for 30
seconds) are processed normally (around 20 ms response time).

I also made an python web application and it takes around 5 seconds
for each query because it must open a new connection for every query.

This behaviour isn't specific to any solr core, as even admin api
endpoints work the same way.

Is this a known issue? What steps can I take to debug this?

Best regards,
Yaşar Arabacı

Reply via email to