Hi, Ahmed!

The warning indicates exactly what you have to do: "use 'open_files_limit' to enforce other limit or increase pkg memory" Simply set the `open_files_limit=200000`, or a smaller value in your config file. Or increase the pkg memory.

Best regards,
Răzvan

On 3/4/20 7:00 PM, Ahmed Chohan wrote:
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


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
  http://www.opensips-solutions.com

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to