SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Expression Engine, load, and Apache

    Hello,

    I am consulting for a site that uses Expression Engine as its content management suite and Apache/LiteSpeed + Varnish with an SQL database.

    We are being told that the server is over-capacity (mainly CPU), and that a big part of the problem is that Expression Engine does not play well with Apache.

    I am sorry I can't be more specific, but does that sound right? Is that the reputation that Expression Engine has? Compared to WordPress for example, is it really a huge resource hog?

    If true, can anything be easily done to improve the situation?

    Thanks in advance.

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    Hard to say without knowing more about your server and traffic load, but doesn't sound right to me. Never heard of particular issues with EE/apache. Extremely rare for apache to max out cpu before mysql does, with varnish on the frontend acting as cache it should be serving most requests without any connection to apache - I'd check it's configured correctly and that you're getting a good cache hit rate.

  3. #3
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    I agree with EastCoast, the DB will run out of available connections/ max cpu usage before PHP/ Apache do. Perhaps you're simply having a lot of traffic on a server that is no longer up to the task of handling all the traffic (even with Varnish in place)?

    Maybe it's time to throw some extra hardware at it

  4. #4
    Twitter: @TimIgoe silver trophy TimIgoe's Avatar
    Join Date
    Feb 2005
    Location
    Blackpool, UK
    Posts
    1,056
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    Just be aware, that throwing more hardware at the problem MAY not be the entire solution... in the case of a forum I'm involved with, Jelsoft's answer was to throw more hardware at it, that was 2 years ago - we're still running on the same, single server when they claimed we'd need 4 to run the setup.

    Is it possible there are some queries in the code that could be optimised to improve the sites performance?

  5. #5
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    Or try an op-code cache like APC, that might help a lot.

    Edit>>
    Yeah, throwing extra hardware at it isn't always the best solution. I should have stated that a little more clearly in my original answer

  6. #6
    SitePoint Member
    Join Date
    Nov 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately I have the same problem in a number of the hosting companies. CPU of expression engine and RAM usage is extreme. What I am looking now is to find somebody who can help me change the platform and move in Word Press.

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by balkans View Post
    CPU of expression engine and RAM usage is extreme.
    That shouldn't be happening. Have you tried any steps like these?

    http://expressionengine.com/wiki/Optimize_EE

  8. #8
    SitePoint Member
    Join Date
    Nov 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you solve this problem. It is second year that I have the same one, with extreme spending of the resources due to extremely high CPU and RAm in myw web site that is designed in expression engine

    I will appreaciate if you find time to anser

    thank you


Bookmarks

Posting Permissions

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