Re: [HACKERS] posmaster failed under high load

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] posmaster failed under high load
Date: 1999-05-04 15:02:44
Message-ID: 199905041502.AAA02855@ext16.sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > I don't think so unless you increased the shared buffer size using -B
> > option. Stock 6.4.2 is very buggy with the shared memory
> > usage. Probably it's the cause. Try Tom Lane's fix or 6.5b. I have
> > tested 6.5b with 128 backends running and it seems very stable.
>
> Yes, I used 6.4.2 + LIMIT patch, I'll try 6.5 from cvs

You need Tom Lane's share mem fix patch if you use 6.4.2. 6.5 has the
fix.

> I run postmaster with -B 1024 option - is this too much ?

No. -B 1024 means 8MB shared mem that should be ok on x86/Linux (I
think most x86 based Linux allow 32MB shared mem).

> Thanks a lot, I got several times a problem with file descriptors,
> it looks like every backend opens abot 90 files. I'll try your
> hints.

But be carefull lower # of file descriptors per backend might cause
lower performance because of the file opening overhead. So you should
increase the file table entries in the system first.

>Why not add your experience how to work with postgres under high
> load to Linux specific FAQ ?

I'm not good at English, that is the reason:-)

BTW, FreeBSD box has more serious problems than Linux since the
default kernel has lower limit of file descriptors (~700). This should
be noted somewhere in the docs too.
---
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-05-04 15:07:31 Nasty resource-leak problem in sort code
Previous Message Todd Graham Lewis 1999-05-04 14:53:39 Re: [HACKERS] XIDTAG ???