On Sun, May 5, 2024 at 4:20 PM Eran Leshem <[email protected]> wrote:
> O.K. > > I found the memory numbers in the file: > /etc/default/opensips > After changing the values (I multiplied it by 10 to: 640 and 40), > I restarted opensips and saw that the changes were applied in the log. > > Thank you very much. > > On Sun, May 5, 2024 at 3:56 PM Marcin Groszek <[email protected]> wrote: > >> try this >> >> cd /etc/ >> >> grep -r "S_MEMORY" * >> >> or >> >> updatedb >> >> locate opensips >> >> >> On 5/5/2024 7:52 AM, Eran Leshem wrote: >> >> Unfortunately, I don't have the folder /etc/sysconfig/ in my system. >> Any other folder to find that file? >> >> On Sun, 5 May 2024, 15:39 Marcin Groszek, <[email protected]> wrote: >> >>> I have edited /etc/sysconfig/opensips to set memory parameters. >>> >>> >>> On 5/5/2024 7:01 AM, Eran Leshem wrote: >>> >>> Hi, >>> I'm trying to increase the size of the memory that OpenSips uses. >>> This is a bit strange to me, because when I run: >>> ps aux | grep -i opensips >>> I get: >>> /usr/sbin/opensips -P /run/opensips/opensips.pid -f >>> /etc/opensips/opensips.cfg -m 64 -M 4 >>> but, when I look at: >>> /lib/systemd/system/opensips.service >>> I see: >>> Environment=P_MEMORY=32 S_MEMORY=32 >>> ExecStart=/usr/sbin/opensips -P %t/opensips/opensips.pid -f >>> /etc/opensips/opensips.cfg -m $S_MEMORY -M $P_MEMORY $OPTIONS >>> >>> So, from where does opensips get its memory parameters? (-m -M) >>> And, how much can I give it? Can I increase it to 320 and 320? >>> My machine: >>> - Linux Mint 21.3 which is based on Ubuntu 22.04 LTS (Jammy Jellyfish), >>> - 16 GB memory, >>> - OpenSIPS version 3.4 >>> >>> Thanks, >>> Eran L. >>> >>> _______________________________________________ >>> Users mailing >>> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> -- >>> Best Regards: >>> Marcin Groszek >>> Business Phone Servicehttps://www.voipplus.net >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> >> _______________________________________________ >> Users mailing >> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> -- >> Best Regards: >> Marcin Groszek >> Business Phone Servicehttps://www.voipplus.net >> >>
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
