I just noticed that named is eating vast amounts of CPU time for a very small network with only a few domains. Can someone help me determine what is misconfigured, please? Or how to debug this. top top – 14:13:08 up 25 days, 14:16, 1 user, load average: 1.04, 1.04, 1.05 Tasks: 149 total, 1 running, 148 sleeping, 0 stopped, 0 zombie %Cpu(s): 17.3 us, 4.3 sy, 0.0 ni, 78.2 id, 0.1 wa, 0.0 hi, [...]Continue Reading »
I have a bash script which runs a set of php scripts. When it runs it takes an hour and pegs the CPU at 95-99%. This causes our lamp stack (mainly the apache process) problems and our website on the same server starts spitting out timeout or 500 errors. How can I either: Run the bash script and all associated tasks (php scripts which also call the PostgreSQL db) at a low priority so apache, [...]Continue Reading »
Is there a preferred way to set “nice” for sshd? I need priority given to sshd such that I can login and easily fix stuff when something has gone wrong (eg DoS, badly behaved processes, etc) Asked by s29 You can give your preferred user account or user group a nice value in /etc/security/limits.conf, at least if we are talking about Linux. Then when you login via sshd, you will have nice value of X, [...]Continue Reading »
We have an m1.medium EC2 instance with a small (15G) EBS drive, running both Rails 3 and a PostgreSQL server. We’ve noticed CPU spikes at odd times, and finally realized that even simple, sustained EBS access seems to pin the CPU. For instance, just grepping about 3G of logs resulted in 100% CPU usage – which means both cores, which should be impossible for grep! Deleting a bunch of log files also used about 25% [...]Continue Reading »
I’ve a Lucid 10.04 instance running on Linode which is hosting a simple rails3 app. Now I’m getting several email complaining the CPU usage almost 100%. But I’m not being able to figure out what is eating up the CPU. So, is there any way out to figure out what program/component is consuming my server CPU? A visually-nicer alternative to top is htop, and it also has on-screen keys to sort by e.g. CPU use [...]Continue Reading »
I’m running something of a bare-bones server (based on Ubuntu 11.04) on an Amazon EC2 micro instance, whose purpose is simply to coordinate the activities of a few webservers. The machine ran well for a few weeks, but now is hanging frequently with its CPU redlined at 100%. I logged into the machine over SSH and ran a top, which revealed that the landscape-sysinfo process was the perpetrator consuming all of the system resources. A [...]Continue Reading »
I’ve seen this discussed in several places on the web, never with a clear answer. What does mysqld_safe do? What would cause it to go to 100% CPU and stay there? How can I make sure it doesn’t happen again? Is there a way to at least make it run at a lower priority, so it doesn’t prevent me from logging in to my server? Currently I’m having this problem on Ubuntu 8.04, MySQL version [...]Continue Reading »
I have a few servers, running Server 2003 Std/Ent and SQL 2000/2005, that I’ve noticed will start showing higher CPU usages over time. Stopping the WMI service and restarting it will always bring it back down. It’s not a huge creep, but after a month it will be around a 10% increase, so even in idle times, it will show 10% cpu usage. We don’t use WMI heavily, just a couple of scripts checking service [...]Continue Reading »
Hey guys, I have a quad core and I have spotted on munin (monitoring interrupts and context switches), that my interrupts and context switches spiked to 25k a second while the average was 250 for some time. No idea what happened, and also no idea what does it mean, except from the fact that it is an anomaly according to my monitoring tools. This happened in one of my openVZ virtual container. Note: At the [...]Continue Reading »
In win2k3sp2, I’ve never seen this before and have not installed anything recently, but seemingly out of nowhere, the System process (not the idle process) is taking a lot of CPU whenever anything else is. That is, sitting idle, it’s at 0. If I go and start a program like Thunderbird, while loading, thunderbird.exe and System will be competing for CPU usage, sometimes with System getting more than 50% (it’s a dual-core system). I look [...]Continue Reading »
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?