apply upper_limit on trace for auto-delete old data