Re: update_process_title=off and logger, wal, ... processes

Lists: pgsql-hackers
From: Rod Taylor <rod(dot)taylor(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: update_process_title=off and logger, wal, ... processes
Date: 2009-12-30 03:14:39
Message-ID: 751261b20912291914x4139ade0nc2e6084b91e1f619@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

With the update_process_title parameter set to off some PostgreSQL
processes still change their ps title to a different name than the
default. I appreciate this setting came about for performance reasons
which the logger, wal writer, autovacuum, and stats collector would
not have but I actually require the default and patched
init_ps_display() to skip changing the name.

It just surprised me that the titles still changed a single time.

I (stupidly?) installed PostgreSQL into a hostile environment which
didn't like this and decided to kill the processes as a result.
Unfortunately, I cannot change the environment.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rod Taylor <rod(dot)taylor(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: update_process_title=off and logger, wal, ... processes
Date: 2009-12-30 04:34:25
Message-ID: 8804.1262147665@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Rod Taylor <rod(dot)taylor(at)gmail(dot)com> writes:
> With the update_process_title parameter set to off some PostgreSQL
> processes still change their ps title to a different name than the
> default.

s/some/all/ ... they all do that. It's as designed. The parameter is
intended to suppress the overhead of changing the title for every
command, not to make it impossible to tell the child processes apart.

> I (stupidly?) installed PostgreSQL into a hostile environment which
> didn't like this and decided to kill the processes as a result.

That's one pretty d*mn hostile environment, all right. Consider
finding a less brain-dead platform.

regards, tom lane


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Rod Taylor <rod(dot)taylor(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: update_process_title=off and logger, wal, ... processes
Date: 2009-12-30 19:35:04
Message-ID: 20091230193504.GX17756@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

* Rod Taylor (rod(dot)taylor(at)gmail(dot)com) wrote:
> I (stupidly?) installed PostgreSQL into a hostile environment which
> didn't like this and decided to kill the processes as a result.
> Unfortunately, I cannot change the environment.

That's not hostile, that's broken.

Stephen