Too many Sockets!!

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

 



Hi,

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/

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

  Powered by Linux