dev_appserver.py super slow

281 views
Skip to first unread message

Elizabeth Cox

unread,
Sep 17, 2015, 7:47:59 PM9/17/15
to Google App Engine
Even with a silly app like HelloWorld, every time I make a change on the code, and make a new request, the server take like 1-2 minutes to response.

Anybody know why? and how to resolve this?


PK

unread,
Sep 17, 2015, 7:55:12 PM9/17/15
to google-a...@googlegroups.com
You need to send some more info on your os/hardware. It has been performing very well for me. 

PK

On Sep 17, 2015, at 4:47 PM, Elizabeth Cox <eli...@gmail.com> wrote:

Even with a silly app like HelloWorld, every time I make a change on the code, and make a new request, the server take like 1-2 minutes to response.

Anybody know why? and how to resolve this?


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9130e9aa-2aae-488f-ad8a-1d6c483f5298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Elizabeth Cox

unread,
Sep 17, 2015, 8:00:28 PM9/17/15
to Google App Engine

- Python last version, but i try also with others 1.9.22 to 1.9.26 installed with GoogleAppEngineLauncher
- OS X 10.11

Elizabeth Cox

unread,
Sep 17, 2015, 8:14:13 PM9/17/15
to Google App Engine
But after the first request it's fine, work normally. It is just the first request after make a change.


On Thursday, September 17, 2015 at 7:55:12 PM UTC-4, PK wrote:

PK

unread,
Sep 17, 2015, 8:34:16 PM9/17/15
to google-a...@googlegroups.com
What machine, how much ram, have you looked at the OS profiler who is using the cpu and ram?

Did it ever work better?

PK
Message has been deleted

Nick (Cloud Platform Support)

unread,
Sep 18, 2015, 4:00:09 PM9/18/15
to Google App Engine
Hey Folks,

This seems like a thread which would be better posted to stackoverflow. This forum isn't really meant for specific technical issue discussion. Feel free to provide more information which would help people to understand what might be causing the performance issue, and go ahead and create a question on stackoverflow. This will put you in contact with a much larger user-base of friendly people who might be able to help.

Sincerely,

Nick


On Thursday, September 17, 2015 at 8:34:16 PM UTC-4, PK wrote:
What machine, how much ram, have you looked at the OS profiler who is using the cpu and ram?

Did it ever work better?

PK

On Sep 17, 2015, at 5:00 PM, Elizabeth Cox <eli...@gmail.com> wrote:


- Python last version, but i try also with others 1.9.22 to 1.9.26 installed with GoogleAppEngineLauncher
- OS X 10.11


On Thursday, September 17, 2015 at 7:55:12 PM UTC-4, PK wrote:
You need to send some more info on your os/hardware. It has been performing very well for me. 

PK

On Sep 17, 2015, at 4:47 PM, Elizabeth Cox <eli...@gmail.com> wrote:

Even with a silly app like HelloWorld, every time I make a change on the code, and make a new request, the server take like 1-2 minutes to response.

Anybody know why? and how to resolve this?


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9130e9aa-2aae-488f-ad8a-1d6c483f5298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

PK

unread,
Sep 21, 2015, 3:21:46 PM9/21/15
to google-a...@googlegroups.com
I agree, it has to be something with the watcher.

I had seen such an issue in the very distant past with MacOS. The past 6 months I have switched to running the GAE runtime on Linux containers on top of VirtualBox/MacOS and I am very happy with this arrangement. It had a couple of complications to get it right but works very well now. This is the way to go… I need to find some time to write up about it and maybe publish the docker image.



On Sep 17, 2015, at 5:53 PM, Diego Dominguez <die...@gmail.com> wrote:

I have another AppEngine project who is working fine. It's not a issue with the RAM or CPU the computer is very powerful and there is no big process running.

I guess have to be something with the watcher who detect the change in the code and look like restart the dev server. The admin dashboard work fine all the time.

On Thursday, September 17, 2015 at 8:34:16 PM UTC-4, PK wrote:

For more options, visit https://groups.google.com/d/optout.

Bryan Joseph

unread,
Dec 31, 2015, 10:20:18 PM12/31/15
to Google App Engine
Same issue.  Its super frustrating.  Does anyone have an alternative to running a vm?

PK

unread,
Dec 31, 2015, 11:06:55 PM12/31/15
to google-a...@googlegroups.com

On my environment I have not seen any such issues recently, quite the opposite this part is very smooth. Since the stack below the SDK can vary a lot, please provide some more information about your SDK environment for somebody to assist further. 

--PK
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

Nick (Cloud Platform Support)

unread,
Jan 4, 2016, 12:24:39 PM1/4/16
to Google App Engine
I should add at this point that if the issue reports begin to converge, it might be better to post a report to the Public Issue Tracker with label "component-SDK". The choice of a Stack Exchange site vs. one of our public issue trackers is basically influenced by whether you can determine the root cause to be ours or your own to fix.


On Thursday, December 31, 2015 at 11:06:55 PM UTC-5, PK wrote:

On my environment I have not seen any such issues recently, quite the opposite this part is very smooth. Since the stack below the SDK can vary a lot, please provide some more information about your SDK environment for somebody to assist further. 

--PK

On Dec 31, 2015, at 7:20 PM, Bryan <bj9...@gmail.com> wrote:

Same issue.  Its super frustrating.  Does anyone have an alternative to running a vm?

On Thursday, September 17, 2015 at 4:47:59 PM UTC-7, Elizabeth Cox wrote:
Even with a silly app like HelloWorld, every time I make a change on the code, and make a new request, the server take like 1-2 minutes to response.

Anybody know why? and how to resolve this?


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

Kaan Soral

unread,
Jan 5, 2016, 6:12:30 AM1/5/16
to Google App Engine
+1 - Extremely fast on OSX - Although I had an SSD before I switched to OSX, the Macbook SSD was 5 times faster, so that might be at play too

In general tho, the SDK was on the extremely slow side, especially on Windows, on OSX tho, it's pretty much like a regular server, only the first boot-up takes 5-15 seconds, as my sqlite database is reaching 300mb's after years
(Tho no signs of slowing down, on Windows I used to observe a proportional slowing as the sqlite grew)

As a side-note, I'm using the dev_appserver from command line 

Minor suggestions:
1) Check whether your sqlite is too large
2) Manually delete your logs sqlite (It's a separate one, likely not used, but it's there to gain size and store all your logging messages)
Reply all
Reply to author
Forward
0 new messages