Advertisement
Guest User

Untitled

a guest
Feb 8th, 2017
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. !!! no internal routing support, rebuild with pcre support !!!
  2. chdir() to /opt/app/apolo_api
  3. your processes number limit is 3896
  4. your memory page size is 4096 bytes
  5. detected max file descriptor number: 1024
  6. lock engine: pthread robust mutexes
  7. thunder lock: enabled
  8. uWSGI http bound on :5001 fd 3
  9. uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 6
  10. Python version: 3.5.1 (default, Sep 13 2016, 18:48:37) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
  11. Set PythonHome to /opt/app/venv/
  12. Python main interpreter initialized at 0x225ace0
  13. python threads support enabled
  14. your server socket listen backlog is limited to 100 connections
  15. your mercy for graceful operations on workers is 60 seconds
  16. mapped 166112 bytes (162 KB) for 2 cores
  17. * Operational MODE: threaded *
  18. added /opt/app/apolo_api/api/ to pythonpath.
  19. unable to load app 0 (mountpoint='') (callable not found or import error)
  20. * no app loaded. going in full dynamic mode *
  21. * uWSGI is running in multiple interpreter mode *
  22. spawned uWSGI master process (pid: 22526)
  23. spawned uWSGI worker 1 (pid: 22527, cores: 2)
  24. * Stats server enabled on /tmp/uwsgi.stats.sock fd: 12 *
  25. spawned uWSGI http 1 (pid: 22528)
  26.  
  27. * No app loaded. Going in full dynamic mode *
  28.  
  29. Create /etc/init/uwsgi_myproject.conf file
  30. description "uWSGI starter for myproject"
  31.  
  32. start on (local-filesystems and runlevel [2345])
  33. stop on runlevel [016]
  34.  
  35. respawn
  36.  
  37. exec /usr/local/bin/uwsgi /etc/init/myproject.ini
  38.  
  39. [uwsgi]
  40. chdir=/opt/app/myproject
  41. module='myproject.wsgi:application'
  42. socket = /tmp/uwsgi.sock
  43. env DJANGO_SETTINGS_MODULE=myproject.settings
  44. master = true
  45. uid = nginx
  46. gid = nginx
  47. http = :5001
  48. venv = /opt/app/venv/
  49. python-path = /opt/app/apolo_api/api/
  50. wsgi = app:app
  51. processes = 1
  52. threads = 2
  53. stats = /tmp/uwsgi.stats.sock
  54. memory-report = true
  55. thunder-lock = true
  56. max-requests = 500
  57. max-requests-delta = 30
  58. touch-reload=/tmp/.uwsgi_reload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement