502 Bad Gateway after updating to latest version

Verson is 15.

It seems things are a lot better after I ran the vaccuum command.

Posting works fine and seems to be fast, but when admin try clicking user profiles, go into their profiles, it still 502’s, time out it seems like?

Is there something I can do to speed up that portion of the db?