Hi, we fixed a number of things since the 2.3.5 release. Have you tried the latest CVS ? If the problem still exists, please create a backtrace from your crash and mail it to me. (See chapter 14.3 of the manual.) That way we can see where the crash happened. http://www.gnugk.org/gnugk-manual-14.html#ss14.3 Regards, Jan -- Jan Willamowius, Founder of the GNU Gatekeeper Project EMail : jan@xxxxxxxxxxxxxx Website: http://www.gnugk.org Support: http://www.willamowius.com/gnugk-support.html Miroslav Mandlík wrote: > Hi, > I have problem with unstability gnugk 2.3.5. Gnugk crashes about every three hours. > > Linux: CentOS release 6.1 (Final) > This is fault in /var/log/messages > Dec 19 10:23:58 CPS-ZAK3-GK kernel: gnugk[21002]: segfault at 0 ip 00d92f0c sp b6bfe070 error 4 in libstdc++.so.6.0.13[ce6000+df000] > > version of GNUGK: > Gatekeeper(GNU) Version(2.3.5) Ext(pthreads=1,radius=1,mysql=0,pgsql=1,firebird=0,odbc=0,sqlite=0,large_fdset=4096,crypto/ssl=1,h46018=0,h46023=1,ldap=0,ssh=0) H323Plus(1.23.0) PTLib(2.10.1) Build(Dec 16 2011, 19:14:07) Sys(Linux i686 2.6.32-71.29.1.el6.i686) > Startup: Mon, 19 Dec 2011 10:24:01 +01:00 Running: 0 days 00:34:00 > > We are testing different settings for heavy loaded gatekeeper: > > [RoutedMode] > RtpHandlerNumber=4 > CallSignalHandlerNumber=20 > > But we can't find what setting is bad. > > Best Regards > Miroslav > > Gatekeeper Configuration: > > [Gatekeeper::Main] > Fourtytwo=42 > Name=CPS_TEST_GK > EndpointIDSuffix=_CPS_TEST_GK > ;TimeToLive=300 > Home=10.172.0.5 > ; > [GkStatus::Auth] > rule=explicit|regex > 127.0.0.1=allow > 10.172.0.5=allow > 10.172.8.11=allow > 10.172.50.234=allow > regex=^10\.172\.[018]+\.[0-9]+$ > #regex=^10\.172\.8\.[0-9]+$ > ; > [LogFile] > Rotate=monthly > RotateDay=31 > RotateTime=23:59 > ; > [RoutedMode] > GKRouted=1 > H245Routed=1 > CallSignalPort=1720 > AcceptNeighborsCalls=1 > AcceptUnregisteredCalls=0 > DropCallsByReleaseComplete=1 > SendReleaseCompleteOnDRQ=1 > > RtpHandlerNumber=4 > CallSignalHandlerNumber=20 > > ActivateFailover=1 > FailoverCauses=1-15,21-127 > DisableRetryChecks=1 > > ; > ;[Proxy] > ; > ; > [RasSrv::RewriteE164] > > ; > > ; > [RasSrv::GWPrefixes] > ; > [RasSrv::PermanentEndpoints] > ; > [RasSrv::RRQAuth] > ; > [Gatekeeper::Auth] > #AliasAuth=required;RRQ > SQLAliasAuth=required;RRQ > default=allow > ; > ; > [RoutingPolicy] > Default=sql,internal,explicit,neighbor > ; > [Routing::Sql] > Driver=PostgreSQL > Host=10.172.8.154:5432 > #Host=10.172.8.11:5432 > ;Port=5431 > Database=vnms > #Database=vnms_dev > Username=postgres > Password= > #Query=SELECT destination FROM routes WHERE called = '%c' > #Query=SELECT search_route('%c','10.172.0.5') > #Query=SELECT replace_num4_test('%c','%r','%s','10.172.0.5'),search_route3_test('%c','%r','%s','10.172.0.5') > Query = SELECT * FROM search_route_custgk('%c','%r','%s','10.172.0.5') > [RasSrv::Neighbors] > CPS-ZAK3-GK=GnuGK > GK-ZAK4-CPS=GnuGK > UPC-PHA-GK=GnuGK > GK-ZAK5-CPS=GnuGK > CPS1-TEST234-GK=GnuGK > GK-OPER-KLOK1=GnuGK > CPS2-TEST234-GK=GnuGK > CPS-PHA-GK=GnuGK > CPS-KABEL-GK=GnuGK > CPS-ZAK1-GK=GnuGK > CPS-OPERKLOKN-GK=GnuGK > CPS-KLOKN2-GK=GnuGK > CPS-ZAK2-GK=GnuGK > ; > ; > [Neighbor::CPS-ZAK3-GK] > Host=10.172.8.233 > Dynamic=0 > ; > [Neighbor::GK-ZAK4-CPS] > Host=10.172.8.234 > Dynamic=0 > ; > [Neighbor::UPC-PHA-GK] > Host=10.172.50.253 > Dynamic=0 > ; > [Neighbor::GK-ZAK5-CPS] > Host=10.172.50.209 > Dynamic=0 > ; > [Neighbor::CPS1-TEST234-GK] > Host=10.172.8.236 > Dynamic=0 > ; > [Neighbor::GK-OPER-KLOK1] > Host=10.172.50.210 > Dynamic=0 > ; > [Neighbor::CPS2-TEST234-GK] > Host=10.172.8.237 > Dynamic=0 > ; > [Neighbor::CPS-PHA-GK] > Host=10.172.8.7 > Dynamic=0 > ; > [Neighbor::CPS-KABEL-GK] > Host=10.172.8.230 > Dynamic=0 > ; > [Neighbor::CPS-ZAK1-GK] > Host=10.172.8.231 > Dynamic=0 > ; > [Neighbor::CPS-OPERKLOKN-GK] > Host=10.172.8.165 > Dynamic=0 > ; > [Neighbor::CPS-KLOKN2-GK] > Host=10.172.8.154 > Dynamic=0 > ; > [Neighbor::CPS-ZAK2-GK] > Host=10.172.8.232 > Dynamic=0 > ; > [Gatekeeper::Acct] > SQLAcct=alternative;start,update,stop > FileAcct=required;stop > ; > [FileAcct] > DetailFile=/var/log/gk/cdr.log > Rotate=monthly > RotateDay=31 > RotateTime=23:59 > ; > [SQLAcct] > Driver=PostgreSQL > Host=localhost > Database=voipdb > Username=gk > Password=gk > MinPoolSize=20 > StartQuery=INSERT INTO voipcall (id, h323id, acctsessionid, h323confid, gkip, gkid, callingstationip, callingstationid, calledstationip, calledstationid, setuptime, h323callid, dialednumber) VALUES (DEFAULT, '%u', '%s', '%{ConfId}', '%{gkip}', '%g', NULLIF('%{caller-ip}', '')::INET, '%{Calling-Station-Id}', NULLIF('%{callee-ip}', '')::INET, '%{Called-Station-Id}', NULLIF('%{setup-time}', '')::TIMESTAMP(0) WITH TIME ZONE, '%{CallId}', '%{Dialed-Number}') > UpdateQuery=UPDATE voipcall SET duration = '%d', connecttime = NULLIF('%{connect-time}','')::TIMESTAMP(0) WITH TIME ZONE WHERE acctsessionid = '%s' AND gkid = '%g' AND acctstoptime IS NULL > StopQuery=UPDATE voipcall SET acctstoptime = now(), duration = '%d', terminatecause = '%c', whodisconnect = NULLIF('%r', '')::INTEGER, setuptime = NULLIF('%{setup-time}', '')::TIMESTAMP(0) WITH TIME ZONE, connecttime = NULLIF('%{connect-time}', '')::TIMESTAMP(0) WITH TIME ZONE, disconnecttime = NULLIF('%{disconnect-time}', '')::TIMESTAMP(0) WITH TIME ZONE WHERE acctsessionid = '%s' AND gkid = '%g' AND acctstoptime IS NULL > StopQueryAlt=INSERT INTO voipcall (id, h323id, acctsessionid, h323confid, gkip, gkid, callingstationip, callingstationid, calledstationip, calledstationid, setuptime, connecttime, disconnecttime, terminatecause, whodisconnect, duration, acctstoptime) VALUES (DEFAULT,'%u', '%s', '%{ConfId}', '%{gkip}', '%g', NULLIF('%{caller-ip}', '')::INET, '%{Calling-Station-Id}', NULLIF('%{callee-ip}', '')::INET, '%{Called-Station-Id}', NULLIF('%{setup-time}','')::TIMESTAMP(0) WITH TIME ZONE, NULLIF('%{connect-time}','')::TIMESTAMP(0) WITH TIME ZONE, NULLIF('%{disconnect-time}','')::TIMESTAMP(0) WITH TIME ZONE, '%c', NULLIF('%r', '')::INTEGER, '%d', now()) > ; > [SQLAliasAuth] > Driver=PostgreSQL > Host=10.172.8.154:5432 > Database=vnms > Username=postgres > Password= > Query=SELECT 'sigip:' || reg_gateway('%1','10.172.0.5') || ':1720' > ; > [CallTable] > GenerateNBCDR=0 > GenerateUCCDR=1 > DefaultCallDurationLimit=5400 > AcctUpdateInterval=30 > ;IRRFrequency=30 > ;IRRCheck=TRUE > SingleFailoverCDR=FALSE > ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________________ 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/