Re: [HACKERS] posmaster failed under high load

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] posmaster failed under high load
Дата
Msg-id 199905060636.CAA15866@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] posmaster failed under high load  (Taral <taral@taral.net>)
Ответы Re: [HACKERS] posmaster failed under high load  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On Thu, 6 May 1999, Oleg Bartunov wrote:
> 
> > How to explain that process with PID 701 which shown in ps output
> > as (postmaster) after some time becomes looks as usual postgres
> 
> Because 'postmaster' is written in the kernel task_struct, whereas the
> task's argv[] says 'postgres'.
> 
> The only way to get around this is to do an execv(), at which point the
> kernel will recopy argv[0].

We used to do execv(), but stopped doing it for performance reasons.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] numeric data type on 6.5
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] can't compile