Re: Too many Sockets!!

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

 



Hi,

Thanks for the reply. Any idea what the values of those parameters should be for 200 concurrent calls?

I see that in the presentation it mentions "CallSignalHandlerNumber=ConcurrentCalls/10" so for example if i have 200 concurrent cals the value of CallSignalHandlerNumber should be 20, how about the RtpHandlerNumber? is there a formula for that too?

Also is there a pre-compiled binary with FD_SETSIZE set to 1024?

Regards
Hamed Nik


From: "Zygmuntowicz Michal" <m.zygmuntowicz@xxxxxxx>
Reply-To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Too many Sockets!!
Date: Sun, 13 Mar 2005 11:58:19 +0100
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by mc4-f25.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 13 Mar 2005 03:03:10 -0800
Received: from projects.sourceforge.net (sc8-sf-list2-b.sourceforge.net [10.3.1.8])by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTPid EB80C89423; Sun, 13 Mar 2005 02:59:05 -0800 (PST)
Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net)by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30)id 1DAQnh-0000Ja-Gufor openh323gk-users@xxxxxxxxxxxxxxxxxxxxx; Sun, 13 Mar 2005 02:58:25 -0800
Received: from smtp2k.poczta.onet.pl ([213.180.130.34])by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41)id 1DAQng-0003XM-Kjfor openh323gk-users@xxxxxxxxxxxxxxxxxxxxx; Sun, 13 Mar 2005 02:58:25 -0800
Received: from spidercom.pl ([213.17.199.138]:7172 "EHLO quarcom")by kps2.test.onet.pl with ESMTP id <S141377AbVCMK6E>;Sun, 13 Mar 2005 11:58:04 +0100
X-Message-Info: o8IIVuzO8A2fkk3bXK7p/HaxAqZZJgKDhvhgyHDLVRk=
References: <BAY101-F23B11182B608DB38B70C86DD540@xxxxxxx>
Organization: Quarcom
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-Spam-Score: 0.1 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See http://spamassassin.org/tag/ for more details.Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=2000010.1 AWL AWL: From: address is in the auto white-list
Errors-To: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
X-BeenThere: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/openh323gk-users>,<mailto:openh323gk-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
List-Id: <openh323gk-users.lists.sourceforge.net>
List-Post: <mailto:openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
List-Help: <mailto:openh323gk-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openh323gk-users>,<mailto:openh323gk-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=openh323gk-users>
Return-Path: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
X-OriginalArrivalTime: 13 Mar 2005 11:03:10.0539 (UTC) FILETIME=[3E7929B0:01C527BC]


Windows has limit of 64 sockets per thread.
Increase CallSignalHandlerNumber and/or RtpHandlerNumber
to handle more calls.
You can visit www.gnugk.org and take a look
at the latest OSTS presentation for more details.

----- Original Message ----- From: "hamed akhavan" <hakhavan@xxxxxxxxxxx>
Sent: Saturday, March 12, 2005 5:21 PM


I am using a version 2.2.1 GK, called GK2. Its installed under windows 2k pro. 256m ram 1ghz cpu.

The setting is as following:

1) Main GK, sends LRQ to GK2
2) GK2 has Main GK set as neighbour.
3) There is only one EP set in GK2 which receives all calls! (capacity is 6T1s connected to PSTN)
4) All calls received from Main GK will be in this format: 7169#12014567894 which will be forwarded to EP/PSTNGW unchanged!
3) GK2 sends LCF back to Main GK connecitng the calls to the only EP defined in the settings..


Its works fine when the volume is low (20-30 simultanious calls) but when it goes around 40-50 we'll see the following in the GK console:

2005/03/12 16:04:24.488 0 ProxyChannel.cxx(3450) Proxy Too many sockets
in this proxy handler (FD_SETSIZE=64)
2005/03/12 16:04:24.498 0 ProxyChannel.cxx(3450) Proxy Too many sockets
in this proxy handler (FD_SETSIZE=64)
2005/03/12 16:04:24.508 0 ProxyChannel.cxx(3450) Proxy Too many sockets
in this proxy handler (FD_SETSIZE=64)
2005/03/12 16:04:24.568 0 ProxyChannel.cxx(3450) Proxy Too many sockets
in this proxy handler (FD_SETSIZE=64)


