FreeBSD malloc.c, -lmalloc, and squid.

From: Dave Andersen <>
Date: Mon, 26 Aug 1996 16:51:09 -0600 (MDT)

   As an interesting point to note:

    Recompiling squid with*out* -lmalloc and using phkmalloc (malloc from
-current) resulted in squid stabalizing, after about 13 hours of moderate
to light use (1 hit/second) at 21M used. With the standard malloc and
linking against -lmalloc, this usage was at about 35M under the same load
after the same period of time.

    If someone's developing a FAQ, the above may wish to be a part of it.
:) (Or mail me, and I'll send you a better formatted entry).

    Has anyone tried changing the configure script to _not_ link to
-lmalloc under stock 2.1.5? I'd be curious about the results. My guess
is that linking against the now-antiquated libmalloc causes squid to
waste memory like there's no tomorrow, even when not using phkmalloc.

    -Dave Andersen

--                Complete virtual hosting and business-oriented
system administration         Internet services.  (WWW, FTP, email)
  "There are only two industries that refer to their customers as 'users'."
Received on Mon Aug 26 1996 - 15:53:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:51 MST