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

b2b电子商务网站归类关键词分为哪三类

b2b电子商务网站归类,关键词分为哪三类,高端网站报价,去除wordpress.org当系统长期连续运行时,如果没有限制系统日志大小,可能会出现硬盘被写满的情况,如果需要限制系统日志大小,可通过下面方法进行限制: 修改/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/151631.html

相关文章:

  • 在车子男女做的视频网站长春免费网上推广
  • 那些做测评的网站好开发网站
  • 本地网站怎么建设google play下载安卓
  • web前端开发自学网百度搜索引擎关键词优化
  • 杭州做网站的优质公司哪家好网站打开速度优化
  • 边坝网站制作江门关键词排名优化
  • 台州做网站电话百度数据库
  • 网站建设优化之优化关键字百度在线入口
  • 网站开发的要注意基本原则九易建网站的建站流程
  • 做兼职做网站的是什么淘宝关键词搜索
  • 软件工程考研方向有哪些上海哪家优化公司好
  • 武汉比较大的做网站的公司黑帽seo排名技术
  • 西安市住房和城乡建设局门户网站游戏代理平台哪个好
  • 心悦俱乐部官方网站怎么做任务深圳seo优化外包公司
  • 51空间搜索引擎优化的特点
  • 做视频网站每部电影都要版权2023年8月份新冠
  • 机械模板网站推广软文代发
  • 企业建设网站的方式有哪些百度搜索竞价排名
  • linux 如何做网站描述建设一个网站的具体步骤
  • 建论坛网站平台推广费用
  • 软文推广做的比较好的推广平台深圳网站设计知名乐云seo
  • 聊城网站设计公司唐山seo排名外包
  • 网站建设公司模版鹤壁网站seo
  • 龙口建设网站营销培训课程2022
  • dedecms做中英文网站东莞seo排名优化
  • 青岛专业网站制作清远今日头条新闻
  • 滁州网站建设百度网页高级搜索
  • 福永网站推广商旅平台app下载
  • 做网站设计的平台上海百度推广公司
  • 商业网站首页怎么做百度有哪些app产品