openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23846
[Bug 1146172] Re: Gunicorn on OpenERP 6.1 - doesn't clean up sessions properly
** Description changed:
The session files (/tmp directory) is not cleaned up properly. Is there
some way to maintain this?
+
+ Configuration Steps :
+ Server : lp:openobject-server/6.1 @ revision no. 4344
+ To run the OpenERP server via Gunicorn, change the appropriate settings below, in order to provide the parameters that would normally be passed in the command-line.
+
+ You will find a sample configuration file for OpenERP in this path of
+ OpenERP server source code “6.1/server/gunicorn.conf.py”
+
+ (at least `bind` and `conf['addons_path']`), then execute:
+
+ $ gunicorn openerp:wsgi.core.application -c gunicorn.conf.py
+
+ or if you want to run it behind a reverse proxy, add the line
+ import openerp.wsgi.proxied in this file and execute:
+
+ $ gunicorn openerp:wsgi.proxied.application -c gunicorn.conf.py
+
+ Steps to reproduce the bug :
+
+ You can find the session files in the /tmp directory by typing the command:
+ $ find /tmp/oe-sessions-*
+
+ Proposed Solution :
+
+ Deleting the unused filesystem sessions (one could check the modified
+ time of the files) done by a cronjob.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1146172
Title:
Gunicorn on OpenERP 6.1 - doesn't clean up sessions properly
Status in OpenERP Server:
New
Bug description:
The session files (/tmp directory) is not cleaned up properly. Is
there some way to maintain this?
Configuration Steps :
Server : lp:openobject-server/6.1 @ revision no. 4344
To run the OpenERP server via Gunicorn, change the appropriate settings below, in order to provide the parameters that would normally be passed in the command-line.
You will find a sample configuration file for OpenERP in this path of
OpenERP server source code “6.1/server/gunicorn.conf.py”
(at least `bind` and `conf['addons_path']`), then execute:
$ gunicorn openerp:wsgi.core.application -c gunicorn.conf.py
or if you want to run it behind a reverse proxy, add the line
import openerp.wsgi.proxied in this file and execute:
$ gunicorn openerp:wsgi.proxied.application -c gunicorn.conf.py
Steps to reproduce the bug :
You can find the session files in the /tmp directory by typing the command:
$ find /tmp/oe-sessions-*
Proposed Solution :
Deleting the unused filesystem sessions (one could check the modified
time of the files) done by a cronjob.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1146172/+subscriptions
References