Fedora Server 36 - update process automatically closes user's session

This latest Saturday and today, through VirtualBox for Fedora Server 36, as many times as I did do, was executed the sudo dnf update command, the password is written and

starts to load and show some information. 
It about the progress bar loading about retrieving the metadata from the repositories

Normally after of the latest point mentioned above, the process itself asks for my confirmation to start the update process with Y … but instead …


  • The user’s session is closed automatically.

If again I do the login and write the sudo dnf update command then the user’s session is closed automatically

Why happens this situation? how to fix it? indicate what log information you need to go forward with this situation

I’m not able to replicate this and I’ve done a lot of sudo dnf update calls today. Are you somehow triggering a reboot on update?

The answer according with Fedora Server 36 - update process automatically closes user’s session is:

Your session was probably killed by OOM killer – DNF needs relatively lot of RAM (there is an open bug about dnf update failing on systems with <= 1 GiB of RAM). You can check the logs, look for lines looking like Out of memory: Killed process … in the journalctl -r output. Because this is a VM simply adding some more RAM should be an easy fix.


That makes sense. The current recommended minimum for graphical Fedora Workstation is 4GB of memory and the current general minimum for it is 2GB of memory.

* Fedora requires a minimum of 20GB disk, 2GB RAM, to install and run successfully. Double those amounts is recommended. Ref: https://getfedora.org/en/workstation/download/