It actually wasn't a DB issue, It was a race condition, Its been fixed.  Use Master.
--
Brian West


Twitter: @FreeSWITCH , @briankwest

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)















On Jul 2, 2014, at 7:10 AM, Luis Daniel Lucio Quiroz <luis.daniel.lucio@gmail.com> wrote:

That sounds more to me a db problem,  I usually see this with mysql. It requires tunning.

You may try also to load memcache to offload commong queries.

Unfortunatelly, your question is like doing a question to a doctor by phone