All of lore.kernel.org
 help / color / mirror / Atom feed
* Guest agent guest-exec memory usage
@ 2024-06-17 13:05 Konstantin Kostiuk
  2024-06-17 13:14 ` Daniel P. Berrangé
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Kostiuk @ 2024-06-17 13:05 UTC (permalink / raw)
  To: QEMU
  Cc: Dehan Meng, Philippe Mathieu-Daudé, Michael Roth,
	Daniel Berrange, Marc-André Lureau, Yan Vugenfirer

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

Hi All,

During the investigation of a possible memory leak in the `guest-exec`
command of guest-agent, I found unexpected behavior for me. When we execute
the `guest-exec` command with `capture-output = true`, guest-agent stores
stdout/stderr until someone calls `guest-exec-status`.

Just for testing, I executed the `man man` command 1000 times with
`capture-output = true` and guest-agent allocated 36Mb to store the results
and it fully depends on output size.

I want to ask your opinion about this behavior. Is this behavior expected
or not? Should we store all output forever or should we limit it by memory
size/execution time/execution count?

Best Regards,
Konstantin Kostiuk.

[-- Attachment #2: Type: text/html, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-17 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 13:05 Guest agent guest-exec memory usage Konstantin Kostiuk
2024-06-17 13:14 ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.