change of polling engine
Juraj Lutter
juraj at lutter.sk
Wed Jan 13 21:44:49 UTC 2021
Hi,
> On 10 Dec 2020, at 14:38, Valentin V. Bartenev <vbart at nginx.com> wrote:
>
> On Wednesday, 9 December 2020 15:43:05 MSK Juraj Lutter wrote:
> [..]
>>
>> If you could give me some pointer how to debug this properly, I can do it. Or
>> I can provide an access to SmartOS zone where someone else could do it.
>>
>
> Let's look to the debug log first:
> https://unit.nginx.org/troubleshooting/#debug-log
>
I finally got to collect the debug logs, you can find it here:
https://files.wilbury.net/s/LofKQSjixCWkTNo
At 21:35, I curl’d the following to the control socket:
curl -X PUT --data-binary '{
"listeners": {
"*:8300": {
"pass": "applications/php",
},
},
"applications": {
"php": {
"type": "php",
"root": "/www/"
},
}
}' --unix-socket /var/run/unit/control.unit.sock http://localhost/config
Then I have waited until 21:37 to kill the process from the terminal (^C).
Thanks
otis
More information about the unit
mailing list