DragonFly bugs List (threaded) for 2008-06
DragonFly BSD
DragonFly bugs List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1031] panic: hammer_mount: malloc limit exceeded


From: Francois Tigeot <ftigeot@xxxxxxxxxxxx>
Date: Fri, 13 Jun 2008 08:49:14 +0200

On Thu, Jun 12, 2008 at 08:43:01PM -0000, Matthew Dillon wrote:
> 
> Matthew Dillon <dillon@apollo.backplane.com> added the comment:
> 
> :>     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.count_records: 601674
> :vfs.hammer.limit_recs: 320000
> :vfs.hammer.limit_irecs: 102400
> 
>      Yow. 600,000+ records cached in memory.  Reducing the irecs limit
>      should fix the problem.  Try changing it to 20000.

Done. Panic still occurs, albeit after a longer time (about 30 minutes).
This time --- marks a 2 second pause.

vfs.hammer.contention_count: 2066
vfs.hammer.zone_limit: 0
vfs.hammer.count_io_running_write: 0
vfs.hammer.count_io_locked: 1
vfs.hammer.count_io_running_read: 1
vfs.hammer.count_reservations: 384
vfs.hammer.count_refedbufs: 9
vfs.hammer.count_dirtybufs: 90
vfs.hammer.count_nodes: 10
vfs.hammer.count_buffers: 195
vfs.hammer.count_volumes: 1
vfs.hammer.count_record_datas: 29
vfs.hammer.count_records: 195614
vfs.hammer.count_reclaiming: 0
vfs.hammer.count_iqueued: 18
vfs.hammer.count_inodes: 39332
vfs.hammer.limit_iqueued: 26846
vfs.hammer.limit_recs: 320000
vfs.hammer.limit_irecs: 20000
vfs.hammer.limit_dirtybufs: 1610
---
vfs.hammer.contention_count: 2066
vfs.hammer.zone_limit: 0
vfs.hammer.count_io_running_write: 0
vfs.hammer.count_io_locked: 1
vfs.hammer.count_io_running_read: 1
vfs.hammer.count_reservations: 397
vfs.hammer.count_refedbufs: 9
vfs.hammer.count_dirtybufs: 90
vfs.hammer.count_nodes: 10
vfs.hammer.count_buffers: 195
vfs.hammer.count_volumes: 1
vfs.hammer.count_record_datas: 29
vfs.hammer.count_records: 202090
vfs.hammer.count_reclaiming: 0
vfs.hammer.count_iqueued: 18
vfs.hammer.count_inodes: 39332
vfs.hammer.limit_iqueued: 26846
vfs.hammer.limit_recs: 320000
vfs.hammer.limit_irecs: 20000
vfs.hammer.limit_dirtybufs: 1610
---
vfs.hammer.contention_count: 2066
vfs.hammer.zone_limit: 0
vfs.hammer.count_io_running_write: 0
vfs.hammer.count_io_locked: 1
vfs.hammer.count_io_running_read: 1
vfs.hammer.count_reservations: 418
vfs.hammer.count_refedbufs: 10
vfs.hammer.count_dirtybufs: 90
vfs.hammer.count_nodes: 11
vfs.hammer.count_buffers: 196
vfs.hammer.count_volumes: 1
vfs.hammer.count_record_datas: 31
vfs.hammer.count_records: 213006
vfs.hammer.count_reclaiming: 0
vfs.hammer.count_iqueued: 18
vfs.hammer.count_inodes: 39333
vfs.hammer.limit_iqueued: 26846
vfs.hammer.limit_recs: 320000
vfs.hammer.limit_irecs: 20000
vfs.hammer.limit_dirtybufs: 1610
---
panic: hammer_mount: malloc limit exceeded
. ..

-- 
Francois Tigeot



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]