[issue1031] panic: hammer_mount: malloc limit exceeded

Francois Tigeot ftigeot at wolfpond.org
Thu Jun 12 12:26:54 PDT 2008


On Thu, Jun 12, 2008 at 04:28:01PM -0000, Matthew Dillon wrote:
> 
> Matthew Dillon <dillon at apollo.backplane.com> added the comment:
> 
> :>     I believe I have fixed the lockup with commit 54.  I have also, I
> :>     believe, completely fixed sequential read performance and have made
> :>     good progress on sequential write performance.
> :
> :I have been unable to reproduce the lockup.
> :
> :Howewer, the original panic is back, this time after only about 5 minutes
> :of copying:
> :
> :panic: hammer_mount: malloc limit exceeded
> :mp_lock = 00000001; cpuid = 1
> :Trace beginning at frame 0xdf1e28d4
> :...
> 
>     Ugh.  Do me a favor.  Do a 'sysctl vfs.hammer' every few seconds while
>     you are copying and cut and paste the last few as of when it crashes.
>     That will tell me which structure is blowing out the memory.

Here it is. Each --- marks a one second pause.

vfs.hammer.contention_count: 1917
vfs.hammer.zone_limit: 0
vfs.hammer.count_io_running_write: 0
vfs.hammer.count_io_locked: 2
vfs.hammer.count_io_running_read: 1
vfs.hammer.count_reservations: 1172
vfs.hammer.count_refedbufs: 12
vfs.hammer.count_dirtybufs: 66
vfs.hammer.count_nodes: 22
vfs.hammer.count_buffers: 249
vfs.hammer.count_volumes: 1
vfs.hammer.count_record_datas: 4031
vfs.hammer.count_records: 601674
vfs.hammer.count_reclaiming: 1
vfs.hammer.count_iqueued: 4934
vfs.hammer.count_inodes: 33721
vfs.hammer.limit_iqueued: 26846
vfs.hammer.limit_recs: 320000
vfs.hammer.limit_irecs: 102400
vfs.hammer.limit_dirtybufs: 1610
---
vfs.hammer.contention_count: 1917
vfs.hammer.zone_limit: 0
vfs.hammer.count_io_running_write: 0
vfs.hammer.count_io_locked: 2
vfs.hammer.count_io_running_read: 1
vfs.hammer.count_reservations: 1179
vfs.hammer.count_refedbufs: 17
vfs.hammer.count_dirtybufs: 66
vfs.hammer.count_nodes: 28
vfs.hammer.count_buffers: 254
vfs.hammer.count_volumes: 1
vfs.hammer.count_record_datas: 4032
vfs.hammer.count_records: 605308
vfs.hammer.count_reclaiming: 1
vfs.hammer.count_iqueued: 4934
vfs.hammer.count_inodes: 33722
vfs.hammer.limit_iqueued: 26846
vfs.hammer.limit_recs: 320000
vfs.hammer.limit_irecs: 102400
vfs.hammer.limit_dirtybufs: 1610
---
vfs.hammer.contention_count: 1917
vfs.hammer.zone_limit: 0
vfs.hammer.count_io_running_write: 0
vfs.hammer.count_io_locked: 2
vfs.hammer.count_io_running_read: 1
vfs.hammer.count_reservations: 1186
vfs.hammer.count_refedbufs: 17
vfs.hammer.count_dirtybufs: 66
vfs.hammer.count_nodes: 28
vfs.hammer.count_buffers: 254
vfs.hammer.count_volumes: 1
vfs.hammer.count_record_datas: 4032
vfs.hammer.count_records: 608736
vfs.hammer.count_reclaiming: 1
vfs.hammer.count_iqueued: 4934
vfs.hammer.count_inodes: 33721
vfs.hammer.limit_iqueued: 26846
vfs.hammer.limit_recs: 320000
vfs.hammer.limit_irecs: 102400
vfs.hammer.limit_dirtybufs: 1610

panic: hammer_mount: malloc limit exceeded
. ..

-- 
Francois Tigeot





More information about the Bugs mailing list