Suden “ast_db_put: Couldn’t Execute Statment” In 13.14.1 After High Rate Of Incoming REGISTERs

Home » Asterisk Users » Suden “ast_db_put: Couldn’t Execute Statment” In 13.14.1 After High Rate Of Incoming REGISTERs
Asterisk Users No Comments

Hello,

The other day, a 13.14.1 server suddenly stopped working correctly. First, it printed:
Oct 23 21:53:40 FOOBAR asterisk[2377]: WARNING[27942]: db.c:332 in ast_db_put: Couldn’t execute statment: SQL logic error or missing database

This occurred while this server received a lot incoming REGISTER such as:
Oct 23 21:53:40 FOOBAR asterisk[2377]: [Oct 23 21:53:40]
#033[1;33mNOTICE#033[0m[20418]:
#033[1;37mres_pjsip/pjsip_distributor.c#033[0m:#033[1;37m525#033[0m
#033[1;37mlog_failed_request#033[0m: Request ‘REGISTER’ from ‘< sip:johndoe@100.64.0.1>‘ failed for ‘10.50.59.5:5060’ (callid:
OA48732DD2johndoe42259F1C) – Failed to authenticate

I estimate incoming (invalid) REGISTER rate to be 120 per second, (which is by the way, well above the upper limit we load tested our system before putting it online).

What would you suggest me to do ?

Best regards