Open lovesharepc opened 7 months ago
Are you saying that at some point Unit stops serving requests?
Also, JFYI, this doesn't do what I'm guessing you think it does
"isolation": {
"namespaces": {
"cgroup": true
}
},
I.e it doesn't actually create any cgroups. OTH if you're simply expecting it to change what appears in /proc/pid/cgroup and /proc/pid/mountinfo, then ignore me...
yes, my unit stops serving requests
and thank let me know cgroup config , I will go to check
On Tue, 05 Dec 2023 01:17:58 -0800 owan @.***> wrote:
yes, my unit stops serving requests
If you're able to distil this down to a simple reproducer that would be helpful.
and thank let me know cgroup config , I will go to check
If you do actually want to have per-application cgroups, see here https://unit.nginx.org/configuration/#conf-app-cgroup
I don't know how to do simple reproducer because this problem is not always happen does ther have any way to debug why unit stop serving requests ?
by the way, when unit stop serving requests the unit route process's FD will continuous increase
On Tue, 05 Dec 2023 17:43:36 -0800 owan @.***> wrote:
I don't know how to do simple reproducer because this problem is not always happen does ther have any way to debug why unit serving requests ?
Can you reproduce it without threads?
thanks, I will go to test without threads
os: ubuntu server 22.04 unit version: 1.31.0 unit config
my unit server will become stop response current I open debug log to check I find the requst is done (loadbalance log) but unit like missing this info here is debug log and there is no
asgi_http_done
and all unit log are stop so I think is grace quit is stockplease help me check what heppen here? thanks