Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-01-2005, 12:57 PM   #1
ezey
Registered User
 
Join Date: Apr 2002
Posts: 96
apache/php performance question

Ok this is a test if gfy is still a webmaster board

on a dedicated server I got wordpress on a virtual host (apache2/php4.3.2/mysql3.23) on peaks there are about 200-300 people online. problem is the server reacts very slowly on peaks. strange thing is all other virtual hosts are normal. server load is at ~0.2, cpu 10-25%, RAM (1GB) only 150-200mb free

what my be the matter? any tips on how i could tweak apache/php/sql?

thanks!
__________________
ICQ: 410318
ezey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 12:58 PM   #2
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 01:00 PM   #3
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
First off to peak perform apache there are a few things that probably need to be done first.

Secondly why are you using apache 2 ... it's not stable in a performance system yet.

Third if you need someone to tune your apache and server for peak performance with php and mysql hit me up 44-33-144 or servers @ jfpdude.com
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 01:53 PM   #4
ezey
Registered User
 
Join Date: Apr 2002
Posts: 96
Quote:
Originally Posted by JFPdude
First off to peak perform apache there are a few things that probably need to be done first.

Secondly why are you using apache 2 ... it's not stable in a performance system yet.

Third if you need someone to tune your apache and server for peak performance with php and mysql hit me up 44-33-144 or servers @ jfpdude.com
thanks. sent you auth. request
__________________
ICQ: 410318
ezey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 01:54 PM   #5
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Quote:
Originally Posted by ezey
thanks. sent you auth. request

send again I approved it but don;t see you on my list
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 02:28 PM   #6
SteveF
Confirmed User
 
Join Date: Jan 2005
Posts: 120
Quote:
Originally Posted by ezey
Ok this is a test if gfy is still a webmaster board

on a dedicated server I got wordpress on a virtual host (apache2/php4.3.2/mysql3.23)
I'd highly recommend upgrading to php 4.3.11 before doing anything else. Anything < 4.3.10 is vulnerable to nasty buffer overflow exploits.
SteveF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 02:46 PM   #7
Fuckin Bill
Confirmed User
 
Join Date: Feb 2003
Posts: 1,020
Apache 2 is perfectly stable. I've got several machines with 6 months +/- uptime on them running apache 2.

Upgrade mysql to 4, turn on query caching and you'll see a significant increase in speed. Might not be your only problem, but that will help a lot, especially with a mysql heavy site like a blog.
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 02:59 PM   #8
robbyd
Confirmed User
 
Join Date: Jan 2003
Posts: 169
Have atleast zend optimizer on your server if not zend accelerator
__________________
> SELECT date FROM girlfriend WHERE bitching = '0' AND sex = '1'

If you have blogs, add them here: http://www.mypornblogs.com

PHP,MySQL programming done fast ICQ 274-712-026
robbyd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2005, 04:23 PM   #9
rickholio
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: Nor'easterland
Posts: 1,914
Some possibilities:

Presuming you're on a unix system and have access sufficient to run vmstat, see if you can get an idea of what runtime is being devoted to. Depending on what you're serving those 200 or so people, you may be running into bottlenecking to storage or (if you have an older machine) networking. Bottlenecks would be revealed by a high amount of CPU time devoted to system or wait states, with associated high levels of io pages in and out.

Another possibility is that your processes absorb enough runtime RAM to cause the machine to go into swap. vmstat would reveal that as well in swap pages in/out.

HTH.
rickholio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.