Closed GoogleCodeExporter closed 8 years ago
And also redis-info:
# telnet localhost 6379
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
info
$251
redis_version:0.094
connected_clients:96
connected_slaves:0
used_memory:155573912
changes_since_last_save:10218
last_save_time:1241769577
total_connections_received:466
total_commands_processed:1660248
uptime_in_seconds:460
uptime_in_days:0
Original comment by vereteln...@gmail.com
on 8 May 2009 at 8:01
Hello!
That does not sound very good at all. May you please provide the script source
code?
Thanks.
Original comment by anti...@gmail.com
on 8 May 2009 at 9:54
Tried to reproduce this using the same commands, no way so far. Maybe it's
about the
combination of multiple commands given in a specific order. The perl script
will be
very appreciated.
Original comment by anti...@gmail.com
on 8 May 2009 at 10:48
I thing this problem in mget. Used this script on empty dataset to reproduce:
#!/usr/bin/perl
use lib '.';
use strict;
use Redis;
my $values = 5000;
my $r = new Redis;
## foreach (1..$values) {$r->set($_, int(rand()*$values));}
while (1) {
my @bans;
foreach (1..16) {my $i = int(rand()*$values); push @bans, $i if not grep($_ eq
$i, @bans)}
$r->mget(@bans);
}
Speed of memory usage growing is depends on $values
Original comment by vereteln...@gmail.com
on 9 May 2009 at 1:35
"think" of course, not "thing" :)
Original comment by vereteln...@gmail.com
on 9 May 2009 at 1:38
Ok now I can reproduce the bug, the problem was about this being 0.094/0.095
specific, so HEAD didn't showed this problem. I'm going to fix this issue, but
Redis-Git is already ok since the command parsing code was rewritten some day
ago.
Thanks, Salvatore
Original comment by anti...@gmail.com
on 9 May 2009 at 6:47
Fixed in Redis-0.096 thanks again.
Original comment by anti...@gmail.com
on 9 May 2009 at 7:04
Original issue reported on code.google.com by
vereteln...@gmail.com
on 8 May 2009 at 7:57