<div class="gmail_quote">Hi ...,<br><br>Posted this on the community forum, but haven't got any reply yet.<br>Kindly help.<br><br>We are having trouble with the MDS in our setup. It runs out of memory when we do large searches on the storage.<br>

<br><b>The Setup:<br></b><br>We have a Lustre Setup with 2 MDS Servers, replicated using DRBD and 4 OSS Nodes.<br>
The total storage capacity is aroung 18TB. <br>We are using Lustre 2.0.0.1.<br><br>We have -<br>- 30 Lustre Clients (CentOS 6)<br>- 4 Samba Gateway Servers<br>    - around 120 - 130 Users connect through the Samba Gateway<br>


<br>Both the MDS Servers have -<br><br>- 2 x 4 Core Intel CPUs <br>- 12Gb RAM<br><br>The DRBD replication happens over an Infinband Link.<br><br><b>The Issue:</b><br><br>We have around <b>5.5Million files</b> in the storage. As such everything works fine during normal operations.<br>


But there are times when we need to search the whole storage, like for taking backup of recently changed files, and this is when the MDS crashes giving OOM errors. Any such operation where a <u><b>single client side process</b></u> tries to search the whole storage, causes this OOM problem.<br>


<br>1. Is there any setting that could prevent this?<br>    Since the same files are not accessed frequently, we don't require extensive caching.<br>    Is there anyway we can optimize the RAM utilization accordingly?<br>


<br>    If not -<br>2. Overtime we see the number of files growing from 5.5Million to 7.5Million, but I would like to size the RAM for 10Million files. Just to be on the safe side.<br>    How do I go about calculating the exact RAM requirement?<br>

<br>Do tell me if you need any further information on this.<br><br>Thanks and Regards,<span class="HOEnZb"><font color="#888888"><br><br><br>Indivar Nair</font></span><br></div>