| <?xml version="1.0"?> |
| <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> |
| <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?> |
| <!-- English Revision: 151405:421174 (outdated) --> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <modulesynopsis metafile="leader.xml.meta"> |
| <name>leader</name> |
| <description>Variante experimental del MPM estándar |
| <module>worker</module></description> |
| <status>MPM</status> |
| <sourcefile>leader.c</sourcefile> |
| <identifier>mpm_leader_module</identifier> |
| |
| <summary> |
| <note type="warning"><title>Advertencia</title> |
| <p>Este módulo es todavía experimental, lo que |
| significa que podría no funcionar como se espera.</p> |
| </note> |
| |
| <p>Este módulo es una variante experimental del módulo |
| de multiprocesamiento estándar <module>worker</module>. Usa |
| un patrón de diseño Leader/Followers para coordinar el |
| trabajo entre las hebras. Para más información, consulte |
| <a href="http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf" |
| >http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf</a>.</p> |
| |
| <p>Para usar el módulo de multiprocesamiento |
| <module>leader</module>, añada |
| <code>--with-mpm=leader</code> como argumento al script |
| <program>configure</program> en el momento de compilar |
| <program>httpd</program>.</p> |
| |
| <p>Este módulo de multiprocesamiento depende de operaciones |
| atómicas compare-and-swap del APR para sincronizar las |
| hebras. Si está compilando el servidor para una máquina |
| x86 y no necesita soportar la arquitectura 386, o está |
| compilando para una máquina SPARC y no necesita ejecutar el |
| servidor en chips pre-UltraSPARC, añada |
| <code>--enable-nonportable-atomics=yes</code> como argumento al |
| script <program>configure</program>. Esto hará que APR implemente |
| las operaciones atómicas usando opciones más eficientes |
| que no están presentes para CPUs antiguas.</p> |
| </summary> |
| |
| <directivesynopsis location="mpm_common"><name>AcceptMutex</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>CoreDumpDirectory</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>EnableExceptionHook</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>Group</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>Listen</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>ListenBacklog</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>SendBufferSize</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>LockFile</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>MaxClients</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>MaxMemFree</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>MaxRequestsPerChild</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>MaxSpareThreads</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>MinSpareThreads</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>PidFile</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>ScoreBoardFile</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>ServerLimit</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>StartServers</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>ThreadLimit</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>ThreadsPerChild</name> |
| </directivesynopsis> |
| <directivesynopsis location="mpm_common"><name>User</name> |
| </directivesynopsis> |
| |
| </modulesynopsis> |
| |
| |
| |
| |