dbTalk Databases Forums  

[BUGS] BUG #2257: Can' stop server while autovacuum is running

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2257: Can' stop server while autovacuum is running in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Evgeny Gridasov
 
Posts: n/a

Default [BUGS] BUG #2257: Can' stop server while autovacuum is running - 02-13-2006 , 07:15 PM







The following bug has been logged online:

Bug reference: 2257
Logged by: Evgeny Gridasov
Email address: eugrid (AT) fpm (DOT) kubsu.ru
PostgreSQL version: 8.1.2 CVS
Operating system: Linux Debian
Description: Can' stop server while autovacuum is running
Details:

I needed to shutdown my server urgently, but I was unable to stop server by
pg_ctl -m fast.
Examining process list I found out that an autovacuum process is still
active.

autovacuum process (when active) did not respond to kill (TERM). Only kill
-9 helped to stop autovacuum process.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #2257: Can' stop server while autovacuum is running - 02-14-2006 , 11:23 AM






"Evgeny Gridasov" <eugrid (AT) fpm (DOT) kubsu.ru> writes:
Quote:
autovacuum process (when active) did not respond to kill (TERM). Only kill
-9 helped to stop autovacuum process.
autovacuum does respond to shutdown requests, but in poking at this I
found that btree index vacuuming may fail to notice a pending interrupt
for long periods, if you've got large indexes. I've committed a fix
for that.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match


Reply With Quote
  #3  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] BUG #2257: Can' stop server while autovacuum is running - 02-24-2006 , 06:30 AM



Tom Lane wrote:
Quote:
"Evgeny Gridasov" <eugrid (AT) fpm (DOT) kubsu.ru> writes:
autovacuum process (when active) did not respond to kill (TERM). Only kill
-9 helped to stop autovacuum process.

autovacuum does respond to shutdown requests, but in poking at this I
found that btree index vacuuming may fail to notice a pending interrupt
for long periods, if you've got large indexes. I've committed a fix
for that.
Good catch. I have heard index creation doesn't cancel easily, but
never investigated.

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.