[Lustre-discuss] Out of Memory on MDS

Cliff White Cliff.White at Sun.COM
Tue Jun 23 12:38:23 PDT 2009


Roger Spellman wrote:
> I have an MDS that is crashing with out-of-memory.
> 
>  
> 
> Prior to the crash, I started collecting /proc/slabinfo.  I see that 
> ldlm_locks is up to 4,500,000, and each one is 512 bytes, for a total of 
> 2.2GB, which is more than half my RAM.
> 
>  
> 
> Is there a way to limit this?

You don't mention the version of Lustre - lru_size might have an impact, 
i am not certain. I believe it is the only lock tuneable of note. (and 
is auto-sized in recent Lustre)

cliffw

> 
>  
> 
> Other heavy memory users are ldisk_inode_cache (421 MB) and 
> ldlm_resources (137 MB).  Is there a way to limit these too?
> 
>  
> 
> Thanks.
> 
>  
> 
> Roger Spellman
> 
> Staff Engineer
> 
> Terascala, Inc.
> 
> 508-588-1501
> 
> www.terascala.com http://www.terascala.com/
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss




More information about the lustre-discuss mailing list