Damus
Fell profile picture
Fell
@Fell
Maybe some Linux Kernel expert could help me with this:

Due to the nature of my work, I regularily run a very memory intensive process and my system runs out of memory during very few peak moments.

The system can't swap out memory fast enough and freezes. If I disable swap, the process gets killed instead.

Is there any way I can keep the system responsive? Ideally, only the offending process would get slowed down, but not other applications.

#Linux #Kernel #Memory #OOM
#Swap #AskFedi
2
social elephant in the room · 59w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqnqp93y3l9r4cse4mpqlhuq3mjtctlujgyh8ksx8x57wvzt030epqd6lx5n maybe limit the memory of the process with cgroups?
Sebastiaan Ammerlaan 🇳🇱 · 59w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqnqp93y3l9r4cse4mpqlhuq3mjtctlujgyh8ksx8x57wvzt030epqd6lx5n I came across this the other day: https://github.com/hakavlad/prelockd Maybe it can help in this situation?