当前位置: 首页 > wzjs >正文

网站制作源码版权搜索引擎哪个最好用

网站制作源码版权,搜索引擎哪个最好用,秦皇岛做网站公司,天津河西做网站当系统长期连续运行时,如果没有限制系统日志大小,可能会出现硬盘被写满的情况,如果需要限制系统日志大小,可通过下面方法进行限制: 修改/etc/systemd/journald.conf Storagevolatile SystemMaxUse2M RumtimeMaxUse2…
当系统长期连续运行时,如果没有限制系统日志大小,可能会出现硬盘被写满的情况,如果需要限制系统日志大小,可通过下面方法进行限制:
修改/etc/systemd/journald.conf
Storage=volatile
SystemMaxUse=2M
RumtimeMaxUse=2M
将日志大小限制为 2M
文件如下:
[系统未激活][root@node5-63 ~]# cat /etc/systemd/journald.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.
[Journal]
Storage=volatile
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
SystemMaxUse=2M
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
RuntimeMaxUse=2M
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMaxFiles=100
MaxRetentionSec=1day
#MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes

修改完成后重新启动服务
systemctl restart systemd-journald.service

在系统日志中能看到修改日志大小限制成功

[系统未激活][root@node5-63 ~]# journalctl -b -u systemd-journald.service
-- Logs begin at Tue 2019-09-03 17:40:10 CST, end at Tue 2019-09-03 17:41:05 CST. --
9月 03 17:40:10 node0-63 systemd-journald[573]: Journal started
9月 03 17:40:10 node0-63 systemd-journald[573]: Runtime Journal (/run/log/journal/3fb2775f95f245879006a2b6f8c4dad7) is 8.0M, max 1.4G, 1.4G
9月 03 17:40:13 node0-63 systemd-journald[573]: Journal stopped
9月 03 17:40:14 node5-63 systemd-journald[1094]: Journal started
9月 03 17:40:14 node5-63 systemd-journald[1094]: Runtime Journal (/run/log/journal/3fb2775f95f245879006a2b6f8c4dad7) is 8.0M, max 2.0M, 0B
9月 03 17:40:14 node5-63 systemd[1]: systemd-journald.service: Succeeded.
9月 03 17:40:14 node5-63 systemd-journald[1094]: Runtime Journal (/run/log/journal/3fb2775f95f245879006a2b6f8c4dad7) is 8.0M, max 2.0M, 0B
原来是 1.4G ,修改后变成 2M。
http://www.dtcms.com/wzjs/291022.html

相关文章:

  • 哪个网站开发好如何做电商 个人
  • 深圳 网站建设网络营销优化推广公司
  • 公司网站优化要怎么做公司官网制作开发
  • 做网站公司未来的发展方向企业网站seo优化
  • 介绍一下比较靠谱的网站零基础能做网络推广吗
  • 供应商入驻b2b网站建设个人网站免费制作平台
  • 首码网站免费推广经典软文广告案例
  • 网站备案需要的资料seo快速排名百度首页
  • 做素材网站服务器网站查询ip地址查询
  • 网站建设方案书备案优化科技
  • 如何提高网站点击率电子商务营销模式有哪些
  • 网站颜色搭配湘潭seo培训
  • 对用户1万的网站做性能测试广州搜索seo网站优化
  • 网站的图片水印怎么做做百度推广需要什么条件
  • 电子商务网站建设 概念淘宝直通车
  • 甘肃省住房建设厅网站证书查询营销策划公司取名大全
  • 购物网站有哪些比较有名的四川最好的网络优化公司
  • 四平市住房和城乡建设部网站网站推广服务
  • 广州网站开发技术哪里有培训网
  • 上海松江做网站多少钱刷关键词优化排名
  • 网站开发公司哪家好企业宣传推广
  • 云南网站建设首选才力seo整站优化哪家好
  • 网站建设交易平台营销策划书
  • 杭州 高端网站建设百度网页怎么制作
  • 免费手机建站平台win7最好的优化软件
  • wordpress获取链接seo初学教程
  • 用自己的电脑做网站店铺推广怎么做
  • 响应式博客网站模板关键词排名优化公司
  • 襄阳做网站找哪家公司北京厦门网站优化
  • 深圳做二维码网站建设seo域名如何优化