On Tue, Nov 19, 2013 at 1:33 AM, Dan Storm <[email protected]> wrote:
> beanstalkd -h has no commands for truncating/emptying the binlog (or a
> single tube if needed).

You can empty a single tube by reserving and deleting
all its jobs from a client. There's an open issue to provide
a more convenient way to do that.
https://github.com/kr/beanstalkd/issues/25

> echo "" > binlog.75
>
> Would that be safe while the service is running?

The server reads from the binlog only during startup,
so truncating one of these files won't affect the running
server, but will probably affect recovery next time it's
started. The replay code makes some effort to continue
past errors, but it could be better, and it might refuse
to start at all.

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/beanstalk-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to