Massimo, can the technique described in the book be used on GAE? Thx, Mike
On Aug 27, 10:23 pm, Bruno Rocha <[email protected]> wrote: > Thanks Massimo. > , > > 2010/8/27 mdipierro <[email protected]> > > > > > > > Run the web server with -N (no cron) and run a separate backrgound > > process for cron. Anyway, there is no way to control how much memory > > cron consumes if a cron task takes longer than expected. It is safer > > not to use cron (-N) and use this instead: > > >http://www.web2py.com/book/default/chapter/04#Background-Processes-an... > > > Massimo > > > On Aug 27, 7:18 pm, Bruno Rocha <[email protected]> wrote: > > > Hi, > > > > I am running a web2py application at my home server, > > > that is published and I have some clients using for accurracy tests. > > > > But , every 3 hours+- the server fails with the message > > > > Exception in thread Thread-20: > > > > Traceback (most recent call last): > > > > File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > > > > self.run() > > > > File "/home/bruno/web2py/gluon/newcron.py", line 206, in run > > > > shell=self.shell) > > > > File "/usr/lib/python2.6/subprocess.py", line 633, in __init__ > > > > errread, errwrite) > > > > File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child > > > > self.pid = os.fork() > > > > OSError: [Errno 12] Do not possible to allocate memory > > > > I can see newcron.py is the problem there, but I need to use cron, > > > this could be a problem with my OS or machine, or it is a Rocket problem? > > > > -- > > > >http://rochacbruno.com.br > > -- > > http://rochacbruno.com.br

