Re: [OpenSIPS-Users] Out of memory problem
If it is _shared_ memory, yes, it is for all children :) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 21.10.2016 09:44, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Thank you, and 1G for all children processes? mailto:denis7...@mail.ru Hi Denis, See http://www.opensips.org/Documentation/TroubleShooting-OutOfMem- this will help you make the difference between a mem leak and a temporary memory outage due load. On the second question - the 1G of mem will be reserved from the beginning and internally managed by OpenSIPS. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 20.10.2016 16:58, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello Bogdan! Now i am using Opensips 2.2.1 and i have two problems with shm memory "Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:core:fm_malloc: not enough free shm memory (130982512 bytes left), please increase the "-m" command line parameter! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: attempting defragmentation... (need 206024 bytes) Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: unable to alloc a big enough fragment! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:sip_msg_cloner: no more share memory Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:new_t: out of mem Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:t_newtran: new_t failed " Two questions: 1) If this problem appears only during some time (after which everything became fine), should i still stopped Opensips to try catch debug? 2) Share memory. For example, i established 1G shm. Please, can you explain me, what does it value mean? Opensips could use this amount of memory (or cannot if it is not necessary), or it reserve it? Thank you. mailto:denis7...@mail.ru Hi Denis, If you upgrade to 2.2, use the DBG_MALLOC (together with your memory manager like F_MALLOC, HP_MALLOC or QM_MALLOC) to enable memory leak troubleshooting - at shutdown you will get a memory dump, so you will clearly see if there is a leak of not. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.05.2016 19:16, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello! I had increased PKG memory twice (to 1000 M) but the problem is still exists. May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:core:db_allocate_rows: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:db_mysql:db_mysql_fetch_result: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_db: failed to fetch May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:mi_reload_rules: failed to reload database May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:mi_fifo:mi_fifo_server: command (dp_reload) processing failed Haw else can i make memory debug without Opensips stopped? Thank you. mailto:denis7...@mail.ru No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru /> What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: /http://www.evaristesys.com//, /http://www.csrpswitch.com/ /> Sent from my BlackBerr
Re: [OpenSIPS-Users] Out of memory problem
Thank you, and 1G for all children processes? mailto:denis7...@mail.ru Hi Denis, See http://www.opensips.org/Documentation/TroubleShooting-OutOfMem - this will help you make the difference between a mem leak and a temporary memory outage due load. On the second question - the 1G of mem will be reserved from the beginning and internally managed by OpenSIPS. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 20.10.2016 16:58, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello Bogdan! Now i am using Opensips 2.2.1 and i have two problems with shm memory "Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:core:fm_malloc: not enough free shm memory (130982512 bytes left), please increase the "-m" command line parameter! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: attempting defragmentation... (need 206024 bytes) Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: unable to alloc a big enough fragment! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:sip_msg_cloner: no more share memory Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:new_t: out of mem Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:t_newtran: new_t failed " Two questions: 1) If this problem appears only during some time (after which everything became fine), should i still stopped Opensips to try catch debug? 2) Share memory. For example, i established 1G shm. Please, can you explain me, what does it value mean? Opensips could use this amount of memory (or cannot if it is not necessary), or it reserve it? Thank you. mailto:denis7...@mail.ru Hi Denis, If you upgrade to 2.2, use the DBG_MALLOC (together with your memory manager like F_MALLOC, HP_MALLOC or QM_MALLOC) to enable memory leak troubleshooting - at shutdown you will get a memory dump, so you will clearly see if there is a leak of not. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.05.2016 19:16, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello! I had increased PKG memory twice (to 1000 M) but the problem is still exists. May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:core:db_allocate_rows: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:db_mysql:db_mysql_fetch_result: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_db: failed to fetch May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:mi_reload_rules: failed to reload database May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:mi_fifo:mi_fifo_server: command (dp_reload) processing failed Haw else can i make memory debug without Opensips stopped? Thank you. mailto:denis7...@mail.ru No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru > What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing
Re: [OpenSIPS-Users] Out of memory problem
Hi Denis, See http://www.opensips.org/Documentation/TroubleShooting-OutOfMem - this will help you make the difference between a mem leak and a temporary memory outage due load. On the second question - the 1G of mem will be reserved from the beginning and internally managed by OpenSIPS. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 20.10.2016 16:58, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello Bogdan! Now i am using Opensips 2.2.1 and i have two problems with shm memory "Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:core:fm_malloc: not enough free shm memory (130982512 bytes left), please increase the "-m" command line parameter! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: attempting defragmentation... (need 206024 bytes) Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: unable to alloc a big enough fragment! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:sip_msg_cloner: no more share memory Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:new_t: out of mem Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:t_newtran: new_t failed " Two questions: 1) If this problem appears only during some time (after which everything became fine), should i still stopped Opensips to try catch debug? 2) Share memory. For example, i established 1G shm. Please, can you explain me, what does it value mean? Opensips could use this amount of memory (or cannot if it is not necessary), or it reserve it? Thank you. mailto:denis7...@mail.ru Hi Denis, If you upgrade to 2.2, use the DBG_MALLOC (together with your memory manager like F_MALLOC, HP_MALLOC or QM_MALLOC) to enable memory leak troubleshooting - at shutdown you will get a memory dump, so you will clearly see if there is a leak of not. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.05.2016 19:16, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello! I had increased PKG memory twice (to 1000 M) but the problem is still exists. May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:core:db_allocate_rows: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:db_mysql:db_mysql_fetch_result: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_db: failed to fetch May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:mi_reload_rules: failed to reload database May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:mi_fifo:mi_fifo_server: command (dp_reload) processing failed Haw else can i make memory debug without Opensips stopped? Thank you. mailto:denis7...@mail.ru No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru /> What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: /http://www.evaristesys.com//, /http://www.csrpswitch.com/ /> Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > /Users@lists.opensips.org
Re: [OpenSIPS-Users] Out of memory problem
Hello Bogdan! Now i am using Opensips 2.2.1 and i have two problems with shm memory "Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:core:fm_malloc: not enough free shm memory (130982512 bytes left), please increase the "-m" command line parameter! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: attempting defragmentation... (need 206024 bytes) Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: INFO:core:fm_malloc: unable to alloc a big enough fragment! Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:sip_msg_cloner: no more share memory Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:new_t: out of mem Oct 20 14:22:06 opensips-main /usr/local/opensips2.2/sbin/opensips[9431]: ERROR:tm:t_newtran: new_t failed " Two questions: 1) If this problem appears only during some time (after which everything became fine), should i still stopped Opensips to try catch debug? 2) Share memory. For example, i established 1G shm. Please, can you explain me, what does it value mean? Opensips could use this amount of memory (or cannot if it is not necessary), or it reserve it? Thank you. mailto:denis7...@mail.ru Hi Denis, If you upgrade to 2.2, use the DBG_MALLOC (together with your memory manager like F_MALLOC, HP_MALLOC or QM_MALLOC) to enable memory leak troubleshooting - at shutdown you will get a memory dump, so you will clearly see if there is a leak of not. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.05.2016 19:16, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello! I had increased PKG memory twice (to 1000 M) but the problem is still exists. May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:core:db_allocate_rows: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:db_mysql:db_mysql_fetch_result: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_db: failed to fetch May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:mi_reload_rules: failed to reload database May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:mi_fifo:mi_fifo_server: command (dp_reload) processing failed Haw else can i make memory debug without Opensips stopped? Thank you. mailto:denis7...@mail.ru No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru > What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
Hi Denis, If you upgrade to 2.2, use the DBG_MALLOC (together with your memory manager like F_MALLOC, HP_MALLOC or QM_MALLOC) to enable memory leak troubleshooting - at shutdown you will get a memory dump, so you will clearly see if there is a leak of not. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.05.2016 19:16, Denis wrote: Re: [OpenSIPS-Users] Out of memory problem Hello! I had increased PKG memory twice (to 1000 M) but the problem is still exists. May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:core:db_allocate_rows: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:db_mysql:db_mysql_fetch_result: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_db: failed to fetch May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:mi_reload_rules: failed to reload database May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:mi_fifo:mi_fifo_server: command (dp_reload) processing failed Haw else can i make memory debug without Opensips stopped? Thank you. mailto:denis7...@mail.ru No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru /> What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: /http://www.evaristesys.com//, /http://www.csrpswitch.com/ /> Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > /Users@lists.opensips.org <mailto:Users@lists.opensips.org> /> /http://lists.opensips.org/cgi-bin/mailman/listinfo/users /___ Users mailing list /Users@lists.opensips.org <mailto:Users@lists.opensips.org> http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
Hello! I had increased PKG memory twice (to 1000 M) but the problem is still exists. May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:core:db_allocate_rows: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:db_mysql:db_mysql_fetch_result: no memory left May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_db: failed to fetch May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:dialplan:mi_reload_rules: failed to reload database May 31 19:09:29 opensips-main /usr/local/opensips2.1/sbin/opensips[20681]: ERROR:mi_fifo:mi_fifo_server: command (dp_reload) processing failed Haw else can i make memory debug without Opensips stopped? Thank you. mailto:denis7...@mail.ru No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru > What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed -- С уважением, Путято Денис, Руководитель отдела телефонии АО "Квантум" Тел.: 8123364000, доб.244 199178, Санкт-Петербург, наб.р.Смоленки, д.19/21 лит.Б www.ptl.ru mailto:d.puty...@ptl.ru > What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
No, more like the 2.2+ LTS, due to be released towards the end of March, a fork of the current "master" branch on git. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 12:58, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru /> What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: /http://www.evaristesys.com//, /http://www.csrpswitch.com/ /> Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > /Users@lists.opensips.org <mailto:Users@lists.opensips.org> /> /http://lists.opensips.org/cgi-bin/mailman/listinfo/users /___ Users mailing list /Users@lists.opensips.org <mailto:Users@lists.opensips.org> //http://lists.opensips.org/cgi-bin/mailman/listinfo/users // ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
Newer version = 2.1? mailto:denis7...@mail.ru This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru > What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
This is PKG memory (i.e. packaged / private / per-process), so you should actually increase "-M" CLI switch! Note: Newer versions of OpenSIPS will have improved error reporting for easier troubleshooting of oom (out-of-memory) errors. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 29.02.2016 10:20, Денис Путято wrote: Re: [OpenSIPS-Users] Out of memory problem ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru /> What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users / ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
ERROR:core:db_allocate_rows: no memory left ERROR:db_mysql:db_mysql_fetch_result: no memory left ERROR:dialplan:dp_load_db: failed to fetch ERROR:dialplan:dp_load_all_db: unable to load ast_dialplan table ERROR:dialplan:mi_reload_rules: failed to reload database ERROR:mi_fifo:mi_fifo_server: command () processing failed mailto:denis7...@mail.ru > What is the exact text of the error? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Денис Путято > Sent: Monday, February 29, 2016 00:58 > To: Alex Balashov; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
What is the exact text of the error? -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ Sent from my BlackBerry. Original Message From: Денис Путято Sent: Monday, February 29, 2016 00:58 To: Alex Balashov; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Out of memory problem ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
Yes, repeatedly. mailto:denis7...@mail.ru > Have you attempted to increase the shared memory allocation to OpenSIPS (-m > CLI option)? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > Sent from my BlackBerry. > Original Message > From: Denis > Sent: Monday, February 29, 2016 00:45 > To: users@lists.opensips.org > Reply To: OpenSIPS users mailling list > Subject: [OpenSIPS-Users] Out of memory problem > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Out of memory problem
Have you attempted to increase the shared memory allocation to OpenSIPS (-m CLI option)? -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ Sent from my BlackBerry. Original Message From: Denis Sent: Monday, February 29, 2016 00:45 To: users@lists.opensips.org Reply To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] Out of memory problem ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Out of memory problem
Hello Server:: OpenSIPS (1.11.6-notls (x86_64/linux)) I have a problem with periodic "out of memory". During the problem i cannot do dp_reload, dr_reload, address reload. But there is no problem with call processing. So to resolve the problem i have to restart Opensips. You may find debug dump here: https://cloud.mail.ru/public/286R/REm7nZJQ6 Thank you for any help. mailto:denis7...@mail.ru___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users