I do the washing machine, hot water and vinegar. I'm rethinking the hot water though. Hot stinky algae and small house do not mix. Pheeew!

I have used bleach in the past and then just let the socks sit for a number of days but you need a few socks in rotation for that.