Skip to content

Description of os_thread_id to match PAL#2064

Merged
Jak-MS merged 2 commits intoMicrosoftDocs:livefrom
rrg92:rrg92-osthread-sqlpal
May 13, 2019
Merged

Description of os_thread_id to match PAL#2064
Jak-MS merged 2 commits intoMicrosoftDocs:livefrom
rrg92:rrg92-osthread-sqlpal

Conversation

@rrg92
Copy link
Copy Markdown
Contributor

@rrg92 rrg92 commented May 6, 2019

On linux, the os_thread_id (also, in the error log, when loggin message "Server process ID is") not show the thread id nor process id assigned by Linux OS, and it is another internal number, generated due to SQLPAL. Bob Dorr explain me in the comment in his blog post https://blogs.msdn.microsoft.com/bobsql/2018/07/18/sql-server-on-linux-why-do-i-have-two-sql-server-processes/

Additional considerations

If there are a way to match os_thread_id with linux thread, then I guess it is very important add to the documentation also. For advanced analysis, it can be useful to help troubleshooting and validating some theories!

On linux, the os_thread_id (also the errorlog) not show the thread id nor process id assigned by Linux OS, and it is another internal number, generated due to SQLPAL. Bob  dorr explain me in the comment in his blog post https://blogs.msdn.microsoft.com/bobsql/2018/07/18/sql-server-on-linux-why-do-i-have-two-sql-server-processes/
@PRMerger12
Copy link
Copy Markdown
Contributor

@rrg92 : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@PRMerger8
Copy link
Copy Markdown
Contributor

@stevestein : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@stevestein
Copy link
Copy Markdown

@rrg92 - Thanks for updating the article! I made a couple minor edits but overall looks good.

#sign-off

@Jak-MS Jak-MS merged commit 7c70be0 into MicrosoftDocs:live May 13, 2019
@rrg92 rrg92 deleted the rrg92-osthread-sqlpal branch February 12, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants