In my last blog post I mentioned about slow restarts. Well I’m wracking my brains over this one! A reboot takes about 5-10 minutes which is way too long. Looking at all the logs and even looking at bootchart, mysql does take a little while to warm up but nothing else is giving me a hint.
However when I send over the reboot command, putty stays open for a fairly long time before the “connection lost” message pops up. That’s a hint maybe.
Switching to the local VM image, this problem is also there. Another benefit of running the configuration locally is being able to watch the kernel messages during start and shutdown. On shutdown, it seems to stick on “Stopping System V Runlevel Compatibility”. A few Google searchs suggest it could be a Kernel update that has caused this…. but annoyingly after a few Ubuntu kernel upgrades, the situation hasn’t been resolved. But it’s not getting worse either!
I’m sure that the system is shutting down and starting up cleanly (pretty sure); I don’t have any qualms about corruption or dataloss.
Overall it’s not a massive problem. I do get nervous if the system will actually fire back up after a while but as long as the server does do that, I don’t think it’s a massive issue. I’ll keep plugging at it.