You must have something wrong with your system. Check your memory/cpu usage, maybe you AAA backend is a bottleneck. ----- Original Message ----- From: "Dani Popa" <dani.popa@xxxxxxxxx> Sent: Monday, October 29, 2007 9:47 AM > Could not open/connect Q.931 socket at X.X.X.X:0 - error 7/24: Cannot > allocate memory > RTP RTP socket X.X.X.X:53522 not available - error 7/24: Cannot > allocate memory > > I think i recive "Cannot allocate memory" because the gnugk,pwlib cannot > allocate a new socket (RTP or for signalling) . That happening because of > limitation from config file: > H245PortRange,Q931PortRange,T120PortRange,RTPPortRange. > > In the same time i belive it's a problem with TcpKeepAlive. It have a > wrong > implementation or > net.ipv4.tcp_keepalive_time=20 > net.ipv4.tcp_keepalive_probes=3 > net.ipv4.tcp_keepalive_intvl=5 > are to high( but 28 second i belive it's ok). > > with 75 calls we have 3432 ESTABLISHED tcp socket, that mean average 43 > socket per call( it should have 4 socket, too much) and 48 UDP socket > average per call for rtp(it should have 6 socket) > > > h323gk ~ # lsof -n -P | grep gnugk | grep ESTABLISHED | grep 1720 | > wc -l > 3432 > > h323gk gnugk # lsof -n -P | grep gnugk | grep UDP | wc -l > 3608 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________________ 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/