[OpenSIPS-Users] Package memory
Răzvan Crainea
razvan at opensips.org
Mon Jul 25 10:23:54 UTC 2022
You have to use different fifo files for each instance, and use the
OSIPS_FIFO value to get their output, i.e.:
opensipsctl ps - shows processes of instance corresponding to
/tmp/opensips_fifo
OSIPS_FIFO=/tmp/opensips_tcp_fifo opensipsctl ps - shows the processes
of the other instance.
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 7/25/22 11:25, Saurabh Chopra wrote:
> Hi Team,
>
> Any suggestions please!!
>
> Best Regards
> Saurabh Chopra
> +918861979979
>
>
> On Wed, Jul 20, 2022 at 4:29 PM Sasmita Panda <spanda at 3clogic.com
> <mailto:spanda at 3clogic.com>> wrote:
>
> Hi Razvan ,
>
> Saurabh is using opensips version
> *version: opensips 2.2.4 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
> 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> svn revision: 3247:3632M
> main.c compiled on 07:01:48 Apr 10 2019 with gcc 4.8.5*
>
> As for my understanding fifo command gives output for that config
> file in which below parameter defined .
> modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
>
> When I am running 2 config in a single server in same interface with
> different ports , will I configure this parameter in both the file
> as same .
>
> 1. If I am adding this parameter in both files , then its giving me
> the process of latest running config . That can be any 1 of both .
> 2. If I am adding different *fifo_name *for both
> one for .. *opensips_fifo *and other for *opensips_tcp_fifo
> *then its giving the processes of that config in which
> *opensips_fifo *is defined .
>
> Is there any other way of running multiple configs of opensips in
> single machine so that we can monior both precesses live memory ?
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> On Wed, Jul 20, 2022 at 4:04 PM Răzvan Crainea <razvan at opensips.org
> <mailto:razvan at opensips.org>> wrote:
>
> Hi, Saurabh!
>
> The command you are running returns the memory of all OpenSIPS
> processes. At least all that are returned by `opensipsctl fifo
> ps` command.
> If you're only getting one process, most likely you are using a
> buggy
> version and you should consider updating it.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
> <http://www.opensips-solutions.com>
>
> On 7/20/22 09:46, Saurabh Chopra wrote:
> > Hi Team,
> >
> > Could you please help us with this.
> >
> > Best Regards
> > Saurabh Chopra
> > +918861979979
> >
> >
> > On Mon, Jul 18, 2022 at 5:15 PM Saurabh Chopra
> <saurabhc at 3clogic.com <mailto:saurabhc at 3clogic.com>
> > <mailto:saurabhc at 3clogic.com <mailto:saurabhc at 3clogic.com>>>
> wrote:
> >
> > Hi All,
> >
> > We have an opensips instance of version 2.2 where two
> processes are
> > running,
> > 1. process A
> > 2. process B
> >
> > As I was hitting the command "/usr/sbin//opensipsctl fifo
> > get_statistics pkmem:" it always gives us pkg memory of
> one process
> > i.e. process A. How can I check the package memory of
> both processes
> > individually.
> >
> > Best Regards
> > Saurabh Chopra
> > +918861979979
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list