Re: [HACKERS] posmaster failed under high load - Mailing list pgsql-hackers

From Taral
Subject Re: [HACKERS] posmaster failed under high load
Date
Msg-id Pine.LNX.4.10.9905060104250.2906-100000@dragon.taral.net
Whole thread Raw
In response to Re: [HACKERS] posmaster failed under high load  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: [HACKERS] posmaster failed under high load  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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].

Taral



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: [HACKERS] posmaster failed under high load
Next
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] numeric data type on 6.5