<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Paul Belanger" &lt;pabelanger@digium.com&gt;<br />
<b>Sent</b>: Wednesday, August 17, 2011 10:22 AM<br />
<b>To</b>: asterisk-dev@lists.digium.com<br />
<b>Subject</b>: Re: [asterisk-dev] Suspected deadlocks in Asterisk 1.8 under heavy load</span><br />
<br />
On 11-08-16 10:32 PM, Kevin P. Fleming wrote:<br />
&gt; On 08/16/2011 09:27 PM, Alistair Cunningham wrote:<br />
&gt;&gt; On 17/08/11 12:23, Kevin P. Fleming wrote:<br />
&gt;&gt;&gt; Matt Nicholson committed a change to the 1.8, 10 and trunk branches<br />
&gt;&gt;&gt; today to solve a significant performance issue caused by the change to<br />
&gt;&gt;&gt; chan_sip to return the SIP hangup cause to the 'master' channel. His<br />
&gt;&gt;&gt; change made that behavior optional, even though it was already released<br />
&gt;&gt;&gt; in 1.8, because of the performance impact it has. We had another<br />
&gt;&gt;&gt; customer report a similar set of symptoms.<br />
&gt;&gt;&gt;<br />
&gt;&gt;&gt; If possible, it would be most helpful if you could try that patch on one<br />
&gt;&gt;&gt; of your affected systems before you downgrade it. I can understand if<br />
&gt;&gt;&gt; your customer is not willing to let you try that, though :-)<br />
&gt;&gt;<br />
&gt;&gt; Kevin,<br />
&gt;&gt;<br />
&gt;&gt; Thank you for this. When you say "optional", are any configuration<br />
&gt;&gt; settings needed to disable it?<br />
&gt;<br />
&gt; Yes, in Asterisk 1.8 you'll need to set 'storesipcause' to 'off', since<br />
&gt; the default is 'on' to preserve the existing behavior. In Asterisk 10<br />
&gt; and later, the default will be 'off'.<br />
&gt;<br />
&gt; If we have real-world testing that shows that changing the default to<br />
&gt; 'off' will resolve issues such as yours, we'll consider even changing<br />
&gt; the default to 'off' for the Asterisk 1.8.6 release. It'd be an unusual<br />
&gt; step to take, but unless there is sufficient community demand for this<br />
&gt; feature to be enabled by default, the performance problems it causes are<br />
&gt; not acceptable for users who don't care about the feature.<br />
&gt;<br />
I believe this is something we should look at doing, even thought it <br />
might be against policy. But like you said, this requires people to <br />
test 1.8.6.0-rc2 (assuming we merge the patch into it). Another option <br />
we discussed on #asterisk-dev is to override the settings in the samples <br />
configs, so new installations benefit from the performance change.<br />
<br />
Ideally, sites still using 1.4/1.6.* with large volumes of calls would <br />
be the best testers to confirm the performance impact of enabling and <br />
disabling 'storesipcause' setting.<br />
_________________<br />
<br />
What is really lost by setting 'storesipcause' to off? As I understand it it does not effect global variables? What was the usage case for the feature in 1.8? How would this effect things long term?<br />
<br />
Thanks<br />
Bryant<br /></span>