From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Sam Jas <samjas33(at)yahoo(dot)com> |
Cc: | general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: DB Restart |
Date: | 2009-11-12 14:58:54 |
Message-ID: | 4AFC22AE.7030506@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Sam Jas wrote:
> We are running on 64 - bit.
> Whenever the reserved memory in top command it crosses 3.9g it hangs.
> If we try to kill process (using pg_cancel_backend()) it won't kill. At last either
> we have to kill all process at OS level or we have to reboot the server. After rebooting
> server everything worked perfectly fine. BTW we are using postgreSQL 8.3.2.
>
> PID USER PR
> NI VIRT RES
> SHR S %CPU %MEM TIME+ COMMAND
>
> 4822 postgres 15 0
> 4045m 3.8g 3.8g S 0.7 12.1
> 2:09.63 postgres: writer process
Well, this process won't respond to pg_cancel_backend() because it's not
a normal backend. It's the background-writer process. Do you see the
same problem with ordinary backend processes, or is it always the writer?
Also - are you familiar with "strace"?
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-11-12 15:00:29 | Re: knowing which table/schema is going to be chosen |
Previous Message | Craig Ringer | 2009-11-12 14:51:52 | Re: re-using RETURNING |