2
votes
1answer
84 views

MaxClients keeps getting surpassed on web application server

I am running a web application on a CentOs 6 machine with 4 gigs of memory and 3 processor cores (Intel Xeon 2.9 Ghz). Every morning between 8.30 and 9.30 AM (which coincides with the time period ...
0
votes
1answer
155 views

Comprehensively List HTTP Requests (IPs, URLs, etc)

Is there there a way to show a list of apache/httpd processes with their pids and some information about the request? Like request url, any params, domain, internal/external IP address, etc. I've ...
-2
votes
1answer
255 views

chkconfig vs /etc/inittab

I had a look at what chkconfig and /etc/inittab - from what I could see both does the same something. If I am wrong, what is the different and which one I should use for specific requirement?
2
votes
1answer
933 views

Run Python script at startup using upstart

I'm trying to create an upstart script to run a python script on startup. In theory it looks simple enough but I just can't seem to get it to work. I'm using a skeleton script I found here and ...
0
votes
1answer
116 views

Kill xfs_io processes

I have an EC2 instance running CentOS 5.6 86_64. I use xfs_freeze to freeze/thaw a file system before taking a snapshot. Normally this works great, but today it stopped working - the freeze operation ...
3
votes
3answers
1k views

Assigning Processes to CPU Cores

I have access to a CentOS 6 web server (a PHP/MySQL forum) running Apache 2.2.15 and MySQL 5.1.52. This box has dual oct-core Xeons. What I find looking over the CPU graphs is that the first two ...
1
vote
2answers
919 views

Linux Stealth Process

I have a process named "stealth" that has infected my server (slamming my CPU) and I can't figure out where it is to remove it for good. Everytime I kill the process it somehow starts itself again... ...
1
vote
1answer
230 views

Apache processes are not ending

I have KeepAlive on with 15 second timeout enabled. But processes are not ending. And it causes big number of apache processes which ends with server freeze. The only option is to hard reset server. ...
0
votes
1answer
164 views

Monitoring PHP process on CentOS 5.5

I want to monitor a php process activity because sometime it keeps hanging there for a day although I have set time limit but it seems like its not working. I setup a cron job which runs this PHP ...
1
vote
2answers
252 views

Making processes lower priority. Niceness isn't seeming to cut it

I run a game server. Every 12 hours or so we have to generate a map of the server for our website. The process takes about 20 minutes and burns the CPU hard the entire time, which lags my game server. ...
2
votes
1answer
65 views

How can I retain a process ID for later use?

I'm starting the same process multiple times and using the process ID to differentiate between them for future control. How would I go about getting back the process ID for the process I just started? ...