Perhaps instead of treating a fork failure like an error (and reporting it to the client), the code should treat this the same as reaching max children. That is, if a fork fails, keep the request queued and wait for a child to become available.
Perhaps instead of treating a fork failure like an error (and reporting it to the client), the code should treat this the same as reaching max children. That is, if a fork fails, keep the request queued and wait for a child to become available.