Displaying 4 results from an estimated 4 matches for "virnetclientcalldispatchstream".
2020 Jan 22
4
Re: virsh vol-download uses a lot of memory
...coming stream data (stream is a way that
libvirt uses to transfer binary data). Problem is that instead of
returning NULL to our malloc()-s once the limit is reached, kernel
decides to kill us.
For anybody with libvirt insight: virNetClientIOHandleInput() ->
virNetClientCallDispatch() -> virNetClientCallDispatchStream() ->
virNetClientStreamQueuePacket().
The obvious fix would be to stop processing incoming packets if stream
has "too much" data cached (define "too much"). But this may lead to
unresponsive client event loop - if the client doesn't pull data from
incoming stream fa...
2020 Jan 23
1
Re: virsh vol-download uses a lot of memory
...libvirt
>> uses to transfer binary data). Problem is that instead of returning NULL to
>> our malloc()-s once the limit is reached, kernel decides to kill us.
>>
>> For anybody with libvirt insight: virNetClientIOHandleInput() ->
>> virNetClientCallDispatch() -> virNetClientCallDispatchStream() ->
>> virNetClientStreamQueuePacket().
>>
>>
>> The obvious fix would be to stop processing incoming packets if stream has
>> "too much" data cached (define "too much"). But this may lead to
>> unresponsive client event loop - if the clie...
2020 Jan 22
0
Re: virsh vol-download uses a lot of memory
...tream is a way that libvirt
> uses to transfer binary data). Problem is that instead of returning NULL to
> our malloc()-s once the limit is reached, kernel decides to kill us.
>
> For anybody with libvirt insight: virNetClientIOHandleInput() ->
> virNetClientCallDispatch() -> virNetClientCallDispatchStream() ->
> virNetClientStreamQueuePacket().
>
>
> The obvious fix would be to stop processing incoming packets if stream has
> "too much" data cached (define "too much"). But this may lead to
> unresponsive client event loop - if the client doesn't pull da...
2020 Jan 22
3
virsh vol-download uses a lot of memory
Hi all:
I am using the libvirt version that comes with Ubuntu 18.04.3 LTS.
I have written a script that backs up my virtual machines every night. I want to limit the amount of memory that this backup operation
consumes, mainly to prevent page cache thrashing. I have described the Linux page cache thrashing issue in detail here: