[OpenSIPS-Users] event_rabbitmq sending errors

Răzvan Crainea razvan at opensips.org
Thu Oct 9 11:06:49 CEST 2014


Hi, Gary!

Can you try to apply this patch[1] to your module? It displays the 
reason why the RabbitMQ module disconnects from the server.

[1] https://gist.github.com/razvancrainea/e32132a502db8c34e7e5

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 10/03/2014 06:42 PM, Gary Nyquist wrote:
> librabbitmq-0.5.0
>
>
> Best Regards,
> - Gary
>
>
>> Sent: Friday, October 03, 2014 at 5:09 AM
>> From: "Răzvan Crainea" <razvan at opensips.org>
>> To: users at lists.opensips.org
>> Subject: Re: [OpenSIPS-Users] event_rabbitmq sending errors
>>
>> And what is the version of the rabbitmq library?
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Solutions
>> www.opensips-solutions.com
>>
>> On 10/02/2014 11:36 PM, Gary Nyquist wrote:
>>> Răzvan,
>>>
>>> Yes, that's the only error showing up (related to rabbitmq).
>>>
>>> [...]# opensips -V
>>> version: opensips 1.11.2-tls (x86_64/linux)
>>> flags: STATS: On, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST, SHM_MEM, 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.
>>> git revision: 5708ad4
>>> main.c compiled on 19:10:09 Jul 16 2014 with gcc 4.4.7
>>>
>>> Tried with setting the heartbeat module parameter to 1.
>>> No change :(
>>>
>>> Best Regards,
>>> - Gary
>>>
>>>
>>>
>>> Sent: Thursday, October 02, 2014 at 4:01 AM
>>> From: "Răzvan Crainea" <razvan at opensips.org>
>>> To: users at lists.opensips.org
>>> Subject: Re: [OpenSIPS-Users] event_rabbitmq sending errors
>>>
>>> Hi, Gary!
>>>
>>> That's the only error you see in the logs related to raise_event()?
>>> What version of OpenSIPS you're using? Have you tried setting the heartbeat module parameter[1] to 1?
>>>
>>> [1] http://www.opensips.org/html/docs/modules/1.12.x/event_rabbitmq#id293418
>>>
>>> PS: please add a relevant subject when starting a new thread.
>>>
>>> Best regards,
>>> Răzvan Crainea
>>> OpenSIPS Solutionswww.opensips-solutions.com[http://www.opensips-solutions.com]
>>> On 10/01/2014 08:22 PM, Gary Nyquist wrote:
>>>
>>> Hi,
>>>    
>>> I am using the "event_rabbitmq Module" to "raise_event".
>>> It works fine.
>>>    
>>> If "raise_event" is not used for a long time, perhaps the MQ socket is getting closed.
>>> The following message is appearing in the log:
>>> ERROR:event_rabbitmq:rmq_process: cannot send message
>>>    
>>> What is a good way to keep the MQ connection alive?
>>> Any ideas?
>>>    
>>> Regards
>>> -Gary
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.org[Users at lists.opensips.org]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[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
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> 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