Do you use a lot of logging?
Have you enabled asynchronous logging?
If you are using the DB only for dispatcher, then you have other
issues then the db. The dispatcher module is caching the data on
memory.
You can do hundreds of CPS with only two workers and the CPU will be
at 3% utilization on very old hardware.
There's something else in your config creating issues.
Regards,
Ovidiu Sas
On Wed, Feb 27, 2019 at 1:36 PM Duarte Rocha <duarterocha91(a)gmail.com> wrote:
Ok, i reduced the number of processes and tried a few different values, but the
performance hasn't changed a lot.
How can i debug this and find the bottleneck in my system?
A quarta, 27/02/2019, 17:56, Duarte Rocha <duarterocha91(a)gmail.com> escreveu:
Greetings Alex,
At the moment i'm trying to debug some issues with the server and try some solutions
to see the impact.
With little load i'm getting some percentage of "503 Server Unavaliable"
errors from Kamailio. I made some testing without using database for anything but
Dispatcher and Accounting and the performance got way better.
Right now, on this server, under as little as 20CPS Kamailio is returning "503"
on 1-2% of all calls. However, my CPU and Memory look like this:
%Cpu(s): 20.3 us, 6.1 sy, 0.0 ni, 73.3 id, 0.0 wa, 0.0 hi, 0.2 si, 0.2 st
Memory :
total used free shared buff/cache available
Mem: 1830 1172 382 109 274 375
Swap: 819 49 770
I have around 100 processes for Kamailio.
Cheers
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
VoIP Embedded, Inc.