Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-24 Thread oggie rob

That is abysmal performance, though. If your dev server performs okay
(i.e. it is not the way you have written your index view) you should
probably look for another provider.

 -rob

On Apr 24, 6:44 am, Roboto <[EMAIL PROTECTED]> wrote:
> RESOLVED.
>
> I am on Shared Hosting with GrokThis.Net.  The issue is, Debian
> organizes the most used processes in cache and keeps the least used
> out of it.  When the site gains a lot of activity the site moves
> relatively quick, when there are no hits for hours Linux has to fetch
> my stuff and it takes up to 5 seconds apparently.. lol.
>
> In any event, a dedicated server would definitely solve this issue,
> that or I start getting a lot more hits than I currently am.
>
> Rob
>
> On Apr 16, 10:08 am, "Roboto" <[EMAIL PROTECTED]> wrote:
>
> > ahh =P I'll try.  I'm running with Grokthis.net as server right now,
> > and I'm relatively new to understanding apache, I'll see what I can
> > do.
>
> > On Apr 16, 9:52 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
>
> > > On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
> > > > serving directly from apache.
>
> > > Well, I'm out of ideas then :) Probably, you should start putting up
> > > some of your more relevant config information (Apache config files),
> > > because you haven't given too much information to go on.
>
> > > Jay P.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-24 Thread Roboto

RESOLVED.

I am on Shared Hosting with GrokThis.Net.  The issue is, Debian
organizes the most used processes in cache and keeps the least used
out of it.  When the site gains a lot of activity the site moves
relatively quick, when there are no hits for hours Linux has to fetch
my stuff and it takes up to 5 seconds apparently.. lol.

In any event, a dedicated server would definitely solve this issue,
that or I start getting a lot more hits than I currently am.

Rob

On Apr 16, 10:08 am, "Roboto" <[EMAIL PROTECTED]> wrote:
> ahh =P I'll try.  I'm running with Grokthis.net as server right now,
> and I'm relatively new to understanding apache, I'll see what I can
> do.
>
> On Apr 16, 9:52 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
>
> > On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
> > > serving directly from apache.
>
> > Well, I'm out of ideas then :) Probably, you should start putting up
> > some of your more relevant config information (Apache config files),
> > because you haven't given too much information to go on.
>
> > Jay P.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-16 Thread Roboto

ahh =P I'll try.  I'm running with Grokthis.net as server right now,
and I'm relatively new to understanding apache, I'll see what I can
do.

On Apr 16, 9:52 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
>
>
> > serving directly from apache.
>
> Well, I'm out of ideas then :) Probably, you should start putting up
> some of your more relevant config information (Apache config files),
> because you haven't given too much information to go on.
>
> Jay P.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-16 Thread Jay Parlar

On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
> serving directly from apache.

Well, I'm out of ideas then :) Probably, you should start putting up
some of your more relevant config information (Apache config files),
because you haven't given too much information to go on.

Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-16 Thread Roboto

serving directly from apache.

On Apr 16, 8:25 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hey Jay, yeah, I noticed somethign similar to that affect as well.  It
> > seems like it does some sort of caching or something, and if it hasn't
> > cached in a while it takes a while to load.  I'm running mod_python,
> > so I'm often reseting the server so that my code changes go through.
> > As for serving media files, I'm serving off the same server off my
> > media directory.  The HTML are templates stored within the Django
> > app.  Should they be placed elsewhere?
>
> It's fine if the templates are stored within the Django app, but I was
> asking about the CSS and the images. How are those being served? Are
> you using Django's 'django.views.static.serve', or are you servering
> directly from Apache?
>
> Jay P.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-16 Thread Jay Parlar

On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
> Hey Jay, yeah, I noticed somethign similar to that affect as well.  It
> seems like it does some sort of caching or something, and if it hasn't
> cached in a while it takes a while to load.  I'm running mod_python,
> so I'm often reseting the server so that my code changes go through.
> As for serving media files, I'm serving off the same server off my
> media directory.  The HTML are templates stored within the Django
> app.  Should they be placed elsewhere?

It's fine if the templates are stored within the Django app, but I was
asking about the CSS and the images. How are those being served? Are
you using Django's 'django.views.static.serve', or are you servering
directly from Apache?

Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-16 Thread Roboto

Hey Jay, yeah, I noticed somethign similar to that affect as well.  It
seems like it does some sort of caching or something, and if it hasn't
cached in a while it takes a while to load.  I'm running mod_python,
so I'm often reseting the server so that my code changes go through.
As for serving media files, I'm serving off the same server off my
media directory.  The HTML are templates stored within the Django
app.  Should they be placed elsewhere?

Rob

