Welcome to WebmasterWorld Guest from 54.147.158.215

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache Suddenly Very Sluggish

     
9:44 pm on Oct 7, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 1, 2002
posts:774
votes: 0


All of a sudden my apache has gotten REALLY slow.

I checke in top, and it is hitting swap (I thinkK!), and i do not know why. I am seeing a lot of calls to swread, lockf, sbwait and pfault, and I am not used to seeing those.

here is top:
last pid: 13852; load averages: 0.47, 0.60, 0.65 up 0+02:02:29 15:53:52
198 processes: 1 running, 192 sleeping, 5 waiting

CPU: 0.0% user, 0.0% nice, 6.3% system, 0.0% interrupt, 93.7% idle
Mem: 2591M Active, 26M Inact, 341M Wired, 6796K Cache, 316M Buf, 9300K Free
Swap: 8192M Total, 429M Used, 7763M Free, 5% Inuse, 104K In, 4720K Out

Not really changed anything, but cannot figger out whay I am slowed down so much- to a crawl!

This is at the top of the processes lis:

13850 nobody 1 76 0 2218M 2212M pfault 2 0:07 38.28% perl5.10.1
13852 nobody 1 -4 0 21756K 6460K ufs 3 0:01 7.67% perl5.10.1

what the heck is that pfault thing, and why is it gobbling up all my resources?

I am running FreeBSD.

Anyone got any ideas?

Thanks!

Dave
10:33 pm on Oct 7, 2012 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14650
votes: 94


Check your mail server - also see if you have any odd ports that are open and connected - You may be hacked. A high volume of spam will really slow your sites down for no obvious reason and it won't really show up on the process list because it's mostly pure I/O at the system level that would slow it down.
11:23 pm on Oct 7, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 1, 2002
posts:774
votes: 0


Thanks Bill! Sorry, not been around for a while- congrats on taking over this forum!
1:57 am on Oct 8, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10562
votes: 14


the netstat and sockstat utilities are probably a good place to start and if you need to dig deeper perhaps tcpdump and nmap will be helpful.
2:09 am on Oct 8, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 1, 2002
posts:774
votes: 0


Not looking like it is an invader. I have been adding and subtracting various virtual servers, and I have it nailed down to one VS. Now I gotta figure out WHY...

It is a mod_perl front end, fwiw... it proxies out to the same domain at example.com:8080, so maybe something funkluy happened with that....
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members