On 2017-05-30 09:53, Sergi Almacellas Abellana wrote:
> El 30/05/17 a les 09:32, Sergi Almacellas Abellana ha escrit:
> > Hi,
> >
> > I have found some strange issue when using trytond-cron. The process
> > runs correctly, but after some random time (3-4 days) it starts sleeping
> > forever. After killing the process and restarting everything works well.
> I just found one diference on the ps output. When the process is working 
> correcty it's in the S (sleeping) state, but when the process is 
> sleeping forever it gets on the Sl state. From the man page i see that 
> the "l" means that the process is multithread.
> 
> So it's possible that some cron thread did not end up correctly and this 
> causes the main process to not recover from sleep?
> 
> Any comments will be much appreciated.

The cron code is full of logging, have you anything?
I guess it is a cron task for one database that is running indefinitely.
Maybe a dead lock?

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
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/20170530084228.GA3556%40kei.

Reply via email to