products disappear from category page or search in the front end

Products sometimes disappear from the category page. It might be after reindex, or clear cache. Then if i go to magento admin panel->catalog-> and highlight the category, then click “save”. The it would show up again in the frontend category page. what might be the cause to the issue? i’m thinking some permission not set correctly? also, the configuration cache go invalidate a lot of time.