centos9 : initially when running the config number of process : 22 after 5/10min - number of process 169 . That increases gradually as well .
centos8 : initially when running the config number of process : 22 This is maintained throughout . It's not increasing at all . socket : socket=udp:ip:5505 socket=udp:ip:5508 This is configured in both the servers . Config is the same for both . config file : https://pastebin.com/huJ7yc4b *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Wed, Jun 28, 2023 at 1:16 PM Bogdan-Andrei Iancu <[email protected]> wrote: > What is the socket and processes configuration you have in the cfg? > > How many procs are created at the end on the working centos8 ? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 6/28/23 9:52 AM, Sasmita Panda wrote: > > I have installed opensips 3.2 on centos8 , which is working fine without > any error . > > Same code I have installed on centos9 latest version , here its giving the > above error . Same as aws ec2 instance and debian 11 . > > Is this because of the operating system? > > > *Thanks & Regards* > *Sasmita Panda* > *Senior Network Testing and Software Engineer* > *3CLogic , ph:07827611765* > > > On Wed, Jun 28, 2023 at 10:07 AM Sasmita Panda <[email protected]> wrote: > >> Yes , I knew that . But I have mentioned its not in the starting . When I >> am starting opensips service everything is fine and running properly . >> >> After sometime this error is comming when the number of process increases >> which results more numbr of DB connection . When the limit reaches that >> error is comming . >> But this is happening in the run time . Not in the initial stage . >> >> *Thanks & Regards* >> *Sasmita Panda* >> *Senior Network Testing and Software Engineer* >> *3CLogic , ph:07827611765* >> >> >> On Tue, Jun 27, 2023 at 7:01 PM Bogdan-Andrei Iancu <[email protected]> >> wrote: >> >>> The logs say your opensips fail to start a due to DB issues : >>> `ERROR:db_mysql:db_mysql_connect: driver error(1040): Too many connections` >>> >>> Rule number one : *READ THE LOGS* ! >>> >>> Regards, >>> >>> Bogdan-Andrei Iancu >>> >>> OpenSIPS Founder and Developer >>> https://www.opensips-solutions.com >>> https://www.siphub.com >>> >>> On 6/27/23 12:18 PM, Sasmita Panda wrote: >>> >>> No , I am running only 1 instance of opensips in one ec2-instance here >>> . >>> >>> When I am starting Openisps . >>> *ps -aef| grep opensips | wc -l * : this command output is *22 * >>> >>> /usr/local/bin/opensips-cli -x mi ps : Output of this command while >>> starting . >>> https://pastebin.com/H0yNeecA >>> >>> *After 5/10mins when I am running the same command :* >>> *ps -aef| grep opensips | wc -l * : output is *169 *(its increasing >>> gradually ) >>> >>> And at that time eventually the fifo file is also getting deleted . >>> >>> As this increases , after sometime there are too many open connections >>> with Mysql getting created and hence there are some errors as well for "too >>> many open connections " . >>> >>> Below is the logs I am getting . >>> https://pastebin.com/E6WxjeiC >>> >>> At this point , my call is also not getting connected as the dynamic >>> routing module is not getting initiated . >>> >>> I was about to upgrade my whole system to 3.2 and in the last stage I am >>> facing this issue . Quit blocked here . From long time I am trying to debug >>> this but not getting any hunch . >>> >>> Please help . >>> >>> >>> >>> >>> >>> *Thanks & Regards* >>> *Sasmita Panda* >>> *Senior Network Testing and Software Engineer* >>> *3CLogic , ph:07827611765* >>> >>> >>> On Tue, Jun 27, 2023 at 2:16 PM Bogdan-Andrei Iancu <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> Be sure you are not running multiple instance of OpenSIPS, fighting >>>> over the fifo file. >>>> >>>> Regards, >>>> >>>> Bogdan-Andrei Iancu >>>> >>>> OpenSIPS Founder and Developer >>>> https://www.opensips-solutions.com >>>> https://www.siphub.com >>>> >>>> On 6/27/23 11:00 AM, Sasmita Panda wrote: >>>> >>>> Hi , >>>> >>>> Initially when I am running the process I'm getting the *opensips_fifo >>>> *file inside /*tmp *directory . >>>> >>>> But after some time that file is getting deleted automatically and >>>> hence I am not able to run opensips-cli command as well . >>>> >>>> What can be the reason ? Where do I start debugging ? >>>> >>>> *Thanks & Regards* >>>> *Sasmita Panda* >>>> *Senior Network Testing and Software Engineer* >>>> *3CLogic , ph:07827611765* >>>> >>>> >>>> On Tue, Jun 6, 2023 at 2:10 PM Bogdan-Andrei Iancu <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> Doing `opensips-cli -x mi ps` will list all the opensips processes and >>>>> their role within OpenSIPS - this will help you understand the overall set >>>>> of procs. >>>>> >>>>> Regards, >>>>> >>>>> Bogdan-Andrei Iancu >>>>> >>>>> OpenSIPS Founder and Developer >>>>> https://www.opensips-solutions.com >>>>> https://www.siphub.com >>>>> >>>>> On 6/1/23 2:37 PM, Sasmita Panda wrote: >>>>> >>>>> In 3.2 I think we are not defining children per process . We have >>>>> udp_worker or tcp_worker . >>>>> >>>>> log_level=4 >>>>> log_stderror=no >>>>> log_facility=LOG_LOCAL5 >>>>> >>>>> #udp_workers=4 >>>>> tcp_workers=2 >>>>> >>>>> disable_dns_blacklist=yes >>>>> >>>>> This is my configuration . >>>>> >>>>> >>>>> *Thanks & Regards* >>>>> *Sasmita Panda* >>>>> *Senior Network Testing and Software Engineer* >>>>> *3CLogic , ph:07827611765* >>>>> >>>>> >>>>> On Thu, Jun 1, 2023 at 4:53 PM Richard Robson <[email protected]> >>>>> wrote: >>>>> >>>>>> How many children are defined in your script. You will get one >>>>>> process per child >>>>>> >>>>>> Richard >>>>>> >>>>>> On Thu, 1 Jun 2023, 11:47 Sasmita Panda, <[email protected]> wrote: >>>>>> >>>>>>> Hi All , >>>>>>> >>>>>>> >>>>>>> I am using opensips 3.2 >>>>>>> version: opensips 3.2.3 (x86_64/linux) >>>>>>> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, >>>>>>> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_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, sigio_rt, select. >>>>>>> svn revision: 3831:3864 >>>>>>> main.c compiled on 07:29:49 Jun 21 2022 with gcc 10 >>>>>>> >>>>>>> When I am initially starting the service I am getting a single >>>>>>> process running . After some time when I am checking there are so many >>>>>>> processes running automatically . I have pasted the output of the below >>>>>>> file . >>>>>>> >>>>>>> Please update here what's the reason behind this . >>>>>>> >>>>>>> https://pastebin.com/gu3Js6Fe >>>>>>> >>>>>>> >>>>>>> >>>>>>> *Thanks & Regards* >>>>>>> *Sasmita Panda* >>>>>>> *Senior Network Testing and Software Engineer* >>>>>>> *3CLogic , ph:07827611765* >>>>>>> _______________________________________________ >>>>>>> Users mailing list >>>>>>> [email protected] >>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>>> >>>>> >>>> >>> >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
