Re: Controlling Threads

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

 



Thanks for the return, Michal...

The question is based on a strange behavior: when I have really low traffic
( <= 1 cps) GK runs fine, but if it increases to something like 2 cps the
number of threads increase until freezing the machine, consuming all
available CPU power. I could count more than 95 threads for a load of no
more than 2~3 cps and 9/10 running calls... The machine (P4-2.0GHz/256MB
RAM+SUSE 9.1) is on its default config, so I thing that with this load the
available sockets/resources aren't exhausted, but why threads increases? I
use SQLAcct but in trace 3, all accountings updates are done quickly...

Aggregating RAM memory, from 256MB to 1GB, the freezing problem was lowered,
machine slow down, but did not freeze... but the threads are still there...

Any ideas?

Edson.

> -----Original Message-----
> From: openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-
> users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Zygmuntowicz Michal
> Sent: segunda-feira, 31 de julho de 2006 13:02
> To: GNU Gatekeeper Users
> Subject: Re:  Controlling Threads
> 
> You cannot control number of threads. There is a growing pool
> of threads and they have various tasks assigned. Just when a new
> request is to be processed (like a new call is being established),
> an idle thread is selected from the pool and returned back, when the job
> is finished.
> 
> ----- Original Message -----
> From: "Edson" <4lists@xxxxxxxxx>
> Sent: Wednesday, July 26, 2006 7:35 PM
> 
> 
> > I'm using version 2.2.3-2 and if I define TRACE on 5, I see:
> >  "job.cxx(404)   JOB     Worker threads: 14 total - 8 busy, 6 idle"
> >
> > On "changes.txt" I see for version 2.0.3:
> >  - change 'ifdef PTRACING' to 'if PTRACING' since it is always defined
> >
> > But how to control/define the min and max number of threads?
> > And how to find why is determinated thread busy? What are they 'waiting
> > for'? Is there some TRACE level where this is showed?
> >
> > Edson.
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________________
> 
> 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/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________________

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/

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

  Powered by Linux