-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python asgi stop response #1016
Comments
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 by the way, when unit stop serving requests |
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 stock
please help me check what heppen here? thanks
The text was updated successfully, but these errors were encountered: