Glad to hear you got to the bottom of the issue,
apparently close to what i suspected, a resource limit configuration.
regarding moving away from centos, you can (and should), do an in-place upgrade , it is possible to convert your centos to alma for example.