我有一个在 rackspace 云(ubuntu 10.04)上运行的应用程序。出于某种原因,在过去的 3 晚里,记忆一直在飙升,然后在大约 7 小时内趋于平稳,最后才逐渐消失。它似乎从午夜开始,一直持续到早上 7 点(忽略图表上的时间——它们已经关闭了 4 个小时)。
查看Munin图表,mysql 中的活动似乎没有任何增加,并且在那段时间内以太网流量似乎根本没有激增(这似乎否定了机器人或爬虫之类的东西)。
哪些工具可用于 Linux 来解决此类问题?
我在 OpenSUSE 11.4 上使用 munin 1.4.5。最近更新了 logrotate 以修复一些权限问题,然后抱怨
Mar 3 12:15:05 lucien logrotate: error: "/var/log/munin" has insecure permissions. It must be owned and be writable by root only to avoid security problems. Set the "su" directive in the config file to tell logrotate which user/group should be used for rotation.
Mar 3 12:15:05 lucien logrotate: error: error reading /var/log/munin/munin-html.log: Bad file descriptor
Mar 3 12:15:05 lucien logrotate: error: error reading /var/log/munin/munin-limits.log: Bad file descriptor
Mar 3 12:15:05 lucien logrotate: error: …
Run Code Online (Sandbox Code Playgroud) 我已经通过使用脚本自动更新我的域之一的子域的 A 记录来设置我自己的动态 DNS 服务。
具有动态 IP 地址的主机运行一个 Munin 节点,我每隔五分钟远程读取一次。
不幸的是,我的域名注册商不允许 TTL 值小于 3600,因此远程 Munin 节点的 IP 会缓存一个小时,并且只要节点的动态 IP 更改,连接就会失败长达所述小时。
有没有办法覆盖我的注册商的 DNS 服务器报告的 TTL,这样服务器每次连接到 Munin 节点时都会重新解析 IP?