Unless you are on a raspberry pi, thats extremely strange.  Something is running away with the cpu.  I suggest you stub out pieces of your solution until you find the problem piece.

On Mar 5, 2018, at 12:42 PM, Vishal Pai <vishalmpai@gmail.com> wrote:

I connect the database using FreeTDS ODBC driver.

On Mon, Mar 5, 2018 at 10:20 PM, Abaci B <abaci64@gmail.com> wrote:
how do you connect to the database?

On Mon, Mar 5, 2018 at 8:42 AM, Vishal Pai <vishalmpai@gmail.com> wrote:
Hi All

I have built a IVR system in Freeswitch using LUA. In my IVR i am doing basic operation like select, insert etc. with remote MSSQL database.

I am using FreeSWITCH version: 1.6.19+git~20171120T163416Z~b1b21d0695~64bit (git b1b21d0 2017-11-20 16:34:16Z 64bit)

My concern is with the CPU usage it get more than 100% in just 3 calls.

Please suggest what should i do to get normal usage of CPU.