Disabling ntp.service for the boot, since it takes a long time

TomCho

For some time now my computer has been very slow to boot. So yesterday I did a systemd-analyze blame, which from what I understand gives you the processes that take the longest to start. So these are the first lines of mine

3min 45.244s ntp.service
     45.277s apt-daily.service
     12.114s dev-sda1.device
      9.200s ModemManager.service
      7.698s NetworkManager.service

So apparently ntp.service is by far taking the longest. I have done some research but I couldn't precisely figure out what it's important for and how I can disable it.

Is it safe for me to disable it? How can I disable it for boot?

George Udosen

Network Time Protocol:

NTP- is a protocol which runs over port 123 UDP at Transport Layer and allows computers to synchronize time over networks for an accurate time. While time is passing by, computers internal clocks tend to drift which can lead to inconsistent time issues, especially on servers and clients logs files or if you want to replicate servers resources or databases.

Commands:

  1. Stop:

    sudo systemctl stop ntp
    
  2. Start:

    sudo systemctl start ntp
    
  3. Disable at start-up:

    sudo systemctl disable ntp
    
  4. Enable at start-up:

    sudo systemctl enable ntp
    

Source:

http://www.tecmint.com/install-ntp-server-in-centos/

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Bluetooth BNEP takes a long time to load on boot Debian

분류에서Dev

c++ Socket receive takes a long time

분류에서Dev

It takes a *very* long time to eject my flashdrives

분류에서Dev

Query changing strings to ints in mongoDB takes a long time

분류에서Dev

Run multiple cron jobs where one job takes a long time

분류에서Dev

Spark: sc.WholeTextFiles takes a long time to execute

분류에서Dev

How to start an application at boot time or as a service

분류에서Dev

Run 'sudo service mongod start' at boot time

분류에서Dev

Boot-time service startup messages are repeated a second time

분류에서Dev

unzip .gz file in Java takes long time using GZInputStream and byte buffer

분류에서Dev

Dynamics Ax 2012 R2 AIF services refresh takes too long a time

분류에서Dev

cygwin on win7 x64 takes long time to respond

분류에서Dev

Setting up NTP service to Automatic restart

분류에서Dev

Run Boot time commands in AWS Elastic Container Service(ECS) instances

분류에서Dev

Event Logs since current time

분류에서Dev

Why is a link removed when disabling a service? (a file is not)

분류에서Dev

Ubuntu takes 7 minutes to boot

분류에서Dev

Is it usual Ubuntu 14.04.2 to take a long time at "random: nonblocking pool is initialized" step during boot process?

분류에서Dev

How do I find out long time a service has been up and running for in CentOS 6?

분류에서Dev

media app takes too long to buffer

분류에서Dev

CalendarView takes much time for displaying

분류에서Dev

Updating Time : ntpdate[3108]: the NTP socket is in use, exiting

분류에서Dev

Error in consuming https web service even after disabling trust manager

분류에서Dev

Grub takes 45 Secs to show boot menu

분류에서Dev

Kubuntu takes more than 2 minutes to boot!

분류에서Dev

Httpclient take a very long time

분류에서Dev

Windows audio service takes constantly over 10% of CPU

분류에서Dev

Prime numbers calculator takes too much time (JAVA)

분류에서Dev

How to get the boot time of Ubuntu?

Related 관련 기사

  1. 1

    Bluetooth BNEP takes a long time to load on boot Debian

  2. 2

    c++ Socket receive takes a long time

  3. 3

    It takes a *very* long time to eject my flashdrives

  4. 4

    Query changing strings to ints in mongoDB takes a long time

  5. 5

    Run multiple cron jobs where one job takes a long time

  6. 6

    Spark: sc.WholeTextFiles takes a long time to execute

  7. 7

    How to start an application at boot time or as a service

  8. 8

    Run 'sudo service mongod start' at boot time

  9. 9

    Boot-time service startup messages are repeated a second time

  10. 10

    unzip .gz file in Java takes long time using GZInputStream and byte buffer

  11. 11

    Dynamics Ax 2012 R2 AIF services refresh takes too long a time

  12. 12

    cygwin on win7 x64 takes long time to respond

  13. 13

    Setting up NTP service to Automatic restart

  14. 14

    Run Boot time commands in AWS Elastic Container Service(ECS) instances

  15. 15

    Event Logs since current time

  16. 16

    Why is a link removed when disabling a service? (a file is not)

  17. 17

    Ubuntu takes 7 minutes to boot

  18. 18

    Is it usual Ubuntu 14.04.2 to take a long time at "random: nonblocking pool is initialized" step during boot process?

  19. 19

    How do I find out long time a service has been up and running for in CentOS 6?

  20. 20

    media app takes too long to buffer

  21. 21

    CalendarView takes much time for displaying

  22. 22

    Updating Time : ntpdate[3108]: the NTP socket is in use, exiting

  23. 23

    Error in consuming https web service even after disabling trust manager

  24. 24

    Grub takes 45 Secs to show boot menu

  25. 25

    Kubuntu takes more than 2 minutes to boot!

  26. 26

    Httpclient take a very long time

  27. 27

    Windows audio service takes constantly over 10% of CPU

  28. 28

    Prime numbers calculator takes too much time (JAVA)

  29. 29

    How to get the boot time of Ubuntu?

뜨겁다태그

보관