misc/165521: livelock on 1 Gig of RAM with zfs when 310.locate is run

Eugene M. Zheganin eugene at zhegan.in
Tue Feb 28 04:50:09 UTC 2012


>Number:         165521
>Category:       misc
>Synopsis:       livelock on 1 Gig of RAM with zfs when 310.locate is run
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 28 04:50:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eugene M. Zheganin
>Release:        8.2-RELEASE
>Organization:
RealService LLC
>Environment:
FreeBSD moscow-omega 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Wed Jan 25 11:30:58 YEKT 2012     emz at moscow-omega:/usr/obj/usr/src/sys/MOSCOW  amd64
>Description:
Every saturday this server hangs around 4:15 in the morning. 4:15 in the morning is the time when periodic weekly is run. After some investigations it looks like 310.locate is the critical script.

This is reproduceable. Simply launching this script also makes server hang.
Other servers with similar hardware configuraton and use also hang.

loader.conf:

zfs_load="YES"
vfs.root.mountfrom="zfs:zfsroot"
ng_iface_load="YES"
ng_ether_load="YES"
vm.kmem_size="330M"
vm.kmem_size_max="330M"
vfs.zfs.arc_max="30M"

Console is responsive, but the machine doesn't allow to log in and doesn't respond to network.
>How-To-Repeat:
Get a FreeBSD, use zfs for system, use 1 Gig of RAM, run 310.locate from weekly set of periodic scripts.
>Fix:
Turn of periodic runs.
Add more RAM (problem disappears on 4 Gigs of RAM with the same config set).

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list