If I understand your scenario, you are trying to run two instances of Zope on a single machine, talking to a ZEO server? That won't work :) Neither Unix nor Windows knows what to do with two processes trying to open the same port for listen. I'm surprised the second Zope instance even starts. If you want to try it, start each instance of Zope on different ports, then use some kind of ipforwarding/load balancer on the box to route connections to port 80 to either of your Zope servers (say 8081 and 8082). -Randy
-----Original Message----- From: Dyon Balding [mailto:dyon@devcoder.com.au] Sent: Wednesday, May 23, 2001 12:08 PM To: Tino Wildenhain Cc: zope-dev@zope.org Subject: Re: [Zope-dev] ZEO on SMP
Tino,
Thanks for your reply.
When you say it works fine on a dual processor machine, are you saying that a single ZEO client fully utilises both processors? or that you are running two ZEO clients successfully?
Unfortunately I'm currently stuck with Windows due to both political reasons, and because we are interfacing to a large SQLServer database.
-d
On Wed, May 23, 2001 at 08:44:59PM +0200, Tino Wildenhain wrote:
Hi Dyon,
ZEO on a dual processor machine runs fine for me. I'm using redhat-linux for the server (ZEO and Clients on same machine) If you dont need strange things I would not recommend Win2k as server platform.
Best regards Tino Wildenhain
--On Mittwoch, 23. Mai 2001 11:35 -0700 Dyon Balding <dyon@devcoder.com.au> wrote:
Hi,
We are setting up a cluster of ZEO clients on dual processor machines. From some experiments and from searching through the mailing lists, it appears that a single Zope process will not take full advantage of the two processors.
The solution would appear to be to run two ZEO clients on each server. This, however, is causing problems.
I can successfully run two Zope (non-ZEO) processes on a single machine, but two ZEO clients don't seem to coexist nicely on the Windows 2000 machine. The second client to start will accept connections, but never responds with anything.
Zope: 2.3.2, ZEO: 1.0b3, Windows 2k for clients, Linux and Windows 2k for storage server.
Is there a better solution? If not, has anyone come across this problem?
Any pointers appreciated -d
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- Dyon Balding <dyon@devcoder.com.au>
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
They are listening on different ports, (80 and 81) in my test case. And yes, there will be a load balancer in front of them (there will be 15 dual processor servers) to make the cluster appear like one machine. -dyon On Wed, May 23, 2001 at 12:38:25PM -0700, Randall F. Kern wrote:
If I understand your scenario, you are trying to run two instances of Zope on a single machine, talking to a ZEO server?
That won't work :)
Neither Unix nor Windows knows what to do with two processes trying to open the same port for listen. I'm surprised the second Zope instance even starts.
If you want to try it, start each instance of Zope on different ports, then use some kind of ipforwarding/load balancer on the box to route connections to port 80 to either of your Zope servers (say 8081 and 8082).
-Randy
-- Dyon Balding <dyon@devcoder.com.au>
participants (2)
-
Dyon Balding -
Randall F. Kern