On Oct 24, 2011, at 8:01 AM, Damjan Malis wrote: > Hi guys, I'm having difficulties running simple app on GAE. I've > created simple controller that selects all records (15) from table and > passes them to my view. View just lists them. > > The issue is that 70% of requests made to this controller took 10-50 > second to finish. Sometimes GAE even throws DeadlineExceeded error. > > This issue even occurs on controller with no DB involved. > > From logs, I can see that all such "faulty" requests start with: > DEBUG: no file locking, this will cause problems
You should see this message on all requests, I think; it's a consequence of importing portalocker under GAE and the fact that GAE apparently logs everything, even debug-level messages. It's harmless. Massimo, it's a misleading message (and makes for a noisy log file) under GAE. Shouldn't the portalocker logic make a special case of GAE and keep quiet? It makes a special case of just about everything else... > > On my local dev machine, there are no such problems. > > So this issue is limited to GAE prod environment and happens by > random. 7 out of 3 refreshes of one page "fail". > > Anyone had similar problems or know what could cause this strange > behavior?

