Incidents/20150702-RESTBase

From Wikitech
Jump to navigation Jump to search

Summary

On 2015-07-02, around approximately 10:18 UTC RESTBase started refusing connections because its workers were stuck due to a time-out error in executing Cassandra queries (stack trace), which were themselves caused by the Cassandra cluster's high load. In addition, RESTBase's automatic worker restart did not fire off.

Timeline

  • 2015-07-02 10:18: Connections start getting refused on RESTBase's LVS
  • 2015-07-02 10:19: akosiaris notifies mobrovac
  • 2015-07-02 10:21: mobrovac verifies the ports, which present themselves as up
  • 2015-07-02 10:22: _joe_ discovers failed fetches for individual nodes
  • 2015-07-02 10:24: mobrovac restarts one node, which brings it back to life
  • 2015-07-02 10:26: mobrovac rolling-restarts the rest of the nodes, normal operation resumes

Conclusions

Due to limited monitoring checks (only an HTTP check on LVS), we were confused as to what was going on since the processes on the nodes were seemingly up and bound to the usual port. Moreover, statistics and logs indicate that RESTBase workers were dying off slowly over time (from approximately 2015-07-02 07:30 UTC onwards), which means that the incident had been undergoing for 2:30 before we received a notification.

Furthermore, it was not clear to us why RESTBase workers were not automatically restarted, given that RESTBase was supposed to have automatic worker restarts.


Actionables