You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/05/25 15:39:08 UTC

[GitHub] [skywalking] Superskyyy commented on issue #8566: [Bug] skywalking-python not work with uwsgi + flask in master workers mode and threads mode

Superskyyy commented on issue #8566:
URL: https://github.com/apache/skywalking/issues/8566#issuecomment-1137451755

   > 
   @pacific28 I think your issue originates from that you haven't registered the `post_fork` hook in the gunicorn startup command.
   
   try something like this `gunicorn -c path_to_your_hook_config myproject.wsgi --workers 2` Take a look here for an complete example https://github.com/benoitc/gunicorn/blob/master/examples/example_config.py
   
   Actually we have our own docs for using with post-fork servers now, feel free to enhance it as it didn't explicitly mention gunicorn.
   
   https://skywalking.apache.org/docs/skywalking-python/latest/en/setup/faq/how-to-use-with-uwsgi/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org