If this goes through to everyone on the list just ignore the paragraph below and look at the meat of the problem below it in the forward.<br><br>This is/was my first post so I'm not sure exactly sure how things work. It has been a few days and I haven't seen it come out among the other emails from the list and I've seen no reply or find it on the list site. So I don't know if it is waiting for approval after my subscription, my subscriptions approval, someone to actually see it and have a thought on it.... I don't know. I'm patient but just want to make sure I'm not waiting on myself and not realizing it. :P<br>
<br>Thanks<br><br><div class="gmail_quote">On Fri, Aug 20, 2010 at 11:06 AM, cando wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sometimes when I'm do a restart on opensips (using init.d script, with
some customization to handle this problem) opensips takes quite a bit of
time, like 30 - 50 seconds to stop. Other times it is very quick. I'm
using 1.6.2 and 1.6.3.<br>
The servers are fairly busy, less then 200 calls per sec, with around 1000 sustained open calls.<br>I
am using dialog module and db mode is 3 (on shutdown) with postgresql
8.4. However since sometimes it is very quick with the same call volume
it doesn't "feel" like this is the problem. Further I have had it be
slow to stop when testing a config that is not using dialog at all and
there are no active calls or any sip activity when I try to stop it.<br>
My hunch is slightly toward it is waiting on a transaction but not so sure.<br><br>The
pertinent part of my init.d script customizations are for after sending
opensips the kill <pid> signal to every 0.1 seconds check if it
has stopped yet then start it back up.<br>
<br>Needless to say, having it take 50 seconds to restart, and not
responding to sip traffic does not make customers happy when your
dealing with thousands of calls. :(<br><br>Any thoughts or things to try would be appreciated.<br>
<br>Thanks<br><br>cando
</blockquote></div><br>