Hello all,<div><br></div><div>Attempting to increase &#39;sessions-per-second&#39; to 100 does not appear to make any difference.</div><div><br></div><div>Inside switch.conf, I have the following;</div><div><br></div><div>
<div>&lt;param name=&quot;max-sessions&quot; value=&quot;1000&quot;/&gt;</div></div><div>&lt;param name=&quot;sessions-per-second&quot; value=&quot;100&quot;/&gt;</div><div><br></div><div>And yet for some reason, I still get this;</div>
<div><div><div>2012-10-30 04:20:22.205003 [CRIT] switch_core_session.c:2038 Throttle Error! 99</div><div>2012-10-30 04:20:22.224956 [CRIT] switch_core_session.c:2038 Throttle Error! 99</div><div>2012-10-30 04:20:22.244981 [CRIT] switch_core_session.c:2038 Throttle Error! 99</div>
<div>2012-10-30 04:20:22.265109 [CRIT] switch_core_session.c:2038 Throttle Error! 99</div><div>2012-10-30 04:20:22.309297 [CRIT] switch_time.c:997 Over Session Rate of 30!</div></div></div><div><br></div><div>Which then eventually leads to this;</div>
<div><br></div><div><div>2012-10-30 04:29:42.284991 [CRIT] switch_time.c:997 Over Session Rate of 30!</div><div>VAL: tried to access cart in -4784 type val</div></div><div><br></div><div>After looking through the source code, I found only a few places where this is referenced;</div>
<div><br></div><div><div>./src/switch_core.c:    runtime.sps_total = 30;</div><div>./src/switch_core.c:                    runtime.sps_total = oldintval;</div><div>./src/switch_core.c:            newintval = runtime.sps_total;</div>
<div>./src/include/private/switch_core_pvt.h:        uint32_t sps_total;</div><div>./src/switch_time.c:    runtime.sps = runtime.sps_total;</div><div>./src/switch_time.c:                            switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, &quot;Over Session Rate of %d!\n&quot;, runtime.sps_total);</div>
<div>./src/switch_time.c:                    runtime.sps_last = runtime.sps_total - runtime.sps;</div><div>./src/switch_time.c:                    runtime.sps = runtime.sps_total;</div><div>./src/switch_core_session.c:            runtime.sps_total = new_limit;</div>
<div>./src/switch_core_session.c:    return runtime.sps_total;</div></div><div><br></div><div>So for shits and giggles, I changed runtime.sps_total from 30 to 101 in the code, and low and behold it worked fine - wtf? lol.</div>
<div><br></div><div><div>2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! 972</div><div>2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! 972</div><div>2012-10-30 04:42:02.104969 [CRIT] switch_time.c:997 Over Session Rate of 101!</div>
</div><div><br></div><div>Does anyone know why FS seems to be ignoring the &quot;sessions-per-second&quot; value?</div><div><br></div><div>Thanks</div><div><br></div><div>Cal</div>