I am kind of new to server setups. I installed Nginx + NGX Pagespeed + PHP FPM + APC + MemCached on Ubuntu 12.04 and topped all of this with Joomla 3.1
All works well except when I try to run siege for load testing. When I use the -b parameter with siege (benchmarking), I start getting a 502 error immediately. Even if I bring the concurrent connections down to 2, I still get the error.
The site goes down and even in a browser, I get a 502 error. With some research, I think the issue is with the persistent connections in Memcached however I have no clue on how and where to tweak the configuration. In fact, I do not know how to proceed :-(
When I run siege, without the -b switch, and even with 50 users - all works fine.
Will appreciate some guidance preferably if you can point me to some links / tutorials.
Thanks and regards, Mangesh
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.