yunhuizhu / memcached

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

Spontaneous quits on Solaris #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get a memcached
2. Build it on Solaris 10
3. Run it.

What is the expected output? What do you see instead?

Expected output is none.
I see instead something like this:

rcurr=30eb2b0 ritem=12740d1f rbuf=30e9c10 rlbytes=1070 rsize=8192
Failed to read, and not due to blocking:
errno: 0 Error 0
rcurr=10acb12c ritem=11eea05b rbuf=10aca010 rlbytes=2467 rsize=8192
Failed to read, and not due to blocking:
errno: 0 Error 0
rcurr=10cc6eb0 ritem=11f77c3f rbuf=10cc5810 rlbytes=1403 rsize=8192
Failed to read, and not due to blocking:
errno: 0 Error 0
rcurr=10e08d08 ritem=11ed6ef7 rbuf=10e07c10 rlbytes=2513 rsize=8192
Failed to read, and not due to blocking:
errno: 0 Error 0
rcurr=20b5db7 ritem=11f77746 rbuf=20b4c10 rlbytes=2656 rsize=8192
Failed to read, and not due to blocking:
errno: 0 Error 0
rcurr=10c57508 ritem=11f77696 rbuf=10c56410 rlbytes=3126 rsize=8192
[warn] port_getn: Error 0 
(and here the output ends, memcached quits. ETA is about 18 hours from the 
start)

What version of the product are you using? On what operating system?

Solaris 10 x86, running in x64 mode.
libevent 2.0.18-stable
memcached-1.4.13

Please provide any additional information below.

memcached is built with gcc, the version is:
(GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Though it's old, this is the main version on Solaris 10.

The average load is (according to cacti):
- about 200-300 requests per second
- about 396K objects in cache
- about 200 simultaneous connections
- 10-12 megabits/sec traffic from memcached

Original issue reported on code.google.com by zhega...@gmail.com on 4 May 2012 at 3:41

GoogleCodeExporter commented 9 years ago
This may be related to the following issue: 
http://code.google.com/p/memcached/issues/detail?id=118

Original comment by bit...@gmail.com on 1 Jun 2012 at 10:34

GoogleCodeExporter commented 9 years ago
Sorry, your version of gcc is just too old :( There isn't much we can do about 
it. Please let us know if you run into similar issues with a more modern build

Original comment by dorma...@rydia.net on 14 Jul 2012 at 11:31