Re: [Zope] Unexplained Slowdown

2001-01-18 Thread Tom Deprez

Hi all,

Thanks for this file! Yesterday I thought I'd lost it, altough I heard more
rumours of 'slowdown' I couldn't find a solution for my problem since I gave
that demo and zope was so slow... you should have seen my face at that
moment (completely red!).
I tried everything, reinstallation of zope and interbase drivers, etc...
My last resort was going to an earlier version of zope, or trying to use
pcgi, but this morning I found this patch in my mailbox. I tried it
and.. nice! All problems were gone.

So, now I can give the demo again and zope will be fast again :-)!

Regards, Tom

ps. Can you give more information on this? ie something more than the lines
below. It seems an interesting case.

- Original Message -
From: "Brian Lloyd" [EMAIL PROTECTED]
To: "Ian Thomas" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 10:10 PM
Subject: RE: [Zope] Unexplained Slowdown


 This is due to an ill-fated attempt to make 'domain-based
 authentication' less expensive (but that backfired to some
 extent because it can make non domain-based auth more
 expensive, especially if reverse DNS lookups are slow for
 you). This is fixed for 2.3 b2 - in the meantime you should be
 able to copy the attached User.py to fix the problem for
 now.


 Brian Lloyd[EMAIL PROTECTED]
 Software Engineer  540.371.6909
 Digital Creations  http://www.digicool.com




  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ian
  Thomas
  Sent: Wednesday, January 17, 2001 3:41 PM
  To: [EMAIL PROTECTED]
  Subject: [Zope] Unexplained Slowdown
 
 
  When I upgraded to Zope 2.2.5 access to my Zope over the web slowed down
  dramatically and I haven't been able to figure out why. I am interested
  in ideas I can try to track it down the problem or at least
  quantify/benchmark the slowness.
 
  Some background.
  1) I am a computer teacher teaching Zope to my second year web
  development students who have already learned HTML and been introduced
  to JavaScript.
  2) The server is a my test machine that my students and I use for
  learning.
  3) The "production" server still running 2.2.4 continues to preform
  normally.
  4) The machine is Celeron 500 mhz 64 meg ram running Windows 2000 Server
  5) I run Medusa server that comes with Zope to server the web pages.
  6) There is no gateway set up on this machine so that it is only visible
  from within the school.
 
  Notes.
  1) It is much faster if I access via localhost on the server.
 
  What I have tried.
  1) Installing 2.2.4 on another port. It ran just as slow.
  2) Today I removed the 2.2.4 installation and installed 2.3beta, again
  it seems just as slow.
 
  What Next?
  The next thing I was thinking was to serve the webpages from IIS using
  PCGI.
  I am interested in other ideas.
 
  I. Thomas
 
 
 
 
 
  ___
  Zope maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Unexplained Slowdown

2001-01-18 Thread Tom Deprez

Forgive my enthousiastic comment in my previous message!

Some more news:

The overall response is better than before, but sometimes Zope (or ZServer)
is very slow.
This slowdown is at my Linux Server and at my Win Clients (NT 4 sp5)
It takes 1-2 minutes before I even get the log-on screen (on my server!) to
enter zope.
I don't know where this is comming from, but it is strange.

Overall, the response is better than before, but some strange slow-responses
are still there.

If I only knew how to find the cause of this.

Tom.





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Unexplained Slowdown

2001-01-17 Thread Brian Lloyd

This is due to an ill-fated attempt to make 'domain-based 
authentication' less expensive (but that backfired to some 
extent because it can make non domain-based auth more 
expensive, especially if reverse DNS lookups are slow for 
you). This is fixed for 2.3 b2 - in the meantime you should be 
able to copy the attached User.py to fix the problem for 
now.


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ian
 Thomas
 Sent: Wednesday, January 17, 2001 3:41 PM
 To: [EMAIL PROTECTED]
 Subject: [Zope] Unexplained Slowdown
 
 
 When I upgraded to Zope 2.2.5 access to my Zope over the web slowed down
 dramatically and I haven't been able to figure out why. I am interested
 in ideas I can try to track it down the problem or at least
 quantify/benchmark the slowness. 
 
 Some background.
 1) I am a computer teacher teaching Zope to my second year web
 development students who have already learned HTML and been introduced
 to JavaScript. 
 2) The server is a my test machine that my students and I use for
 learning.
 3) The "production" server still running 2.2.4 continues to preform
 normally.
 4) The machine is Celeron 500 mhz 64 meg ram running Windows 2000 Server
 5) I run Medusa server that comes with Zope to server the web pages.
 6) There is no gateway set up on this machine so that it is only visible
 from within the school.
 
 Notes.
 1) It is much faster if I access via localhost on the server.
 
 What I have tried.
 1) Installing 2.2.4 on another port. It ran just as slow.
 2) Today I removed the 2.2.4 installation and installed 2.3beta, again
 it seems just as slow.
 
 What Next?
 The next thing I was thinking was to serve the webpages from IIS using
 PCGI.
 I am interested in other ideas.
 
 I. Thomas
 
 
 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )
 
 

##
# 
# Zope Public License (ZPL) Version 1.0
# -
# 
# Copyright (c) Digital Creations.  All rights reserved.
# 
# This license has been certified as Open Source(tm).
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# 
# 1. Redistributions in source code must retain the above copyright
#notice, this list of conditions, and the following disclaimer.
# 
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions, and the following disclaimer in
#the documentation and/or other materials provided with the
#distribution.
# 
# 3. Digital Creations requests that attribution be given to Zope
#in any manner possible. Zope includes a "Powered by Zope"
#button that is installed by default. While it is not a license
#violation to remove this button, it is requested that the
#attribution remain. A significant investment has been put
#into Zope, and this effort will continue if the Zope community
#continues to grow. This is one way to assure that growth.
# 
# 4. All advertising materials and documentation mentioning
#features derived from or use of this software must display
#the following acknowledgement:
# 
#  "This product includes software developed by Digital Creations
#  for use in the Z Object Publishing Environment
#  (http://www.zope.org/)."
# 
#In the event that the product being advertised includes an
#intact Zope distribution (with copyright and license included)
#then this clause is waived.
# 
# 5. Names associated with Zope or Digital Creations must not be used to
#endorse or promote products derived from this software without
#prior written permission from Digital Creations.
# 
# 6. Modified redistributions of any form whatsoever must retain
#the following acknowledgment:
# 
#  "This product includes software developed by Digital Creations
#  for use in the Z Object Publishing Environment
#  (http://www.zope.org/)."
# 
#Intact (re-)distributions of any official Zope release do not
#require an external acknowledgement.
# 
# 7. Modifications are encouraged but must be packaged separately as
#patches to official Zope releases.  Distributions that do not
#clearly separate the patches from the original work must be clearly
#labeled as unofficial distributions.  Modifications which do not
#carry the name Zope may be packaged in any form, as long as they
#conform to all of the clauses above.
# 
# 
# Disclaimer
# 
#   THIS SOFTWARE IS PROVIDED BY