[OpenSIPS-Users] Getting Warning on core:init_reactor_size
Ahmed Chohan
ahmedmunir007 at gmail.com
Wed Mar 4 17:00:51 EST 2020
Hi,
I've recently installed & configured OpenSIPs 3.0.2 on CentOs 7. After
configuring it and restarting the service, I'm seeing below memory warnings;
Mar 4 11:37:03 qorblkvmsiplpx2 /usr/sbin/opensips[7224]:
WARNING:core:init_reactor_size: shrinking reactor size from 262144
(autodetected via rlimit) to 209715 (limited by memory of 10% from 64Mb)
Mar 4 11:37:03 qorblkvmsiplpx2 /usr/sbin/opensips[7224]:
WARNING:core:init_reactor_size: use 'open_files_limit' to enforce other
limit or increase pkg memory
As per OpenSIPs startup, setting S_MEM=2048 & P_MEM=64 under
/etc/sysconfig/opensips file, udp_workers=4 in opensips.cfg (later will
increase to 64) and see below system openfile limits;
# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 32000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Please advise what changes need to be made for clearing this warning.
--
Regards,
Ahmed Munir Chohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200304/95be8ef2/attachment.html>
More information about the Users
mailing list