Results 1 to 10 of 18
-
3rd Feb 2011, 05:20 AM #1OPMember
Running Apache on 128MB RAM?
is this possible? i tried it myself, with a bit tweaking & optimizing
but always end up having my 128 RAM swallowed mostly by apache.masterbator Reviewed by masterbator on . Running Apache on 128MB RAM? is this possible? i tried it myself, with a bit tweaking & optimizing but always end up having my 128 RAM swallowed mostly by apache. Rating: 5
-
3rd Feb 2011, 10:27 AM #2Member
Yeah, i'd say you'd better run nginx + php-fpm
apache is so heavy...
-
3rd Feb 2011, 10:32 AM #3Banned
using the following codes on centos
yum -y install httpd
yum -y install mysqld mysql-server
yum -y install php php-mysql
yum -y install php-gd php-imap
service httpd start
service mysqld start
i am able to run a website with not more than 50mb of ram without any control panel
-
3rd Feb 2011, 10:40 AM #4Banned
just don't use any control panel
-
3rd Feb 2011, 10:34 PM #5Member
128MB would be enough depending on your situation. ie
having 50,000 people a day downloading stuff vs. a simple personal blog.
For a simple webserver I think it should be fine.
-
3rd Feb 2011, 10:47 PM #6BannedWebsite's:
FusionWarez.info SmokeHost.net Leechers.conGinx + PHP-FPM
Or just do this:
yum -y install httpd
yum -y install mysqld mysql-server
yum -y install php php-mysql
yum -y install php-gd php-imap
service httpd start
service mysqld start
-
3rd Feb 2011, 10:49 PM #7BannedWebsite's:
KWWHunction.comIt does depend, What are you needing apache for ?
-
4th Feb 2011, 04:12 AM #8OPMember
-
8th Feb 2011, 06:56 PM #9Member
I would suggest you look into lighttpd or nginx, nginx prefered, since it's much better at handling connections then lighttpd.
setup mysql, nginx, tune the mysql for low memory, maybe introduce some disk caching on static content (if running wordpress)
We have clients running setups like this.
-
9th Feb 2011, 07:12 AM #10MemberWebsite's:
florijan.netRunning nginx is a must, now if you run PHP-FPM set the one pool and set it to use few workers. You will see what is the memory usage of each PHP-FPM child, however running a web server on 64 MB machine would need certain drastic drawbacks, as not using MySQL (or disabling the InnoDB storage and optimizing MySQL for this low-level environment). Better yet is to use a remote MySQL database or use SQLite for that matter.
Also, if you set caching in nginx be prepared for it to eat up some memory too, if disable it you should have a web server running happily under 45-50 MB.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
HTTPZoom - 128MB RAM VPS ?12/year (UK)
By httpzoom in forum VPS Hosting OffersReplies: 3Last Post: 20th Aug 2012, 01:49 PM -
free vps 128MB RAM
By safefake in forum Contests & GiveawaysReplies: 7Last Post: 5th Apr 2012, 04:12 AM -
Need Help - Running php as apache module instead of php-cgi on kloxo
By Enigmatic in forum Technical Help Desk SupportReplies: 0Last Post: 1st Oct 2011, 09:17 PM -
is 128mb RAM enough??
By souvikroy1111 in forum Hosting DiscussionReplies: 8Last Post: 31st Jul 2011, 11:18 AM -
Running rapidleech on Apache or Lighttpd?
By kohkindachi in forum Technical Help Desk SupportReplies: 10Last Post: 28th Nov 2010, 12:21 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...