Intermittently we are receiving 408 Timeout errors from Tomcat when running search queries. The errors seem to occur mostly after restarting Tomcat or
initing the indexes after rebuilding and when running a query with a long URI. An example of a problem query is:
Sometimes running the query a few times in row kick starts things and the search server returns a real answer. Other times, the query doesn’t work until the Tomcat is restarted.
This server is not from the supplied VM. It is a hand built Ubuntu 16.04.2 server running Tomcat 7.0.68-1ubuntu0.1, MMD Schema
da2307a, and search server
ee60311. This problem happened with schema version 23 and continues with 24. The same server runs the Musicbrainz server, postgres, and search.
catalina.out just reports that the query timed out but seems to later log that the query finished. The Tomcat
localhost (not access) log doesn’t seem to show anything relevant.
Does anyone know how to fix this? Would splitting the components onto their own servers make a difference?