Welcome! Log In Create A New Profile

Advanced

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

January 24, 2018 04:36PM
On Wed, Jan 24, 2018 at 10:50 AM B.R. via nginx <nginx@nginx.org> wrote:

> 500 requests max sounds very much like the default max_requests parameter
> from PHP-FPM process manager.
>
> Btw, the configuration snippet you provided is incomplete (include
> [...]/*.conf). How can people help you?
> Have a look at nginx -T.
> ---
> *B. R.*
>
> On Wed, Jan 24, 2018 at 7:08 AM, Payam Chychi <pchychi@gmail.com> wrote:
>
>>
>> On Tue, Jan 23, 2018 at 9:22 PM agriz <nginx-forum@forum.nginx.org>
>> wrote:
>>
>>> Sir,
>>>
>>> I can see any message there.
>>> Additionally, There are the sysctl.conf file i modified
>>>
>>> net.ipv6.conf.all.accept_ra=2
>>> net.core.rmem_max = 16777216
>>> net.core.rmem_default = 31457280
>>> net.ipv4.tcp_rmem = 4096 87380 16777216
>>> net.core.wmem_max = 16777216
>>> net.ipv4.tcp_wmem = 4096 16384 16777216
>>> net.ipv4.tcp_mem = 65536 131072 262144
>>> net.ipv4.udp_mem = 65536 131072 262144
>>> net.ipv4.udp_rmem_min = 16384
>>> net.ipv4.udp_wmem_min = 16384
>>> net.ipv4.tcp_fin_timeout = 60
>>> net.ipv4.tcp_fin_timeout = 20
>>> net.ipv4.tcp_tw_reuse = 0
>>> net.ipv4.tcp_tw_reuse = 1
>>> net.core.netdev_max_backlog = 10000
>>> net.core.somaxconn = 4096
>>> net.ipv4.tcp_max_syn_backlog = 2048
>>> net.ipv4.ip_local_port_range = 15000 61000
>>> kernel.pid_max = 65535
>>> fs.inotify.max_queued_events = 2000000
>>> net.ipv4.tcp_keepalive_time = 300
>>> net.ipv4.tcp_keepalive_probes = 5
>>> net.ipv4.tcp_keepalive_intvl = 15
>>> net.core.optmem_max = 25165824
>>> vm.swappiness = 10
>>> vm.dirty_ratio = 60
>>> vm.dirty_background_ratio = 2
>>> fs.inotify.max_user_watches=100000
>>>
>>> Posted at Nginx Forum:
>>> https://forum.nginx.org/read.php?2,278237,278246#msg-278246
>>>
>>> _______________________________________________
>>> nginx mailing list
>>> nginx@nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>>
>> What does ulimit show?
>>
>
Google “Linux ulimit” or man ulimit


--
>> Payam Tarverdyan Chychi
>> Network Security Specialist / Network Engineer
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

--
Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx - Only handles exactly 500 request per second - How to increase the limit?

agriz January 23, 2018 12:34PM

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

pratyush January 23, 2018 11:04PM

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

agriz January 24, 2018 12:21AM

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

unclepieman January 24, 2018 01:10AM

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

B.R. via nginx January 24, 2018 01:52PM

Re: Nginx - Only handles exactly 500 request per second - How to increase the limit?

unclepieman January 24, 2018 04:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready