1906a656_uide_to_Small_Batch_Composting__POSSIBLE_CAUSE
[SYMPTOM] Compost is attracting rats, raccoons, dogs, or other pests. [POSSIBLE SOLUTION] Avoid composting meat, dairy, and fatty materials. Use care when kitchen scraps are added. Keep compost screened or enclosed. [POSSIBLE CAUSE] 
Occurs when including food scraps, meat, or dairy products in the mix.
How to Compost: Guide to Small Batch Composting
POSSIBLE CAUSE