[axxs-sysadmin] Axxs.org Zope restart script
Dave Fregon
dave at netaxxs.com.au
Mon Jan 29 19:22:20 PST 2007
On Tue, 2007-01-30 at 16:13 +1100, aketus wrote:
> Thanks Dave, for the script.
>
> Aa point of reference: Pabs restarted apache last night due to
> overloads, so yeah, either the loads themselves do it to Zope, or
> perhaps the restarting of apache confuses Zope... probably the former.
Yep, zope doesn't care about apache, it just accepts incoming requests
and passes back a result. Whether it's a user connecting straight to the
port or apache, or squid, or anything ...
High traffic sites I run squid in front, apache -> squid -> zope out of
interest ... there's a product for plone called CacheFu, which has
scripts for patching squid with the ACL rights etc .. really easy
actually, it deploys everything, and you just have to add a snippet of
rewrite rules to the vhost.conf (apache.conf) if you want to get jazzy,
you can much around with Pound as well ...
http://plone.org/documentation/how-to/simple-zope-clustering-with-squid-and-pound
Dave
>
> aketus
>
>
> Quoting Dave Fregon <dave at netaxxs.com.au>:
>
> > Thanks .subtle :) it appears to suffer when mysql/httpd takes up all the
> > resources on the server.
> >
> > I have placed a script in http://www.axxs.org/restart for restarting the
> > zope instance on axxs.org.
> >
> > ( Login with the user admin, and the generic admin password. )
> >
> > This should make it a lot easier to restart zope, I might put something
> > in to restart it every hour anyway when I get a chance.
> >
> > I will look at moving the data out as soon as I get time to do so and
> > sort thru it all, however I think the issues with it going down is more
> > the load on the server from other processes using mysql ... I have
> > servers with with the same server specs, with > 20 instances of Zope,
> > all being used regularly (as in they service groups that use them
> > interactively all day, not just anonymous users) without problems.
> >
> > Dave
> >
> > --
> > NetAxxs
> > 20 Chisholm St
> > Wangaratta 3677
> > Australia
> > +613 5722 9622
> >
> > _______________________________________________
> > axxs-sysadmin mailing list
> > axxs-sysadmin at lists.indymedia.org
> > http://lists.indymedia.org/mailman/listinfo/axxs-sysadmin
> >
>
>
>
--
NetAxxs
20 Chisholm St
Wangaratta 3677
Australia
+613 5722 9622
More information about the axxs-sysadmin
mailing list