resources_limit_changed hook