Memory tuning advice for small single-node Solr instance

2024-05-06 Thread Imran Chaudhry
Hello Solr users crew, I have a single-node Solr 9.x instance running on a hosted virtual Debian Stable server. The server technical specs are as follows: 2 vCPU 4Gb RAM The Solr instance has about 180,000 documents which get refreshed once a day via an automated script. Each day about a few th

Re: Memory tuning advice for small single-node Solr instance

2024-05-07 Thread Imran Chaudhry
Hello Jan, On Tue, May 7, 2024, 12:05 PM Jan Høydahl wrote: > Hi, > > If you have not tuned your heap, it will default to 512m. THe lines in > solr.in.sh prefixed with hash # are comments and do nothing. > If you experience OOME during use that is likely not enough for your use > case. > So edit

Re: Memory tuning advice for small single-node Solr instance

2024-05-07 Thread Imran Chaudhry
Hello Dmitri, On Tue, May 7, 2024, 3:16 PM Dmitri Maziuk wrote: > On 5/7/24 06:03, Jan Høydahl wrote: > > Hi, > > > > If you have not tuned your heap, it will default to 512m. THe lines in > solr.in.sh prefixed with hash # are comments and do nothing. > If course, it was just to show the curren

Re: Memory tuning advice for small single-node Solr instance

2024-05-07 Thread Imran Chaudhry
Hello Rajani, On Tue, May 7, 2024, 1:15 AM Rajani M wrote: > What type of queries do you send to Solr, what is the QTime returned per > query on an average, and how many queries per second/minute? They are 99% read queries with faceting. I am not sure of queries/sec. I don't have hard stats.

Re: Memory tuning advice for small single-node Solr instance

2024-05-09 Thread Imran Chaudhry
On Wed, 8 May 2024 at 17:53, Rajani M wrote: > >I think I have limited the documents returned in each query to 10,000 via > the client software. > > Did you mean the solr query rows param is limited to 10,000? Fetching a > large number of records can be inefficient, it should be less than 100, a

Re: Memory tuning advice for small single-node Solr instance

2024-05-25 Thread Imran Chaudhry
grows with various queries in my web-app. For reference I kept it constant like this: # Increase Java Heap as needed to support your indexing / query needs SOLR_HEAP="256m" SOLR_JAVA_MEM="-Xms256m -Xmx256m" On Fri, 10 May 2024 at 07:14, Imran Chaudhry wrote: > > > On We

Re: are bots DoS'ing anyone else's Solr?

2024-06-20 Thread Imran Chaudhry
+1 for fail2ban @Dmitri Maziuk if your Solr is behind Apache httpd then you may be interested in mod-evasive which worked well for XMLRPC attacks against Wordpress. You can combo it with fail2ban https://ejectdisc.org/2015/08/08/admin-a-wordpress-site-running-on-debian-linux-learn-how-to-protect