On Fri, Aug 9, 2013 at 1:54 PM, Ben Pfaff <[email protected]> wrote:

> On Tue, Jul 23, 2013 at 02:53:11PM -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. If database size exceeds 10 MB, create
> > a compacted version of it and then collect it.
> >
> > Signed-off-by: Gurucharan Shetty <[email protected]>
>
> I think that it would be better to put the compacted db in a location
> for temporary files, or to unlink it after we collect it.
>
I do unlink it after collecting in the  cleanup_ovsdb() function. (Unless
you meant something else).

>
> Otherwise I'm happy with this.
>
> Acked-by: Ben Pfaff <[email protected]>
>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to