Closed museless closed 3 years ago
Test ini here.
[program:Test]
command=C:/Data/code/Test/x64/Release/Test.exe
directory=C:/Data/code/Test/x64/Release
user=root
autostart=false
autorestart=false
pidfile=C:/Data/var/run/test.pid
stderr_logfile=NONE
stdout_logfile=NONE
In the default configuration the reading of data takes place every 0.5 seconds. try changing this to a smaller number.
delaysecs=0.5
Thx, it work.
Seems like a new victim about windows don't have epoll.
Python Version: 3.8 Environment: Win Server 2016 / Visual Studio 2019 Package Version: supervisor-win==4.6.0
When I click the exe to run, it run 10-15 seconds. But when I put it on supervisord, it run at lease several minutes.
I track down the code. (C1)
stdout is equal to subprocess.PIPE, and it keep running to subprocess.py (C2)
It seems like subprocess create a pipe to keep output from child process.
I not familiar with windows api.
And I try to change stdout from C1, DEVNULL will raise error, None can make its normal, but all output write to supervisord console.
Is there any solution to make it faster.
Thx.