Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Memcached process hangs under load ~ 30 mb/s #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello.
What steps will reproduce the problem?
1. Put several(10-15) images with size : 10-20kb into memcached;
2. Using any load tester (I use curl-loader) make load  ~30 mb/s
3. Load test get images from memcached sequentially. Period- one image
   per 100 ms. 
3. Result:  one memcached process hangs, and load one CPU kernel at 100 %

What is the expected output? What do you see instead?
I expected, memcached don't hang.

What version of the product are you using? On what operating system?
1. OS: Linux RHEL 2.6.18 (i386);
2. memcached-1.4.5;
3. nginx-0.8.53 with memcached module;

Please provide any additional information below.
I Attached test plan for curl-loader.

Original issue reported on code.google.com by JohnBa...@gmail.com on 3 Dec 2010 at 8:46

Attachments:

GoogleCodeExporter commented 9 years ago
it's not memcached problem.
it's problem in packet processing.
usual net crads like intel e1000 will process load in one cpu core/
that's why your one cpu loaded by kernel 100%, perhaps, you see ksoftirqd in 
the top.
try to update RHEL up to 2.6.31 (RHEL 6), it contains network multitasking 
(since 2.6.29)
better way is to use igb network card. it allows to create multiple queues

Original comment by iln...@gmail.com on 4 Dec 2010 at 4:05

GoogleCodeExporter commented 9 years ago
When you say "hang", do you mean it stops responding to all further requests, 
or does it just use a lot of CPU?

Original comment by dorma...@rydia.net on 15 Apr 2011 at 6:58

GoogleCodeExporter commented 9 years ago
Closing due to lack of information on how to follow up :/

Original comment by dorma...@rydia.net on 12 Jul 2011 at 11:26