<p>Hi,</p>

<p>I just found it was caused by an error while importing public changes.</p>

<p>The DLG_FLAG_NEW dialog flag was saved in the database. Therefore, it was fetched during dialogs loading and the timer process tried to insert it again in the database and because the dlg_id column was not set as the primary key, the table got bigger and bigger with a lot of duplicate dialogs.</p>

<p>Sorry to waste your time.</p>

<p>Regards,<br>
Mickael</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/311#issuecomment-54799436">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNTc5MDYzMiwiZGF0YSI6eyJpZCI6NDAzODc1MjN9fQ==--79e45eaba311dd9c5da971c562b9b35a5a31b090.gif" width="1" /></p>