djveremix / redis

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

Possible memory leak #269

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start redis 1.2.6
2. Use it as backend for PHP sessions using rediska
3. Watch the OS memory usage increase over time, while the internal redis 
memory usage is stable

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

What version of the product are you using? On what operating system?
1.2.6 on Debian 5.0 GNU/Linux x86_64

Please provide any additional information below.
Output of redis-cli info

redis_version:1.2.6
arch_bits:64
multiplexing_api:epoll
uptime_in_seconds:425959
uptime_in_days:4
connected_clients:85
connected_slaves:1
used_memory:653934091
used_memory_human:623.64M
changes_since_last_save:6550
bgsave_in_progress:0
last_save_time:1277734354
bgrewriteaof_in_progress:0
total_connections_received:12772641
total_commands_processed:51932495
role:master
db0:keys=39701,expires=39695

output of relevant "ps auxf" line:

redis    28516  4.4 29.8 3703088 3696060 ?     Ss   Jun23 315:38 
/usr/bin/redis-server /etc/redis/redis.conf

3696060 = 3.6Gbytes of memory used

Original issue reported on code.google.com by vid...@gmail.com on 28 Jun 2010 at 2:16

GoogleCodeExporter commented 8 years ago
Maybe I'm seeing the effects of 
http://code.google.com/p/redis/issues/detail?id=242 ?

Original comment by vid...@gmail.com on 28 Jun 2010 at 2:18

GoogleCodeExporter commented 8 years ago
Mmh,, definitely I think I'm seeing this

http://code.google.com/p/redis/issues/detail?id=248&start=100

which is memory fragmentation

Original comment by vid...@gmail.com on 6 Jul 2010 at 8:08

GoogleCodeExporter commented 8 years ago

Original comment by anti...@gmail.com on 31 Aug 2010 at 11:01