<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    About the memcached TIMEOUT issue, I have tested the scenario where
    the memcached server doesn't reply, and it seems to be working, in
    the sense that the cache_fetch function returns a negative response
    code to the script, so "if (!cache_fetch())" should work. Could you
    send me the logs from when the memcached gives timeout, along with
    the relevant snippet from your OpenSIPS script ?<br>
    <br>
    For the distributed dialog profiles, I have committed in 1.8,1.9 and
    trunk a fix that solves the prefix issue.<br>
    <br>
    We'll be looking at the ratelimit issue and get back to you.<br>
    <br>
    Best Regards,<br>
    <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
    <br>
    On 02/05/2013 12:32 PM, Brett Nemeroff wrote:
    <blockquote
cite="mid:CAPwC5wxMdoms2CeYO8q8k2qJ2Cz7C3xi3FyyquD+tHKr5aE1Yg@mail.gmail.com"
      type="cite">They are separate issues.
      <div><br>
      </div>
      <div>I'm getting regular memcache errors like SYSTEM ERROR or
        TIMEOUT for just normal script cache_fetchs. They don't happen a
        whole lot, but when it does, I get like 10-15 of them all at
        once. And like I said, it doesn't appear to return negative so
        call processing kinda fails instead of letting me do the proper
        action when the key is missing.&nbsp;</div>
      <div><br>
      </div>
      <div>The errors I'm getting with distributed dialog profiles and
        ratelimiting are different. I'm using the prefix modparams for
        dialogs and it appears to be truncating those prefixes oddly.
        Ratelimiting doesn't appear to have the same prefix issue.
        Ratelimiting however also appears to be broken because I have a
        perfectly idle box showing counters in rl_list. I'm not really
        sure what's going on and it's hard to troubleshoot because
        ratelimiting inserts a very large integer to the backend and I'm
        not sure what it represents.&nbsp;</div>
      <div>&nbsp;</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">On Tue, Feb 5, 2013 at 4:27 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000"> <tt>Brett,<br>
                <br>
                I understand you are working with Vlad in
                troubleshooting the memcached issues.<br>
                <br>
                But if I understand correctly, you are saying that you
                are also getting errors when using distributed dialog
                profiles but with couchbase ? If so, what kind of error
                you get there ?<br>
                <br>
                Regards,<br>
              </tt>
              <div class="im">
                <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                <br>
              </div>
              <div>
                <div class="h5"> On 02/05/2013 11:52 AM, Brett Nemeroff
                  wrote:
                  <blockquote type="cite">Bogdan,
                    <div>Increasing the -R parameter seems to have made
                      the situation better, but I am without question
                      regularly running into weird memcache timeout and
                      system errors. I've tried several different
                      hardware platforms. Point to local and remote
                      memcache servers. Different memcache libraries and
                      server versions. I've tried couchbase instead of
                      memcache and I can't get rid of the errors. I'm
                      really not sure what could be causing them.</div>
                    <div><br>
                    </div>
                    <div>When I get them, the call attempting to process
                      fails, which is frustrating. I'd expect that the
                      memcache result would return negative which would
                      trigger a direct db query (which is written in the
                      script in case the cache object is missing
                      anyway). However it doesn't do this. It just fails
                      and continues processing a null return value. Is
                      that behavior expected or a bug?</div>
                    <div><br>
                    </div>
                    <div>Thanks!</div>
                    <div>-Brett</div>
                    <div><br>
                    </div>
                    <div><br>
                      <div class="gmail_quote">On Thu, Jan 24, 2013 at
                        6:27 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:bogdan@opensips.org"
                            target="_blank">bogdan@opensips.org</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:
                          0pt 0pt 0pt 0.8ex; border-left: 1px solid
                          rgb(204, 204, 204); padding-left: 1ex;">
                          <div bgcolor="#ffffff" text="#000000"> <tt>Hi
                              Brett,<br>
                              <br>
                              We talked about this on IRC - any luck
                              with it ?<br>
                              <br>
                              Regards,<br>
                            </tt>
                            <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                            <div>
                              <div> <br>
                                On 01/21/2013 11:31 PM, Brett Nemeroff
                                wrote: </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div>Hey All,
                                  <div>Generally I have really good luck
                                    with memcache, but for some reason,
                                    I'm having some issues today.&nbsp;</div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>Once I crank this one box up with
                                    load, I start to see these errors
                                    flood my logs:</div>
                                  <div><br>
                                  </div>
                                  <div>cachedb_memcached:wrap_memcached_get:
                                    Failed to get: SYSTEM ERROR</div>
                                  <div>cachedb_memcached:wrap_memcached_get:
                                    Failed to get: A TIMEOUT OCCURRED</div>
                                  <div><br>
                                  </div>
                                  <div>I've tired changing the tread
                                    count for memcache. Additional
                                    processes.. Heck, I've even tried
                                    putting memcache on other servers
                                    and in other colos. The original
                                    memcache is on the same box and is
                                    pointed at localhost (127.0.1.2).&nbsp;</div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>I'm hitting it reasonably hard,
                                    but it should keep up. About 10k ops
                                    a sec. I see it run great for like 2
                                    minutes, then it hangs for like 4
                                    seconds, then picks back up for
                                    another 30 seconds or so.. goes that
                                    like on and off.&nbsp;</div>
                                  <div><br>
                                  </div>
                                  <div>Any idea of what could be wrong?&nbsp;</div>
                                  <div><br>
                                  </div>
                                  <div>Thanks,</div>
                                  <div>Brett</div>
                                  <div><br>
                                  </div>
                                </div>
                              </div>
                              <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>