Re: Big app, big db, all users are authenticated

2007-06-05 Thread and_ltsk
rs are authenticated Hi,On Jun 4, 3:48 pm, "and_ltsk" <[EMAIL PROTECTED]> wrote:> 1. 100MB per request - is it normal?not likely. I have apache processes serving a couple of differentsites within separate python interpreters and they are all somewherein the 10-30MB memory range.Common g

Re: Big app, big db, all users are authenticated

2007-06-05 Thread and_ltsk
ED]> wrote:>> Hi,>> On Jun 4, 3:48 pm, "and_ltsk" <[EMAIL PROTECTED]> wrote:> > 1. 100MB per request - is it normal?>> not likely. I have apache processes serving a couple of different> sites within separate python interpreters and they are all somewhere>

Big app, big db, all users are authenticated

2007-06-04 Thread and_ltsk
Hello all, Some performance tips required. About: Centos 4.4 PIV 2.4 4GB mem Django 0.97 PosrgreSQL db 100+ tables, all connected by pyramidal foreignkey architecture One big models.py 500KB One big views.py 2200KB

Re: simple search pagination

2006-08-10 Thread and_ltsk
Excuse me for multiple posts. I've sent these post from Thurs, Aug 10 2006 11:08 am, but Google has published it only at Thurs, Aug 10 2006 3:32 pm. every time giving me fake message about "momentarily" publishing of my posts. --~--~-~--~~~---~--~~ You received t

simple search pagination

2006-08-10 Thread and_ltsk
Hello all, When I do simple search from form: form action="/objects/search_results/" method="get" input type="text" name="q" / input type="image" name="submit" value="Search" src="" / /form a browser goes to URL: http://127.0.0.1:8000/objects/search_results/?q=sometext&submit.x=&submit

simple search pagination

2006-08-10 Thread and_ltsk
Hello all, When I do simple search from form: a browser goes to URL: http://127.0.0.1:8000/objects/search_results/?q=sometext&submit.x=&submit.y=&submit=Search What is the "x" and "y"? Can I use it for pagination? Please give me a little example of usage. --~--~-~--~~-

Re: simple search pagination

2006-08-10 Thread and_ltsk
jrs wrote: > submit.x and submit.y are the coordinates of where the user clicked the > submit image. Thanks, jrs. Thus, avoiding "http://127.0.0.1:8000/tasks/search_results/?q=1&submit.=Search Do you know how to include ih such URL the "offset" and "limit" parameters? It is needed b

Re: simple search pagination

2006-08-10 Thread and_ltsk
jrs wrote: > submit.x and submit.y are the coordinates of where the user clicked the > submit image. Thanks, jrs. Thus, avoiding "http://127.0.0.1:8000/tasks/search_results/?q=1&submit.=Search Do you know how to include ih such URL the "offset" and "limit" parameters? It is needed by a paginat

simple search pagination

2006-08-10 Thread and_ltsk
Hi all,When I do simple search from form: form action="/objects/search_results/" method="get" input type="text" name="q" / input type="image" name="submit" value="Search" src="" / /form a browser goes to URL:http://127.0.0.1:8000/objects/search_results/?q=sometext&submit.x=&submit.y=&s

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 &quo

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 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

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 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 > &g

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 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

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