|
|
| Author |
Message |
|
| Guest |
Posted: Fri Oct 30, 2009 5:11 am |
|
|
|
Guest
|
Hi All,
I am using RabbitMQ 1.6 with ruby AMQP to subscribe to the queue over
the network. Immediately after starting the listeners I see the queues
registered with the server (rabbitmqctl list_queues) as well as
connections (rabbitmqctl list_connections).
~$ sudo rabbitmqctl list_connections
Listing connections ...
guest 10.7.253.22 53703
guest 10.7.253.12 55797
...done...done.
~$ sudo rabbitmqctl list_queues name durable messages messages_ready
Listing queues ...
foo_deletes false 0 0
foo_updates false 0 0
foo_creates false 0 0
duplicate_listener_on_localhost false 0 0
...done.
~$ netstat -anlp | grep 5672
tcp 0 0 0.0.0.0:5672 0.0.0.0:*
LISTEN -
tcp 0 0 10.7.253.12:5672 10.7.253.12:55797
ESTABLISHED -
tcp 0 0 10.7.253.12:5672 10.7.253.22:53703
ESTABLISHED -
After an hour or so server loses the connection with with listeners. The
list_queues still shows all the queues but list_connections shows no
active connections.
~$ sudo rabbitmqctl list_connections
Listing connections ...
...done...done.
~$ sudo rabbitmqctl list_queues name durable messages messages_ready
Listing queues ...
foo_deletes false 0 0
foo_updates false 0 0
foo_creates false 0 0
duplicate_listener_on_localhost false 0 0
...done.
~$ netstat -anlp | grep 5672
tcp 0 0 0.0.0.0:5672 0.0.0.0:*
LISTEN -
I am not too sure which side lies the problem as on listener side I
don't see any logs indicating that the connection is lost, but server
definitely has lost it. Server not only loses the connection over the
network but connection from localhost as well.
Has anyone faced similar problem or could you point out where I should
start?
Thanks and Regards,
Niranjan
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sat Oct 31, 2009 2:53 pm |
|
|
|
Guest
|
Hey Niranjan,
Does the rabbitmq server log have any errors in it?
On Oct 29, 2009, at 11:10 PM, niranjan <niranjan.par@gmail.com> wrote:
> Hi All,
>
> I am using RabbitMQ 1.6 with ruby AMQP to subscribe to the queue over
> the network. Immediately after starting the listeners I see the queues
> registered with the server (rabbitmqctl list_queues) as well as
> connections (rabbitmqctl list_connections).
>
> ~$ sudo rabbitmqctl list_connections
> Listing connections ...
> guest 10.7.253.22 53703
> guest 10.7.253.12 55797
> ...done...done.
>
> ~$ sudo rabbitmqctl list_queues name durable messages messages_ready
> Listing queues ...
> foo_deletes false 0 0
> foo_updates false 0 0
> foo_creates false 0 0
> duplicate_listener_on_localhost false 0 0
> ...done.
>
> ~$ netstat -anlp | grep 5672
> tcp 0 0 0.0.0.0:5672 0.0.0.0:*
> LISTEN -
> tcp 0 0 10.7.253.12:5672 10.7.253.12:55797
> ESTABLISHED -
> tcp 0 0 10.7.253.12:5672 10.7.253.22:53703
> ESTABLISHED -
>
> After an hour or so server loses the connection with with listeners.
> The
> list_queues still shows all the queues but list_connections shows no
> active connections.
>
> ~$ sudo rabbitmqctl list_connections
> Listing connections ...
> ...done...done.
>
> ~$ sudo rabbitmqctl list_queues name durable messages messages_ready
> Listing queues ...
> foo_deletes false 0 0
> foo_updates false 0 0
> foo_creates false 0 0
> duplicate_listener_on_localhost false 0 0
> ...done.
>
> ~$ netstat -anlp | grep 5672
> tcp 0 0 0.0.0.0:5672 0.0.0.0:*
> LISTEN -
>
> I am not too sure which side lies the problem as on listener side I
> don't see any logs indicating that the connection is lost, but server
> definitely has lost it. Server not only loses the connection over the
> network but connection from localhost as well.
>
> Has anyone faced similar problem or could you point out where I should
> start?
>
> Thanks and Regards,
> Niranjan
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Nov 02, 2009 4:59 am |
|
|
|
Guest
|
Hi,
No there are no error in the rabbitmq server logs. The only entries I
can see in log files are of type:
=INFO REPORT==== 25-Oct-2009::07:25:13 ===
accepted TCP connection on 0.0.0.0:5672 from 10.7.253.22:53703
=INFO REPORT==== 25-Oct-2009::07:25:13 ===
starting TCP connection <0.11373.20> from 10.7.253.22:53703
=INFO REPORT==== 25-Oct-2009::07:25:13 ===
closing TCP connection <0.11373.20> from 10.7.253.22:53703
........
Tracey Eubanks wrote:
> Hey Niranjan,
> Does the rabbitmq server log have any errors in it?
>
>
>
> On Oct 29, 2009, at 11:10 PM, niranjan <niranjan.par@gmail.com> wrote:
>
>> Hi All,
>>
>> I am using RabbitMQ 1.6 with ruby AMQP to subscribe to the queue over
>> the network. Immediately after starting the listeners I see the queues
>> registered with the server (rabbitmqctl list_queues) as well as
>> connections (rabbitmqctl list_connections).
>>
>> ~$ sudo rabbitmqctl list_connections
>> Listing connections ...
>> guest 10.7.253.22 53703
>> guest 10.7.253.12 55797
>> ...done...done.
>>
>> ~$ sudo rabbitmqctl list_queues name durable messages messages_ready
>> Listing queues ...
>> foo_deletes false 0 0
>> foo_updates false 0 0
>> foo_creates false 0 0
>> duplicate_listener_on_localhost false 0 0
>> ...done.
>>
>> ~$ netstat -anlp | grep 5672
>> tcp 0 0 0.0.0.0:5672 0.0.0.0:*
>> LISTEN -
>> tcp 0 0 10.7.253.12:5672 10.7.253.12:55797
>> ESTABLISHED -
>> tcp 0 0 10.7.253.12:5672 10.7.253.22:53703
>> ESTABLISHED -
>>
>> After an hour or so server loses the connection with with listeners. The
>> list_queues still shows all the queues but list_connections shows no
>> active connections.
>>
>> ~$ sudo rabbitmqctl list_connections
>> Listing connections ...
>> ...done...done.
>>
>> ~$ sudo rabbitmqctl list_queues name durable messages messages_ready
>> Listing queues ...
>> foo_deletes false 0 0
>> foo_updates false 0 0
>> foo_creates false 0 0
>> duplicate_listener_on_localhost false 0 0
>> ...done.
>>
>> ~$ netstat -anlp | grep 5672
>> tcp 0 0 0.0.0.0:5672 0.0.0.0:*
>> LISTEN -
>>
>> I am not too sure which side lies the problem as on listener side I
>> don't see any logs indicating that the connection is lost, but server
>> definitely has lost it. Server not only loses the connection over the
>> network but connection from localhost as well.
>>
>> Has anyone faced similar problem or could you point out where I should
>> start?
>>
>> Thanks and Regards,
>> Niranjan
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss@lists.rabbitmq.com
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Nov 03, 2009 7:21 am |
|
|
|
Guest
|
Niranjan,
niranjan wrote:
> Hi,
>
> No there are no error in the rabbitmq server logs. The only entries I
> can see in log files are of type:
>
> =INFO REPORT==== 25-Oct-2009::07:25:13 ===
> accepted TCP connection on 0.0.0.0:5672 from 10.7.253.22:53703
>
> =INFO REPORT==== 25-Oct-2009::07:25:13 ===
> starting TCP connection <0.11373.20> from 10.7.253.22:53703
>
> =INFO REPORT==== 25-Oct-2009::07:25:13 ===
> closing TCP connection <0.11373.20> from 10.7.253.22:53703
> ........
The above shows a single connection being opened and closed within a
single second (the <...> identifies the connection).
If you really have nothing but the above entries, i.e.
"accepted/starting/closing TCP connection" then the client must have
performed a controlled shutdown of the connection. In any other
circumstances, e.g. the network or client dying, or the server
encountering an error, the log would show an error or warning.
Regards,
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|