Frank Gingras wrote / napĂsal(a):
On 20/08/2010 4:57 PM, XorMultiPleXus wrote:Hello,i am writing a module for apache 2.2 on windows 7 with the default mpm_winnt; My module requires that apache is run in on process with a lot threads because i need to use the process memory to store persistent data - because of performance i cannot use a DB, and if it is possible i want to avoid using shared memory between processes. No problem with mpm_winnt. The problem is that my module will be deployed on linux. As i am a primary a windows programmer, of course, i have a little problem, because as i have understood from documentation, mpm_winnt if windows only. The question is, does mpm_winnt work on linux? Is there an alternative of mpm_winnt for linux? Or can someone give me any directions?Many thanks for answers joe ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxJoe, You would want to use the worker mpm on linux. Frank ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
Frank,the worker mpm is a hybrid mpm, that is multi process multi threaded. I've played with it a little, and configured it to run only one process with 100 threads - just for the test. But the result did not work properly.
well i hope i won't have to port mpm_winnt to linux ;D. joe --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx