ashish-goyal / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Redis-server stuck in D state when logfile volume stuck/locked #535

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of Redis you are using, in what kind of Operating System?

Debian/ v.2.2.2

What is the problem you are experiencing?

redis server unresponsive when not able to log. Changing the logfile from 
redis-cli does not work and redis-server is in D state

What steps will reproduce the problem?

The problem happened during the crash of ec2/ebs at amazon. Difficult to 
reproduce. After the volumes reappeared, redis continued without skipping a 
beat after being stuck for 36 hours.

Do you have an INFO output? Please past it here. The first process is the 
BGSave process

root      2592  0.0 56.9 10233524 10208484 ?   D    Apr21   0:00 
src/redis-server redis.conf
root     23596  0.1 56.9 10233524 10208944 ?   Ds   Mar31  63:07 
src/redis-server redis.conf
root     32341  0.0  0.0   3876   668 pts/0    S+   14:07   0:00 grep 
redis-server

If it is a crash, can you please paste the stack trace that you can find in
the log file or on standard output? This is really useful for us!

no crash -- just stuck until the volume reappears. Only use of the volume was 
for BGsaves and logfile (no paging involved)

Please provide any additional information below.

Original issue reported on code.google.com by jean.pau...@gmail.com on 23 Apr 2011 at 12:09