#uwsgi — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #uwsgi, aggregated by home.social.
-
Just ran out of brainpower for the day trying to fix WTF a dev w/root on a production box did to deploy a #uwsgi application. Dev in question: no longer available. Apparently he didn't know there was a EL package available or how the “Emperor" rig works, so the app needs to be started by hand on every reboot. This was not a documented fact.
I failed to hack up a fix. The Emperor kept cursing the application instance. I like the absurd terminology, hate the documentation... -
New blogpost: https://blog.tyk.nu/blog/the-story-of-postgresql-choking-on-an-unreadable-home/
It is a lovely story about debugging TLS connection issues from Django to PostgreSQL.
The root cause turned out to be libpq erroring out when running with the environment variable $HOME set to an existing but unreadable path, in this case "/root"
Enjoy!
-
Since I have a single script using the #Python #cgi module (the rest is C++ using SimpleCGI), I figured that switching to a full framework was overkill. So instead I am rewriting using urllib.parse.parse_qs for the query string and email.parser for the multipart body.
Thanks for all the helpful comments! I found #uwsgi to be very useful for other parts of the code.
-
@jaseg That was indeed quite minimal. I struggled with the #uwsgi manual and was unable to find a definition for the application interface, but got some help from
https://dev.to/cwprogram/python-deployment-wsgi-with-uwsgi-d45
I have successfully converted the simple scripts, but I have one more complex one that need to handle POST data (both multipart/form-data, possibly some query parameters in the URI, and a direct binary POST with a file upload). The #cgi package did help me there, but I am struggling to find any documentation on how uwsgi handles that.
-
Today is the day where we officially switched to using #uWSGI instead of #Gunicorn.
After a bunch of read&try&fail&loop, it seems we have a decent uWGSI configuration that is properly managed by our custom #OpenBSD rc.d file. There shouldn’t be any service outage as uwsgi has been running via tmux for 2 weeks now :)
It seems uWSGI uses less memory that Gunicorn. And it provides information regarding Bot detection. -
Sending the worker SIGCHLD doesn't help. I'm not sure how libruby sets up the signal handlers.
I'm now trying dropping `processes=4` from the #uWSGI config and only using rbthreads. If that doesn't solve the issue, then I'll try dropping `master=true`.
-
Progress made on figuring out the #Parabola #Redmine lockups. Sometimes when doing `sub process expansion`, rb_f_backquote gets stuck in waitpid_wait, even though the process has exited and is now a zombie. So then that worker process stops being able to do work. Eventually all #uWSGI's workers have this happen, and all requests become 504s. Eventually the buffer of connections fills up, and these turn into 502s. Not sure if this is the same as https://github.com/unbit/uwsgi/issues/2521 . This is with #Ruby 2.7.8
-
Almost 10 years of use later, still a fan of #uWSGI. Still not a fan of the uWSGI docs.
-
In our latest blog post, our chefs from 🇮🇹 and 🇫🇷 have collaborated to bring you a culinary masterpiece! Learn Lorenzo Stella and Maxence Schmitt's recipe for a tasty arbitrary file write to RCE via abusing #uWSGI files. Bon appétit!
#doyensec #appsec #appsecurity #penetrationtesting
https://blog.doyensec.com/2023/02/28/new-vector-for-dirty-arbitrary-file-write-2-rce.html
-
Today we'll be working on the #GNUhealth community federation server 🛠️
Update to 42RC2, #nginx, #uwsgi and #TLS encryption . Stay tuned! #OpenScience #bioinformatics 🤗 -
We could also use #python devs, long-term remote #contract. Python is 3.6/3.9 using #uWSGI and #SQLAlchemy.
Would be awesome if you have a #bioinformatics background, along with #javascript and #react.
-
-
It is wonderful how #uwsgi, when it can't start the job, simply says "... fail!"
-
#dream #code #create
I published on my blog the most important Free Software and Open Source code that I shared with the community.
https://www.paulox.net/code/
#python #django #uwsgi #postgresql -
Hi all, I’m Paolo Melchiorre, a 🐍 #Python developer who contributes to the 🦄 #Django project and gives talks at tech 🗣️ #Conference .
I’ve been a 🐧#GNULinux user since 2000 and I use and promote 👨💻 #FreeSoftware.
I have a degree in Computer Science and currently I'm a 🏡#Remote worker based in Italy.
I wrote on my personal blog about #code, #talk, #howto, and technical #article (#freesofware, #community, #gnulinux, #python, #django, #postgresql, #uwsgi, #fulltextsearch)