We started noticing
Seconds_Behind_Master getting relatively high throughout the day. Then, overnight, it catches up, and
Seconds_Behind_Master starts growing again.
Currently, the number is ~25,000, yesterday it was ~50,000.
Slave_IO_State: Waiting for master to send event
CPU usage on slave is at 100% when this happens.
What are the next steps to diagnose this?