Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

"Too many open files, errno=24" for HTTP Requests. When use POST method, Campaign doesn't close socket


Community Advisor

Hi everyone,

I'm on a CentOS install and I used to get this error when making a lot of HTTP request several years ago. I did solve the issue adding a "Connection" header with "close" value, it seams to force AC to close the corresponding FD (file descriptor). But it worked only with "GET" request.


Now, we have to make "POST" request with bodies, and even with the "Connection" header set to "close", the number of process file descriptor is growing until to reach the limit. At the end, the process stop with the errors

IOB-090007 (setsockopt(), errno=9 : Bad file descriptor)
IOB-090007 (socket(), errno=24 : Too many open files)


We use the async method wich allows to make parallels request. The problem is the same with sync method.

I don't know if this could be resolved adding another header, I tried to "close" the connection with disconnect() method, no result.

I can't change the limit of opened FD (and to me, it's not a solution)

If anyone could help ?

Thank you all

0 Replies