<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi all,<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br>I am Currently using opensips 2.2.0 and have the following query threshold set:<br><span style="font-family:monospace,monospace"><br></span><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span style="font-family:monospace,monospace">loadmodule &quot;db_mysql.so&quot;<br>modparam(&quot;db_mysql&quot;, &quot;exec_query_threshold&quot;, 50000)</span></div></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br>I am getting a lot of errors like the following even with a handful of incoming SIP messages. <br><br><span style="font-family:monospace,monospace">WARNING:db_mysql:log_expiry: threshold exceeded : mysql prep stmt took too<br> long - 61625 us.Source<br></span><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">The database exists on the same host as opensips itself. The DB engine is InnoDB and its optimized because all external queries to the same table / database return instantly.<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Has anyone else experienced the same? <br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Any ideas to have this fixed?<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Regards,<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Owais<br></div></div>