Welcome, Guest
Username: Password: Remember me
Ultra Web Server discussions and problems.
  • Page:
  • 1

TOPIC:

Perhaps it is fix for Nginx unstable after about 50 request per second 8 months 3 weeks ago #18394

  • Boedy Irhadtanto
  • Boedy Irhadtanto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
Dear PilotLogic,

I made load test in Nginx Ultrawebserver using Locust. And I found that UWS with Nginx will crash and  need to be restarted after the test  reach 50-60 request per second.
It seems, it is because we need to set the environment before running php-cgi.exe.
I make bat file to set environment. and Nginx become more stable.
The bat file only consist of 2 lines.
set PHP_FCGI_MAX_REQUESTS=1024
set PHP_FCGI_CHILDREN=3,
btw I run manually with
set PHP_FCGI_MAX_REQUESTS=1024
set PHP_FCGI_CHILDREN=3
php-cgi.exe -b 127.0.0.1:9123

I am not sure, If I could put it somewhere as default configuration.

Regards,

Boedy




 

Please Log in or Create an account to join the conversation.

Last edit: by Boedy Irhadtanto. Reason: add more detailed explanation

Perhaps it is fix for Nginx unstable after about 50 request per second 8 months 3 weeks ago #18395

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1130
  • Thank you received: 170
Thanks Sir
We will test and report.
PilotLogic Core Programmer
The following user(s) said Thank You: Boedy Irhadtanto

Please Log in or Create an account to join the conversation.

  • Page:
  • 1