Set apc.shm_size automatically.
Action hooks cleanup.