Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 14:44:41 +0800 (CST)
From:      Wei-Kai Wu <wkwu@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/64971: A squid process larger than 3G
Message-ID:  <200403310644.i2V6ifxE097158@mailgate.csie.nctu.edu.tw>
Resent-Message-ID: <200403310650.i2V6oK3i032585@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403310644.i2V6ifxE097158>