Presumably your slaves are the only ones receiving queries.

When you query indexes, it will cache stuff, which takes up memory, thus
memory usage is greater on slaves than on master.

You should look at the types of queries you are using, and see what
caches you are building up (e.g. sorting, filter queries, etc).

Upayavira

When you make queries, you do 
On Tue, Jun 26, 2012, at 07:13 AM, subhendu.acha...@rbs.com wrote:
> Hi
> 
> I am running Solr 3.5 server with a master-slave and repeater-slave
> architecture from last one year on linux machines. Recently found out
> that my slaves (both) are using high virtual memory and keeps on
> increasing while master and repeater both seems normal. My index size is
> quite normal in all 4 instances which is 5gb in filesystem . I am running
> optimize on master every midnight .
> 
> I think the problem could be Solr is deleting the old files but could not
> release the open handlers to the deleted files so that it keeps on
> increasing the virtual memory on linux . One thing i dont understand why
> this only happens with slaves only. any solution for this ?
> 
> Do we need to make a service restart  each time so that the process can
> free those memory and obsolete handlers ?
> 
> Thanks
> Subhendu Acharya
> Software Designer
> RBS Global Banking & Markets
> Block No 1, Tower A, Unitech Infospace Complex Sector 21, Gurgaon,
> Haryana, 122002, India
> Office: +91 124 4926409  |  Mobile: +91 9818218597
> 
> 
> ***********************************************************************************
>  
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. 
> Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
> Authorised and regulated by the Financial Services Authority. The 
> Royal Bank of Scotland N.V. is authorised and regulated by the 
> De Nederlandsche Bank and has its seat at Amsterdam, the 
> Netherlands, and is registered in the Commercial Register under 
> number 33002587. Registered Office: Gustav Mahlerlaan 350, 
> Amsterdam, The Netherlands. The Royal Bank of Scotland N.V. and 
> The Royal Bank of Scotland plc are authorised to act as agent for each 
> other in certain jurisdictions. 
>   
> This e-mail message is confidential and for use by the addressee only. 
> If the message is received by anyone other than the addressee, please 
> return the message to the sender by replying to it and then delete the 
> message from your computer. Internet e-mails are not necessarily 
> secure. The Royal Bank of Scotland plc and The Royal Bank of Scotland 
> N.V. including its affiliates ("RBS group") does not accept
> responsibility 
> for changes made to this message after it was sent. For the protection
> of RBS group and its clients and customers, and in compliance with
> regulatory requirements, the contents of both incoming and outgoing
> e-mail communications, which could include proprietary information and
> Non-Public Personal Information, may be read by authorised persons
> within RBS group other than the intended recipient(s). 
> 
> Whilst all reasonable care has been taken to avoid the transmission of 
> viruses, it is the responsibility of the recipient to ensure that the
> onward 
> transmission, opening or use of this message and any attachments will 
> not adversely affect its systems or data. No responsibility is accepted 
> by the RBS group in this regard and the recipient should carry out such 
> virus and other checks as it considers appropriate. 
> 
> Visit our website at www.rbs.com 
> 
> ***********************************************************************************
>  

Reply via email to