Hi Priya, On Thu, Jun 21, 2012 at 08:51:38AM -0700, pkamala wrote: > I am testing the kernel 3.2.1 (32-bit) XFS filesystem on a 1 TB LVM logical > volume. The volume currently has 3653816 files, 3655726 used inodes and 782G > free space. When the volume is mounted, quotacheck starts up and after about > 5 minutes the oom-killer is triggered and starts killing processes. From the > message log, it looks like the system is running out of Normal memory. After > a while I see the following messages after which I power cycle the system: > > XFS: possible memory allocation deadlock in kmem_zone_alloc (mode: 0x2d0) > XFS: possible memory allocation deadlock in xfs_buf_allocate_memory (mode: > 0x250) That sounds familiar. Take a look at /proc/slabinfo and see if the xfs_inode cache is using up all of your memory. If so, here is a fix for this from Dave that works by allowing inode reclaim to work during mount: commit 8a00ebe4cfc90eda9ecb575ba97e22021cd8cf70 Author: Dave Chinner <david@xxxxxxxxxxxxx> Date: Fri Apr 13 12:10:44 2012 +0000 xfs: Ensure inode reclaim can run during quotacheck There is a related fix that you will want: commit 1307bbd2af67283131728637e9489002adb26f10 Author: Ben Myers <bpm@xxxxxxx> Date: Tue May 15 14:26:55 2012 -0500 xfs: protect xfs_sync_worker with s_umount semaphore The above made the 3.5 merge window. The latter commit is functional but we're not very happy with using the s_umount semaphore here, so it is being replaced with something that is a bit cleaner very soon. I will propose them for the 3.2-stable branch. Regards, Ben _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs