Results 1 to 10 of 10
Thread: Apache (httpd) Fails!
Hybrid View
-
12-18-2005, 08:35 PM #1Junior Guru Wannabe
- Join Date
- May 2005
- Location
- Pakistan
- Posts
- 73
Apache (httpd) Fails!
Hi,
I am really tensed about the problem of Apache Failure very frequently, whenever there are 150 Connections being processed and CPU Load 1-1.5, Apache (httpd) restarts...
I am on 2.4 Celeron Processor with 512 RAM , and hosting some downloadable content which is highly downloaded at every moment... so anyone have any idea that why httpd restarts so frequently even after 30 mins when connections are 150...
Also (For an Idea) the Bandwidth consumption is also such that in 1 hour 1 GB data is being downloaded. So, because i have never experience such issue so don't have any idea on this...
-
12-18-2005, 08:41 PM #2Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Try increasing MaxClients in httpd.conf.
Assuming your using the default config, you can simply run this shell command:
replace "MaxClients 150" "MaxClients 300" -- /usr/local/apache/conf/httpd.conf;service httpd restart
Let me know how it goesMediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business
-
12-18-2005, 08:56 PM #3Junior Guru Wannabe
- Join Date
- May 2005
- Location
- Pakistan
- Posts
- 73
thanx for your reply, but as i am new user i even do not know how to edit the httpd.conf
So, i would be greatfull if you do let me know.
-
12-18-2005, 09:11 PM #4Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Simply use the shell command I gave you.
replace "MaxClients 150" "MaxClients 300" -- /usr/local/apache/conf/httpd.conf;service httpd restart
pico /usr/local/apache/conf/httpd.confMediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business
-
12-18-2005, 09:22 PM #5Web Hosting Master
- Join Date
- Feb 2005
- Posts
- 1,358
You may have to use nano instead of pico, because pico isnt an option on some OS anymore.
Eleven2 Web Hosting - World-Wide Hosting, Done Right!
-
12-18-2005, 09:30 PM #6Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Originally Posted by SJRHosting.comMediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business
-
12-18-2005, 09:28 PM #7Junior Guru Wannabe
- Join Date
- May 2005
- Location
- Pakistan
- Posts
- 73
Hi,
Thanx alot i have edited httpd.conf and i hope it would'nt happen again..
A bundle of THANX
-
12-18-2005, 11:41 PM #8Web Hosting Master
- Join Date
- May 2003
- Location
- Florida
- Posts
- 902
Originally Posted by funmaza
service httpd restart
-
12-25-2005, 05:53 PM #9Junior Guru Wannabe
- Join Date
- May 2005
- Location
- Pakistan
- Posts
- 73
ok thanx for helping my problem has been solved
Best Entertainmnet Site,
Polyphonic Ringtones | Bollywood Stuff
-
12-25-2005, 08:58 PM #10Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 2,203
Seems that you don't have enough ram and apache isn't good for serving large files. Also, maybe you have some of script that restart apache when it reaches x load.
You could use lighttpd to serve those files, heard it's very good.