Martin Trigaux
1c0bc7cc16
[FIX] server: backport of 3940a096
on psutil
...
psutil 3.0 removed get_momory_info method
create wrapper method for backward compatibility
2015-06-29 16:09:42 +02:00
Olivier Dony
e8e3f75727
[FIX] workers: process signals during graceful shutdown to allow force shutdown
...
Required after e17844c946
which
enabled graceful shutdown of workers, including the cron worker.
The latter may typically be busy on long-running tasks that
will not be aborted by a simple graceful shutdown request.
A typical shutdown sequence initiated by a daemon manager such
as start-stop-daemon will involve multiple SIGTERM signals to
ensure the process really stops in a timely manner.
This was not possible after e17844c946
if any cron worker was busy.
2015-06-18 19:18:03 +02:00
Laurent Mignon (ACSONE)
e17844c946
[FIX] server: graceful shutdown must send SIGINT instead of SIGTERM to workers
...
Workers do not specifically handle SIGTERM so it can be used to
force quit them, but the graceful shutdown is triggered by SIGINT.
Closes #6998
2015-06-12 16:11:59 +02:00
Christophe Simonis
634fef80ef
[IMP] WorkerCron: make the cron workers not all starting at the first database. Better repartition of work
...
[IMP] WorkerCron: renice process
Backport of commits 4891 chs@openerp.com-20130701120345-4687avu7re5pw6sf and 4892 chs@openerp.com-20130701125548-sgcaf71avwpleml1
of saas-1 branch
bzr revid: chs@openerp.com-20130724083454-fvmcm8be1ztezleg
2013-07-24 10:34:54 +02:00
Antony Lesuisse
6a2e96bf90
[FIX] workers, listen backlog based on the number of workers
...
bzr revid: al@openerp.com-20130423222245-i3gw87v7rktsb23y
2013-04-24 00:22:45 +02:00
al@openerp.com
c532e3da9e
[FIX] workers limit cron memory usage
...
bzr revid: al@openerp.com-20130405001112-gknqvx0iyjmu1ona
2013-04-05 02:11:12 +02:00
Vo Minh Thu
79bd8db0fd
[FIX] WorkerCron: give a chance to process_limit() between each database.
...
bzr revid: vmt@openerp.com-20130328115905-ddib9g4bbu0kx2wn
2013-03-28 12:59:05 +01:00
Antony Lesuisse
d0392a2db0
[FIX] workers no suicide on broken pipe
...
bzr revid: al@openerp.com-20130209172932-5w8zt239tw0sirne
2013-02-09 18:29:32 +01:00
Antony Lesuisse
6c6fa1b7ee
[FIX] memory logging for cron workers
...
bzr revid: al@openerp.com-20121229133616-mbx0732l1uvyb1eo
2012-12-29 14:36:16 +01:00
Antony Lesuisse
551e6bc78d
[IMP] memory usage logging
...
bzr revid: al@openerp.com-20121229125912-rlt4g0b6xhajqxwm
2012-12-29 13:59:12 +01:00
Antony Lesuisse
c4fcf264c0
[IMP] workers request count on exit
...
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +01:00
Antony Lesuisse
0801f22e04
[IMP] workers setproctitle if available
...
bzr revid: al@openerp.com-20121209215336-rvmy0dejfpmy1awi
2012-12-09 22:53:36 +01:00
Antony Lesuisse
cf31a12d94
[IMP] workers cron dont keep cursors
...
need for saas and demo
bzr revid: al@openerp.com-20121209212242-s3a91vxg8bixqls7
2012-12-09 22:22:42 +01:00
Antony Lesuisse
97ab217893
[IMP] workers cron logging and chorus
...
bzr revid: al@openerp.com-20121209204544-7w98xboxh6uytz43
2012-12-09 21:45:44 +01:00
Antony Lesuisse
099ae0f70c
[IMP] workers better logging
...
bzr revid: al@openerp.com-20121209203134-sobl1m3q53bjne2i
2012-12-09 21:31:34 +01:00
Antony Lesuisse
a4fcf06301
[FIX] temporary fix workers cron for missing openerp.addons.base
...
bzr revid: al@openerp.com-20121209200018-bvzdy7nhkyo6kaun
2012-12-09 21:00:18 +01:00
Antony Lesuisse
17ec9a3422
[FIX] workers graceful shutdown
...
bzr revid: al@openerp.com-20121209193022-r4h1ksmqrk2cfnds
2012-12-09 20:30:22 +01:00
Antony Lesuisse
e77725eb89
[IMP] improve experience on for openerp developers on windows, notes in setup.py and fix some imports
...
bzr revid: al@openerp.com-20121107015708-o9l893ll9f32wjcy
2012-11-07 02:57:08 +01:00
Antony Lesuisse
26780da2ef
[FIX] fcntl not available on windows
...
bzr revid: al@openerp.com-20120925000946-7qikupf5rt2hiwx4
2012-09-25 02:09:46 +02:00
Antony Lesuisse
4679680dba
manual merge of multicorn
...
bzr revid: al@openerp.com-20120922105107-q02ogtsfudphzkl6
2012-09-22 12:51:07 +02:00