[Zope-dev] ZEO on SMP

Randall F. Kern randy@spoke.net
Wed, 23 May 2001 12:38:25 -0700


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
>=20
>=20
> Tino,
>=20
> Thanks for your reply.
>=20
> 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?
>=20
> Unfortunately I'm currently stuck with Windows due to both political
> reasons, and because we are interfacing to a large SQLServer database.
>=20
> -d
>=20
> On Wed, May 23, 2001 at 08:44:59PM +0200, Tino Wildenhain wrote:
> > Hi Dyon,
> >=20
> > 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.
> >=20
> > Best regards
> > Tino Wildenhain
> >=20
> > --On Mittwoch, 23. Mai 2001 11:35 -0700 Dyon Balding=20
> <dyon@devcoder.com.au>=20
> > wrote:
> >=20
> > > Hi,
> > >
> > > We are setting up a cluster of ZEO clients on dual=20
> processor machines.
> > > From some experiments and from searching through the=20
> mailing lists, it
> > > appears that a single Zope process will not take full=20
> advantage of the
> > > two processors.
> > >
> > > The solution would appear to be to run two ZEO clients on=20
> each server.
> > > This, however, is causing problems.
> > >
> > > I can successfully run two Zope (non-ZEO) processes on a=20
> single machine,
> > > but two ZEO clients don't seem to coexist nicely on the=20
> Windows 2000
> > > machine.  The second client to start will accept=20
> connections, but never
> > > responds with anything.
> > >
> > > Zope: 2.3.2, ZEO: 1.0b3, Windows 2k for clients, Linux=20
> 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 )
> >=20
> >=20
> >=20
>=20
> --=20
> Dyon Balding <dyon@devcoder.com.au>
>=20
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>=20