Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-24 Thread Dani Popa
Hi again, A new mem error, maybe you are interested Aug 24 06:59:50 test /usr/local/sbin/opensips[1324]: SUBSCRIBE : SUBSCRIBE -- b6874def55c7f5cf8e4d61b4cc4095c9-f985 -- e170995a-- Aug 24 06:59:50 test /usr/local/sbin/opensips[1324]: ERROR:presence:send_2XX_reply: No more pkg memory Aug 24

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-24 Thread Vlad Paiu
Hello Dani, About the memory log that you sent.. I see no obvious memory leak. So as far as I can see, there are two possibilities - something really needs that much PKG. To make sure that this isn't the case, please increase your PKG_MEM_POOL_SIZE to a higher value and let us know if

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-24 Thread Dani Popa
Hi, Thanks for your response. Right now PKG_MEM_POOL_SIZE is 8*1024*1024 and i have 33 users online using presence(it's right that any expire timers regarding publish and notify are 60 seconds instead 3600 as it is in documentation) . What value should i use for let's say, 100k users using

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-23 Thread Dani Popa
Hi, I think now the logs should be fine and you can find them at: http://92.55.132.13/loca7.log_v1.tar.gz root@test:/var/log# opensips -V version: opensips 1.6.4-2-tls (i386/linux) flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, USE_SCTP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP,

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
Hi, Where should i find memory dump ? I have something in logs about memory. I'll attach an file. Please let me know if this is what you need. I also increased PKG_MEM_POOL_SIZE = 8 *1024 * 1024, and shared mem to 256, and also updated opensips 1.6.4 to latest svn revision, i think.

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Vlad Paiu
Hello, Thanks for the reply. Unfortunately, It seems that you have not compiled OpenSIPS with -DDBG_QM_MALLOC, so please review my last email and see that I also suggested editing Makefiles.defs and uncommenting that particular line, while commenting -DF_MALLOC. If you succesfully do this,

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
Hi again, i also saw that i compiled opensips with libxmlrpc-c3-dev and libxmlrpc-c3 and i was warned somewhere that i'll compile it on my own risk. Now i removed libxmlrpc-c3-dev and libxmlrpc-c3 and i compiled with libxmlrpc-c++4-dev without warnings. Let's see what we will get! Thanks,

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
Hi, True, i changed wrong the Makefiles.defs. I dont know if you need this: if i change Makefile.defs as: DEFS+= $(extra_defs) \ . . . . -DCHANGEABLE_DEBUG_LEVEL \ #-DF_MALLOC \ -DDBG_QM_MALLOC \ #-DDBG_F_MALLOC \ opensips will not be compiled with

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Bogdan-Andrei Iancu
Hi Dani, You can not have comments in multi-line assignments So, instead of DEFS+= $(extra_defs) \ . -DCHANGEABLE_DEBUG_LEVEL \ #-DF_MALLOC \ -DDBG_QM_MALLOC \ #-DDBG_F_MALLOC \ you should do : DEFS+= $(extra_defs) \ . -DCHANGEABLE_DEBUG_LEVEL

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
Hi, what about this logs: http://92.55.132.13/memdump.log.tar.gz thanks, Dani On 08/19/11 17:31, Bogdan-Andrei Iancu wrote: Hi Dani, You can not have comments in multi-line assignments So, instead of DEFS+= $(extra_defs) \ . -DCHANGEABLE_DEBUG_LEVEL \ #-DF_MALLOC \

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
Hi Bogdan, I did and solved compliling opensips with -DDBG_QM_MALLOC. Thanks, Dani On 08/19/11 17:31, Bogdan-Andrei Iancu wrote: Hi Dani, You can not have comments in multi-line assignments So, instead of DEFS+= $(extra_defs) \ . -DCHANGEABLE_DEBUG_LEVEL \

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
the logs are also ok if opensips crash instead stop it ? Thanks, Dani On 08/19/11 17:31, Bogdan-Andrei Iancu wrote: Hi Dani, You can not have comments in multi-line assignments So, instead of DEFS+= $(extra_defs) \ . -DCHANGEABLE_DEBUG_LEVEL \ #-DF_MALLOC \

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-19 Thread Dani Popa
sorry because i waste your time. the logs i sent to you are wrong. If i'ii replicate the case i'll send you good logs. Thanks, Dani On 08/19/11 17:31, Bogdan-Andrei Iancu wrote: Hi Dani, You can not have comments in multi-line assignments So, instead of DEFS+= $(extra_defs) \ .

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-04 Thread Razvan Crainea
Hi Dani, It seems you are out of memory. What version of OpenSIPS are you using? Regards, Razvan Crainea OpenSIPS Developer On 04.08.2011 16:07, Dani Popa wrote: Hi, How can i solve this kind of problems ? Opensips doesn't crash, but it not respond to any sip requests. Aug 3 07:36:48

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-04 Thread Dani Popa
Hi, I know that, but how can i check why :) root@test:~# opensips -V version: opensips 1.6.4-2-tls (i386/linux) flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, USE_SCTP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024,

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-04 Thread Vlad Paiu
Hello, Is it possible that you upgrade to 1.7 ? It is possible that this issue was fixed in the latest OpenSIPS version. If not, go to Makefile.defs, uncomment the line with -DDBG_QM_MALLOC \ and comment the line with -DF_MALLOC \ and then recompile OpenSIPS. Also set memlog=1 in

Re: [OpenSIPS-Users] Not enough free memory, will atempt defragmenation

2011-08-04 Thread Dani Popa
Ok, thanks for quick response. Dani On 08/04/11 18:26, Vlad Paiu wrote: Hello, Is it possible that you upgrade to 1.7 ? It is possible that this issue was fixed in the latest OpenSIPS version. If not, go to Makefile.defs, uncomment the line with -DDBG_QM_MALLOC \ and comment the line