<    April 2017    >
Su Mo Tu We Th Fr Sa  
                   1  
 2  3  4  5  6  7  8  
 9 10 11 12 13 14 15  
16 17 18 19 20 21 22  
23 24 25 26 27 28 29  
30
00:10 timg__ joined
00:16 Cohedrin joined
00:21 isaackearse joined
00:23 <isaackearse> Hi :) Is there anyone here that might be able to help me with a problem I'm having with hiredis?
00:28 daxelrod joined
00:32 daxelrod1 joined
00:35 <isaackearse> I'm getting this error: "double free or corruption (!prev)"
00:35 <isaackearse> This is after a redisCommand returns REDIS_ERR_EOF Server closed the connection
00:52 watersoul joined
00:53 orbyt_ joined
00:54 dh01 joined
00:54 gajus joined
00:54 <orbyt_> Hey all, anyone using the node client? I'm looking for a simple way to check if my redis db is empty when starting up. Is there a simple way to do that?
00:54 isaackearse joined
00:58 Champi joined
00:58 zetsubou joined
01:20 nathans joined
01:37 olalonde joined
01:52 isaackea_ joined
01:54 rchavik joined
01:58 cyborg-one joined
02:03 soveran joined
02:11 timg__ joined
02:18 daxelrod joined
03:03 Guest96 joined
03:12 timg__ joined
03:25 Guest96 joined
04:02 saurabhjha joined
04:02 saurabhjha joined
04:06 saurabhjha joined
04:08 chen joined
04:08 fakenerd joined
04:13 timg__ joined
04:18 saurabhjha joined
04:19 saurabhj_ joined
04:34 saurabhjha joined
04:36 saurabhjha joined
04:40 chen joined
04:49 fakenerd joined
04:53 saurabhjha joined
04:53 isaackearse joined
04:55 saurabhjha joined
04:56 ppang joined
04:56 wachpwnski-mobi joined
04:56 <wachpwnski-mobi> Anyone use txredisapi?
05:07 svm_invictvs joined
05:18 Jarvis185 joined
05:19 saurabhjha joined
05:20 steeze joined
05:30 ppang joined
05:34 ogny joined
05:41 fakenerd joined
05:48 fakenerd joined
05:52 winem_ joined
05:56 rendar joined
06:07 Guest96 joined
06:09 hos7ein joined
06:15 timg__ joined
06:17 aruns joined
06:22 fakenerd joined
06:22 tarkus joined
06:28 Guest96 joined
06:29 fakenerd_ joined
06:30 fakenerd joined
06:32 soveran joined
06:36 isaackea_ joined
06:42 saurabhjha joined
06:44 saurabhj_ joined
07:06 kiran_ joined
07:19 tavish joined
07:24 cyborg-one joined
07:31 saurabhjha joined
07:34 brk_ joined
07:35 indi_ joined
07:37 indi_ joined
07:37 JohnnyRun joined
07:42 saurabhjha joined
07:45 mikecmpbll joined
07:48 wCPO joined
07:48 wCPO joined
07:48 HelgeO joined
07:49 saurabhjha joined
07:50 fakenerd_ joined
07:56 mikecmpbll joined
08:09 Cohedrin joined
08:16 timg__ joined
08:16 saurabhjha joined
08:26 ranjan joined
08:34 saurabhjha joined
08:36 tempus_fol joined
08:37 ELS joined
08:37 <ELS> Hi all
08:39 <ELS> does anyone know what could be the issue for this log message ?
08:39 <ELS> StackExchange.Redis.RedisConnectionException: SocketFailure on GET ---&gt; System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---&gt; System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
08:40 ahtik_ joined
08:45 wCPO joined
08:49 drbobbeaty joined
08:50 tempus_fol joined
08:54 fakenerd joined
08:54 <minus> wachpwnski-mobi: yes. but that's not a question
08:55 <ELS> does anyone know what could be the issue for this log message ?
08:55 <ELS> StackExchange.Redis.RedisConnectionException: SocketFailure on GET ---&gt; System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---&gt; System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
08:55 <minus> ELS: read you the first time
08:55 <ELS> Is it a network issue ? or system ?
08:55 <minus> ELS: if the connection was idle for a longer time then it's not surprising it broke
08:56 <minus> though i'm not too familiar with windows socket error messages
08:56 mortenie joined
09:02 <wachpwnski-mobi> minus: I think I got it figured out. My other question would be how do you manage a connection pool between different web routes? Should I use some type of class instance for each resource, or can I open a connection each request?
09:02 saurabhjha joined
09:03 fakenerd joined
09:04 <wachpwnski-mobi> In other words, if I call rc = yield redis.ConnectionPool(…), will the library handle the connections on the backend, or do I need to manage that `rc` so I don't keep opening connections?
09:05 isaackearse joined
09:07 <minus> wachpwnski-mobi: it keeps connections open and reuses them, that's what connection pools do
09:11 fakenerd joined
09:12 mortenie joined
09:14 <wachpwnski-mobi> minus: But if I keep declaring the connection pool instance in each route/resource, it will make multiple connection pools, right?
09:19 <minus> yeah, probably
09:22 <wachpwnski-mobi> minus: https://bpaste.net/show/6421fabbd004
09:23 <wachpwnski-mobi> I think I just need to make a class to operate as a globally shared client.
09:23 magnetik joined
09:24 <wachpwnski-mobi> Maybe i'll use a context manager
09:25 <wachpwnski-mobi> or a decorator
09:25 <magnetik> Heyo ! Quick question about something I'd like to do with redis. I'm doing some leaderboard by region for multiple games, so sorted set are awesome. But when some people some region, I need to find all leader board where this player is. I should use a different set for this ?
09:27 <minus> wachpwnski-mobi: i'm sure getting the pool into there is a solved problem
09:30 <wachpwnski-mobi> minus: I'm using twisted klein, I don't see any adaptors for it, I'll have to make my own.
09:31 <wachpwnski-mobi> magnetik: You will probably have to keep two namespaces for that type of operation, yes.
09:42 mortenie joined
09:45 Dave_R joined
09:48 saurabhjha joined
09:50 saurabhjha joined
09:53 <minus> wachpwnski-mobi: why klein btw and not flask?
09:55 <wachpwnski-mobi> I like klein, flask takes a bit of work to get it to work async
09:56 mortenie joined
10:00 <minus> you don't need "async" if you're using gevent \o/
10:05 HelgeO joined
10:05 fakenerd joined
10:06 indistylo joined
10:15 fakenerd joined
10:16 soveran joined
10:16 soveran joined
10:18 timg__ joined
10:26 fakenerd joined
10:35 kiran_ joined
10:44 edge226 joined
10:46 akovari joined
10:53 JohnnyRun joined
10:59 tavish joined
11:02 HelgeO joined
11:15 drbobbeaty joined
11:19 fakenerd joined
11:23 chipotle joined
11:26 saurabhjha joined
11:27 isaackearse joined
11:32 mortenie joined
11:43 Guest96 joined
11:45 kiran_ joined
11:51 Jarvis185 joined
11:54 programmingcool joined
12:01 wlightning-fuel joined
12:02 programmingcool joined
12:02 saurabhjha joined
12:11 programmingcool joined
12:17 saurabhjha joined
12:20 kiran_ joined
12:24 edge226 joined
12:45 aruns__ joined
12:46 edrocks joined
12:49 saurabhjha joined
12:52 <KekSi> sooo.. does anyone have a dump/restore bash script or something? checking google i can pretty much only find things with tons of dependencies
12:53 <KekSi> i'd prefer a tiny shellscript rather than having python + pip or ruby + gem as dependencies
12:55 <KekSi> using redis-cli KEYS \* | xargs redis-cli DUMP is good enough to get to the values but then to use RESTORE i'll need the key aswell (which isn't there then)
12:58 <minus> KekSi: shell scripts are shit for this kind of thing though
13:00 <minus> KekSi: a statically compiled Go tool would work, i guess. assuming you can bootstrap it
13:00 <KekSi> i'd love to put it in my redis image - anything statically compiled really would be fine
13:02 mortenie joined
13:06 EyePulp joined
13:06 <minus> C program with hiredis statically linked would probably work too
13:06 <minus> i have nothing at hand though
13:16 Guest96 joined
13:19 timg__ joined
13:48 saurabhjha joined
13:56 bannakaffalatta joined
14:01 bannakaf_ joined
14:06 mortenie joined
14:07 daxelrod joined
14:08 bannakaffalatta joined
14:08 mentocd_ joined
14:09 akovari joined
14:09 <mentocd_> Can I copy a dump.rdb to another server's /var/lib/redis/dump.rdb and restart the redis server and everything is happy, the stars have aligned, and I'm good?
14:09 <* mentocd_> hopes it's as easy as that
14:12 <mentocd_> I guess I didn't SAVE in redis-cli
14:20 timg__ joined
14:21 <mentocd_> hi, I'm getting this when I try to start redis server https://bpaste.net/show/eae15b58824b
14:21 manuel_ joined
14:21 <mentocd_> redis-server.service: Start request repeated too quickly.
14:23 dblessing joined
14:25 <bigpic> hey redis should abandon their own clustering tech in favour of a dynamo solution ie: dynomitedb
14:26 <bigpic> beats it hands down
14:26 <bigpic> why reinvent the wheel
14:26 <mentocd_> ah, I think it's because coping dump.rdb from server A to server B is failing because A has 3.2 and B has 3.0
14:37 efphe joined
14:39 <manuel_> join
14:39 <manuel_> hi
14:39 <manuel_> does any body know
14:39 <manuel_> if there is any license for aix
14:40 <manuel_> we are looking for a license with support
14:40 <manuel_> but i can not find anything like that
14:48 trustyhank joined
14:55 steeze joined
14:58 <minus> mentocd_: yes, that can be a problem
15:03 mikecmpbll joined
15:04 ahtik__ joined
15:08 ahtik_ joined
15:08 saurabhjha joined
15:20 soveran joined
15:21 timg__ joined
15:23 SkyRocknRoll joined
15:23 al-damiri joined
15:25 edrocks joined
15:26 etehtsea joined
15:28 SkyRocknRoll joined
15:39 saurabhjha joined
15:41 mikecmpbll joined
15:42 timg__ joined
15:46 minimalism joined
15:47 shinnya joined
15:49 isaackearse joined
15:51 saurabhjha joined
15:53 tarkus joined
15:55 soveran joined
15:55 soveran joined
15:58 bannakaffalatta joined
16:01 orbyt_ joined
16:17 svm_invictvs joined
16:21 tavish joined
16:23 saurabhjha joined
16:38 steeze joined
16:47 saurabhjha joined
16:49 indistylo joined
16:53 isaackea_ joined
16:57 sz0 joined
17:04 edrocks joined
17:11 steeze joined
17:19 xiaomiao joined
17:34 iamchrisf joined
17:35 Cohedrin joined
17:38 saurabhjha joined
17:51 cyborg-one joined
17:53 steeze joined
17:56 orbyt_ joined
18:05 mortenie joined
18:07 jmtee joined
18:10 Guest96_ joined
18:17 saurabhjha joined
18:20 kushal joined
18:20 kushal joined
18:23 bberry joined
18:26 rendar joined
18:26 rendar joined
18:29 bannakaf_ joined
18:38 drbobbeaty joined
18:49 saurabhjha joined
19:05 soveran joined
19:07 OneOneOneOne joined
19:08 ahtik_ joined
19:19 iamchrisf joined
19:21 JohnnyRun joined
19:27 chipotle joined
19:30 steeze joined
19:31 iamchrisf joined
19:39 timg__ joined
19:52 iamchrisf joined
19:58 hahuang65 joined
20:00 mikecmpbll joined
20:01 wCPO joined
20:10 saurabhjha joined
20:14 hos7ein joined
20:18 Cohedrin joined
20:26 Cohedri__ joined
20:39 steeze joined
20:45 edrocks joined
20:55 saurabhjha joined
20:58 kants joined
20:58 kants joined
21:49 kants joined
21:49 kants joined
21:49 iamchrisf joined
21:52 dmarr left
21:57 soveran joined
22:03 saurabhjha joined
22:14 alexi5_wrk joined
22:19 steeze joined
22:21 robk joined
22:21 <robk> question, is redis a 1:1 memmory-data mapped database?..
22:22 <robk> I have a situation where 35k cds (content delivery hash) tokens are generated along with ttl's, and I'm getting reports over half the tokens are missing, this seems like a circular buffer issue right?..
22:23 <robk> not enough provisioned storage and redis is overwriting storage on older keys.
22:23 <robk> evicting older keys.
22:26 bannakaffalatta joined
22:33 saurabhjha joined
22:37 iamchrisf joined
22:43 atomi joined
22:58 soveran joined
23:03 drbobbeaty joined
23:09 indi_ joined
23:12 saurabhjha joined
23:12 chipotle joined
23:15 wlightning-fuel joined
23:34 fireglow joined
23:40 minimalism joined
23:42 fireglow joined
23:43 wlightning-fuel joined
23:55 saurabhjha joined
23:55 garfed joined