Because I successfully ran a TG app in Paster for several months in 
production, I would not suspect something within TG...
It must be something with your app...

Do you use any C-Library from Python? They have to handle GC on their own 
and could be faulty maybe...

Am Sonntag, 26. Mai 2013 20:56:58 UTC+2 schrieb Kai H.:
>
> Hello,
>
> i am running a turbogears 2.2.2 (same for tg 2.2) app behind apache with 
> mod proxy.
>
> From time to time (once/twice a week) the service is not usable anymore 
> because a new request produces a MemoryError. Then i have to restart the 
> process and its working again.
>
> My read is, that somewhere in the app resp. in the framework, there is a 
> memory leak or something. Does this assumption make sense?
>
> Well, i don't have a idea what and where i should search for. Do you have 
> an ideas? Maybe any common pitfalls? I attached the errorstack.
>
> thanks in advance.
>
> best,
> Kai
>
>
> ----------------------------------------
>> Unexpected exception in worker <function <lambda> at 0xb0098374>
>> Traceback (most recent call last):
>>   File 
>> "/home/kai/tg222env/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
>>  
>> line 878, in worker_thread_callback
>>     runnable()
>>   File 
>> "/home/kai/tg222env/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
>>  
>> line 1052, in <lambda>
>>     lambda: self.process_request_in_thread(request, client_address))
>>   File 
>> "/home/kai/tg222env/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
>>  
>> line 1068, in process_request_in_thread
>>     self.finish_request(request, client_address)
>>   File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
>>     self.RequestHandlerClass(request, client_address, self)
>>   File "/usr/lib/python2.6/SocketServer.py", line 617, in __init__
>>     self.handle()
>>   File 
>> "/home/kai/tg222env/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
>>  
>> line 442, in handle
>>     BaseHTTPRequestHandler.handle(self)
>>   File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
>>     self.handle_one_request()
>>   File 
>> "/home/kai/tg222env/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
>>  
>> line 431, in handle_one_request
>>     self.raw_requestline = self.rfile.readline()
>>   File "/usr/lib/python2.6/socket.py", line 444, in readline
>>     data = self._sock.recv(self._rbufsize)
>> MemoryError
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to