[OpenSIPS-Users] branch computation failed
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Oct 17 11:16:53 CEST 2014
Hi,
Hopefully I found and fix the problem - see this fixing patch:
https://gist.github.com/bogdan-iancu/2875ae7cc99a2180463d
Apply it together with the prev one (just in case).
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.10.2014 05:44, chow wrote:
> Hi:
> that error come out again.
> I doubt there have memory leak. that server have 32G memory.
> the opensips config:
> default Start option S_MEMORY=4096 and P_MEMORY=128
> children(process) 128
> then I think opensips have 4096 + 128*128 = 20480M memory, this is
> right?
> opensips hold memory never free , top command result:
>
> Tasks: 529 total, 1 running, 528 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
> 0.0%st
> Mem: 32830608k total, 32589824k used, 240784k free, 138720k buffers
> Swap: 16482296k total, 516k used, 16481780k free, 30601400k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 11928 opensips 20 0 4368m 455m 454m S 0.3 1.4 51:17.91 opensips
> 11791 opensips 20 0 4368m 6172 5004 S 0.0 0.0 0:00.19 opensips
> 11792 opensips 20 0 4368m 1960 728 S 0.0 0.0 0:00.18 opensips
> 11793 opensips 20 0 4368m 1404 240 S 0.0 0.0 0:00.06 opensips
> 11794 opensips 20 0 4368m 1952 776 S 0.0 0.0 0:00.07 opensips
> 11795 opensips 20 0 4368m 2512 1208 S 0.0 0.0 1:07.58 opensips
> 11796 opensips 20 0 4368m 2172 992 S 0.0 0.0 0:00.06 opensips
> 11797 opensips 20 0 4368m 1812 640 S 0.0 0.0 0:00.06 opensips
> 11798 opensips 20 0 4368m 1812 640 S 0.0 0.0 0:00.05 opensips
> 11799 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:11.69 opensips
> 11800 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:20.70 opensips
> 11801 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:05.47 opensips
> 11802 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:09.96 opensips
> 11803 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:05.35 opensips
> 11804 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:14.65 opensips
> 11805 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:06.60 opensips
> 11806 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:19.44 opensips
> 11807 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:18.87 opensips
> 11808 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:16.96 opensips
> 11809 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:27.83 opensips
> 11810 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:11.83 opensips
> 11811 opensips 20 0 4368m 514m 513m S 0.0 1.6 79:11.44 opensips
> 11812 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:21.19 opensips
> 11813 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:01.53 opensips
> 11814 opensips 20 0 4368m 514m 513m S 0.0 1.6 78:51.01 opensips
>
> the free command have result:
> free
> total used free shared buffers cached
> Mem: 32830608 32592164 238444 0 140008 30602304
> -/+ buffers/cache: 1849852 30980756
> Swap: 16482296 516 16481780
>
>
>
>
> the opensips log:
> Oct 15 10:21:02 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 10:27:01 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 10:42:02 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 10:47:02 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 11:02:01 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 11:09:02 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 11:14:02 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 15 11:23:01 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> ...
> ...
> ...
> ...
> ...
> Oct 17 03:58:01 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 17 04:14:01 localhost /usr/sbin/opensips[11795]:
> ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken pipe
> Oct 17 04:19:45 localhost /usr/sbin/opensips[11849]:
> ERROR:core:branch_builder: writing label failed, remaining size is 0
> (initial 46)
> buf=[z9hG4bK76c7.00000008ffffffffffffffffffffffffffffffffffffff]
> Oct 17 04:19:45 localhost /usr/sbin/opensips[11849]:
> ERROR:tm:pre_print_uac_request: branch computation failed
> Oct 17 04:19:45 localhost /usr/sbin/opensips[11849]:
> ERROR:tm:t_forward_nonack: failure to add branches
> Oct 17 04:19:45 localhost /usr/sbin/opensips[11859]:
> ERROR:core:branch_builder: writing label failed, remaining size is 0
> (initial 46)
> buf=[z9hG4bK76c7.10000008ffffffffffffffffffffffffffffffffffffff]
> Oct 17 04:19:45 localhost /usr/sbin/opensips[11859]:
> ERROR:tm:pre_print_uac_request: branch computation failed
> Oct 17 04:19:45 localhost /usr/sbin/opensips[11859]:
> ERROR:tm:t_forward_nonack: failure to add branches
> Oct 17 04:19:53 localhost /usr/sbin/opensips[11816]:
> ERROR:core:branch_builder: writing label failed, remaining size is 0
> (initial 46)
> buf=[z9hG4bK76c7.20000008ffffffffffffffffffffffffffffffffffffff]
> Oct 17 04:19:53 localhost /usr/sbin/opensips[11816]:
> ERROR:tm:pre_print_uac_request: branch computation failed
> Oct 17 04:19:53 localhost /usr/sbin/opensips[11816]:
> ERROR:tm:t_forward_nonack: failure to add branches
> Oct 17 04:19:53 localhost /usr/sbin/opensips[11862]:
> ERROR:core:branch_builder: writing label failed, remaining size is 0
> (initial 46)
> buf=[z9hG4bK76c7.30000008ffffffffffffffffffffffffffffffffffffff]
> Oct 17 04:19:53 localhost /usr/sbin/opensips[11862]:
> ERROR:tm:pre_print_uac_request: branch computation failed
> Oct 17 04:19:53 localhost /usr/sbin/opensips[11862]:
> ERROR:tm:t_forward_nonack: failure to add branches
> Oct 17 04:19:54 localhost /usr/sbin/opensips[11921]:
> ERROR:core:branch_builder: writing label failed, remaining size is 0
> (initial 46)
> buf=[z9hG4bK76c7.40000008ffffffffffffffffffffffffffffffffffffff]
> Oct 17 04:19:54 localhost /usr/sbin/opensips[11921]:
> ERROR:tm:pre_print_uac_request: branch computation failed
> Oct 17 04:19:54 localhost /usr/sbin/opensips[11921]:
> ERROR:tm:t_forward_nonack: failure to add branches
> Oct 17 04:19:54 localhost /usr/sbin/opensips[11829]:
> ERROR:core:branch_builder: writing label failed, remaining size is 0
> (initial 46)
> buf=[z9hG4bK76c7.50000008ffffffffffffffffffffffffffffffffffffff]
> Oct 17 04:19:54 localhost /usr/sbin/opensips[11829]:
> ERROR:tm:pre_print_uac_request: branch computation failed
> Oct 17 04:19:54 localhost /usr/sbin/opensips[11829]:
> ERROR:tm:t_forward_nonack: failure to add branches
>
>
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/branch-computation-failed-tp7593895p7594086.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list