I have had a pair of gym pants for maybe 4 years (yes, I have),. when they get the funk, I soak them in a solution of laundry soap and vinegar. if you want to really go crazy, add some oregano oil. then spray them out and wash. you may have to wash twice. soak them overnight and i guarantee the smell will be gone.