Re: Multiple Instances of an Apache Module

This is a discussion on Re: Multiple Instances of an Apache Module within the Apache Web Server forums, part of the Web Server and Related Forums category; David Neil <david_z_neil@hotmail.com> wrote: > virtual hosts and each time a site is loaded up, it ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-01-2004
Davide Bianchi
 
Posts: n/a
Default Re: Multiple Instances of an Apache Module

David Neil <david_z_neil@hotmail.com> wrote:
> virtual hosts and each time a site is loaded up, it loads a new
> instance of the isapi dll into its own separate memory space.


Huuuu... from what I remember of Win memory management, it doesn't
reload the DLL, it just map the image in his address space.

> site is loaded up, it seems to create an alias to the module rather
> than a new instance of the module in its own separate memory space.


It could be, since the handling of modules is waaaay different, a
module is loaded once and then he handle multiple requests spawning
multiple children (behavour inerithed from Unix).

> Is this a problem with the module or the setup of the conf file?


Nope. The problem is in your module. You have to rewrite it in
order to handle multiple requests in one single instance.

> Is it possible to load separate instances of a module?


AFAIK no.

Davide

--
| It has been observed that one's nose is never so happy as when it is
| thrust into the affairs of another, from which some physiologists have
| drawn the inference that the nose is devoid of the sense of smell.
|
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0