Re: Loading an url takes 60 sec.

2006-07-30 Thread and_ltsk
Maciej Blizinski wrote: > On Fri, 2006-07-28 at 07:09 -0700, and_ltsk wrote: > > May be it is the case. > > But I don't want to enable internet. > > Can I disable Django' reverse DNS queries or it is impossible? > > * * * > > However, if you use "manage.py runserver" and browse from the local >

Re: Loading an url takes 60 sec.

2006-07-28 Thread Kenneth Gonsalves
On 28-Jul-06, at 6:30 PM, Ian Holsman wrote: > could it be that you only have 256M on the machine? only? even before upgrading to 256M i found django faster than that -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
I am using "manage.py runserver". I will try your idea about hosts file and will reply to you this monday. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Loading an url takes 60 sec.

2006-07-28 Thread Maciej Bliziński
On Fri, 2006-07-28 at 07:09 -0700, and_ltsk wrote: > But I don't want to enable internet. One more thing: does you network configuration specify a DNS server? Is the server accessible? My guess is that you still have a DNS server address in the configuration (command "ipfconfig /all"), but the IP

Re: Loading an url takes 60 sec.

2006-07-28 Thread Maciej Bliziński
On Fri, 2006-07-28 at 07:09 -0700, and_ltsk wrote: > May be it is the case. > But I don't want to enable internet. > Can I disable Django' reverse DNS queries or it is impossible? Are you using ./manage.py runserver or Apache? If Apache, you can look into its config, maybe you have a line "Hostna

Re: Loading an url takes 60 sec.

2006-07-28 Thread Eric Walstad
On Friday 28 July 2006 06:42, Maciej Bliziński wrote: > So the delay probably comes from the reverse-DNS queries. The machine > asks a question (who is asking me to serve a webpage? 192.168.0.1? who > is 192.168.0.1?) and waits 60s for the answer. This is where I'm putting my money. I vaguely re

Re: Loading an url takes 60 sec.

2006-07-28 Thread James Bennett
On 7/28/06, Maciej Bliziñski <[EMAIL PROTECTED]> wrote: > So the delay probably comes from the reverse-DNS queries. The machine > asks a question (who is asking me to serve a webpage? 192.168.0.1? who > is 192.168.0.1?) and waits 60s for the answer. By default, 'runserver' binds to 127.0.0.1, whic

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
Maciej Blizinski wrote: > On Fri, 2006-07-28 at 05:50 -0700, and_ltsk wrote: > > > What is the processor load during those 60 seconds? Is it 100% busy or > > > is it idle? > > > > Processor is busy about 20-30%. > > > > (BTW. One moth ago one of svn versions of django gave 90-100%.) > > > > HD lo

Re: Loading an url takes 60 sec.

2006-07-28 Thread Maciej Bliziński
On Fri, 2006-07-28 at 06:09 -0700, and_ltsk wrote: > > Ian Holsman wrote: > > could it be that you only have 256M on the machine? > > May be. > What is the memory requirements of Djando? If the system would be out of memory, it would swap the memory to the hard disk. But you say that the HD is

Re: Loading an url takes 60 sec.

2006-07-28 Thread Maciej Bliziński
On Fri, 2006-07-28 at 05:50 -0700, and_ltsk wrote: > > What is the processor load during those 60 seconds? Is it 100% busy or > > is it idle? > > Processor is busy about 20-30%. > > (BTW. One moth ago one of svn versions of django gave 90-100%.) > > HD load is low too. So the delay probably co

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
Ian Holsman wrote: > could it be that you only have 256M on the machine? May be. What is the memory requirements of Djando? > > -- > Ian Holsman > [EMAIL PROTECTED] > http://economy-chat.com It's what the economists talk about --~--~-~--~~~---~--~~ You receive

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
[EMAIL PROTECTED] wrote: > > > > > > What is the processor load during those 60 seconds? Is it 100% busy or > > is it idle? > > > > You might check you dns/resolver settings. Internet is disabled on this machine. --~--~-~--~~~---~--~~ You received this message b

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
could it be that you only have 256M on the machine? --Ian Holsman[EMAIL PROTECTED]http://economy-chat.com It's what the economists talk about --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
[EMAIL PROTECTED] wrote: > Hello, > > I experienced the same downtime with my Django apps: > - at work, on Windows 2000, everything fast and reactive > - at home, on Windows XP, 5 to 10s of delay when hitting a URL. > All this with the same app, same empty database, on the Django > dev server. A

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
Maciej Blizinski wrote: > On Fri, 2006-07-28 at 01:28 -0700, and_ltsk wrote: > > My app is my first attempt in django. > > This is simple task manager with task and userprofiles models( 2 tables > > in the db). Django admin is used too. Database has few test records > > only. TCPView shows many b

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
Ian Holsman wrote: > Hi Andrew. > I have no idea from the information you have provided me. > > are you running it via mod-python, fastcgi, or the django-admin? No, while developing the app I'm using django' own web server. When the app will be ready I will use existing linux and apache 1.3 envi

Re: Loading an url takes 60 sec.

2006-07-28 Thread pan126
What is the processor load during those 60 seconds? Is it 100% busy oris it idle? You might check you dns/resolver settings. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Loading an url takes 60 sec.

2006-07-28 Thread [EMAIL PROTECTED]
Hello, I experienced the same downtime with my Django apps: - at work, on Windows 2000, everything fast and reactive - at home, on Windows XP, 5 to 10s of delay when hitting a URL. All this with the same app, same empty database, on the Django dev server. For me, it was a sign that I should not

Re: Loading an url takes 60 sec.

2006-07-28 Thread Maciej Bliziński
On Fri, 2006-07-28 at 01:28 -0700, and_ltsk wrote: > My app is my first attempt in django. > This is simple task manager with task and userprofiles models( 2 tables > in the db). Django admin is used too. Database has few test records > only. TCPView shows many browser-server "blinking" connection

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
Hi Andrew.I have no idea from the information you have provided me.are you running it via mod-python, fastcgi, or the django-admin?besides from actually uploading your app somewhere where people can see, I'm not sure what else we can do.FWIW.. I will only look at your code if it's open source.. oth

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
Another one ... PgAdmin works very fast with my database. --~--~-~--~~~---~--~~ 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

Re: Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
hi Ian, >you have to give us a bit more >information. >what does your app actually do in that 60 >seconds? >personally it sounds like your database >isn't tuned... but I'm just >guessing My app is my first attempt in django. This is simple task manager with task and userprofiles models( 2 ta

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
hi and_itsk.you have to give us a bit more information.what does your app actually do in that 60 seconds?personally it sounds like your database isn't tuned... but I'm just guessing regardsIanOn 28/07/2006, at 5:16 PM, and_ltsk wrote:I have a problem with performance of django.WinXP, 2GHz, 256 MB,

Loading an url takes 60 sec.

2006-07-28 Thread and_ltsk
I have a problem with performance of django. WinXP, 2GHz, 256 MB, postgresql-8.1.4 or postgresql-8.0., fresh svn django. Every url takes 60 or more seconds to load. For comparison, Zope takes 2-3 sec. How speed up it? --~--~-~--~~~---~--~~ You received this mess