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
[YSQL] Cleanup after killed background processes #20154
Labels
Comments
timothy-e
added
area/ysql
Yugabyte SQL (YSQL)
status/awaiting-triage
Issue awaiting triage
labels
Dec 4, 2023
yugabyte-ci
added
kind/bug
This issue is a bug
priority/medium
Medium priority issue
priority/highest
Highest priority issue
and removed
status/awaiting-triage
Issue awaiting triage
priority/medium
Medium priority issue
labels
Dec 4, 2023
timothy-e
added a commit
that referenced
this issue
Dec 5, 2023
Summary: In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D30696
timothy-e
added a commit
that referenced
this issue
Dec 7, 2023
Summary: Original commit: 90dcf23 / D30696 In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 fix function call Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30790
timothy-e
added a commit
that referenced
this issue
Dec 7, 2023
Summary: Original commit: 90dcf23 / D30696 In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30745
timothy-e
added a commit
that referenced
this issue
Dec 7, 2023
Summary: Original commit: 90dcf23 / D30696 In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30746
timothy-e
added a commit
that referenced
this issue
Dec 7, 2023
Summary: Original commit: 90dcf23 / D30696 In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30747
timothy-e
added a commit
that referenced
this issue
Dec 7, 2023
Summary: Original commit: 90dcf23 / D30696 In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30748
timothy-e
added a commit
that referenced
this issue
Dec 7, 2023
Summary: Original commit: 90dcf23 / D30696 In D20454, we enabled cleaning up after killed backends. Background workers were missed, so killing background worker uses up a Proc struct that is never returned. Jira: DB-9090 Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TestWebserverKill for i in {1..600}; do pkill -9 -ef "YSQL webserver" && sleep 2; done ``` Reviewers: smishra, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30836
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Jira Link: DB-9090
Description
Will kill the webserver only 8 times. The 9th+ time the webserver attempts to start, it will fail with
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: