[ovs-discuss] conf.db large than 400M, is that a problem?

Ben Pfaff blp at ovn.org
Wed Mar 8 04:41:44 UTC 2017


On Wed, Mar 08, 2017 at 01:33:48AM +0000, Huanglili (lee) wrote:
> When I do some tests, I found a strange thing that /etc/openvswitch/conf.db could be 432M.
> What I did is:
> while(1);do
> create a ovs bridge
> create a internal port
> delete bridge
> service openvswitch restart
> done
> 
> But when I do
> while(1);do
> create a ovs bridge
> create a internal port
> delete bridge
> #service openvswitch restart
> done
> conf.db will increase to 50M mostly and then be reduced to 400K automatically.
> 
> what's the difference?

When ovsdb-server runs, it will periodically compact the database if it
grows large.  But it has to run a while before it does that.  If you
constantly restart it, it won't get around to it.


More information about the discuss mailing list