On Tue, Feb 01, 2005 at 10:32:15PM -0800, William Yu wrote:
> Tom Lane wrote:
> >William Yu <wyu@talisys.com> writes:
> >
> >>Doing a ps -ef | grep postgres, I will see something like:
> >
> >
> >>root 17034 1 0 21:41 ? 00:00:00 gdb -q -x /dev/stdin
> >>postgres 9131
> >>postgres 9131 2712 0 20:31 ? 00:00:00 postgres: postgres
> >>netdata [local] VACUUM
> >
> >
> >So where did the gdb come from?
>
> To be honest, I do not know. I see the parent process is 1 so something
> in the FCx kernel is triggering it. I just don't know where the logs for
> something like this would be.
Parent process 1 just means that it's either spawned by init or it's
real parent process has died. I wouldn't put any stock in it. Try using
"ps aux" to get the process state. Chances are it's in T (trace) state.
You can try to kill -CONT it. Maybe strace it.
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.