Does Hostmonster support Django?

27 views
Skip to first unread message

Hannus

unread,
Nov 11, 2007, 8:50:37 PM11/11/07
to Django users
Hi guys,
I am going to buy the host services in host monster,does it support
Django? If not, plz advice me some other hosting companies.
Thank you very much

Kind regards,
Hannus

James Bennett

unread,
Nov 11, 2007, 9:31:45 PM11/11/07
to django...@googlegroups.com
On Nov 11, 2007 7:50 PM, Hannus <kyl...@gmail.com> wrote:
> I am going to buy the host services in host monster,does it support
> Django? If not, plz advice me some other hosting companies.
> Thank you very much

You would need to ask them whether they support it; they're the ones
who would know.


--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

justquick

unread,
Nov 12, 2007, 1:38:54 AM11/12/07
to Django users
It is possible to install Django (of any version) onto a webserver if
you own it and have shell access, like a dedicated server. Other
webhosts have these features already installed and are "easily"
configurable. The complete list is here: http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts

I personally use webfaction for public hosting, but its a major pain

Just buy your own box
Justin

Mike Cantelon

unread,
Nov 12, 2007, 2:56:34 AM11/12/07
to Django users
> I personally use webfaction for public hosting, but its a major pain
>
> Just buy your own box

...or go the VPS route. Any hosting company offering Xen-based virtual
servers (I used provps.com, who have been great) can give you the
flexibility of your own server without the cost of a dedicated server.

Mike
-
http://mikecantelon.com

Kenneth Gonsalves

unread,
Nov 12, 2007, 4:23:10 AM11/12/07
to django...@googlegroups.com

I have a site on webfaction - 40MB. After much tweaking I got each
django instance down to 15 mb and things were ok. Today I got a
notice saying I am using 105 mb - look at the stats and find that
each instance is using 35 MB. I have made no change. The rest of my
apps are on my own vps, so no problem. But how did 15mb become 35mb
over time?

--

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/


justquick

unread,
Nov 12, 2007, 7:51:25 AM11/12/07
to Django users
I have the same problem. They sent me the same notice with a couple
links to their forums with suggestions as how to keep your memory
(RSS) down, like regular restarts of apache and setting DEBUG = False
in the settings. Follow these tips and your memory usage should be
within acceptable limits.

Justin

Forest Bond

unread,
Nov 12, 2007, 7:55:13 AM11/12/07
to django...@googlegroups.com
Hi,

Maybe you need to decrease your ServerLimit? Each forked server process leads
to increased memory usage. For a really low volume site, you can get away with
ServerLimit 1, although I'd be sure to host your media files in a different
instance (webfaction has docs for doing this somewhere).

Make sure that Django and Python debug settings are disabled, too (apache2.conf
PythonDebug, settings.py DEBUG).

-Forest
--
Forest Bond
http://www.alittletooquiet.net

signature.asc

Kenneth Gonsalves

unread,
Nov 12, 2007, 7:57:39 AM11/12/07
to django...@googlegroups.com

On 12-Nov-07, at 6:21 PM, justquick wrote:

> I have the same problem. They sent me the same notice with a couple
> links to their forums with suggestions as how to keep your memory
> (RSS) down, like regular restarts of apache and setting DEBUG = False
> in the settings. Follow these tips and your memory usage should be
> within acceptable limits.

their memory test is at a specific point of time on a monday. I have
followed all the tips and brought the memory down - now it is shot
up, I think there is a memory leak on their side. Best thing would be
to shut down the site every monday ;-)

Kenneth Gonsalves

unread,
Nov 12, 2007, 9:11:17 PM11/12/07
to django...@googlegroups.com

On 12-Nov-07, at 6:25 PM, Forest Bond wrote:

> Maybe you need to decrease your ServerLimit? Each forked server
> process leads
> to increased memory usage. For a really low volume site, you can
> get away with
> ServerLimit 1, although I'd be sure to host your media files in a
> different
> instance (webfaction has docs for doing this somewhere).

did that


>
> Make sure that Django and Python debug settings are disabled, too
> (apache2.conf
> PythonDebug, settings.py DEBUG).

did all this - I am still getting around 35 MB per instance. And it
is not the fault of webfaction. The same site on my local machine
gives the same figure. This on the latest svn in both cases. The last
time I looked at these figures, it was around 12-15mb an instance.
Any other clues?

Evgeny

unread,
Nov 12, 2007, 9:57:07 PM11/12/07
to Django users
hostmonster allows ssh access, so you should be able to install django
by yourself.
I have not verified whether they have mod_python, but there is python
installation.

when I asked them to install python Imaging library - they refused.
Told me that their policy is not to install extra libraries, but you
should be able to do that in your user space.
Evgeny.

TungLiang Hannus

unread,
Nov 12, 2007, 10:02:54 PM11/12/07
to django...@googlegroups.com
okay.thanks,i'll buy hostmonster today:)

--
耑此佈達
東涼

gir...@gmail.com

unread,
Nov 12, 2007, 10:38:05 PM11/12/07
to Django users

> did all this - I am still getting around 35 MB per instance. And it
> is not the fault of webfaction. The same site on my local machine
> gives the same figure. This on the latest svn in both cases. The last
> time I looked at these figures, it was around 12-15mb an instance.
> Any other clues?

I remember someone there saying that right after you restart Apache
the RAM usage is low, but after it's served a few requests the usage
jumps, and then stays high -- ie, it's normal. Had you kept it at
12-15 for a long time previously? Is it possible that the last time
you checked usage was just following an Apache restart?

Otherwise, my solution to these problems is to host unpopular websites
that no one looks at.

Yrs,
E

Kenneth Gonsalves

unread,
Nov 12, 2007, 11:31:11 PM11/12/07
to django...@googlegroups.com

On 13-Nov-07, at 8:27 AM, Evgeny wrote:

> when I asked them to install python Imaging library - they refused.
> Told me that their policy is not to install extra libraries

a service that claims to support python and considers PIL an
(irrelevant) 'extra' library should be avoided like plague

Forest Bond

unread,
Nov 13, 2007, 8:40:43 AM11/13/07
to django...@googlegroups.com
Hi,

This is probably normal memory usage. This is not a problem, as long as it
doesn't grow much beyond that, right?

I have two small sites that share a lot of code running on a webfaction account.
With ServerLimit 1 and media hosted on the main apache instance (which doesn't
count against me for RAM usage), I stay pretty constant at 32-35MB. I don't
think it would be possible to get much lower than that. Libraries have to get
loaded somewhere, afterall.

I guess maybe you could try to reduce your imports.

signature.asc

Kenneth Gonsalves

unread,
Nov 13, 2007, 8:44:15 AM11/13/07
to django...@googlegroups.com

On 13-Nov-07, at 7:10 PM, Forest Bond wrote:

> I guess maybe you could try to reduce your imports.

heavy use of PIL and reportlab is there even though there are at the
most three users at a time. I remember running 4 sites on pre .91
django on zettai and keeping well within the 64 mb limit. Sigh.

Evgeny

unread,
Nov 17, 2007, 6:30:38 PM11/17/07
to Django users
here is hostmonster's response about mod_python and django:
>We don't have mod_python installed, nor will we install it for anyone.
>We don't officially support django, but we've had many customers run/install it successfully using fastcgi.

On Nov 12, 6:57 pm, Evgeny <evgeny.fad...@gmail.com> wrote:
> hostmonsterallows ssh access, so you should be able to install django
Reply all
Reply to author
Forward
0 new messages