Bugs item #1947888, was opened at 2008-04-21 18:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1947888&group_id=139143
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: ver 1.2.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Igor (siaigor) Assigned to: Nobody/Anonymous (nobody) Summary: Error in lcr in function next_gw Initial Comment: If the first gateway, got from main route, do not answer at all (we can see retransmissions), calling function next_gw for searching a next gateway in failure route cause error: openser: ERROR: append_branch: max nr of branches exceeded sip openser: next_gw(): ERROR: do_action failed with return value <-1> And it is impossible to get next gateway, although it is. ------------------------------------ (config failure_route[1]) if(!next_gw()){ t_reply("503", "Service not available, no more gateways "); exit; }; But, if openser is restarted, the problem go away and the function next_gw works properly for 20-30 minuties (on production platform), and after that period the problem appears again. Memory leak problem? ---- Linux sip141 2.6.18-gentoo-r3 #1104 SMP Tue Nov 20 19:16:52 MSK 2007 i686 Intel(R) Pentium(R) D CPU 3.40GHz GenuineIntel GNU/Linux version: openser 1.2.1-notls (i386/linux) flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. svnrevision: unknown @(#) $Id: main.c 1827 2007-03-12 15:22:53Z bogdan_iancu $ main.c compiled on 14:59:25 Mar 18 2008 with gcc 4.1.1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1947888&group_id=139143 _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel