SOLR 502 error when making requests in parallel

Our stack uses SOLR (via the Ruby sunspot gem). We also have a script that fires thousands of search terms at SOLR to see which ones have a good score and eliminate the others. The script was setup to run with 24 threads but many request fail with a 502 gateway error.

Apparently it used to run through from start to finish without problems - but this was before I worked on the project. Now, the only way it works is with one thread but that takes too long. Because I’ve never seen it work I’m not aware of what is causing the problem.

My question is; what steps can I take to debug this and fix? Thanks

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.