Forum Moderators: bakedjake

Message Too Old, No Replies

Fedora - Linux

         

TonysDesigns

12:45 am on Jan 31, 2006 (gmt 0)

10+ Year Member



Hi Peeps,

I have a dedicated server running Linux 2.6.11.9-050512a
Fedora Core 2 with Plesk 7.5 reloaded

How can I get a list of scripts that have run or are running on my Linux? Is there a log located somewhere? I have a spiking MySql connections issue. About 1/hour, my DB connections skyrocket to over 500 then back down to 40 or so. This slows down my sites tremendously.

If this in the wrong forum, kindly move it around.

wheel

4:14 am on Jan 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd start with 'top' to see what's eating the resources. Then I'd do a 'ps aux' to see what processes are running. Make sure you know everything that's displayed an why it's running.

My initial reaction is that you've got someone hammering your site. I'd also check my apache logs, something like this:
tail -f /var/log/httpd/info
(or path to your apache log file). The -f will output the log file live to your screen so you can watch what's happening. If you start seeing a ton of requests from one IP address, that'll likely be your problem.

Thos are some starting points anyway.

TonysDesigns

5:09 am on Jan 31, 2006 (gmt 0)

10+ Year Member



Thanks for the reply!