Unix Technical Forum

postmaster memory keep going up????

This is a discussion on postmaster memory keep going up???? within the Pgsql Performance forums, part of the PostgreSQL category; --> >I have a pl/pgsql function that using temp table to perform searching logic, >we have one server running on ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 01:18 PM
Chun Yit
 
Posts: n/a
Default postmaster memory keep going up????

>I have a pl/pgsql function that using temp table to perform searching logic,
>we have one server running on 512MB, Red Hat 9.0, postgresql-7.4.5.
>the problem is the pl/pgsql function that i created will increase postmaster memory when calling to function
>become more frequent, i did a test by getting out all the logic inside the function and what left only
>create temporary table and drop the temporary table statement (at the end if this function), i monitor the %mem for postmaster
>using linux command, ps -eo pid,comm,user,%mem | grep postmaster.
>when i start the postmaster, the %mem show only 2.0 something, but after i run the function for more that 1000 time, then
>the %mem will go up until 10.0 something.
>my question is,it is postmaster have memory leaking problem?
>hope someone can give me some help and best is how to identify the problem it is come from postgresql?
>
>thanks
>regards
>ivan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 01:18 PM
Richard Huxton
 
Posts: n/a
Default Re: postmaster memory keep going up????

Chun Yit(Chronos) wrote:
>>I have a pl/pgsql function that using temp table to perform searching logic,


>>my question is,it is postmaster have memory leaking problem?


First step - upgrade to the latest 7.4.x release.

Second step - read the "release notes" section of the manuals for 7.4.x
and 8.0.x and see what it says about memory and plpgsql.

--
Richard Huxton
Archonet Ltd

---------------------------(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
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 09:05 AM.


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