CAIG sells cotton swabs that will fit the sockets of a 9 pin mini. They also sell small nylon brushes to fit the octal and larger size sockets.
I was told not to use metal brushes, as you don't want a metal bristle, that has broken off, to suddenly becomes a conductor..."Nothing good can come of this, Will Robinson!!!"