[ovs-dev] [PATCH 3/5] ovs-bugtool: Compact the database before collecting.

Ben Pfaff blp at nicira.com
Tue Jul 23 18:31:42 UTC 2013


On Mon, Jul 22, 2013 at 12:17:07PM -0700, Gurucharan Shetty wrote:
> Currently the openvswitch database is being collected with
> CAP_NETWORK_CONFIG which has a max size of 50 KB. This is
> quite low as the database can easily be larger than 50 KB.
> 
> Move database collection to CAP_NETWORK_STATUS which does
> not have a max size. Also, compact the database before picking
> it up.
> 
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

Compacting the database loses tons of information that I often find
valuable.  I would prefer to compact it only if it's too big to
practically include the full version.  Also, I think that it would be
better to compact only a copy of the database, instead of the version
actually in use.



More information about the dev mailing list