[OpenSIPS-Users] New OpenSIPS debugging functions available
vladpaiu at opensips.org
Tue Feb 22 12:04:37 CET 2011
OpenSIPS trunk was enhanced with some new functionality for load
monitoring and load debugging. The idea is to make easier for the user
to figure out what is bottlenecking the system, whether it's the DNS,
the database connection or the actual processing of the SIP message
while going through the script.
For find execution delays, two new core parameters have been added,
that are documented here . If a DNS operation or a SIP message
processing takes more microseconds than the given thresholds, a warning
message will be triggered to the logging facility.
Also, a new parameter has been added to the DB_MYSQL module,
exec_query_threshold , which behaves exactly the same as the above core
parameters, the only difference being that it is applied to MYSQL
Furthermore, OpenSIPS now exports statistics that show the load
percentage on the SIP working children.
For the TCP children, there is a new stat called "tcp-load" which gives
the percentage of children that are awake and processing SIP message.
For the UDP children, there is a new stat for each of the UDP interfaces
that OpenSIPS is listening on. The UDP load statistics are named
"udp:ip:port-load". More information on the new added statistics can be
found here .
More information about the Users