Error.log和其他日志文件在/root创建一个软链接文件 [英] Error.log and other log files creating a softlink file at /root

查看:81
本文介绍了Error.log和其他日志文件在/root创建一个软链接文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我们的/root目录下的Darwin服务器中,每天创建和创建的链接文件多达70,000个.这些文件有什么需求,以及它们是如何创建的?服务器几乎每天都在发生故障,需要重新启动,然后才能正常工作.

在/root中,如果我执行ls命令,则它会被挂起,而且也要花很长时间才能挂出.

这些文件我该怎么办?如果我删除它们,将以任何方式影响应用程序吗?
问候,

Sujit

Hi,

In our Darwin server in /root directory, there are 70,000 link files that is created and getting created daily. what is the need of these files and how are they created ? server is failing almost everyday and need to restart and then only it will work.

In /root if I execure ls command it is getting hanged, du also and taking long time to get the out put.

what can i do with those file ? If I delete will they effect application any way ?
regards,

Sujit

推荐答案

您应该保留服务器的完整备份,如果这样做,请继续删除它们.如果一切都不顺利,请从最近的备份中恢复.

您真正需要做的是首先找出哪个应用程序/服务/创建的内容,然后对其进行适当处理.
You should keep a full backups of your server and if you do then go ahead and delete them. If it all goes belly-up then restore from the most recent backup.

What you really need to do is find out which Application/service/whatever is creating them in the first place and deal with it appropriately.


这篇关于Error.log和其他日志文件在/root创建一个软链接文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