Re: [GENERAL] Memory leak in FreeBSD?

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Jeff Eckermann <jeckermann(at)verio(dot)net>
Cc: "'admin'" <admin(at)wtbwts(dot)com>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Memory leak in FreeBSD?
Date: 2000-01-11 20:47:38
Message-ID: 20000111124738.N9397@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Jeff Eckermann <jeckermann(at)verio(dot)net> [000111 11:37] wrote:
>
> > -----Original Message-----
> > From: admin [SMTP:admin(at)wtbwts(dot)com]
> > Sent: Tuesday, January 11, 2000 12:50 PM
> > To: Jeff Eckermann
> > Cc: 'pgsql-general(at)postgresql(dot)org'
> > Subject: RE: [GENERAL] Memory leak in FreeBSD?
> >
> > What is maxusers set to in your kernel? One prolem I had was that
> > postgresql was using more filedescriptors that my kernel could handle. If
> > you'd like to check your current filedescriptor status and your max, try:
> > pstat -T. If that is your problem, change your maxusers to a suitable
> > number and recompile your kernel.
> >
>
> Maxusers is set to 128. RAM is 256Mg.
> Do you think this could be the problem?

Saying it's a memory leak without describing any other sort of symptoms is
not a very useful bug report. Twiddling maxusers should have _no_ effect
on whether an application leaks memory or not.

So how about you explain the symptoms of the 'leak' (kernel messages,
top, systat -vmstat) and what exactly you mean by it. Does the postmaster
gradually increase in memory size until the machine starts swapping? If
not, then it's probably _not_ a memory leak.

thanks,
-Alfred Perlstein - [bright(at)rush(dot)net|alfred(at)freebsd(dot)org]
Wintelcom systems administrator and programmer
- http://www.wintelcom.net/ [bright(at)wintelcom(dot)net]

> > > FreeBSD port: I don't know enough to know what difference that might
> > make.
> > > Any suggestion you have would be appreciated: thanks.
> > >
> > > > Did you upgrade from source or from the freebsd ports?
> > > >
> > > > > We upgraded to version 6.5.2 recently, running on FreeBSD 3.0. Now
> > we
> > > > are
> > > > > having problems with moderately complex queries failing to complete
> > > > (backend
> > > > > terminating unexpectedly; last one crashed the server). The most
> > likely
> > > > > explanation appears to be a memory leak. Is there any known problem
> > > > with
> > > > > FreeBSD?
> > >
> >
> >
> > ************
>
> ************

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sarah Officer 2000-01-11 21:41:59 constant column value in view with union
Previous Message Ed Loehr 2000-01-11 19:28:41 Re: [GENERAL] logs