You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/17 04:38:53 UTC

[GitHub] [apisix] kerneltravel edited a comment on issue #588: request help: When apisix is started by default, will the file descriptor be 1024 or will it be automatically set to 65535 or higher?

kerneltravel edited a comment on issue #588:
URL: https://github.com/apache/apisix/issues/588#issuecomment-1014135120


   @Miss-you you can manually set ulimit value before start apisix process, by add
   ```
   LimitNOFILE=65535
   ```
   before 
   ```
   ExecStart=/usr/bin/apisix start
   ```
   to systemd service file  `/usr/lib/systemd/system/apisix.service` , 
   and run `systemctl daemon-reload` and `systemctl restart apisix ` to take effect.
   
   This way is by systemd way, not modify apisix code.
   
   referer info : https://unix.stackexchange.com/questions/345595/how-to-set-ulimits-on-service-with-systemd.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org