[Lustre-discuss] ldlm_locks memory usage crashes OSS

Mohr Jr, Richard Frank (Rick Mohr) rmohr at utk.edu
Wed Sep 26 12:01:29 PDT 2012


On Sep 26, 2012, at 1:15 PM, Jérémie Dubois-Lacoste wrote:

> So the max number is 800, and the maximum age is 36000000 (don't know
> the unit, but it looks like an hour).
> We have only two OST on each of our two OSS.
> With 80 clients, do you think there is any chance these settings are too high?

Based on that info, it doesn't seem like you should be running into a problem with too many locks.  If you see the issue again, I would suggest gathering some info about lock usage from the clients.  The /proc/fs/lustre/ldlm/namespaces/*/lock_count file should tell you how many locks the client has for each target.  From that you should be able to get an idea of how many locks are on the OSS and see if that would account for the memory usage.

-- 
Rick Mohr
Senior HPC System Administrator
National Institute for Computational Sciences
http://www.nics.tennessee.edu





More information about the lustre-discuss mailing list