We use redis to dispatch commands to worker processes based on lists (as queues).
The worker processes pop commands from lists in blocking mode.
The blPop command leaks memory heavily.
Please use following code snippet to reproduce the problem:
It is a consumer producer, just to showcase the bug.
Call the consumer from the command line and let it run.
Call the producer from the command line in parallel to the consumer.
You can see how the consumer (blPop) increases the memory usage until memory limit is reached.
Can't tell you the version of phpredis, it was a master checkout in february.
Thanks for reporting this, I'll have a look at it today.
Fix #9, blPop leaking memory.
This issue has been fixed in the pecl branch and merged into master.
Thank you for your fast intervention