当前位置: 首页 > 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/519828.html

相关文章:

  • 江山网站建设发广告去哪个平台
  • 广 做网站蓝光电影下载浙江seo技术培训
  • 公司简介模板英文版大连seo顾问
  • 颍上做网站微信营销的方法有哪些
  • 公司网站程序平台怎么推广技巧
  • 国外做的比较好的展台网站自动推广软件
  • 做网站的前途推广网络营销案例
  • 深圳软件开发定制公司贺州seo
  • 网站制作公司属于广告发布者吗整站优化方案
  • 艺术网站欣赏网站宣传和推广的方法有哪些
  • 有哪个网站可以做口腔执业助理医师题库网站优化有哪些技巧
  • bs网站开发招聘长沙电商优化
  • 香港主机做擦边球网站百度搜索关键词热度
  • 佛山网站推广哪家专业seo文章代写一篇多少钱
  • 平湖公司做网站字节跳动广告代理商加盟
  • 品牌策划公司网站网络营销常见术语
  • 为什么网站建设山西搜索引擎优化
  • 东莞建网站公司排名广东病毒感染最新消息
  • 做网站较好的公司安卓手机性能优化软件
  • 如何在百度上添加店铺的位置seo公司网站
  • 威海做网站哪家好个人免费推广网站
  • wordpress 类似建站域名查询备案
  • 苏州园区代办公司注册seo百科
  • 饿了么网站怎么做的百度知道
  • 个人网页设计html代码实现深圳网站设计十年乐云seo
  • 用软件做网站福州百度关键词优化
  • 建立电子商务网站目的肇庆网站推广排名
  • 王悦做网站十大营销手段
  • 长沙专业网站制作服务价格seo排名优化推广
  • 十堰网站建设哪家好seo建设