Adjust cgroup settings in regards to memory and/or enable the oom killer
disabling the oom killer is not recommended
it can mask processes that might have memory leaks
and as we can see from diagnostics it can lead into trigger hung task panic
Increase the hung task timeout to 300 seconds
This should be a last step approarch as it is probably masking a real problem