Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 21:50:01 -0500
From:      "Jerry Bell" <jerry@bellnetworks.net>
To:        <questions@freebsd.org>
Subject:   'proc size mismatch' problem with 4.0
Message-ID:  <001b01bf953b$a6ae67c0$06effdce@netrex.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0018_01BF9511.BD82C5B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have a recent build of FreeBSD 4.0 stable (supped 3/23/2000) and I'm =
having the following problems:

dogbert# uname -a
FreeBSD dogbert.bellnetworks.net 4.0-STABLE FreeBSD 4.0-STABLE #0: Fri =
Mar 24 12:44:30 GMT 2000     =
jerry@dogbert.bellnetworks.net:/usr/src/sys/compile/GENERIC  i386
dogbert# ps -x
ps: proc size mismatch (24012 total, 1056 chunks)
dogbert# w
 2:41PM  up 49 mins, 1 user, load averages: 0.05, 0.02, 0.00
USER             TTY      FROM              LOGIN@  IDLE WHAT
w: proc size mismatch (31320 total, 1056 chunks): Undefined error: 0
dogbert#=20
dogbert# top
kvm_open: proc size mismatch (31320 total, 1056 chunks)
top: Out of memory.
dogbert#=20


This problem started after I cvsup'd the source and did a make world.  I =
also recompiled the kernel using that source tree.  I ran a 'truss ps' =
and 'truss w' and saw that there was a call to /etc/malloc.conf that was =
failing.  Per the malloc(3) man page, I did a 'ln -s 'A>>' =
/etc/malloc.conf'.

Any ideas?  What other info would be helpful?

Jerry



------=_NextPart_000_0018_01BF9511.BD82C5B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a recent build of FreeBSD 4.0 =
stable (supped=20
3/23/2000) and I'm having the following problems:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>dogbert# uname -a<BR>FreeBSD=20
dogbert.bellnetworks.net 4.0-STABLE FreeBSD 4.0-STABLE #0: Fri Mar 24 =
12:44:30=20
GMT 2000&nbsp;&nbsp;&nbsp;&nbsp; <A=20
href=3D"mailto:jerry@dogbert.bellnetworks.net:/usr/src/sys/compile/GENERI=
C">jerry@dogbert.bellnetworks.net:/usr/src/sys/compile/GENERIC</A>&nbsp; =

i386<BR>dogbert# ps -x<BR>ps: proc size mismatch (24012 total, 1056=20
chunks)<BR>dogbert# w<BR>&nbsp;2:41PM&nbsp; up 49 mins, 1 user, load =
averages:=20
0.05, 0.02,=20
0.00<BR>USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
TTY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
LOGIN@&nbsp; IDLE WHAT<BR>w: proc size mismatch (31320 total, 1056 =
chunks):=20
Undefined error: 0<BR>dogbert# </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>dogbert# top<BR>kvm_open: proc size =
mismatch (31320=20
total, 1056 chunks)<BR>top: Out of memory.<BR>dogbert# </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This problem started after I cvsup'd =
the source and=20
did a make world.&nbsp; I also recompiled the kernel using that source=20
tree.&nbsp; I ran a 'truss ps' and 'truss w' and saw that there was a =
call to=20
/etc/malloc.conf that was failing.&nbsp; Per the malloc(3) man page, I =
did a 'ln=20
-s 'A&gt;&gt;' /etc/malloc.conf'.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas?&nbsp; What other info would =
be=20
helpful?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jerry</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0018_01BF9511.BD82C5B0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01bf953b$a6ae67c0$06effdce>