On Sat, Oct 30, 2010 at 1:35 AM, Tim Hoffman <[email protected]> wrote:

> Hi
>
>
Hi Tim,

you are right looking at the logs is the first thing i should do ..


   1. 10-29 04:36PM 12.953

   botbase - on demand reloading of commonplugs.forward

   2. D10-29 04:36PM 12.953

   plugins - trying commonplugs.forward

   3. E10-29 04:36PM 50.560

   <class 'google.appengine.runtime.DeadlineExceededError'>:
   Traceback (most recent call last):



Its all deadline errors, notice the time difference between the last debug
line and the exception .. 38 seconds ??

I dont use django but my own framework is getting huge and loading that
might be a problem. Real problem is though that i cant know for sure whether
its my code at fault or its appengine that has troubles. Its getting hard to
develop on a unstable platform ;[



I suggest you do some serious logging in your app so you can see where
> the time is taken up.  If its during initial imports
> then you may be in a pocket of poor performing appengine
> infrastructure at the moment.  (A few people seem to be having
> onoing problems since the 27th)  In addition  it will give you a
> better insight into how you app is behaving during startup.
>
> It's also possible that you got a DeadLineExceeded during startup that
> has left you with a broken instance (this can happen if you using
> things
> like django).
>
> Have a look at the system log and see if all the 500's are due to
> DeadLineExceeded or just the first one followed by
> ImportError's or even AttributeError  in seemingly odd places.
>
>
its all DeadLineExceeded errors.



> Mind you all of this only applies if your using python.  (I have no
> idea haw the java platforms behave)
>
>
I'm on python. If you're curious about the code its on
http://jsonbot.googlecode.com


> Rgds
>
> Tim


Thanks for the help Tim !

Bart




> On Oct 30, 7:28 am, Bart Thate <[email protected]> wrote:
> > So i was programming the whole day and night to give my website a new
> look,
> > finally got something working and tweeted the website url -
> http://jsonbot.appspot.com. I was so amazed the bot loaded that fast i
> > though man i must be king of optimisation, seeing my website work as it
> > should (latency ~ 150msec).
> >
> > But then after a few visitors, it just went dead throwing 500's all the
> > time.
> >
> > *Instances*QPSLatencyMemory0.01732648.0 ms8.2 MBytes0.01732951.0 ms8.0
> > MBytes0.01732914.0 ms7.9 MBytes0.01733.0 ms10.3 MBytes
> >
> > ENOCLUE whats going on here, but it sure is disappointing. Seems to me
> that
> > coldstart is a problem on GAE right now and scaling doesnt work at all
> cause
> > that always needs to cold boot new instances up to be able to scale ?
> >
> > Error: Server ErrorThe server encountered an error and could not complete
> > your request.
> >
> > If the problem persists, please
> > report<http://code.google.com/appengine/community.html> your
> > problem and mention this error message and the query that caused it.
> > I hope google can give also us "freerunners" a decent level of service so
> > that we can grow as well.
> > The app is still stuck, i wont upload a new one till you have been able
> to
> > take a look at it.
> >
> > appid: jsonbot
> >
> > Regards,
> >
> > Bart
> >
> > --
> > @jsonbot Heerhugowaard, Netherlands
> > programming schizofrenic -http://jsonbot.appspot.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
@jsonbot Heerhugowaard, Netherlands
programming schizofrenic - http://jsonbot.appspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to