Project

General

Profile

Actions

Bug #2793

closed

objcache exhausted - hard lock

Added by gpr almost 10 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Other
Target version:
-
Start date:
02/24/2015
Due date:
% Done:

0%

Estimated time:

Description

I have relatively fresh dragonflybsd system:
DragonFly v4.1.0.632.g2d4b0-DEVELOPMENT (GPR_DF) #0: Mon Feb 2 14:28:49 MSK 2015

It is run inside some virtualization software (I suppose it is qemu, but I'm not sure)
It has 512MB RAM, 160GB hammer partition, vtnet network interface.

Under memory pressure (buildworld after gcc5 import, or building something like
ports/devel/boost-libs) it hangs, printing the following message on console:
"Warning, objcache(mbuf pkt hdr + cluster): Exhausted!"
And after that system is hard locked. Console doesn't react, network is unaccessible.

If I turn off network (ifconfig vtnet0 down), system hangs the same way, but
without that "objcache exhausted" message, so I don't think it is network issue.

I suppose some kernel memory pool is exhausted (the same pool from which "mbuf
pkt hdr + cluster" takes memory).

"netstat -n" just before hang:
Wed Feb 11 15:34:55 MSK 2015
2/18048 mbufs in use (current/max):
256/1440 mbuf clusters in use (current/max)
0/720 mbuf jumbo clusters in use (current/max)
258 mbufs and mbuf clusters allocated to data
513 Kbytes allocated to network (4% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


Files

dmesg.boot (5.39 KB) dmesg.boot gpr, 02/24/2015 08:51 AM
ps-axl.txt (7.64 KB) ps-axl.txt gpr, 02/24/2015 08:56 AM
top.txt (2.2 KB) top.txt gpr, 02/24/2015 08:57 AM
buildworld_workaround.patch (556 Bytes) buildworld_workaround.patch gpr, 08/04/2015 06:37 AM
Actions

Also available in: Atom PDF