Linux出现Leap Second问题程序响应慢如何解决
时间:2023-01-11 21:06:58
众所周知,Leap Second翻译过来就是闰秒的意思,因为Linux系统要在每个月的月末把误差的时间调回来,就会出现一些列的问题,从而导致Linux程序响应慢。那么这个时候该怎么应对呢?不必担心,下面,小编带大家一起来看看Linux出现Leap Second问题程序响应慢如何的解决方法。
Leap Second
一、leap second问题测试
1、若如下命令返回中有leap=01,那么就意味着将会有leap second发生
ntpq -c “lassoc” -c “mrv &1 &999 leap,srcadr,stratum”
2、若如下命令返回中有“no leap seconds”, 则表示不会有leap second发生。
file /etc/localtime
3、若如下命令有返回,则表示会有leap second发生。
ntptime |egrep ‘INS|DEL’
二、解决leap second问题
1、停止ntpd服务
2、重设内核状态和频率,
ntptime -s 0 -f 0
3、在/etc/sysconfig/ntpd文件中追加-x,启用slew mode
4、启动ntpd服务
leap second 之发生在特定ntpd和kernel中,本文贴上一个leap second 压力测试的C程序。
标签:Linux,Leap,Second问题程序响应慢
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Excel如何利用LOOKUP函数提取字符串最前面的数字
2023-12-08 08:16:46
![](https://img.aspxhome.com/file/2023/3/a162913_0s.gif)
如何在WPS表中使用共享工作簿函数
2023-04-29 00:05:31
![](https://img.aspxhome.com/file/2023/5/a170405_0s.jpg)
Win10下载不了软件怎么办?
2023-11-28 16:13:55
![](https://img.aspxhome.com/file/2023/26/a221967_0s.png)
用了这几个Excel表格技巧,惊叹不止!
2022-06-01 01:39:48
![](https://img.aspxhome.com/file/2023/5/38875_0s.gif)
win7电脑音量图标点了没反应怎么办?
2022-06-21 20:05:32
![](https://img.aspxhome.com/file/2023/1/a275571_0s.png)
Win7右键没有个性化的原因分析
2022-04-03 08:08:55
![](https://img.aspxhome.com/file/2023/29/a258162_0s.jpg)
Win10系统黑屏checking media presence错误代码解决方法
2022-04-30 08:21:00
![](https://img.aspxhome.com/file/2023/25/a217341_0s.png)
Excel 2019 如何设置表格主题
2023-11-28 21:08:43
![](https://img.aspxhome.com/file/2023/1/a141071_0s.jpg)
word设置了每页行数每行字数却与实际不同怎么办?
2022-03-10 09:47:44
![](https://img.aspxhome.com/file/2023/2/29042_0s.jpg)
excel用函数求最小值的方法
2023-02-04 16:34:43
word2013橡皮擦如何使用
2023-08-23 10:47:13
如何让 iPad 小组件始终显示在主屏幕上?两个小技巧
2022-04-03 10:36:58
![](https://img.aspxhome.com/file/2023/4/a195444_0s.png)
Win10桌面屏幕不断忽闪忽现出现闪屏bug该怎么办?
2023-08-09 12:06:14
![](https://img.aspxhome.com/file/2023/28/a247951_0s.jpg)
Excel2013表格中的数据怎么制作指定的饼图?
2022-09-13 22:40:07
![](https://img.aspxhome.com/file/2023/6/40346_0s.jpg)
WPS怎么用格式刷
2023-08-26 05:41:11
![](https://img.aspxhome.com/file/2023/7/a163877_0s.png)
如何在Excel中使用宏
2023-04-12 09:05:26
![](https://img.aspxhome.com/file/2023/8/a141898_0s.jpg)
QQ怎么提取图片文字?
2023-02-11 19:55:01
excel表格复制到word出错怎么办
2023-09-16 22:35:42
如何快速将网上数据导入到WPS表格
2023-08-13 05:30:13
gcASNotice.exe是什么进程 有什么作用 gcASNotice进程查询
2022-05-06 11:59:07