You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2020. It is now read-only.
need to change the file descriptor. ulimit -n show current one ulimit -n 4096 to set limit in current shell.
the max file descriptor can be found using cat /proc/sys/fs/file-max
invalid memory address or nil pointer dereference, response can be nil when err is not nil
need to call res.Body.Close() so both server and client and release resource to avoid file descriptor running out.
MUST make shallow copy of request, otherwise res.Body.Close() would cause all the reuqest being cancelled
connect: cannot assign requested addressgolang/go#16012 seems need to set maxidle connection per host
run ab/ab/main serveral times and this problem will appear