I seem to be clicking

I seem to be clicking much more than usual today. By “clicking”, I mean that my knees and ankles make a clicking noise as I walk. They’ve done it for years (since my teens at least) and they do it more on some days than others. An ex-girlfriend advised me to take cod liver oil as a supplement to help suppress this, but I can’t say that my daily dose has made a whole heap of difference.
So why click more today? I took my CLO pill this morning as usual. Maybe not getting that much sleep, and getting what I did in an unusual environment, has had an impact.
Any readers know anything about clicking joints? What should I do to alleviate it? And why does it always happen more in quiet corridors?