Based on this description, it sounds like you have Indian meal moths which are a food pest. This is why you are seeing so much activity in the kitchen cabinets. To control these moths, you need to examine all dried food products and pet foods, bird seed, etc. Infested products need to be discarded. Clean and vacuum the pantry very well. Look for the cocoons of the moths in corners, under shelves, etc. and destroy them. Store all dried food products and pet foods in plastic or glass containers with tight-fitting lids.