I'm having trouble getting my recently upgraded confluence install to start. When I try to start it, I inevitably run out of RAM. I did some digging and it looks like for some reason, confluence is opening hundreds of postgres connections when starting.
[root@confluence2 bin]# netstat -antlp | grep 5432 | wc -l
474
I fought and deleted kerberods/lsd malware; the process isn't running anymore, but not sure if it caused this issue. I can not get into admin interface to turn off webdav or follow other recommendations, so I need to fix via shell.