Re: Solaris, Postgresql and Problems

From: Jonathan Bartlett <johnnyb(at)eskimo(dot)com>
To: Weiping He <laser(at)zhengmai(dot)com(dot)cn>
Cc: Errol Neal <errol(dot)neal(at)enhtech(dot)com>, Doug McNaught <doug(at)mcnaught(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Solaris, Postgresql and Problems
Date: 2003-07-25 15:37:37
Message-ID: Pine.GSU.4.44.0307250836441.14162-100000@eskimo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I don't remember if I mentioned this or not on this thread, but Solaris
pfiles and other similar tools sometimes send wierd signals to processes.
You might check your cron tabs to see if something like this is being run
on a regular basis.

Jon

On Fri, 25 Jul 2003, Weiping He wrote:

> Errol Neal wrote:
>
> >
> >
> >
> > Actually Doug, it is not even "dying". I used the incorrect word. It
> > is shutting down... Here is a log entry:
> >
> > LOG: fast shutdown request
> > LOG: shutting down
> > LOG: database system is shut down
> > LOG: database system was shut down at 2003-07-25 10:54:57 EDT
> > LOG: checkpoint record is at 0/909710
> > LOG: redo record is at 0/909710; undo record is at 0/0; shutdown TRUE
> > LOG: next transaction id: 7898764; next oid: 49906
> > LOG: database system is ready
> > LOG: fast shutdown request
> > LOG: shutting down
> > LOG: database system is shut down
> >
> I've ever met problem alike in solaris 8, and it turns out as Tom suggested
> that it's the ctrl-c (SIGTERM) causes the problem. If I'm not guessed worng,
> may be you are using the command 'tail -f yourlogfile' to see your log after
> the server start up, and then ctrl-c to quit the 'tail', but the signal
> would send
> to postmaster also and cause it shutdown.
>
> If so, I'll recommend the precedure below to circumvent the problem:
>
> 1, login postgresql superuser accound;
> 2, start postgresql (nohup pg_ctl start blah, blah);
> 3, exit login
> 4, re-login with postgresql superuser and 'tail -f yourlogfile' to
> monitor it.
>
> but I still searching the reason why solaris would act like that
>
> Don't know if it helps.
>
>
> regards
>
> Laser
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-07-25 15:49:15 Re: Query analyse
Previous Message Weiping He 2003-07-25 15:34:18 Re: Solaris, Postgresql and Problems