kern/64971: A squid process larger than 3G
Wei-Kai Wu
wkwu at csie.nctu.edu.tw
Tue Mar 30 22:50:20 PST 2004
>Number: 64971
>Category: kern
>Synopsis: A squid process larger than 3G
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 30 22:50:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Wei-Kai Wu
>Release: FreeBSD 5.2.1-RELEASE-p4 i386
>Organization:
Kavalan
>Environment:
FreeBSD altair 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #1: Wed Mar 31 06:13:12 CST 2004 root at altair:/usr/obj/usr/src/sys/ALTAIR i386
Mainboard: P4P800/SE with P4-2.8CG and 4G RAM
>Description:
When running squid allocated more than 3G memory, the squid will crash.
I have tuned the kernel with MAXDSIZ=(3072UL*1024*1024) and KVA_PAGES=192.
If I enlarged the MAXDSIZ > 3072, the system cannot boot with error message:
(after loading kernel, running init)
init in malloc(): error: recursive call
init in malloc(): error: recursive call
...
>How-To-Repeat:
set the kernel with:
options MAXDSIZ=(3200UL*1024*1024)
options KVA_PAGES=192
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list