OpenSIPS is responding slowly to INVITES. There appears to be a delay when OpenSIPS receives an INVITE, and it takes too long to respond. The “Get SIGTERM” warning message occurs in /var/log/messages.
2012-08-11 16:46:01 rdr1-1-1-cert1 WARNING: TransNexus[routelib_TransNexus.c:758]: TransNexus WARNING: Get SIGTERM!
The system is not configured to run in asynchronous mode for OpenSIPS log. Reconfigure the system to run in asynchronous mode. If this change is not made, excessive logging will slow down OpenSIPS performance.
Navigate to the /etc directory using the CLI (Command Line Interface) as user root.
Edit /etc/syslog.conf file and add a dash (-) in front of /var/log/messages for Redhat/CentOS-5 systems.
Edit /etc/rsyslog.conf file and add a dash (-) in front of /var/log/messages for Redhat/CentOS-6 systems.
* Change this: ``` *.info;mail.none;authpriv.none;cron.none /var/log/messages ``` * to this: ``` *.info;mail.none;authpriv.none;cron.none -/var/log/messages ```
After the file has been updated, restart syslog or rsyslog respectively. Example
# /etc/init.d/syslog restart Shutting down system logger: [ OK ] Starting system logger: [ OK ] #
# /etc/init.d/rsyslog restart Shutting down system logger: [ OK ] Starting system logger: [ OK ] #