Questions tagged [uwsgi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
36 views

Running a few commands (that then ask questions) on startup

lets say I go to this file on linux CentOS to setup some startup commands sudo vi /etc/rc.local in this case lets say I want to startup uwsgi so normally in the command line I might type something ...
user539717's user avatar
3 votes
0 answers
933 views

Why systemd socket activation is not ready to work on first request

I have a Flask app running in a python virtual environment and working with uWSGI and Nginx. I want to use systemd socket activation to manage the startup of the app. here is the relevant ...
Runbing's user avatar
  • 31
0 votes
0 answers
65 views

Can't start service using uwsgi in service file in centos

I am trying to start a service for my flask application using .service file : [Unit] Description=uWSGI instance to server comission project Requires = network.target After=network.target [Service] ...
SAI SANTOSH CHIRAG's user avatar
0 votes
0 answers
5k views

How to resolve ""Active: Failed code=exited; status=203/EXEC" error while starting the service in centos

I am trying to create a system service for my flask application. This is my service application comission_project.service [Unit] Description=uWSGI instance to server comission project Requires = ...
SAI SANTOSH CHIRAG's user avatar
1 vote
1 answer
72 views

Is it safe to use a disabled user to start a process in Linux?

I created the user uwsgi and the group uwsgi for using them as uid and gid in .ini-file for uwsgi properties. I didn't set password for this user (didn't run sudo passwd uwsgi, actually, I can't login ...
r1d1's user avatar
  • 113
1 vote
0 answers
3k views

Why the .sock file not getting generated for uwsgi?

I have already banged my head for last 6 hours, and nothing seems to be working for me. I am trying to host Django through nginx and uwsgi. As per the best of my understanding and study I have ...
user3521180's user avatar
1 vote
1 answer
376 views

How to provide uWSGI multiple static-map options through environment variable?

uWSGI manual on static files serving states that: You can specify multiple --static-map options, even for the same mountpoint. --static-map /images=/var/www/img --static-map /images=/var/www/img2 --...
Krzysztof Przygoda's user avatar
0 votes
1 answer
1k views

Not launched uwsgi by systemctl

I can not start uwsgi by systemctl. my error log is here below. $sudo systemctl status uwsgi.service ● uwsgi.service - uWSGI Loaded: loaded (/etc/systemd/system/uwsgi.service; enabled; vendor ...
whitebear's user avatar
  • 165
0 votes
1 answer
5k views

connect() to unix:///tmp/uwsgi_dev.sock failed (2: No such file or directory) while connecting to upstream

I tried to run django application using uwsgi+nginx and the cronjob command is,* * * * * /usr/local/bin/lockrun --lockfile /path/to/lock_file -- uwsgi --close-on-exec -s /path/to/socket_file --chdir /...
aji prabhakaran's user avatar
1 vote
2 answers
561 views

Is Running a uWSGI/Gunicorn Server on Boot Possible w/ a venv?

I have a small .py/Flask application that I can run from the command line as a uWSGI or Gunicorn Server. Flask's site shows an abbreviated way to simply run a Flask app w/ these types of servers, i.e....
Mala Dies's user avatar
0 votes
2 answers
845 views

Starting UWSGI via init.d script exits with exit code 1 and says 'failed', but processes are running fine

Before this gets flagged as a duplicate, I read this question; however adding logfile2 did not change anything. I'm currently creating a docker container that runs a Python stack with UWSGI, for this ...
Paradoxis's user avatar
  • 153
0 votes
0 answers
3k views

Nginx connection refused error 111, bad gateway

Please do not hurry to close it as duplicate. I searched through the web and still cannot find the way to make it work. This is my working directory: /var/www/flaskapp myproject.ini myproject.py ...
John's user avatar
  • 297
9 votes
1 answer
34k views

Why process killed with nohup

I want to run a process in background without killing it on shell exit, according to Nohup concept the following command should work until I kill it manually: nohup uwsgi --http :8008 --module ...
Yuseferi's user avatar
  • 370
2 votes
0 answers
387 views

systemd uwsgi service fails to run automatically but runs when started from interactive session

I enabled the uWSGI service in systemd but it fails to run at startup, the log shows the following: Wed Nov 22 12:36:10 2017 - your processes number limit is 47903 Wed Nov 22 12:36:10 2017 - your ...
Luis E's user avatar
  • 21
1 vote
1 answer
12k views

CentOS7 nginx permission denied for media and static

Hello I have tried to deploy django web server for a week and finally I did it, but now I have a permission denied problem with nginx /var/log/nginx/errors.log /2016-07-12_1.png HTTP/1.0", host: &...
Ebrahim Karimi's user avatar
4 votes
0 answers
3k views

Help! Failed to start uWSGI Emperor service

I am creating a django application using nginx as my server with uwsgi. However when i entered my domain or ip address to access my site. I got an 502 BAD GATEWAY ERROR. So I decided to look at my ...
Young Kuffey's user avatar
2 votes
0 answers
843 views

Arch Nginx Uwsgi no app loaded

I am trying to get django working but uwsgi is having problems loading anything. Most likely do to my ignorance. I would love some help troulble shooting. I have been looking at similar posts on the ...
Tsangares's user avatar
  • 143
4 votes
1 answer
1k views

Large TCP backlog for uwsgi, but no visible connections

In a setup with three docker instances, one running haproxy and two others running a flask-based python application through uWsgi, we run into a situation after about a day where no new connections is ...
izak's user avatar
  • 171
1 vote
0 answers
2k views

uwsgi , application not found

Ok so I have been trying to find a solution to this for 2 days now but I cannot seem to make much progress. I am running this on a nginx server but that appears to be fine. I copied over a python ...
TheHidden's user avatar
  • 798
4 votes
2 answers
4k views

FreeBSD: using python3 in uwsgi instead of python2

I have a server with FreeBSD 10.1 installed. I want to deploy a Django site on it using uwsgi+nginx+python3 and got some problems. The site was written for python3, I installed python3.4 then python3 ...
DiA's user avatar
  • 43
9 votes
2 answers
54k views

centos 7 systemd : Active: failed (Result: start-limit)

I want to use uwsgi with my django project I test usgi --ini uwsgi.ini works well And I want to write in systemd to control it And face error Here is my file /etc/systemd/system/mysite....
user2492364's user avatar
1 vote
1 answer
5k views

Linux- Stop a process running as daemon

I've started uwsgi as a daemon, how can I kill that process? Everytime I kill its pid, and then does ps aux | grep "uwsgi", it again comesin the output. I've also tried pkill uwsgi, but no use. How ...
Praful Bagai's user avatar
1 vote
0 answers
1k views

Startup commands in /etc/rc.local won't work

I have a Python program and an nginx/uwsgi/django web setup. I want the program to start with the system, as well as the web server. Here's my /etc/rc.local: crawler_dir=/home/mohammed/git/crawler ...
MadeOfAir's user avatar
  • 111
6 votes
5 answers
11k views

What's the best way to have uwsgi create a '/run/uwsgi' folder on reboot?

I have set up a Django project to run with uwsgi and nginx and it's all running as expected, except that when I reboot uwsgi will not launch correctly until the /run/ folder is recreated on the fs. /...
Octopus's user avatar
  • 2,489