Logging: Free the ringbuffer in child processes created with ctdb_fork()
authorMartin Schwenke <martin@meltin.net>
Tue, 5 Feb 2013 01:09:36 +0000 (12:09 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 5 Feb 2013 01:40:30 +0000 (12:40 +1100)
commit8dc3219e9b9977f9a07e7caa53299071002b20c2
tree9e0791bf303ea5c50a0f24ebd5b6ff637cd0c969
parentf2ba0e8a65cfa1bc0d24e513e72d8345e5288814
Logging: Free the ringbuffer in child processes created with ctdb_fork()

At the moment the log ringbuffer is duplicated in every child process.
Althought it is copy-on-write we want to see if it is contributing to
out-of-memory situations when there are a lot of children.

The ringbuffer isn't accessible from any of the children anyway...

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit a82d3ec12f0fda16d6bfa8442a07595de897c10e)
ctdb/common/ctdb_fork.c