[google-appengine] Re: Burning CPU cycles on asynchronous API calls

2012-03-06 Thread Stuart Langley
Ah ok - java futures. Bit harder to do WaitAny() style semantics but for 
you should still be able to call .get() rather than spinning manually.


On Tuesday, 6 March 2012 18:25:17 UTC+11, Wolfram Gürlich wrote:
>
> Simon, I will try it out and report back on what I found out.
>
> @Stuart - those wait..() calls seem to be specific to Phyton. I digged 
> into the ApiProxy.java source code but it seems very different from phytons 
> ApiProxy.
>
> Wolfram
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/0KHA3iM85SkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Huge number of datastore reads?

2012-03-06 Thread Dave Peck
Although I was hoping for useful, non-judgmental replies too.

-Dave

On Mar 6, 10:08 pm, "Brandon Wirtz"  wrote:
> > The worst of it: we looked like rank amateurs in several ways, but perhaps
>
> I'd say "no offense" but I'd be lying.
>
> "More than doubled"
>
> My Daily budget sits at 50x my biggest recorded day on almost every app I
> have.  If your model is to make money, and you are pretty sure you don't
> have a bug that is going to cost you millions of dollars. There is no reason
> to not set your budget sky high. If you have only 30 minutes to get your app
> back with in quota, you are rank amateurs. Your Scale is only limited by
> your budget. If you aren't going to set you budget to as large as you
> imagine you would want to scale you are doing it wrong.
>
> If you are going to run with the training wheels on, don't be surprised when
> you hit a pot hole and your back tire just spins with you going nowhere.
>
> -Brandon

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



RE: [google-appengine] Re: Huge number of datastore reads?

2012-03-06 Thread Brandon Wirtz
> The worst of it: we looked like rank amateurs in several ways, but perhaps

I'd say "no offense" but I'd be lying.

"More than doubled"

My Daily budget sits at 50x my biggest recorded day on almost every app I
have.  If your model is to make money, and you are pretty sure you don't
have a bug that is going to cost you millions of dollars. There is no reason
to not set your budget sky high. If you have only 30 minutes to get your app
back with in quota, you are rank amateurs. Your Scale is only limited by
your budget. If you aren't going to set you budget to as large as you
imagine you would want to scale you are doing it wrong.

If you are going to run with the training wheels on, don't be surprised when
you hit a pot hole and your back tire just spins with you going nowhere.

-Brandon


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



[google-appengine] Re: Huge number of datastore reads?

2012-03-06 Thread Dave Peck
To be clear: I lost real customers and real money today.

The problem was compounded by apparent issues with Google Checkout on
the iPhone. I got a downtime notification and quickly determined the
root cause. I was on the road, so I pulled over and immediately logged
in with my iPhone to update the billing information. I more-than-
doubled our daily budget and submitted it. It looked like everything
worked. (That is to say: the form let me type in a new budget and
submit it.) Billing was "frozen" for 30 minutes. I kept refreshing,
only to discover that for whatever reason _it hadn't worked_. 30
minutes later, I tried again. This doomed us to another 30 minutes of
downtime. It wasn't until I raced home to my laptop that I was able to
successfully update the billing. This needs to be fixed.

The worst of it: we looked like rank amateurs in several ways, but
perhaps none greater than our 500 page. App Engine decided to display
a generic Google-logo'd "Over Quota" 500 page instead of our custom
500 error page. What customer in their right mind, after seeing such
an embarrassment, would think that we're serious about our business?

-Dave

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



[google-appengine] Re: Huge number of datastore reads?

2012-03-06 Thread Greg
I've noticed a couple of blips in memcache today - if you cache using
memcache, maybe you're having to revert to datastore more often than
usual?

Cheers
Greg.

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



[google-appengine] Re: Huge number of datastore reads?

2012-03-06 Thread Dave Peck
The ID is get-cloak-live.

No remote queries; everything would have to have been generated by
handling requests (some of which were our cron jobs.)

Thanks,
Dave

On Mar 6, 4:53 pm, Alfred Fuller 
wrote:
> What is your app id?
>
> Did you perform a lot of queries using remote api?
>
>
>
>
>
>
>
> On Tue, Mar 6, 2012 at 4:40 PM, Dave Peck  wrote:
> > My production application went over its daily budget today. Let's just
> > say that my daily budget is roughly 3x what I've ever actually needed
> > on my busiest day. Today was not my busiest day by a long shot.
>
> > It appears that I serviced a small number of requests today. However,
> > the dashboard claims that I performed roughly 10,000x the number of
> > datastore read ops as requests, at a cost of
> > $LOTS_OF_MONEY_FOR_ONE_DAY
>
> > This seems like nonsense. My code hasn't changed in a while. I've
> > never reached a quota quite like this. And there's no way my average
> > request requires 10,000 read ops. Just no.
>
> > Google team -- is there someone I can speak with? I'd like to
> > understand in detail what happened and how to prevent it going
> > forward.
>
> > -Dave
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] Huge number of datastore reads?

2012-03-06 Thread Alfred Fuller
What is your app id?

Did you perform a lot of queries using remote api?

On Tue, Mar 6, 2012 at 4:40 PM, Dave Peck  wrote:

> My production application went over its daily budget today. Let's just
> say that my daily budget is roughly 3x what I've ever actually needed
> on my busiest day. Today was not my busiest day by a long shot.
>
> It appears that I serviced a small number of requests today. However,
> the dashboard claims that I performed roughly 10,000x the number of
> datastore read ops as requests, at a cost of
> $LOTS_OF_MONEY_FOR_ONE_DAY
>
> This seems like nonsense. My code hasn't changed in a while. I've
> never reached a quota quite like this. And there's no way my average
> request requires 10,000 read ops. Just no.
>
> Google team -- is there someone I can speak with? I'd like to
> understand in detail what happened and how to prevent it going
> forward.
>
> -Dave
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Huge number of datastore reads?

2012-03-06 Thread Dave Peck
My production application went over its daily budget today. Let's just
say that my daily budget is roughly 3x what I've ever actually needed
on my busiest day. Today was not my busiest day by a long shot.

It appears that I serviced a small number of requests today. However,
the dashboard claims that I performed roughly 10,000x the number of
datastore read ops as requests, at a cost of
$LOTS_OF_MONEY_FOR_ONE_DAY

This seems like nonsense. My code hasn't changed in a while. I've
never reached a quota quite like this. And there's no way my average
request requires 10,000 read ops. Just no.

Google team -- is there someone I can speak with? I'd like to
understand in detail what happened and how to prevent it going
forward.

-Dave

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



Re: [google-appengine] Appspot Domain IP Address Question.

2012-03-06 Thread Barry Hunter
As I understand it, requests can come from anywhere in these ranges:
http://centralops.net/co/NsLookup.aspx?domain=_netblocks.google.com&type=16

They are ranges not individual IP addresses. (those ranges represent
hundreds of thousends of IP addresses)

On Tue, Mar 6, 2012 at 8:00 PM, Vaayu  wrote:
> What are the IP Addresses of Google Appspot Domain?
>
> I see 173.194.77.141. Are there any other IP addresses available for
> this Appspot Domain?
>
> Purpose: I have to provide two or three IP addresses to our Netwrok
> Group so our environment is configured properly to accept request from
> those IPs only. They are asking fora minimum of two IP addresses.
>
> Appreciate your reply. Thank you,
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] Re: Outages?

2012-03-06 Thread Francois Masurel
Yep, getting quite a few errors on loading requests lately like this one 
for example :


   1. 2012-03-06 20:26:42.834
   
   Uncaught exception from servlet
   org.apache.xerces.parsers.ObjectFactory$ConfigurationError: Provider 
org.apache.xerces.parsers.XIncludeAwareParserConfiguration could not be 
instantiated: com.google.apphosting.api.DeadlineExceededException: This request 
(c2d42bb1d5647665) started at 2012/03/06 19:25:43.000 UTC and was still 
executing at 2012/03/06 19:26:42.782 UTC.
at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.SAXParser.(Unknown Source)
at org.apache.xerces.parsers.SAXParser.(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown 
Source)
at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown 
Source)
at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown 
Source)
at org.mortbay.xml.XmlParser.makeFactorySecure(XmlParser.java:162)
at org.mortbay.xml.XmlParser.setValidating(XmlParser.java:102)
at org.mortbay.xml.XmlParser.(XmlParser.java:91)
at 
org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:210)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1247)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:202)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:171)
at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123)
at 
com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:422)
at 
com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:449)
at 
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:455)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:695)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:333)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:325)
at 
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:453)
at 
com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
at java.lang.Thread.run(Thread.java:679)
   
   2. I2012-03-06 20:26:42.879
   
   This request caused a new process to be started for your application, and 
thus caused your application code to be loaded for the first time. This request 
may thus take longer and use more CPU than a typical request for your 
application.
   
   3. W2012-03-06 20:26:42.879
   
   A problem was encountered with the process that handled this request, 
causing it to exit. This is likely to cause a new process to be used for the 
next request to your application. If you see this message frequently, you may 
be throwing exceptions during the initialization of your application. (Error 
code 104)
   
   

On Tuesday, March 6, 2012 10:17:37 PM UTC+1, Adam Sherman wrote:
>
> Am I the only one seeing short duration outages? They are being reflected 
> at:
>
> http://code.google.com/status/appengine
>
> But I don't see anyone else complaining anywhere, so it makes me worried.
>
> A.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/BCIjV778ufoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-06 Thread Joakim
In addition to those, I've been getting logs with a single line of text 
reading "Request was aborted after waiting too long to attempt to service 
your request."
Too long seems to be about ten seconds.

On Tuesday, March 6, 2012 10:27:16 PM UTC+1, Jeff Schnitzer wrote:
>
> I see a lot of errors on app startup like this:
>
> Failed startup of context 
> com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@15a2dc4{/,/base/data/home/apps/s~voostip/1.357238701206702102}
> com.google.apphosting.api.DeadlineExceededException: This request 
> (71d5265cd8f687bc) started at 2012/03/06 21:22:53.913 UTC and was still 
> executing at 2012/03/06 21:23:53.699 UTC.
>   at 
> com.google.appengine.runtime.Request.process-71d5265cd8f687bc(Request.java)
>   at java.util.zip.ZipFile.read(Native Method)
>   at java.util.zip.ZipFile.access$1200(ZipFile.java:57)
>   at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:476)
>   at java.util.zip.ZipFile$1.fill(ZipFile.java:259)
>   at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
>   at sun.misc.Resource.getBytes(Resource.java:124)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:273)
>   at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:616)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>
>
> It's not 100% of the time, but it's often enough to be scary.  If an 
> instance gets up it seems to stay up.  But getting there is a problem.
>
> Jeff
>
> On Tue, Mar 6, 2012 at 4:22 PM, Cesium  wrote:
>
>> I've got nothing but errors.
>>
>>
>> On Tuesday, March 6, 2012 2:17:37 PM UTC-7, Adam Sherman wrote:
>>>
>>> Am I the only one seeing short duration outages? They are being 
>>> reflected at:
>>>
>>> http://code.google.com/status/**appengine
>>>
>>> But I don't see anyone else complaining anywhere, so it makes me worried.
>>>
>>> A.
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-appengine/-/AwHg5a7-EPoJ.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8Y7e3_REEO8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-06 Thread Adam Sherman
That is also what I am seeing.

On Tue, Mar 6, 2012 at 4:27 PM, Jeff Schnitzer  wrote:
> I see a lot of errors on app startup like this:
>
> Failed startup of context
> com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@15a2dc4{/,/base/data/home/apps/s~voostip/1.357238701206702102}
> com.google.apphosting.api.DeadlineExceededException: This request
> (71d5265cd8f687bc) started at 2012/03/06 21:22:53.913 UTC and was still
> executing at 2012/03/06 21:23:53.699 UTC.
>   at
> com.google.appengine.runtime.Request.process-71d5265cd8f687bc(Request.java)
>   at java.util.zip.ZipFile.read(Native Method)
>   at java.util.zip.ZipFile.access$1200(ZipFile.java:57)
>   at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:476)
>   at java.util.zip.ZipFile$1.fill(ZipFile.java:259)
>   at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
>   at sun.misc.Resource.getBytes(Resource.java:124)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:273)
>   at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:616)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>
>
> It's not 100% of the time, but it's often enough to be scary.  If an
> instance gets up it seems to stay up.  But getting there is a problem.
>
> Jeff
>
> On Tue, Mar 6, 2012 at 4:22 PM, Cesium  wrote:
>>
>> I've got nothing but errors.
>>
>>
>> On Tuesday, March 6, 2012 2:17:37 PM UTC-7, Adam Sherman wrote:
>>>
>>> Am I the only one seeing short duration outages? They are being reflected
>>> at:
>>>
>>> http://code.google.com/status/appengine
>>>
>>> But I don't see anyone else complaining anywhere, so it makes me worried.
>>>
>>> A.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-appengine/-/AwHg5a7-EPoJ.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



-- 
Adam Sherman, CTO
Versature Corp. / +1.877.498.3772 x113

Follow us on Twitter - http://twitter.com/Versature
Check out the Versature Blog - http://inside.versature.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 google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-06 Thread Jeff Schnitzer
I see a lot of errors on app startup like this:

Failed startup of context
com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@15a2dc4{/,/base/data/home/apps/s~voostip/1.357238701206702102}
com.google.apphosting.api.DeadlineExceededException: This request
(71d5265cd8f687bc) started at 2012/03/06 21:22:53.913 UTC and was
still executing at 2012/03/06 21:23:53.699 UTC.
at 
com.google.appengine.runtime.Request.process-71d5265cd8f687bc(Request.java)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:57)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:476)
at java.util.zip.ZipFile$1.fill(ZipFile.java:259)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at sun.misc.Resource.getBytes(Resource.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:273)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)


It's not 100% of the time, but it's often enough to be scary.  If an
instance gets up it seems to stay up.  But getting there is a problem.

Jeff

On Tue, Mar 6, 2012 at 4:22 PM, Cesium  wrote:

> I've got nothing but errors.
>
>
> On Tuesday, March 6, 2012 2:17:37 PM UTC-7, Adam Sherman wrote:
>>
>> Am I the only one seeing short duration outages? They are being reflected
>> at:
>>
>> http://code.google.com/status/**appengine
>>
>> But I don't see anyone else complaining anywhere, so it makes me worried.
>>
>> A.
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/AwHg5a7-EPoJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



RE: [google-appengine] Appspot Domain IP Address Question.

2012-03-06 Thread Brandon Wirtz
Fetch from Appspot can happen on a VERY large range of Ip's.





> -Original Message-
> From: google-appengine@googlegroups.com [mailto:google-
> appeng...@googlegroups.com] On Behalf Of Vaayu
> Sent: Tuesday, March 06, 2012 1:00 PM
> To: Google App Engine
> Subject: [google-appengine] Appspot Domain IP Address Question.
>
> What are the IP Addresses of Google Appspot Domain?
>
> I see 173.194.77.141. Are there any other IP addresses available for this
> Appspot Domain?
>
> Purpose: I have to provide two or three IP addresses to our Netwrok Group
> so our environment is configured properly to accept request from those IPs
> only. They are asking fora minimum of two IP addresses.
>
> Appreciate your reply. Thank you,
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to google-
> appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



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



[google-appengine] Re: Outages?

2012-03-06 Thread Cesium
I've got nothing but errors.

On Tuesday, March 6, 2012 2:17:37 PM UTC-7, Adam Sherman wrote:
>
> Am I the only one seeing short duration outages? They are being reflected 
> at:
>
> http://code.google.com/status/appengine
>
> But I don't see anyone else complaining anywhere, so it makes me worried.
>
> A.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/AwHg5a7-EPoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Outages?

2012-03-06 Thread Adam Sherman
Am I the only one seeing short duration outages? They are being reflected 
at:

http://code.google.com/status/appengine

But I don't see anyone else complaining anywhere, so it makes me worried.

A.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/im2MeN4-6y4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Appspot Domain IP Address Question.

2012-03-06 Thread Vaayu
What are the IP Addresses of Google Appspot Domain?

I see 173.194.77.141. Are there any other IP addresses available for
this Appspot Domain?

Purpose: I have to provide two or three IP addresses to our Netwrok
Group so our environment is configured properly to accept request from
those IPs only. They are asking fora minimum of two IP addresses.

Appreciate your reply. Thank you,



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



[google-appengine] Re: memory leaks when posting data

2012-03-06 Thread Kaan Soral
Does the instance die after a while?

On Tuesday, March 6, 2012 8:20:31 PM UTC+2, merchant service wrote:
>
> I have very simple app which consists of one file. Code is below. When 
> I just deploy application and open form my instance takes ~37 MB 
> Memory. I can assume this is app engine itself. If I start using this 
> form to post 1Mb, memory is raised unexpectedly after each post 
> (approximately for 2 MB after each post, but sometimes it even more). 
> If I post 2 MB it is raised on 12 MB etc...I can't find dependency 
> between post size and memory usage, but it's either memory leaks in 
> code below, or weird behavior in GAE. 
>
> Any thoughts will be useful. Thanks! 
>
> [code] 
> import cgi 
> import logging 
> from google.appengine.ext import webapp 
> from google.appengine.ext.webapp import util 
>
> class MainHandler(webapp.RequestHandler): 
> def get(self): 
> logging.info("get...") 
>
> def post(self): 
> logging.info("posting...") 
> s = cgi.escape(self.request.get('content')) 
> self.response.out.write("Post length: %s" % l) 
>
> application = webapp.WSGIApplication([('/', MainHandler)], debug=True) 
> util.run_wsgi_app(application) 
> [/code]

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ZJ0yheAocewJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] memory leaks when posting data

2012-03-06 Thread Brandon Wirtz
The post data is Held to be used. +2M
You "Get Self" +2M
S=  +2M

Tack on some for encoding. And such... you are at 9M pretty easy, so 12M is
not unbelievable.



> -Original Message-
> From: google-appengine@googlegroups.com [mailto:google-
> appeng...@googlegroups.com] On Behalf Of merchant service
> Sent: Tuesday, March 06, 2012 11:21 AM
> To: Google App Engine
> Subject: [google-appengine] memory leaks when posting data
>
> I have very simple app which consists of one file. Code is below. When I
just
> deploy application and open form my instance takes ~37 MB Memory. I can
> assume this is app engine itself. If I start using this form to post 1Mb,
> memory is raised unexpectedly after each post (approximately for 2 MB
after
> each post, but sometimes it even more).
> If I post 2 MB it is raised on 12 MB etc...I can't find dependency between
post
> size and memory usage, but it's either memory leaks in code below, or
weird
> behavior in GAE.
>
> Any thoughts will be useful. Thanks!
>
> [code]
> import cgi
> import logging
> from google.appengine.ext import webapp
> from google.appengine.ext.webapp import util
>
> class MainHandler(webapp.RequestHandler):
> def get(self):
> logging.info("get...")
>
> def post(self):
> logging.info("posting...")
> s = cgi.escape(self.request.get('content'))
> self.response.out.write("Post length: %s" % l)
>
> application = webapp.WSGIApplication([('/', MainHandler)], debug=True)
> util.run_wsgi_app(application)
> [/code]
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to google-
> appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



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



[google-appengine] memory leaks when posting data

2012-03-06 Thread merchant service
I have very simple app which consists of one file. Code is below. When
I just deploy application and open form my instance takes ~37 MB
Memory. I can assume this is app engine itself. If I start using this
form to post 1Mb, memory is raised unexpectedly after each post
(approximately for 2 MB after each post, but sometimes it even more).
If I post 2 MB it is raised on 12 MB etc...I can't find dependency
between post size and memory usage, but it's either memory leaks in
code below, or weird behavior in GAE.

Any thoughts will be useful. Thanks!

[code]
import cgi
import logging
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util

class MainHandler(webapp.RequestHandler):
def get(self):
logging.info("get...")

def post(self):
logging.info("posting...")
s = cgi.escape(self.request.get('content'))
self.response.out.write("Post length: %s" % l)

application = webapp.WSGIApplication([('/', MainHandler)], debug=True)
util.run_wsgi_app(application)
[/code]

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



[google-appengine] JSF tutorial no sucess

2012-03-06 Thread Daniel Siemarga
Hi GAE community,

i tried the following tutorial for beginner with JSF in GAE

http://java.wildstartech.com/Java-Platform-Enterprise-Edition/JavaServer-Faces/javaserver-faces-20/configuring-javaserver-faces-20-to-run-on-the-google-appengine

it s the very basic tutorial but i cannot get it right

the following error codes always appear

Mrz 06, 2012 8:37:01 AM com.google.apphosting.utils.jetty.JettyLogger
warn
Warnung: failed
com.google.appengine.tools.development.DevAppEngineWebAppContext@2c537030{/,C:
\Users\SIEMARGA\Desktop\workspace\Google AppEngine JSF 2.0 Template
\war}: java.lang.NoClassDefFoundError: javax.naming.InitialContext is
a restricted class. Please see the Google  App Engine developer's
guide for more details.
Mrz 06, 2012 8:37:01 AM com.google.apphosting.utils.jetty.JettyLogger
warn
Warnung: failed JettyContainerService$ApiProxyHandler@8b6023d:
java.lang.NoClassDefFoundError: javax.naming.InitialContext is a
restricted class. Please see the Google  App Engine developer's guide
for more details.
Mrz 06, 2012 8:37:01 AM com.google.apphosting.utils.jetty.JettyLogger
warn
Warnung: Error starting handlers
java.lang.NoClassDefFoundError: javax.naming.InitialContext is a
restricted class. Please see the Google  App Engine developer's guide
for more details.
at
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:
51)
at
com.sun.faces.config.WebConfiguration.processJndiEntries(WebConfiguration.java:
646)
at com.sun.faces.config.WebConfiguration.(WebConfiguration.java:
128)
at
com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:
188)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:
163)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:
548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1250)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
467)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
130)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:
191)
at
com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:
239)
at
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:
146)
at com.google.appengine.tools.development.DevAppServerMain
$StartAction.apply(DevAppServerMain.java:173)
at com.google.appengine.tools.util.Parser
$ParseResult.applyArgs(Parser.java:48)
at
com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:
120)
at
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:
96)

Mrz 06, 2012 9:37:02 AM
com.google.appengine.tools.development.DevAppServerImpl start
Information: The server is running at http://localhost:/
Mrz 06, 2012 9:37:02 AM
com.google.appengine.tools.development.DevAppServerImpl start
Information: The admin console is running at http://localhost:/_ah/admin


In Browser there is only

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

any advice pls?

thanks

regards

Daniel

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



Re: [google-appengine] How long does it take to be able to send email to more than 100 recipients

2012-03-06 Thread Niklas Rosencrantz
Thanks, I too was wondering about this. 

On Monday, March 5, 2012 7:44:34 PM UTC, Amy Unruh wrote:
>
> Paco,
>
> The 100-recipients limit remains in place until the first billing charge 
> is cleared.  That can sometimes take about a week.  This is documented (not 
> very obviously) here: http://code.google.com/appengine/docs/quotas.html .
>
>  -Amy
>
> On Sun, Mar 4, 2012 at 10:31 PM, Paco Paco  wrote:
>
>> The app is already in place and I the billing was set up successfully,
>> however, it seems the quota is still only 100 recipients. Is there any
>> other procedure I need to go through?
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/rzZw3ZnD8R8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] Re: Throttling and whitelisting

2012-03-06 Thread Brandon Wirtz
Google's Edge will deny you if you start doing too many requests that look
the same.  You get a pop up fill out a captcha life is happy for 24 hours.
You have to work pretty hard to get these, but I have seen it.

YOUR ISP may throttle you if you look like you are trying to DDoS a site. I
get this a LOT more than I hit Google's edge.  If your response is slow, and
the bit speed slows down. It is your ISP.  If the 5XX Error page is not a
Google Error, it is your ISP.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Matija
Sent: Tuesday, March 06, 2012 6:27 AM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Re: Throttling and whitelisting

 

Ok. We have locally java server that connects to GAE and requests some data.
In the beginning of this process, GAE responses very quickly and first 10,
20, maybe 50 requests are returned very fast and everything is as expected.
But suddenly (after very nice beginning) it starts to throttle our requests
to let's say 1 request/sec - 1 request/2 sec although there is no other
load.

 

I think that there is some DDoS protection GAE feature or something like
that but there is no official response.

 

Matija.

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



Re: [google-appengine] Re: Throttling and whitelisting

2012-03-06 Thread Matija
Ok. We have locally java server that connects to GAE and requests some 
data. In the beginning of this process, GAE responses very quickly and 
first 10, 20, maybe 50 requests are returned very fast and everything is as 
expected. But suddenly (after very nice beginning) it starts to throttle 
our requests to let's say 1 request/sec - 1 request/2 sec although there is 
no other load.

I think that there is some DDoS protection GAE feature or something like 
that but there is no official response.

Matija.


On Tuesday, March 6, 2012 2:02:54 PM UTC+1, barryhunter wrote:
>
> It's not clear (to me at least) what you are asking. 
>
> What "throttling" are you talking about?
>
> That screenshot just shows a bunch of requests. Looks pretty normal from 
> 'the outside' - we dont have the context of knowing what you think is wrong 
> with it. 
>
>
> ... try rewriting the question assuming anyone trying to answer, knows 
> absolutely nothing about your app, situation, setup, and the background - 
> so you need to explain pretty much everything. In fact this just so happens 
> to probably be true. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/VQMbhyhQi4cJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Throttling and whitelisting

2012-03-06 Thread Barry Hunter
It's not clear (to me at least) what you are asking.

What "throttling" are you talking about?

That screenshot just shows a bunch of requests. Looks pretty normal from
'the outside' - we dont have the context of knowing what you think is wrong
with it.


... try rewriting the question assuming anyone trying to answer, knows
absolutely nothing about your app, situation, setup, and the background -
so you need to explain pretty much everything. In fact this just so happens
to probably be true.


On Tue, Mar 6, 2012 at 7:43 AM, Matija  wrote:

> Again, nobody ???
>
>
> On Wednesday, February 29, 2012 6:11:35 PM UTC+1, Matija wrote:
>>
>> Is there some way to 'whitelist' my local app that is accessing GAE app?
>>
>>
>> 
>>
>> Every last day of month we are doing backup and few seconds after process
>> startup our local app faces extreme throttling. F4 instance and nobody else
>> is using it at that time. Am I missing something ?
>>
>> Matija.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/uihYSPYZBzEJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] Huge number of "Error Code 204" in my log files today, happens on static and dynamic content, results in http 500 error

2012-03-06 Thread Gopal Patel
thats a good thing. I am back to nil cost for my website because of that. ;)

its caching. google uses edge caching for static content and if you have
cache header defined.

for all such request your log will show 204.

On Mon, Mar 5, 2012 at 9:02 PM, Kenneth wrote:

> Anyone else seeing this or is it just me?
>
> There's no further information in the log, no stack trace or anything.
> Using HRD and python 2.5.
>
> The request seems to execute, ie it takes around the expected amount of
> time to run, but then fails at the end with this useless error 204 message.
>  Retrying the request works.
>
> http://code.google.com/p/googleappengine/issues/detail?id=7071
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/ch7IZYowSqgJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] GOOGLE PLEASE HELP, can no longer deploy, getting http 500 errors, main handlers not found.

2012-03-06 Thread Kenneth
My main version still appears to be serving but is giving the occasional 
503 now, these do not show up in the logs.

I've tried to deploy new versions few times this morning and they won't 
serve, it only gives http 500 errors.  In the logs it says: 

File referenced by handler not found: message_api.py

The file is there correctly on my local install no problem.

This is HRD, python 2.5.

Production issue filed yesterday:

http://code.google.com/p/googleappengine/issues/detail?id=7071 

Am I better off posting these to stack overflow?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/7PXl85ZtVDsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.