check container limits.