The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

httpd.conf size??

Discussion in 'General Discussion' started by ozzieonline, Jan 21, 2013.

  1. ozzieonline

    ozzieonline Well-Known Member

    Joined:
    Dec 20, 2012
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi guys,

    Is the httpd.conf file read with every page request? Or is it stored in the server's internal memory?

    I see that each of my vhosts contains about 40 lines of code. I wonder... I only have a few vhosts now, but if I ever have 500 vhosts (that would be cool :D) then it would mean 500 x 40 lines of code = 20.000 lines of code. Would that be a problem? Or no problem at all?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I don't know where it's stored, but it's not read with every page request.
    That's why you need to restart Apache after httpd.conf changes.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Depending on the server and other things, you could have 1000's of accounts on your server. Restarting Apache might take a bit more time to reload of course.
     
Loading...

Share This Page