Bug 11720
Summary: | when running smb service on a lv with 3 snapshot, system out of memory, and then client transfer stop | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | zhanghj (zhanghj_2000) |
Component: | LVM2/DM | Assignee: | Alasdair G Kergon (agk) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | high | CC: | agk, wen_zl, zhanghj_2000, zhlqcn |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24.7 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
zhanghj
2008-10-08 06:58:22 UTC
when i run the command "lvchange -a n vga" , then i find the memory alloced for Acpi-Namespace or ip_fib_hash was free, so maybe every snapshot was alloced about 200MB memory. The exception-table map the copied data location on the ‘origin-real’ device to the block location on the ‘snap-cow’ device. The ‘exceptiontable’mapping helps to route read/write I/O requests coming for the snapshot volume to the right place. But when snapshot created and copying masses amount data, The exception-table entry is leaped and consume lots of memory. moreover,the exception-table is in low memory which size is 896M. So, soon Out of memory is happened. The exception-table will be rebuilt at boot. How and when to resolve it? thanks in advance. Did anyone already solved this in a Kervel version... ? (i'm also having troubles with this bug..) We have appliad the fix in (OpenFiler) Kernel: 2.6.26.8-1.0.7 AND IT WORKS ! I've load tested for several days and it still works! (disabling snapshots also seem to 'fix' the issue) (for more info, see ticket: http://bugzilla.kernel.org/show_bug.cgi?id=11636 ) (also see that ticket for the kernel fix) The creator of the fix (Mikulas Patocka) says there is also a lot (of this stuff) solved in the 2.6.28RC8 kernel. Thanks! With the snapshot changes made since this was reported which reduce memory usage, can we mark this one 'resolved' now? Closing old bug. |