[Toolserver-l] change of regular expression behaviour in rewrite scripts

Andrew Dunbar hippytrail at gmail.com
Tue Sep 1 23:59:26 UTC 2009


2009/8/19 River Tarnell <river at loreley.flyingparchment.org.uk>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Platonides:
>> I understand the problem was the process creation needed by mod_suphp
>> (that's also why the switchserver was tried).
>
> that is correct.
>
>> How does Zeus run the scripts as different users?
>
> it starts a FastCGI process as the user when a request comes in.  when
> the request is finished, it caches the fastcgi process for a few minutes
> until the next request for that user appears.  if no request appears, it
> kills the process.

Hmm is this when the setting was changed to kill FastCGI scripts after a
minute or two when it used to be pretty much indefinite when wolfsbane
was running on Linux?

> this way, for users with popular tools, there is always a PHP process
> around to serve it without having to start one.  for less popular users,
> a new process would have to be started on each request, but since the
> request rate is so low, that's not an issue.

Sadly this is causing some of my tools to thrash since they have expensive
startups and are used on the English Wiktionary which is popular enough
to keep starting them pretty frequently but of course nowhere near as
popular as Wikipedia which most tools are for.

I've filed a bug on JIRA for this: https://jira.toolserver.org/browse/TS-334

Andrew Dunbar (hippietrail)

> ZWS supports both ISAPI and NSAPI, and i suppose you could run PHP that
> way, but then everything would run as the web server user, just like
> mod_php.
>
>        - river.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (HP-UX)
>
> iEYEARECAAYFAkqMb84ACgkQIXd7fCuc5vJfXgCeN/xjK1v9/c4Cw19PuI/La/DV
> vx4AoJ73sJVcJtGHj5c7plN8SzpjVAiu
> =eC4c
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Toolserver-l mailing list (Toolserver-l at lists.wikimedia.org)
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
> Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
>



-- 
http://wiktionarydev.leuksman.com http://linguaphile.sf.net



More information about the Toolserver-l mailing list