Sebaceous gland
as in hot weather or if not washed for several days. Earwax is partly composed of sebum. Sebum can be washed using plain detergent, to dissolve the waxy material in the skin. Also, water for washing should be over  to keep the sebum molten.