search

Home  >  Q&A  >  body text

nginx file upload error

2012/11/20 13:05:10 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:10 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:11 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:11 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:12 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:12 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:13 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:13 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:14 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:14 [crit] 16779#0: accept4() failed (24: Too many open files)
2012/11/20 13:05:15 [crit] 16779#0: accept4() failed (24: Too many open files)
黄舟黄舟2748 days ago438

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 17:31:44

    It seems that due to the system limit on the maximum number of files that a process can open, the accept4 system call cannot obtain new file descriptors. You can use ulimit -n to modify this limit.

    ulimit command modifications will become invalid after restarting. For different Linux distributions, this initial value is placed in different configuration files. Please refer to Google for details.

    reply
    0
  • Cancelreply