Hi David,

I feel this information must be added in mod_dtcl documentation. 
David, I am parallely working on Windows NT to develop a demo version of our product 
which  is actually on a Linux platform and that's how I came accross this problem.

Regards,
Reema.


-----Original Message-----
From: ext David N. Welton [mailto:[EMAIL PROTECTED]]
Sent: 20 November, 2002 00:50
To: Zeinert, Holger
Cc: Bangar Reema (NIC/Hyderabad); [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: Problem in opening .ttml file under Windows NT


"Zeinert, Holger" <[EMAIL PROTECTED]> writes:

> that neither Tcl nor mod_dtcl per se are thread safe.  But default
> configuration of Apache on NT is:

Tcl is, for certain, however it does it in its own way, which is one
interpreter per thread, and if that isn't followed, yeah, there could
well be problems.

> ...\Apache Group\Apache\conf\httpd.conf:
>       MaxRequestsPerChild 0
>       ThreadsPerChild 50

> which means: only one process is used (MaxRequestsPerChild would
> terminate a certain process after that amount of requests) and in
> this process a maximum of 50 threads are used.

> I changed this to

>       MaxRequestsPerChild 1
>       ThreadsPerChild 1

> This works fine now, although sometimes on slow machines the second
> frame takes some time to be loaded (not on my laptop: 1.2GHz, 1GB
> :-)). The configuration forces Apache to handle only one request per
> process and in that process don't use threads. The drawback is, that
> for every request a new process is created and your log file gets
> filled with

> [Thu Nov 14 14:01:52 2002] [error] Server ran out of threads to
> serve requests. Consider raising the ThreadsPerChild setting But
> then frames work fine for me.

Thankyou very much for this information, Holger - it looks to be a
very important detail that I never would have caught, not using
windows myself.  Craig, does this make sense from what you've seen?
Can you add that to the docs?

I don't think Reema is using Windows, though, or am I mistaken?

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to