Skip to content
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

[ARM] t-server launching a postgres process can result in two t-server processes sometimes #10700

Open
streddy-yb opened this issue Nov 24, 2021 · 0 comments
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@streddy-yb
Copy link
Contributor

streddy-yb commented Nov 24, 2021

Jira Link: DB-10829
Not sure if I got the Project name right. This was originally reported by @kripasreenivasan. When a universe using an ARM build is upgraded to a newer ARM build, it was observed that Platform health checks were failing. Further investigation showed that there were t-server processes.

Investigation details from @iSignal

The tserver attempted to launch postgres but somehow the launched process shows up as a tserver itself. It is as if only the fork part of the fork + exec worked.

tserver says
I1021 08:11:58.363227 3554572 pg_wrapper.cc:429] PostgreSQL server running as pid 3554620
ps shows
yugabyte 3554572       1 59 Oct21 ?        19:02:45 /home/yugabyte/tserver/bin/yb-tserver --flagfile /home/yugabyte/tserver/conf/server.conf
yugabyte 3554620 3554572  0 Oct21 ?        00:00:07 /home/yugabyte/tserver/bin/yb-tserver --flagfile /home/yugabyte/tserver/conf/server.conf
and no postgres processes
[yugabyte@ip-10-9-100-77 ~]$ ps -ef | grep postg
yugabyte 3807590 3806919  0 16:21 pts/1    00:00:00 grep --color=auto postg

cc @anmalysh-yb @yorq

@streddy-yb streddy-yb added this to To Do in Deployment & Orchestration via automation Nov 24, 2021
@rthallamko3 rthallamko3 added the area/ysql Yugabyte SQL (YSQL) label Apr 11, 2024
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
Development

No branches or pull requests

4 participants