Monitor client crashes if there are many VMs
********************************************
[M] vm.cloud-200.network.bytes_recv_cloud-200-3
-> data: 300.000000
-> time: 2014-03-15 21:01:55
ERROR:pika.adapters.base_connection:Socket Error on fd 3: 104
[ERROR] An error has occured while sending metrics to the server.
ERROR:pika.adapters.base_connection:Socket Error on fd 3: 32
Traceback (most recent call last):
File "manage.py", line 20, in <module>
main()
File "manage.py", line 16, in main
cli.run(metricCollectors)
File "/home/cloud/monitor-client/src/client.py", line 315, in run
self.disconnect()
File "/home/cloud/monitor-client/src/client.py", line 125, in disconnect
self.channel.close()
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 659, in close
[spec.Channel.CloseOk])
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 1104, in _rpc
self._wait_on_response(method_frame))
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 1121, in _send_method
self.connection.send_method(self.channel_number, method_frame, content)
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 249, in send_method
self._send_method(channel_number, method_frame, content)
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/connection.py", line 1489, in _send_method
self._send_frame(frame.Method(channel_number, method_frame))
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 388, in _send_frame
super(BlockingConnection, self)._send_frame(frame_value)
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/connection.py", line 1476, in _send_frame
self._flush_outbound()
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 348, in _flush_outbound
if self._handle_write():
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 338, in _handle_write
return self._handle_error(error)
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 282, in _handle_error
self._handle_disconnect()
File "/home/cloud/.virtualenvs/monitor-client/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 318, in _handle_disconnect
self.disconnect()
AttributeError: 'BlockingConnection' object has no attribute 'disconnect'
[SUCCESS] Connection established to 192.168.1.1:5672.
-
Owner
root@node1:~# tail -1000000 /var/log/upstart/monitor-client.log |grep time: |sort|uniq -c 3155 -> time: 2014-03-15 21:03:58 14600 -> time: 2014-03-15 21:03:59 3733 -> time: 2014-03-15 21:04:18 17384 -> time: 2014-03-15 21:04:19 18484 -> time: 2014-03-15 21:04:20 19475 -> time: 2014-03-15 21:04:21 19445 -> time: 2014-03-15 21:04:22
-
Owner
pika, pika, pikaccsu?
-
-
Owner
monitor-client/f235c71d
-
Status changed to closed
Toggle commit list
Please
register
or
sign in
to comment