Fortress Forever

Go Back   Fortress Forever > Off Topic > Tech

Reply
 
Thread Tools Display Modes
Old 03-25-2009, 05:53 PM   #1
~kev~
pmagnvs
 
~kev~'s Avatar
 
Join Date: Mar 2007
Location: East Texas
Class/Position: Engineer - D
Gametype: Free for all CTF - no stupid clan rules
Posts Rated Helpful 0 Times
Need some advice on Linux CentOS

Virtual Private Server with 1.1 gigs of memory
Server Type Linux CentOS 5X
Web Server Apache v2.0.63
PHP 5.2.8
PHP Max Post Size 32.00 MB
PHP Maximum Upload Size 32.00 MB
PHP Memory Limit 256.00 MB
MySQL Version 5.0.67-community
MySQL Packet Size 16.00 MB
Forum software - Vbulletin 3.8

Hits per 24 hours - 9,500 - 10,500
Page views per month - about 2.97 million

The server host 3 websites - 1 vbulletin forum and 2 wordpress blogs.

Apache is causing high CPU load. Even though the server has 600 - 700 megs of free memory, CPU usage is through the roof. Even more then the MYSQL usage.



If you were trouble shooting this, where would you start?


DOS-Deflate has been installed to stop DDOS attacks.
Apache has been recomplied with with multithreaded architecture (MPM support).
Hotlinking on images was disabled yesterday.

If I can not get this fixed, I'am going to have to lease a dedicated server. And that cost 2.5X more then what I am paying right now.
~kev~ is offline   Reply With Quote


Old 03-26-2009, 02:37 AM   #2
Innoc
Hitman 2 1 Actual
 
Innoc's Avatar
 
Join Date: Mar 2007
Location: "Oscar Mike"
Gametype: FPS or RTS (just say NO to MMO)
Affiliations: Your Mom
Posts Rated Helpful 8 Times
Send a message via ICQ to Innoc Send a message via AIM to Innoc Send a message via MSN to Innoc Send a message via Yahoo to Innoc
I'd start with the Apache mailing lists. Anytime I am troubleshooting a specific system I go to the source. I suspect you're going to be looking at the # of child processes being spawned and how many requests they're allowed to handle. You might also look to see if you're doing any url rewrites as they can soak up CPU pretty quickly. Frankly I think 1.1 GB in Ram is a little thin for what you're describing but then I tend to overbuild...so what do I know?
Innoc is offline   Reply With Quote


Old 03-26-2009, 04:08 AM   #3
Mooga
Colorless FTW
D&A Member
Beta Tester
 
Mooga's Avatar
 
Join Date: Mar 2007
Location: A Small Box
Affiliations: SRCDS.com
Posts Rated Helpful 1 Times
Could it be a bad VPS?
If the host(s) is overloaded, you could suffer from not having enough CPU.

Have you contacted the hosting company?
__________________
~ Mooga ...w00t?
SRCDS.com | Twitter
Mooga is offline   Reply With Quote


Old 03-26-2009, 01:59 PM   #4
~kev~
pmagnvs
 
~kev~'s Avatar
 
Join Date: Mar 2007
Location: East Texas
Class/Position: Engineer - D
Gametype: Free for all CTF - no stupid clan rules
Posts Rated Helpful 0 Times
Quote:
Originally Posted by Innoc View Post
I'd start with the Apache mailing lists.
The hosting provider said that my forum is sending out a massive amount of emails through PHP. I am going to guess that those emails are the thread subscriptions. And then are the birthday emails, and reminder emails.

The host put a limit of 100 emails per hour on the server. But that has not fixed the problem.

I got a quote on a dedicated server yesterday. It looks like I will be combining the sites hosted on the two VPSs into one server.


Quote:
Originally Posted by Mooga View Post
Could it be a bad VPS?
If the host(s) is overloaded, you could suffer from not having enough CPU.
Have you contacted the hosting company?
The hosting provider has been notified several times about the problem. They keep saying its because of the traffic.

In the past 6 months, the traffic to my forum has doubled. So I have probably just out grown the VPS.
~kev~ is offline   Reply With Quote


Old 03-26-2009, 03:22 PM   #5
mervaka
A Very Sound Guy!
Fortress Forever Staff
 
mervaka's Avatar
 
Join Date: May 2005
Location: UK
Posts Rated Helpful 15 Times
could you limit subscription emails to a digest?
mervaka is offline   Reply With Quote


Old 03-26-2009, 03:46 PM   #6
Shadow00Caster
Retired FF Staff
 
Shadow00Caster's Avatar
 
Join Date: Jul 2007
Class/Position: D Eng
Gametype: Griefing/Spawn Camping
Posts Rated Helpful 5 Times
Try disabling all outbound e-mail from your forums temporarily and make a post about it, wait a day or two, see what happens. Then you have your answer.
Shadow00Caster is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.