On Apr 15, 6:11 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> On 4/15/07, aaloy <[EMAIL PROTECTED]> wrote:
>
> > Fasterfox gave me 3.208s for the main page and less than a second for
> > the others.
>
> That's the same behaviour I saw (with Safari instead of Firefox).
> First access is kinda slow, but every subsequent one is fast. That
> *includes* reloading the main page. The first connection will be kinda
> slow, but all the reloads are almost instantaneous.
>
> What kind of server setup are you using? I'm not very educated on the
> various types, but I believe FCGI, for instance, will kill all the
> Python processes after awhile, if the site hasn't been hit, and will
> respawn them again once a new connection request comes in. Depending
> on who your hosting provider is, that might be the explanation.
>
> And of course, if I'm *way* off, someone please let me know :)
>
> And how are you serving the media files (css, images). I notice from
> the HTML that they're coming from the same server. Are you having
> Django serve them, or your web server?
>
> Jay P.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread James Bennett

On 4/15/07, Jay Parlar <[EMAIL PROTECTED]> wrote:
> What kind of server setup are you using? I'm not very educated on the
> various types, but I believe FCGI, for instance, will kill all the
> Python processes after awhile, if the site hasn't been hit, and will
> respawn them again once a new connection request comes in. Depending
> on who your hosting provider is, that might be the explanation.

I don't think this is the case; I use FastCGI to run my blog, and the
processes stay alive regardless of whether there's any traffic.

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

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread Jay Parlar

On 4/15/07, aaloy <[EMAIL PROTECTED]> wrote:
> Fasterfox gave me 3.208s for the main page and less than a second for
> the others.

That's the same behaviour I saw (with Safari instead of Firefox).
First access is kinda slow, but every subsequent one is fast. That
*includes* reloading the main page. The first connection will be kinda
slow, but all the reloads are almost instantaneous.

What kind of server setup are you using? I'm not very educated on the
various types, but I believe FCGI, for instance, will kill all the
Python processes after awhile, if the site hasn't been hit, and will
respawn them again once a new connection request comes in. Depending
on who your hosting provider is, that might be the explanation.

And of course, if I'm *way* off, someone please let me know :)

And how are you serving the media files (css, images). I notice from
the HTML that they're coming from the same server. Are you having
Django serve them, or your web server?


Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread aaloy

>
> It's in general.  Although.. I can't really tell to be dead honest.
> Last night I was crawling at 5-10 secs for response times.
>
> On Apr 15, 1:55 pm, "Julio Nobrega" <[EMAIL PROTECTED]> wrote:
> > On 4/15/07, Roboto <[EMAIL PROTECTED]> wrote:
> >
> > > You'll notice a SOLID 5-10 sec "wait" before the page loads, which
> > > makes me believe that the server is doing something in the background
> >
> >   Hi Roboto,
> >
> >   I didn't had to wait for the page to load. It was fast. Perhaps it's
> > an intermittent issue (probably peak server loads) or it just happen
> > with logged in users?
> >
Fasterfox gave me 3.208s for the main page and less than a second for
the others.
-- 
Antoni Aloy López
http://apsl.net
Soci de Bulma - http://www.bulma.cat

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread Roboto

It's in general.  Although.. I can't really tell to be dead honest.
Last night I was crawling at 5-10 secs for response times.

On Apr 15, 1:55 pm, "Julio Nobrega" <[EMAIL PROTECTED]> wrote:
> On 4/15/07, Roboto <[EMAIL PROTECTED]> wrote:
>
> > You'll notice a SOLID 5-10 sec "wait" before the page loads, which
> > makes me believe that the server is doing something in the background
>
>   Hi Roboto,
>
>   I didn't had to wait for the page to load. It was fast. Perhaps it's
> an intermittent issue (probably peak server loads) or it just happen
> with logged in users?
>
> --
> Julio Nobrega -http://www.inerciasensorial.com.br


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread Julio Nobrega

On 4/15/07, Roboto <[EMAIL PROTECTED]> wrote:
> You'll notice a SOLID 5-10 sec "wait" before the page loads, which
> makes me believe that the server is doing something in the background

  Hi Roboto,

  I didn't had to wait for the page to load. It was fast. Perhaps it's
an intermittent issue (probably peak server loads) or it just happen
with logged in users?


-- 
Julio Nobrega - http://www.inerciasensorial.com.br

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread Roboto

Hey guys,

I really need some help with understanding the issue here, I'm not
making too many database calls so I'm not sure why it's taking so long
for each view to go through.  Any common problem areas that cause slow
down? ie sever? poor db calls.. etc?

here is the website
www.ready-ready.org

You'll notice a SOLID 5-10 sec "wait" before the page loads, which
makes me believe that the server is doing something in the background


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---