Here is my GK ini file.
[Gatekeeper::Main]
Fourtytwo=42
Name=GK2
TimeToLive=3600
StripPrefix=1

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
RemoveH245AddressOnTunneling=0
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=1
SupportNATedEndpoints=1
DropCallsByReleaseComplete=1
SendReleaseCompleteOnDRQ=1
CallSignalHandlerNumber=1
ScreenDisplayIE=16477220765
ScreenCallingPartyNumberIE=16477220765
;H245PortRange=16384-50000

[Gatekeeper::Auth]
SQLPasswordAuth=optional;RRQ
SQLAliasAuth=required;RRQ
default=allow

[SQLPasswordAuth]
Driver=MySQL
;Driver=PostgreSQL
Host=localhost
Database=gnugk
Username=gnugk
Password=XXXXXX
CacheTimeout=300
Query=SELECT h235password FROM members WHERE alias = '%1' AND active IS NOT Null
MinPoolSize=5


[SQLAliasAuth]
Driver=MySQL
;Driver=PostgreSQL
Host=localhost
Database=gnugk
Username=gnugk
Password=XXXXXX
CacheTimeout=300
Query=SELECT aliasauthcondition FROM members WHERE alias = '%1' AND active IS NOT Null
MinPoolSize=1


[SQLAcct]
Driver=MySQL
;Driver=PostgreSQL
Host=localhost
Database=gnugk
Username=gnugk
Password=XXXXXX
MinPoolSize=5
StartQuery=INSERT INTO cdrs (gkname, sessid, callno, username, calling, called, setuptime,connecttime,disconnecttime,duration, callerip,calleeip,disconnectcause,srcinfo,destinfo,DialedNumber) VALUES ('%g', '%s', %n, '%u', '%{Calling-Station-Id}', '%{Called-Station-Id}', '%{setup-time}', '%{connect-time}', '%{disconnect-time}', %d, '%{caller-ip}', '%{callee-ip}', %c, '%{src-info}', '%{dest-info}', '%{Dialed-Number}')
StartQueryAlt=UPDATE cdrs SET username = '%u', calling = '%{Calling-Station-Id}', called = '%{Called-Station-Id}', duration = %d, disconnectcause = %c, setuptime='%{setup-time}', connecttime='%{connect-time}', disconnecttime='%{stop-time}' WHERE gkname = '%g' AND sessid = '%s'
UpdateQuery=UPDATE cdrs SET duration = %d WHERE gkname = '%g' AND sessid = '%s'
StopQuery=UPDATE cdrs SET username = '%u', calling = '%{Calling-Station-Id}', called = '%{Called-Station-Id}', duration = %d, disconnectcause = %c, setuptime='%{setup-time}', connecttime='%{connect-time}', disconnecttime='%{disconnect-time}' WHERE gkname = '%g' AND sessid = '%s'
StopQueryAlt=INSERT INTO cdrs (gkname, sessid, callno, username, calling, called, setuptime,connecttime,disconnecttime,duration, callerip,calleeip,disconnectcause,srcinfo,destinfo,DialedNumber) VALUES ('%g', '%s', %n, '%u', '%{Calling-Station-Id}', '%{Called-Station-Id}', '%{setup-time}', '%{connect-time}', '%{disconnect-time}', %d, '%{caller-ip}', '%{callee-ip}', %c, '%{src-info}', '%{dest-info}', '%{Dialed-Number}')
TimestampFormat=MySQL


[CallTable]
GenerateNBCDR=TRUE
GenerateUCCDR=TRUE
DefaultCallTimeout=7200

[GkStatus::Auth]
rule=allow

; EOF  -- by cwhuang
[RasSrv::PermanentEndpoints]
192.168.0.200=PSTNGW;7469
[RasSrv::RRQFeatures]
AcceptEndpointIdentifier=0
AcceptGatewayPrefixes=0
[RasSrv::ARQFeatures]
ArjReasonRouteCallToSCN=0
ArjReasonRouteCallToGatekeeper=0
CallUnregisteredEndpoints=1
[RasSrv::Neighbors]
NixGKLon002=62.115.255.200:1719;;
[RasSrv::LRQFeatures]
CiscoGKCompatible=1
ForceCanMapAlias=0
PSTNGW=GnuGk

[RasSrv::GWPrefixes]
PSTNGW=7169
[Gatekeeper::Acct]
SQLAcct=required;start,stop
default=allow

[EP::PSTNGW]
Capacity=138
GatewayPriority=1
GatewayPrefixes=7169


Please let me know what is going on that causes this problem!

Regards
Hamed



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux