RHEL6 で、nfsd4_stateowners におけるスラブのメモリーリークが原因で NFS4 サーバーで OOM パニックが発生する
Issue
- OOM パニックが発生しています。
2016-03-01 05:06:36 PANIC:"Kernel panic - not syncing:Out of memory: system-wide panic_on_oom is enabled"
- nfsd4_stateowners スラブでメモリーリークが疑われます。メモリーの使用量は以下のようになります。
2016-03-01 05:06:29 crash> kmem -i
2016-03-01 05:06:30 PAGES TOTAL PERCENTAGE
2016-03-01 05:06:30 TOTAL MEM 1980946 7.6 GB ----
2016-03-01 05:06:30 FREE 25748 100.6 MB 1% of TOTAL MEM
2016-03-01 05:06:30 USED 1955198 7.5 GB 98% of TOTAL MEM
2016-03-01 05:06:30 SHARED 4387 17.1 MB 0% of TOTAL MEM
2016-03-01 05:06:30 BUFFERS 528 2.1 MB 0% of TOTAL MEM
2016-03-01 05:06:30 CACHED 7331 28.6 MB 0% of TOTAL MEM
2016-03-01 05:06:30 SLAB 1912825 7.3 GB 96% of TOTAL MEM
^^^^^^
Environment
- Red Hat Enterprise Linux 6 (NFS サーバー)
- kernel-2.6.32-644.el6 以前のカーネル
- kernel-2.6.32-358.el6.x86_64 で発生する
- NFS4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
