dbTalk Databases Forums  

Re: [BUGS] Memory leak

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


Discuss Re: [BUGS] Memory leak in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Memory leak - 08-24-2004 , 03:14 PM






"Spencer Quin" <squin (AT) rim (DOT) com> writes:
Quote:
I have found a memory leak in the libpq library for postrgesql 7.4.3.
The code sample in the attached file will produce the error.
The traceback says that the leak is in libresolv, not libpq. I'm not
sure it's really a leak at all --- I'd expect libresolv to do some
internal caching, and this looks like it could be data that's just being
held onto for possible reuse. But in any case you want to file this
report with somebody else.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: 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   
Spencer Quin
 
Posts: n/a

Default Re: [BUGS] Memory leak - 08-25-2004 , 08:00 PM






That's a good theory. I will definitely check it out.
I appreciate you looking into this Tom.
Spence

-----Original Message-----
From: Tom Lane [mailto:tgl (AT) sss (DOT) pgh.pa.us]=20
Sent: Tuesday, August 24, 2004 4:13 PM
To: Spencer Quin
Cc: pgsql-bugs (AT) postgresql (DOT) org; Thomas Parry; Geoffrey Stitt
Subject: Re: [BUGS] Memory leak=20

"Spencer Quin" <squin (AT) rim (DOT) com> writes:
Quote:
I have found a memory leak in the libpq library for postrgesql 7.4.3.
The code sample in the attached file will produce the error.
The traceback says that the leak is in libresolv, not libpq. I'm not
sure it's really a leak at all --- I'd expect libresolv to do some
internal caching, and this looks like it could be data that's just being
held onto for possible reuse. But in any case you want to file this
report with somebody else.

regards, tom lane


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


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

Default Re: [BUGS] Memory leak - 08-26-2004 , 10:15 AM



"Spencer Quin" <squin (AT) rim (DOT) com> writes:
Quote:
Tom, I am not sure if my original message made it onto a forum or
knowledge base but I was wondering if it would be possible for you to
take it down if it is? There may potentially be some sensitive
information in it.
The bugs list is archived, yes, not to mention propagated onto
newsgroups. You should probably have thought before posting.

You could perhaps get Marc to remove it from the archives but that's
not going to cause all the copies to go away.

regards, tom lane

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


Reply With Quote
  #4  
Old   
Spencer Quin
 
Posts: n/a

Default Re: [BUGS] Memory leak - 08-27-2004 , 06:18 PM



Tom, I am not sure if my original message made it onto a forum or
knowledge base but I was wondering if it would be possible for you to
take it down if it is? There may potentially be some sensitive
information in it.
Thanks

-----Original Message-----
From: Tom Lane [mailto:tgl (AT) sss (DOT) pgh.pa.us]=20
Sent: Tuesday, August 24, 2004 4:13 PM
To: Spencer Quin
Cc: pgsql-bugs (AT) postgresql (DOT) org; Thomas Parry; Geoffrey Stitt
Subject: Re: [BUGS] Memory leak=20

"Spencer Quin" <squin (AT) rim (DOT) com> writes:
Quote:
I have found a memory leak in the libpq library for postrgesql 7.4.3.
The code sample in the attached file will produce the error.
The traceback says that the leak is in libresolv, not libpq. I'm not
sure it's really a leak at all --- I'd expect libresolv to do some
internal caching, and this looks like it could be data that's just being
held onto for possible reuse. But in any case you want to file this
report with somebody else.

regards, tom lane


---------------------------(end of broadcast)---------------------------
TIP 3: 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
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.