getsentry / getsentry/self-hosted

uwsgi procname not working

Open
#3,136 4 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Shell
Stars
9.6k
Forks
2k
Avg merge
1d 3h
Merged PRs (30d)
12

Description

### Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

### Steps to Reproduce

1. sentry run web
2. ps -ef

### Expected Result

[Sentry] [something](https://github.com/getsentry/sentry/blob/0e42a91dd908bcd0e42cc4cfe6097516d3d9bcc9/src/sentry/services/http.py#L69) in proc titles

### Actual Result

`/.venv/bin/python3 -c import os import sys orig = sys.getdlopenflags() sys.setdlopenflags(orig | os.RTLD_GLOBAL) try: import pyuwsgi finally: sys.setdlopenflags(orig) pyuwsgi.run()`

### Product Area

Unknown

### Link

_No response_

### DSN

_No response_

### Version

24.5.1

Contributor guide

Open the contributing guide

Research direction

Start by running `sentry run web` and `ps -ef`, then compare the process title with the behavior referenced in `sentry/services/http.py` at the linked revision. Trace how the `pyuwsgi` command is launched and determine why the expected Sentry proc title is not shown. Done means the web process displays the expected Sentry-related title.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.