There are many things that can go bad with cron. The problem is that
is a job locks a resource, the next jobs starts and finds the recource
locked, etc etc. eventually you run out of memory with lots of locked
processes. It may be a missing unlock, a missing commit, a race
conditions, etc. My advice is do not use cron but a single background
process

On Jul 27, 4:19 pm, Phyo Arkar <[email protected]> wrote:
> After disabling cron i dont experience freeze so far (now 3rd day)
>
> So why Cron causes freeze?
>
> On 7/24/11, Massimo Di Pierro <[email protected]> wrote:
>
>
>
>
>
>
>
> > does it freeze without cron?
>
> > On Jul 24, 4:29 am, Phyo Arkar <[email protected]> wrote:
> >>    Web2py seems to be freezing (One CPU using 100%) Randomly. The
> >> pages are only normal web pages with database access (simple Select
> >> Query).
>
> >>    I cannot reproduce the problem but it happens like every 3-4 days.
> >> Also Admin freeze while doing cron jobs (Cleaning expiring sessions) ,
> >> so i had to start with -N disabling cron jobs.
>
> >> For easy deployment for users i use web2py directly only , no other
> >> http servers used.

Reply via email to