I am wondering this as well. I currently have a 15G instance of
beanstalk running that had about 50 million jobs at one time. All
clients have been disconnected from the server. I've emptied out all
the queues so all that remains is default:
Tue Jan 25 13:24:25 -0800 2011
+---------+-------+---------+----------+-------+
| name | ready | delayed | reserved | total |
+---------+-------+---------+----------+-------+
| default | 0 | 0 | 0 | 0 |
+---------+-------+---------+----------+-------+
The process size hasn't changed and remains 15G.
There is also nothing in the binlog:
-r-------- 1 jokes jokes 10485760 2011-01-25 13:11 binlog.6192
-rw------- 1 root root 0 2010-11-02 17:55 lock
Does beanstalk not release memory after it is done? It would be a
useful feature to have since I end up running a separate instance of
beanstalk when I will have tens of millions of jobs that may be left
in beanstalk for weeks at a time. I would not want my normal instance
of beanstalk that does routine tasks to occupy 15G.
Eric