Using membase as PHP session handler
We have setup membase in a cluster to be used by some LAMP environments. The membase engine is connected to them via a local moxi installation on the webservers and PHP configured to use the moxi as session handler via the memcached session handler protocoll.
The problem is that no sessions are cleaned up, so the item count in membase only increases! This is a real problem which we must get solved. If this could not be handled by the php sessions handler (obviously) we must have some kind of commandline tool which we use to remove old sessions from membase.
Unfortunately there seems to be no way to get all keys from a vBucket and get their usage data (last used). I tried to use the tap.py script to check whether we can get this information from there but tap.py does not work (already filled a bug report!).
Can anybody help us to solve our problem? Is there a workaround?