Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. $ python3
  2. Python 3.7.3 (default, Apr 3 2019, 05:39:12)
  3. [GCC 8.3.0] on linux
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> import his
  6. >>> dir(his)
  7. ['ACCOUNT', 'Account', 'Application', 'CUSTOMER', 'JSON_DATA', 'SESSION', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'admin', 'api', 'application', 'authenticated', 'authorized', 'config', 'contextlocals', 'exceptions', 'functions', 'messages', 'orm', 'pwmail', 'root']
  8. >>>
  9.  
  10. [uwsgi]
  11. master = true
  12. emperor = /etc/uwsgi-emperor/vassals
  13. emperor-on-demand-directory = /run/uwsgi
  14. plugin = python35
  15. master = true
  16. vassal-set = plugin=python3
  17. vassal-set = master=true
  18. vassal-set = enable-threads=false
  19. vassal-set = cheaper-algo=spare
  20. vassal-set = cheaper=1
  21. vassal-set = cheaper-initial=1
  22. vassal-set = cheaper-step=1
  23. vassal-set = workers=8
  24. vassal-set = enable-metrics=1
  25.  
  26. [uwsgi]
  27. uid = his
  28. gid = his
  29. module = his.wsgi
  30. callable = APPLICATION
  31. buffer-size = 40960
  32.  
  33. *** Starting uWSGI 2.0.14-debian (64bit) on [Thu Apr 25 11:08:25 2019] ***
  34. compiled with version: 6.3.0 20170516 on 17 March 2018 15:41:47
  35. os: Linux-4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02)
  36. nodename: srv
  37. machine: x86_64
  38. clock source: unix
  39. pcre jit disabled
  40. detected number of CPU cores: 8
  41. current working directory: /etc/uwsgi-emperor/vassals
  42. detected binary path: /usr/bin/uwsgi-core
  43. setgid() to 963
  44. setuid() to 963
  45. your processes number limit is 64114
  46. your memory page size is 4096 bytes
  47. detected max file descriptor number: 1024
  48. lock engine: pthread robust mutexes
  49. thunder lock: disabled (you can enable it with --thunder-lock)
  50. uwsgi socket 0 inherited UNIX address /run/uwsgi/his.socket fd 0
  51. Python version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
  52. *** Python threads support is disabled. You can enable it with --enable-threads ***
  53. Python main interpreter initialized at 0x562ddd200820
  54. your server socket listen backlog is limited to 100 connections
  55. your mercy for graceful operations on workers is 60 seconds
  56. mapped 986688 bytes (963 KB) for 8 cores
  57. *** Operational MODE: preforking ***
  58. initialized 140 metrics
  59. ImportError: No module named 'his'
  60. unable to load app 0 (mountpoint='') (callable not found or import error)
  61. *** no app loaded. going in full dynamic mode ***
  62. *** uWSGI is running in multiple interpreter mode ***
  63.  
  64. $ dpkg -l | grep uwsgi-plugin-python3
  65. ii uwsgi-plugin-python3 2.0.14+20161117-3+deb9u2 amd64 WSGI plugin for uWSGI (Python 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement