[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-07 Thread Ken
This is happening to me in a Groovy on Grails application, but it doesn't seem to be a loading problem. Even if I'm clicking through the application I get these kinds of problems randomly. Probably one out of every five clicks fails if I wait for it to. Grails uses Spring underneath so maybe thi

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-04 Thread Wong
Now I get this 500 error quite frequently. See the log below in Admin Console. I believe this is different from HardDeadlineExceededError problem (exceeded 30 seconds limit) as there wasn't any HardDeadlineExceededError exception logged in log. The site was accessed by one user, hence the simult

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread yjun hu
Sorry, i'm using spring+struts , action class means controller in spring mvc. run cron job to make reactive, it's a temporary way, just make this problem always be happen On Thu, Mar 4, 2010 at 11:51 AM, Wong wrote: > I am not sure what do you mean by action class. Could you please give > me a p

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
I am not sure what do you mean by action class. Could you please give me a pointer? I made change to ping a Controller class every 1 min. Same problem persists. On Mar 4, 11:06 am, yjun hu wrote: > maybe you'd better run hitting an action class, not a simple jsp page. > > > > On Thu, Mar 4, 2010

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread yjun hu
maybe you'd better run hitting an action class, not a simple jsp page. On Thu, Mar 4, 2010 at 11:01 AM, Wong wrote: > > > > I used to run cron to make request every 1 min to a jsp which only > write out a line of text. I uses a HttpSessionListener to listen for > any "loading request"/startup. E

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
I used to run cron to make request every 1 min to a jsp which only write out a line of text. I uses a HttpSessionListener to listen for any "loading request"/startup. Even ping every 1 min the loading request still happens. I still got 500 error due to the request CPU is is over the limit. On

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread yjun hu
Can anyone confirm that Spring MVC version 2.5.6 is working fine on GAE? No, the same problem is also in spring2.5 there is no better way to avoid that, you can try to run cron job to make your application reactive . Hitting a url every 1 miute, i did this ,that's all i did. On Thu, Mar 4, 2010

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
This problem normally happens "In the case of loading requests, though, the execution time is artificially longer due to the extra application initialization required.". http://code.google.com/appengine/kb/java.html#Do_I_Need_To_Be_Concerned_About_High_CPU_Warnings I am using Spring MVC version 3

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread gholler
Okay, the first thing mentioned was that you are using Spring. We are doing an experiment removing Spring in our app to see what impact it has on startup time. On Mar 3, 7:57 pm, Wong wrote: > Hi, > > I am using Spring MVC. The application being cycled out overly > aggressively (sometimes less th

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread gholler
No, the 30 second limit is a hard limit. If a request can't finish in 30 seconds (or somewhat earlier), you get an exception. You then have an undetermined amount of time before the app engine kills your request and returns a 500 status code. You wouldn't happen to be using Spring, would you? On M

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread John Patterson
Hi Wong, I had this problem a while back when I was doing some intensive computations in my code. Eventually the entire app would become blocked for some minutes. The limit for API CPU is a lot higher than for CPU usage in your own code. I didn't come up with a solution to the problem -

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
I enable billing the set the quota to 3 times over the free quota for CPU Time. However, sometimes the request still fails with HTTP 500 error after app is being cycled out and "loading request" is being performed. In the log I see the following message: This request used a high amount of CPU, a