On 2017-10-25 15:39, PMan wrote:
> Thank you.
> 
> I enabled threads in the .ini file but I got the same results:

So you can probably re-disable it.

> (Tryton) root@host [/opt/Tryton]# /opt/python36/bin/uwsgi 
> /opt/Tryton/etc/tryton.ini
> [uWSGI] getting INI configuration from /opt/Tryton/etc/tryton.ini
> *** Starting uWSGI 2.0.15 (64bit) on [Wed Oct 25 16:13:07 2017] ***
> compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-16) on 05 October 2017 
> 22:04:37
> os: Linux-3.10.0-714.10.2.lve1.4.63.el7.x86_64 #1 SMP Sun Aug 20 17:46:23 EDT 
> 2017
> nodename: host.mysite.com
> machine: x86_64
> clock source: unix
> pcre jit disabled
> detected number of CPU cores: 4
> current working directory: /opt/Tryton
> detected binary path: /opt/python36/bin/uwsgi
> setgid() to group
> setuid() to user
> chdir() to /opt/Tryton/trytond-4.4.4/trytond
> your processes number limit is 14335
> your memory page size is 4096 bytes
> detected max file descriptor number: 4096
> lock engine: pthread robust mutexes
> thunder lock: disabled (you can enable it with --thunder-lock)
> uWSGI http bound on :8000 fd 4
> uwsgi socket 0 bound to TCP address 127.0.0.1:29116 (port auto-assigned) fd 3
> Python version: 3.6.2 (default, Aug  5 2017, 01:12:58)  [GCC 4.8.5 20150623 
> (Red Hat 4.8.5-11)]
> PEP 405 virtualenv detected: /opt/Tryton
> Set PythonHome to /opt/Tryton
> Python main interpreter initialized at 0x1eeb9f0
> python threads support enabled
> your server socket listen backlog is limited to 100 connections
> your mercy for graceful operations on workers is 60 seconds
> mapped 166144 bytes (162 KB) for 2 cores
> *** Operational MODE: threaded ***
> /opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/modules/__init__.py:143:
>  DeprecationWarning: This method will be removed in future versions.  Use 
> 'parser.read_file()' instead.
>   module_config.readfp(fp)
> unable to find "application" callable in file 
> /opt/Tryton/trytond-4.4.4/trytond/application.py
> unable to load app 0 (mountpoint='') (callable not found or import error)

So here it does not find the object to call.
It should be app. I guess you must configure: mountpoint='app' but I can
not confirm because I can not understand the uwsgi documentation.

> *** no app loaded. going in full dynamic mode ***
> *** uWSGI is running in multiple interpreter mode ***
> spawned uWSGI master process (pid: 1339)
> spawned uWSGI worker 1 (pid: 1341, cores: 2)
> spawned uWSGI http 1 (pid: 1342)
> ^CSIGINT/SIGQUIT received...killing workers...
> gateway "uWSGI http 1" has been buried (pid: 1342)
> worker 1 buried after 1 seconds
> goodbye to uWSGI.
> (Tryton) root@host [/opt/Tryton]#
> 
> Maybe it doens't matter, but it seems odd that it's running 
> /opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/modules/__init__.py
>  instead of /opt/Tryton/trytond-4.4.4/trytond/modules/__init__.py.
> 
> Regards,
> Paul
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20171026001616.GF3623%40kei.

Reply via email to