Searched refs:hardLimit (Results 1 – 1 of 1) sorted by relevance
231 const auto hardLimit = nofileLimits.rlim_max; in MaybeIncreaseFileDescriptorSoftLimit() local236 if (softLimit == hardLimit) { in MaybeIncreaseFileDescriptorSoftLimit()241 if (kDesiredNofileSoftLimit > hardLimit) { in MaybeIncreaseFileDescriptorSoftLimit()243 static_cast<int>(kDesiredNofileSoftLimit), static_cast<int>(hardLimit)); in MaybeIncreaseFileDescriptorSoftLimit()246 const rlim_t requestedSoftLimit = std::min(kDesiredNofileSoftLimit, hardLimit); in MaybeIncreaseFileDescriptorSoftLimit()250 .rlim_max = hardLimit, in MaybeIncreaseFileDescriptorSoftLimit()