yes. Cron can be responsible for memory issue if it locks the database and keeps restarting. I would also suggest moving to 2.0.9.
On Wednesday, 19 September 2012 20:37:18 UTC-5, Jonathan Lundell wrote: > > On 19 Sep 2012, at 6:27 PM, weheh <richard...@verizon.net <javascript:>> > wrote: > > Definitely some kind of running out of memory issue. Now, I'm getting > this: > > Can you run the server without cron? It's probably not *that* significant > that newcron shows up in the traceback, but turning it off (if you can) > might be a good idea, just as an experiment. > > > > > > > web2py Web Framework > > Created by Massimo Di Pierro, Copyright 2007-2011 > > Version 1.99.7 (2012-03-04 22:12:08) stable > > Database drivers available: SQLite3, pymysql, psycopg2, pg8000, IMAP > > Starting hardcron... > > please visit: > > http://127.0.0.1:8000 > > use "kill -SIGTERM 45896" to shutdown the web2py server > > ERROR:Rocket.Errors.Thread-6:Traceback (most recent call last): > > > > File "C:\web2py\gluon\rocket.py", line 1302, in run > > self.run_app(conn) > > > > File "C:\web2py\gluon\rocket.py", line 2004, in run_app > > for data in output: > > > > File "C:\web2py\gluon\streamer.py", line 30, in streamer > > data = stream.read(chunk_size) > > > > MemoryError > > > > ERROR:Rocket.Errors.Thread-8:Traceback (most recent call last): > > > > File "C:\web2py\gluon\rocket.py", line 1302, in run > > self.run_app(conn) > > > > File "C:\web2py\gluon\rocket.py", line 1986, in run_app > > self.environ = environ = self.build_environ(sock_file, conn) > > > > File "C:\web2py\gluon\rocket.py", line 1807, in build_environ > > request = self.read_request_line(sock_file) > > > > File "C:\web2py\gluon\rocket.py", line 1363, in read_request_line > > d = sock_file.readline() > > > > File "C:\Program Files (x86)\Python25\lib\socket.py", line 381, in > readline > > data = self._sock.recv(self._rbufsize) > > > > MemoryError > > > > Exception in thread Thread-14: > > Traceback (most recent call last): > > File "C:\Program Files (x86)\Python25\lib\threading.py", line 486, in > __bootst > > rap_inner > > self.run() > > File "C:\web2py\gluon\newcron.py", line 234, in run > > (stdoutdata,stderrdata) = proc.communicate() > > File "C:\Program Files (x86)\Python25\lib\subprocess.py", line 670, in > communi > > cate > > return self._communicate(input) > > File "C:\Program Files (x86)\Python25\lib\subprocess.py", line 887, in > _commun > > icate > > stderr_thread.start() > > File "C:\Program Files (x86)\Python25\lib\threading.py", line 440, in > start > > _start_new_thread(self.__bootstrap, ()) > > error: can't start new thread > > > > > > -- > > > > > > > > > --