Django & Python app crashes after file upload
5 posts
• Page 1 of 1
Django & Python app crashes after file upload
We have a python and django app, and it is crashing periodically after a file upload... Sometimes when we upload a small file, things work the first few times and then the app gradually seems to become less responsive and become deadlocked. When we upload a larger file (10MB+), the app as a whole crashes straightaway. The app seems to become unresponsive and recycling the application pool doesn't work, the server throws an error and says that the application pool can't receive messages. We believe that file upload somehow is causing the application pool to become corrupt.
We have to kill and restart IIS in order for the app to start working again.
Zoo version: 3.1.98.508
IIS Manager Module veson: 4.0.5.13
Python version: 2.7
Django version: 1.4
The app was running stable for a very long time, and it seemed to break after the web platform installer got updated.
We had a few questions:
1. Is it possible for us to downgrade to a particular version of Helicon Zoo? How would one go about doing so?
2. How difficult is it to upgrade to the latest beta version of Helicon Zoo, as this seems to fix a lot of the issues that we are seeing? I know we have to change the feed URL, but how do we go about doing so?
Thank you very much for the help.
We have to kill and restart IIS in order for the app to start working again.
Zoo version: 3.1.98.508
IIS Manager Module veson: 4.0.5.13
Python version: 2.7
Django version: 1.4
The app was running stable for a very long time, and it seemed to break after the web platform installer got updated.
We had a few questions:
1. Is it possible for us to downgrade to a particular version of Helicon Zoo? How would one go about doing so?
2. How difficult is it to upgrade to the latest beta version of Helicon Zoo, as this seems to fix a lot of the issues that we are seeing? I know we have to change the feed URL, but how do we go about doing so?
Thank you very much for the help.
Re: Django & Python app crashes after file upload
Hello,
First this we advise you to do (and you actually asked about it) is to upgrade to the latest build from beta feed.
Upgrade process is very similar to installation process.
Here't the link to beta feed that you should put instead of your current feed for Zoo: http://www.helicontech.com/zoo/feed-beta.xml
After that when you go to Zoo -> Modules you should click Add next to Zoo Module and then Install at the bottom of the dialog to upgrade Zoo module.
First this we advise you to do (and you actually asked about it) is to upgrade to the latest build from beta feed.
Upgrade process is very similar to installation process.
Here't the link to beta feed that you should put instead of your current feed for Zoo: http://www.helicontech.com/zoo/feed-beta.xml
After that when you go to Zoo -> Modules you should click Add next to Zoo Module and then Install at the bottom of the dialog to upgrade Zoo module.
Re: Django & Python app crashes after file upload
Hi Anton,
Thanks for the quick reply. I work with pbk and we have a couple of follow-up questions about the upgrade of Helicon Zoo.
Our Windows is 64 bit, but our Python/Django app is using the 32 bit Python 2.7 version.
1. Will the Helicon Zoo beta update still work with that setup or do you foresee any problems?
2. Should we also prepare ourselves that we need to upgrade Python to a 64bit version as well?
Most important questions however are:
3. Can we do the upgrade somehow through the command line? Is there a command line interface to do this and if so, could you please point us to the documentation on how to use it? Thank you!
I ask because the system in question is behind corporate firewalls and VPNs and we have to jump through a lot of hoops and an extra secure laptop just to connect to the system and once connected via RDC it is painfully slow to work with, e.g. one click takes anywhere between 10 ~ 120 seconds to register. To alleviate the pain we have set up a SSH tunnel that allows us to remote in and do most frequent work via the command line, which is a lot less painful.
Thank you very much for the help.
Thanks for the quick reply. I work with pbk and we have a couple of follow-up questions about the upgrade of Helicon Zoo.
Our Windows is 64 bit, but our Python/Django app is using the 32 bit Python 2.7 version.
1. Will the Helicon Zoo beta update still work with that setup or do you foresee any problems?
2. Should we also prepare ourselves that we need to upgrade Python to a 64bit version as well?
Most important questions however are:
3. Can we do the upgrade somehow through the command line? Is there a command line interface to do this and if so, could you please point us to the documentation on how to use it? Thank you!
I ask because the system in question is behind corporate firewalls and VPNs and we have to jump through a lot of hoops and an extra secure laptop just to connect to the system and once connected via RDC it is painfully slow to work with, e.g. one click takes anywhere between 10 ~ 120 seconds to register. To alleviate the pain we have set up a SSH tunnel that allows us to remote in and do most frequent work via the command line, which is a lot less painful.
Thank you very much for the help.
Re: Django & Python app crashes after file upload
Hello,
1. there should be mo problems upgrading Zoo on your system.
2. Based on a number of tests we've conducted in most situations 32-but Python on 64-bit Windows has higher performance than the 64-bit one. 64-bit Python worked better only with virtualization.
3. Yes, WebPI has its command line which you can use to install Zoo: http://www.iis.net/learn/install/web-pl ... tw-release
1. there should be mo problems upgrading Zoo on your system.
2. Based on a number of tests we've conducted in most situations 32-but Python on 64-bit Windows has higher performance than the 64-bit one. 64-bit Python worked better only with virtualization.
3. Yes, WebPI has its command line which you can use to install Zoo: http://www.iis.net/learn/install/web-pl ... tw-release
Re: Django & Python app crashes after file upload
Hi Anton,
Thanks for your help. We were able to update the HeliconZoo installation and our file upload problems went away. Nice! That's a good start into the weekend right there
Thanks for your help. We were able to update the HeliconZoo installation and our file upload problems went away. Nice! That's a good start into the weekend right there
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests