Before the installation of Linux, at the start, every time to enabling Swap space to stay about 5 minutes.
The resolution process is as follows:
(1) View startup log Cat/var/log/boot.log
To see how long the system spends on that service at boot time
Focus on SendMail and sm-client services
This section of my log information is as follows:
June 09:20:06 Zhangweiserver xinetd:xinetd start succeeded
June 09:22:07 Zhangweiserver Sendmail:sendmail start succeeded
June 09:23:07 Zhangweiserver Sendmail:sm-client start succeeded
June 09:23:08 Zhangweiserver GPM:GPM start succeeded
It took a long time to start these services
(2) Stop SendMail Service
Use the command chkconfig--del sendmail to stop the SendMail service.
Reboot the system, the boot speed is significantly faster
When I installed FC3, I didn't use the swap partition, and I started dead when I got here.
Later, I started with a CD-ROM, and then I can change it:
DD If=/dev/zero Of=/swap bs=1048576 count=128
Mkswap/swap
Vi/etc/fstab, add this sentence:
/swap Swap Defaults 0 0
=============== ==============================================================
Notice that it's not actually stopping at the step you understand.
Because you'll see enabling swap space [OK]
Such a word.
At this time if you press [Alt]+[ctrl]+[f7]/[f8], you will find that other it is parked in another service. (is SendMail).
If you go into safe mode and stop the SendMail, it may start up, or say you wait 15 minutes, it may also start up.
In my case, I switched the NIC to solve the problem.
The first thing to determine is that your system has been changed, you can enter Single-user mode for troubleshooting
Add single into Single-user mode after startup item
You can start by stopping opening the swap partition and modifying the Fstab
Then adjust the servers to find the error
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.