Hello, @olayemi , welcome to MusicBrainz!
I have been having a similar problem when running reindex on my MusicBrainz mirror server also.
You can read my observations at the topic, Sir reindex fails with ConnectionResetError(104, ‘Connection reset by peer’). I put more detailed notes in a bug report, ticket MBVM-105 Sir reindex fails with ConnectionResetError(104, ‘Connection reset by peer’)) and consequences.
I wrote up what I learned in the following proposed improvements to the musicbrainz-docker documentation: #328 Add “Connection errors during reindex” to TROUBLESHOOTING.md and # 329 Add “Docker settings” section to README.md.
So I suggest reading those notes. Please come back with follow-up questions. I will be glad to try to answer them from my experience.
It is interesting that you set SOLR_HEAP=28g and that was not enough. I was hoping that 10GB or 12GB would be enough.
Are you using the docker.desktop app? If so, what overall Memory Limit did you set for the app?
What OS are you using?