-You could clean your washer with citric acid or chlorine bleach. When using shared machines I like to do a bleach load first, like socks, towels, etc. Chlorine bleach will turn stuff yellow with regular use, though.
-You could use real, industrial strength detergent like Tide. (I've heard Tide Ultra Vivid+ Color Safe Bleach HD Max II or something like that is good) I bought some natural detergent and that was a mistake.
-Oxy clean really should help?
-You could try a sports laundry detergent. Atsko Sport Wash works surprisingly well for me, but there are others like Win, Sport Suds, Nikwax tech wash (overpriced). Atsko is marketed to hunters to get odors out.
-Don't use fabric softeners. They don't rinse out of clothes and can become musty over time since they are oily substances.
-Machine drying will kill anything that could be causing odors, but it's not a permanent fix if it's coming from your washer or as a result of excess fabric softener.
-Leave your washer open to dry out when you aren't using it
-Keep dirty clothes in a breathable laundry hamper, like a hanging cloth bag