dbTalk Databases Forums  

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

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


Discuss [BUGS] BUG #2676: postmaster using 100% cpu from odbc disconnect in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luke McFarlane
 
Posts: n/a

Default [BUGS] BUG #2676: postmaster using 100% cpu from odbc disconnect - 10-04-2006 , 11:18 PM







The following bug has been logged online:

Bug reference: 2676
Logged by: Luke McFarlane
Email address: luke (AT) fisheye (DOT) 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 (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

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

Default Re: [BUGS] BUG #2676: postmaster using 100% cpu from odbc disconnect - 10-05-2006 , 12:04 AM






"Luke McFarlane" <luke (AT) fisheye (DOT) com.au> writes:
Quote:
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


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.