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

ra/SAPHana HANA_CALL - inner timeout prevents proper logging in hdbnsutil trace file #240

Open
PeterPitterling opened this issue Mar 20, 2024 · 0 comments

Comments

@PeterPitterling
Copy link
Contributor

ra/SAPHanaTopology is properly traced

CommandUtil.cpp(00065) : command: hdbnsutil -sr_stateConfiguration --sapcontrol=1
CommandUtil.cpp(00098) : called by user 'tqladm' with UID: 1001 (parent process command line '-sh -c (: [8792]; hdbnsutil -sr_stateConfiguration --sapcontrol=1 > /run/SAPHanaSR_tql/HANA_CALL_CMD_TOP_OUT_1710875260638426633_tqladm) >& /run/SAPHanaSR_tql/HANA_CALL_CMD_TOP_1710875260638426633_tqladm ' with PID: 8882) (parent process executable /bin/bash')

while ra/SAPHana not; hdbnsutil is containing the full cmdline from the parent process, which is "timeout" in this case

CommandUtil.cpp(00065) : command: hdbnsutil -sr_stateConfiguration --sapcontrol=1
CommandUtil.cpp(00098) : called by user 'tqladm' with UID: 1001 (parent process command line 'timeout -s 9 60 hdbnsutil -sr_stateConfiguration --sapcontrol=1 ' with PID: 8108) (parent process executable /usr/bin/timeout')

all important information like PID and filenames are missing.

The inner timeout has anyway no meaning as it has the same timeout value as the outer timeout, which will be trigger earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant