Re: Memory consumption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gabriel,

I'm not aware of a bug where GnuGk doesn't delete an object and would
keep the memory occupied forever. What happens to deleted objects
depends is implementation dependent how the C++ implementation handles
freed memory.

Most memory allocators will will just return the memory to the free
memory pool used by the same process and won't return it to the
operating system. So you usually won't see memory usage shrink from an
operating point of view. This is perfectly Ok in most cases - if GnuGk
consumes memory to handle n concurrent calls, it frees the memory after
those calls terminate and will be able to handle another n concurrent
calls later on. Just don't expect another OS process to be able to use
that memory at non-peak time.

Thanks for pointing out the changed SourceForge links.

Regards,
Jan

Gabriel Georgescu wrote:
> Thank you Jan! So I understand that your gnugk gives back the memory 
> ocupied sometimes?
> 
> Apart from this, please note that the links to archived lists on 
> www.gnugk.org are wrong.
> They should look like 
> https://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
> instead of 
> https://sourceforge.net/mailarchive/forum.php?forum_id=8549   (at 
> least in the manual pages http://www.gnugk.org/gnugk-manual-1.html).
> 
> Best regards,
> Gabriel
> 
> 
> 
> At 11:38 AM 5/28/2007, Jan Willamowius wrote:
> >Hi Gabriel,
> >
> >it's not known problem to me and I don't see it in the installations
> >that I support directly. Of course that doesn't mean there is no bug,
> >it just means I don't see it it and there aren't a lot of users
> >complaining. ;-)
> >
> >Regards,
> >Jan
> >
> >
> >Gabriel Georgescu wrote:
> > > Hi,
> > >
> > > I wrote to you before about the strange memory consumption of gnugk
> > > and nobody answered.
> > > I would like to know at least if anybody else observed the same behaviour.
> > >
> > > I found that gnugk ocupies more an more memory (and never gives it
> > > back!) and finally crashes with core dumped.
> > > I tried 2.2.7 version (latest cvs) and it has same behaviour.
> > >
> > > Also if another process consumes the CPU in the same time, gnugk will
> > > crash faster.
> > > With no other process consuming CPU my gnugk crashed when it was at
> > > about 60% Memory ocupation.
> > > With other CPU consuming process it crashes even under 10% of memory.
> > > The maximum simultaneous calls was 500.
> > >
> > > I am not sure if this is due to gnugk or pwlib, but in gnugk logs
> > > there are no errors when it crash even at level 5. Everything looks normal.
> > >
> > > I am running:
> > > Gatekeeper(GNU) Version(2.2.7)
> > > 
> > Ext(pthreads=1,radius=0,mysql=0,pgsql=1,firebird=0,large_fdset=16384,crypto/ssl=1) 
> >
> > > Build(Apr 24 2007, 09:55:38) Sys(FreeBSD i386 6.2-STABLE)
> > > GkStatus: Version(2.0) Ext()
> > > Toolkit: Version(1.0) Ext(basic)
> > > Startup: Mon, 28 May 2007 08:37:10 +0300   Running: 0 days 02:30:34
> > > with:
> > > PWLIB_VERSION='1.10.0'
> > > OPENH323_VERSION='1.18.0'
> > >
> > > I know that a debug make would give more answers but maybe somebody
> > > else already know how to fix this. So please let me know at least if
> > > this is a known problem.
> > >
> > > Best regards,
> > > Gabriel
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________________
> > >
> > > Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> > > Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> > > Homepage: http://www.gnugk.org/
> > >
> >
> >
> >--
> >Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/
> >
> >-------------------------------------------------------------------------
> >This SF.net email is sponsored by DB2 Express
> >Download DB2 Express C - the FREE version of DB2 express and take
> >control of your XML. No limits. Just data. Click to get it now.
> >http://sourceforge.net/powerbar/db2/
> >_______________________________________________________
> >
> >Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> >Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> >Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> >Homepage: http://www.gnugk.org/
> 
> 


-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux