ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Apache performance

November 09, 2011 6:20am

Subscribe [2]
  • #1 / Nov 09, 2011 6:20am

    Pv Ledoux

    95 posts

    Hi there,

    I recently faced a server crash and had to scale up to resources. We noticed that the server was able to handle around 25 to 40 simultaneous request. But above that, Apache crunches all the memory and begin to swap.

    In a first time I tried to user php-fpm instead of traditional php_mod. I did a ab test with 50 simultaneous requests, but the server exploded. So the problem is Apache I think, no PHP request.

    I was wondering if anybody here has good practices about server setup (Apache and PHP) for ExpressionEngine sites. Maybe I should try Nginx, but I don’t have experience with it.

    Thanks in advance for any good advices.

    Cheers,

    Pv

  • #2 / Nov 16, 2011 12:59am

    Still having issues? If so, what do the specs look like on your box? Amount of memory? Apache tuned right should be able to handle a pretty high load with EE if you don’t have any huge bottlenecks. Have you done any profiling/debugging on your templates to figure out your memory usage? Keep in mind with Nginx that rewrites will work differently. We run litespeed but you may not be interested in anything commercial.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases