Long time to boot RHEV guest Linux VM.

Trying to investigate on long boot time of a linux guest in RHEV Host.

Before executing init 6/reboot command , I noticed the time of shutdown and also recorded the time after boot .

It takes around 20-25 mins in booting.

In boot logs I can find the time stamps for the very first event is '18:14:38' , it is almost one minutes difference from the time after boot.

dev]$ date

Mon Feb 25 18:15:50 HKT 2019

From the serial console I see below output before shutdown n after boot:

For this 25 mins of window , I cant find any logs/events that indicates the reason for such a delay in boot.

Could anyone help here on what should I investigate to narrow down the cause of the issue?

You should analyze memory and and disk I/O and look for bottlenecks in CPU, memory and disk I/O.

If your process involves system calls across the network, you should also analyze your network for bottlenecks and routing problems.

What is the distribution and version of linux inside RHEV ?
Are you using systemd ?

Check this out, if you are using systemd
systemd-analyze

You can run it after the long boot, draw SVG graphics, show 'blame' etc.

Perhaps that will help
Regards
Peasant.

1 Like

it`s not systemd , it`s upstart and it`s RH6.3 version.