Performance issues

Discussions about the Enuuk Platform in general - both the GPL and Commercial versions
Post Reply
jjpank
Posts: 4
Joined: Wed Mar 30, 2016 2:30 am
Contact:

Performance issues

Post by jjpank » Wed Mar 30, 2016 3:13 am

Hi, I recently updated my clients old phpauction site (the php4 GPL version from 2006), to the new version (3.5). On the old site, I had the image processing and performance tweaked to run really well, thousand item auctions with decent traffic ran great on a 2CPU, 2GB ram VPS.

Now, after upgrading, the new site crashed like a fireball at the end of our moderately sized sale (150 items, few dozen users). Just hosed. Can I get your experience on required VPS specs for this new 3.5 version, and potentially things I can optimize that you have found to be the most performance hogs? Really needing some help to pin down the cause of this disastrous crash and burn. I've customized the site quite a bit, but only in basic functionality that the customers require, I haven't changed anything else (besides loading thumbnail size images as thumbnails instead of resized full photos).

Thanks a million,
- jjpank

jjpank
Posts: 4
Joined: Wed Mar 30, 2016 2:30 am
Contact:

Re: Performance issues

Post by jjpank » Wed Mar 30, 2016 3:16 am

By the way, it runs centos 5.11, running php 5.4 right now until I get the time to migrate. The main issue was the CPU load went up to 30, and it saturated the memory 2gb, and had an additional 2gb of swap it was using. In order to successfully complete my auction I expanded it up to 8cpu/32gb ram for the time being, but i really need to optimize this because that level of server cost isn't sustainable.

Thanks,
- jjpank

jjpank
Posts: 4
Joined: Wed Mar 30, 2016 2:30 am
Contact:

Re: Performance issues

Post by jjpank » Wed Mar 30, 2016 3:57 am

One more note, i'm running apache 2.2. In your installations of phpauction, do you use pre-fork apache mpm setting? Or Worker apache MPM? Not sure how thread-safe the phpauctions code is, haven't tested it at all.

RWAP
Site Admin
Posts: 750
Joined: Fri Jan 08, 2010 2:23 am
Location: Stoke-on-Trent
Contact:

Re: Performance issues

Post by RWAP » Wed Mar 30, 2016 7:06 am

Unfortunately, this is one of the main issues with running Enuuk. We have found that even with 4GB of memory on a VPS, with only a test auction site, the Apache often falls over and has to be restarted. We recommend 8GB memory on a VPS and that is what we use on the sites we have in production (you may get away with 6GB).

A dedicated server may require less memory (we have run a site on 4GB without issues).

I also use 4 x CPU, and would recommend swtiching to Centos v7 x64 if you can.

I have not tried anything other than the prefork worker, because I use ZendServer on my VPS sites - Zend Server does not support the other apache MPMs unfortunately.

We offer our own module to reduce the server load and improve the speed of the Enuuk site - see:
specialist/enuuk_modules.html#improvedSpeed

jjpank
Posts: 4
Joined: Wed Mar 30, 2016 2:30 am
Contact:

Re: Performance issues

Post by jjpank » Wed Mar 30, 2016 8:36 am

Do you use any particular tools for load testing?

Also, I have not looked at anything related to zend, does it offer enough benefits to consider running it?

Thanks for the info,
- jjpank

RWAP
Site Admin
Posts: 750
Joined: Fri Jan 08, 2010 2:23 am
Location: Stoke-on-Trent
Contact:

Re: Performance issues

Post by RWAP » Wed Mar 30, 2016 9:09 am

I have not used anything in particular for load testing, but one of the sites in the USA who installed my module, had run it successfully with over 150,000 listings but they didn't say how many people were logged onto the site

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests