[libvirt] (Dropping) OOM Handling in libvirt

Bjoern Walk bwalk at linux.ibm.com
Mon May 13 12:14:12 UTC 2019


Daniel P. Berrangé <berrange at redhat.com> [2019-05-13, 11:17AM +0100]:
> This is a long mail about ENOMEM (OOM) handling in libvirt. The executive
> summary is that it is not worth the maint cost because:
> 
>   - this code will almost never run on Linux hosts
>   
>   - if it does run it will likely have bad behaviour silently dropping
>     data or crashing the process
> 
>   - apps using libvirt often do so via a non-C language that aborts/exits
>     the app on OOM regardless, or use other C libraries that abort
> 
>   - we can build a system that is more reliable when OOM happens by
>     not catching OOM, instead simply letting apps exit, restart and
>     carry on where they left off
> 
> The long answer follows...

Yes, please, thank you. All in favour!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190513/3fc2df19/attachment-0001.sig>


More information about the libvir-list mailing list