Unix Technical Forum

BUG #2676: postmaster using 100% cpu from odbc disconnect

This is a discussion on BUG #2676: postmaster using 100% cpu from odbc disconnect within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 2676 Logged by: Luke McFarlane Email address: luke@fisheye.com.au PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 11:16 AM
Luke McFarlane
 
Posts: n/a
Default BUG #2676: postmaster using 100% cpu from odbc disconnect


The following bug has been logged online:

Bug reference: 2676
Logged by: Luke McFarlane
Email address: luke@fisheye.com.au
PostgreSQL version: 8.1.4
Operating system: Mandriva Linux 2006.0 Kernel 2.6.15.7 SMP
Description: postmaster using 100% cpu from odbc disconnect
Details:

Hi

User connects to database via Visual Basic & ODBC. During his session VB
crashed. The query that was executed was selecting all records from a simple
view (approx 20,000 records). The query has been running for 68 minutes,
postmaster on 100%. If I run the query manually it takes literally
milliseconds to complete.

When I did a netstat -nt I did not see any active connection from the
offending remote user.

Any input would be appreciated.

Thanks

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 11:16 AM
Tom Lane
 
Posts: n/a
Default Re: BUG #2676: postmaster using 100% cpu from odbc disconnect

"Luke McFarlane" <luke@fisheye.com.au> writes:
> User connects to database via Visual Basic & ODBC. During his session VB
> crashed. The query that was executed was selecting all records from a simple
> view (approx 20,000 records). The query has been running for 68 minutes,
> postmaster on 100%.


Tried to reproduce this by killing psql mid-query ... no luck.

Do you want to gdb that backend process and see what it's doing?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com