Results 1 to 20 of 20
Thread: apache 2 vs 1 ?
-
12-19-2006, 11:53 PM #1Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
apache 2 vs 1 ?
i want ask what is the recommanded apache 1 or 2 ?
-
12-20-2006, 12:43 AM #2Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Personally I still use Apache 1.x. There have been tests run and the results show that Apache2.x will serve static pages faster than Apache1.x but dynamic pages (php) are still served faster on Apache1.x.
Either way you go, you can't go wrong. The Apache Software Foundation makes an awesome product.
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 02:03 AM #3WHT Addict
- Join Date
- Mar 2005
- Location
- Hattiesburg, MS
- Posts
- 160
I second version 1.3 - It will be supported and around for a long time to come. But either one will do. Maybe flip a coin?
InsanelyMacintosh - Macintosh Software Repository Listings
-
12-20-2006, 02:03 AM #4Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
when i check these commnd on ssh :
netstat -nt | grep :80 | wc -l
i see around 2154 or 1950 connected
if i change it ro 2.x that serv me or not
server details:
dual xeon 3.2
ram 4gb
-
12-20-2006, 02:06 AM #5WHT Addict
- Join Date
- Mar 2005
- Location
- Hattiesburg, MS
- Posts
- 160
yes, version 2.0 or version 1.3 will be able to handle that load very easily.
InsanelyMacintosh - Macintosh Software Repository Listings
-
12-20-2006, 02:06 AM #6Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Are you having issues with the current installed version? If not, I wouldn't touch it.
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 02:10 AM #7Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
i have high load and also i have high memusage
-
12-20-2006, 02:21 AM #8Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Each instance will be different. What type of content is being served up on those 2154 connections. You will really need to do some research to solve this problem. It may be that you just need to tweak your settings a bit.
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 02:22 AM #9Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
those connections using httpd and mysql
-
12-20-2006, 02:24 AM #10Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
httpd version : 1.3.37
mysql version : 4.0.27
-
12-20-2006, 02:32 AM #11Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Have you optimised each of the services? You may be able to save all of it by just tweaking the conf files. Again, this is going to take you doing some research into which settings are best for your situation. Try googling somethign like: optimize mysql or optimize apache. If after all of this you are still ahving issues, it may be time to consider moving some clients off of the machine or if this is one client, maybe discuss the possibility of a cluster.
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 02:39 AM #12Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
i do a lot of settings but i still got troubles
-
12-20-2006, 02:42 AM #13Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Is this just one site or multiple clients? As stated previously, you have options to balance the load amongst multiple servers.
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 02:47 AM #14Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
i don't think there is a huge sites on this server it's around 170 sites and maximum bandwidth usage for some sites in mount between 30 or 40 gig and these sites around 5
-
12-20-2006, 02:55 AM #15Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Unfortuantely, you cannot ever say how many clients will be to many on shared server. It will always come down to the type of content served. You could have thousands of static low traffic sites that never stress a server and on the flip side you could have 1 site that needs to be spread across a 10 server cluster. It all depends on the sites themselves. If you have 2000 connections active to apache, the sites are dynamic and using mysql, your load and memory usage is high and you have properly tweaked and configured your system it looks like it is time to spread your accounts out over multiple servers. If not, you run the risk of the sites running slow and then your users will start to complain, or worse, cancel.
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 02:58 AM #16Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
is there i simple or default setting or optimise for the high load or high connections for httpd and mysql ?
-
12-20-2006, 03:05 AM #17Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 71
is there a default setting for optimise and tweek for high load and high connections for the noth of httpd,mysql ?
-
12-20-2006, 03:05 AM #18Web Hosting Guru
- Join Date
- May 2006
- Location
- Teh Interweb
- Posts
- 314
Try something like:
google: high load apache optimize
[theBleeber@wht01] ~ $ cat .signature
cat: .signature: No such file or directory
-
12-20-2006, 07:27 AM #19LORD OF THE RINGS
- Join Date
- Dec 2005
- Location
- Internet
- Posts
- 1,352
Originally Posted by 4mhfSenior Server Administrator
-
12-20-2006, 09:01 AM #20Web Hosting Master
- Join Date
- Nov 2001
- Location
- London
- Posts
- 4,931
Paste the top of your httpd.conf and my.cnf here and we can have a look.
Matthew Russell | Namecheap
Twitter: @mattdrussell
www.easywp.com - True Managed WordPress, made easy