Re: General Performance questions
От | scott.marlowe |
---|---|
Тема | Re: General Performance questions |
Дата | |
Msg-id | Pine.LNX.4.33.0303111327230.16980-100000@css120.ihs.com обсуждение исходный текст |
Ответ на | Re: General Performance questions ("Delao, Darryl W" <ddelao@ou.edu>) |
Список | pgsql-general |
On many boxes, something like: ps ax |grep postgres will do. On Tue, 11 Mar 2003, Delao, Darryl W wrote: > Netstat -c shows both tcp and unix...at no time did they ever show more than > 4 connections when the server reached its limit.. > > Whats a good way to check ps output? > > > Darryl > > > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: Tuesday, March 11, 2003 9:38 AM > To: Delao, Darryl W > Cc: 'pgsql-novice@postgresql.org'; 'pgsql-general@postgresql.org' > Subject: Re: [GENERAL] General Performance questions > > "Delao, Darryl W" <ddelao@ou.edu> writes: > > I have been monitoring netstat -c on my db server for a few days now. I > am > > trying to determine if when I see a postgres connection, if that is indeed > > just 1 connection or if it is a bunch of connections tied up in 1. > > One connection is one connection. > > > The > > other day I had postgres set to a limit of 128 connections, and that was > > reached. But at no time while monitoring netstat -c did I see 128 > > connections! > > Are you watching both Unix and TCP sockets? Have you compared netstat > to ps output? > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >
В списке pgsql-general по дате отправления: