本文介绍了它是正常的" rsyslogd"成本170M的内存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个网站的运行极其缓慢,

One of my sites runs extremely slow,

和我使用命令可查看rsyslogd成本170M的内存,

and I use top command to see that "rsyslogd" cost 170M memory,

是正常的吗?

如果不是这样,我怎么能限制的记忆rsyslogd成本的大小,或频率的rsyslogd

If not,how can I limit the size of memory "rsyslogd" cost,or the frequency the "rsyslogd"

运行?

推荐答案

听起来像是你有一些过程记录了太多的信息。你可能只是看日志,看看谁在做所有的写作和看你能不能让他们停止。我见过的日志打技嘉大小时,一些程序有一个反复出现的故障,导致它记录了同样的错误消息几千次。认真检查日志,只是看看到底是锤击rsyslogd谁。

Sounds like you've got some process logging way too much info. You might just look at the logs and see who's doing all the writing and see if you can get them to stop. I've seen logs hit gigabyte sizes when some program has a recurring fault that causes it to log the same error message thousands of times a second. Seriously check the logs and just see who the heck is hammering rsyslogd.

这篇关于它是正常的" rsyslogd"成本170M的内存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 17:38