Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, How much Ram is need to run the Apache Webserver , will 64 Mb ram be enough for apache server to run 2 sites with Mysql database . Finally: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2003
    Posts
    19

    How much ram is need for apache webserver to run


    Hi,

    How much Ram is need to run the Apache Webserver, will 64 Mb ram be enough for apache server to run 2 sites with Mysql database.

    Finally:
    How apache will consume Ram, depending upon concurrent connections?
    can we preset Ram per each apache child process??

    Thanks for your time.

  2. #2
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    If its lightly used, sure its enough. There are no hard rules on this.

    Its best to setup your server and monitor the cpu and disk usage. If its high or thrashing then double your RAM or more. No sense in spending money on RAM (even if cheap at the moment) unless your really need it. For a low end web server with low usage it may be just fine. Unless the money is buring a hole in your pocket then up to at least 256 megs.
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  3. #3
    Just Joined!
    Join Date
    Oct 2003
    Posts
    19

    Very nice

    HI,

    Thanks for your reply. , so can u suggest me any alert service like when apache / ram load is high and which don't consume more resource ??

    Thanks for your time.

  4. #4
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Part of looking after a server is for you to pay attention to it.

    You can use "top" to check how much memory/CPU a process is using. Unless you are running a *really* busy website, or you think servers should have GUI's, then IMO you can get by with 32Mb Ram.

    Jaosn

  5. #5
    Just Joined!
    Join Date
    Oct 2003
    Posts
    19
    Hi,
    Finally:
    what i want is to make a small webserver (in size and ram ) from redhat 9.0 or redhat 7.3. I reuqire only apache / php/perl/Mysql (No GUI)

    No other things. can u suggest me any pre made package ? or way to make my self .

    !!!!!! what is exactly secure apache ???!!!
    Do we need to recomile apache to make it secure , what are the guidlines to make apache secure ??? do we need to remove /add any modules ???"
    Iam dumb is pache iisue as far system i can handle iptables .


    Thanks for your quick reply and time.

  6. #6
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Quote Originally Posted by ehpserver
    Hi,
    Finally:
    what i want is to make a small webserver (in size and ram ) from redhat 9.0 or redhat 7.3. I reuqire only apache / php/perl/Mysql (No GUI)

    No other things. can u suggest me any pre made package ? or way to make my self .
    Eh?
    You can download the rpm's from rpmfind.net, or if you want to do it (IMO)Properly, go to the relevenat websites:
    http://www.mysql.com
    http://www.php.net
    http://www.perl.org
    http://httpd.apache.org

    Read the install instructions, and how the software works, then compile and install it. (for mysql, download the precompiled binaries from the mysql.com site)

    Quote Originally Posted by ehpserver
    !!!!!! what is exactly secure apache ???!!!
    Do we need to recomile apache to make it secure , what are the guidlines to make apache secure ??? do we need to remove /add any modules ???"
    Iam dumb is pache iisue as far system i can handle iptables .

    Thanks for your quick reply and time.
    "Secure apache" IMO is apache that the server admin has bothered to understand and setup properly.

    I dont have a clue what else your on about, maybe trying to explain yourself a bit better would be an idea?

    Cheers!

    jason

  7. #7
    Just Joined!
    Join Date
    Oct 2003
    Posts
    19
    Sure.

    At present i Am working 2 projects

    1.free web pages for all users

    2.Hosting wizard by using which one can easily create/mange dns entries in DNS/Apache (v hosts) / mail/ftp. like hosting managing software for linux.

    Experience:
    I can handle Windows IIS /DNS/FTP/MAil servers

    I can handle Bind / Apache / Sendmail / proftp servers

    I am familiar with hosting control panels like WHM Cpanel.

    I want to become expert Linux related services, thats why I am gathering info
    Now i am in Project 1( free web pages for linux users) work.

    As far i can setup apache and remaining services, My concern is security
    How to make existing services like Apache & Sendmail more secure etc.

  8. #8
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    There lots of documentation out on the internet.

    Apache -> http://httpd.apache.org/docs-project/
    Sendmail -> http://spandrel.com/writing/sndmail/...ytaxonomy.html

  9. #9
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    Also, check out "grsecurity(.org)"

    If you want to be secure, thats what you should use

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •