title: Memcached 502 error when running siege (load testing)
body: <p>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</p>
  
  <p>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. </p>
  
  <p>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 :-(</p>
  
  <p>When I run siege, without the -b switch, and even with 50 users - all works fine. </p>
  
  <p>Will appreciate some guidance preferably if you can point me to some links / tutorials.</p>
  
  <p>Thanks and regards,
  Mangesh</p>