Yep, you're all right. But I have found more details about it.
The Apache definitely run 2 separated process even when you are not using
any Apache module.
I use the Performance Monitor on NT that the "static process" (just named it
as Process 1) has 3 threads and the other (Process 2) has 51 threads. I
have set the Apache to handle 50 user requests. It is reasonable that 50
threads of those are used for handling user requests and the additional 1
main thread for creating those 50 worker threads. So I believe the Process
2 is used to handle the user requests. And Process 1 is used to loads the
Apache Modules (the JServ dll parts). When I start Apache without JServ,
only 2 threads are shown on Performance Mon.
Just as raimee described, I also found that the virtual memory of Process 2
gradually grows up (~12K per request) when I request the servlet app ( I
just use SimpleServlet) while the virtual memory of Process 1 and JVM
(java.exe) almost stay unchange. It seems that there is a memory leakage on
handling servlet requests... and I guess that memory created in the worker
thread for handling the servlet request is not freed completely. In
contrast, the HTML requests do not cause Process 2's virtually memory
growing up.
What I found is based on NT version. I don't know what will see in Unix or
Linux, please help to check this out.
I run Apache as service on NT4.0 SP3, with JSDK 2.0, JDK1.1.7B, JServ 1.0b3
and JServSSI 1.0. And I have config the Apache to start JServ automatically.
I am new to this mailing list and please, correct me if I say something
wrong.
Regards,
Punky Tse
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]