def _max_servers(self, resource_desc):
        total = 0
        for allocator in self._allocators:
            count, criteria = allocator.max_servers(resource_desc)
            if count <= 0:
                keys = criteria.keys()
                if keys:
                    info = ': key %r: %s' % (keys[0], criteria[keys[0]])
                else:
                    info = ''  # Don't die on an empty dictionary.
                self._logger.debug('%r incompatible%s', allocator.name, info)
            else:
                self._logger.debug('%r returned %d', allocator._name, count)
                total += count
        return total
Return total of each allocator's max servers.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/resource.py/ResourceAllocationManager._max_servers