Re: cvs commit: httpd-2.0/modules/filters mod_include.c

2001-08-18 Thread Paul J. Reder
, and needs to be changed to not reparse bytes. Feedback? -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share

Re: [PATCH] mod_include fix

2001-08-17 Thread Paul J. Reder
, -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights secure. -- Albert

Kill signal testing of various mpms...

2001-08-16 Thread Paul J. Reder
on Linux. I don't have a setup to test OS/2 or Windows. I will work to keep these results up to date as changes occur. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only

Re: [Fwd: [Patch]: Scoreboard as linked list.]

2001-08-04 Thread Paul J. Reder
the patch appropriately. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional

Re: [Patch]: Scoreboard as linked list.

2001-08-04 Thread Paul J. Reder
) until Apache has been restarted and all workers have quiesced (hence no state changes...) -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen

Re: [Patch]: Scoreboard as linked list.

2001-08-03 Thread Paul J. Reder
that can't be optimized. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional

Re: [Patch]: Scoreboard as linked list.

2001-08-03 Thread Paul J. Reder
. Please prove me wrong and we can change it. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense

Re: 2.0.23?

2001-08-01 Thread Paul J. Reder
have received core files recently, but I can't pin my finger on why I do or don't get them. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen

Re: threaded.c assigning children to wrong slot

2001-07-30 Thread Paul J. Reder
a user config the threaded mpm for a given set of resources if they can't control the number of processes? -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every

Re: threaded.c assigning children to wrong slot

2001-07-27 Thread Paul J. Reder
started since we don't report that in the status. Because the pids get overridden it appears, according to status, to contain only MaxClient pids. So what you are seeing is just the code working as it is designed to. -- Paul J. Reder

Re: threaded.c assigning children to wrong slot

2001-07-27 Thread Paul J. Reder
of the unused workers. Because there is no locking, more than one process can grab the same worker slot. I have not looked to see what problems this can cause, but two or more processes each starting a worker in the same slot can't be good. -- Paul J. Reder

Re: cvs commit: httpd-2.0/server/mpm/threaded threaded.c

2001-07-03 Thread Paul J. Reder
, if possible. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights secure

Re: cvs commit: httpd-2.0/server/mpm/threaded threaded.c

2001-07-02 Thread Paul J. Reder
J. Reder --- The strength of the Constitution

Re: bug or a feature

2001-06-29 Thread Paul J. Reder
Harrie, I added that field in preparation for the work I am still doing. That field will put to use if the code I am working on gets accepted. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination

Re: Tagging tree tonight.

2001-06-28 Thread Paul J. Reder
(with Ryan's patch). I am also approaching completion of my version (still needs testing). I'll let you all know what I find with the heavy load testing. -- Paul J. Reder --- The strength of the Constitution lies entirely

Re: plz vote on tagging current CVS as APACHE_2_0_19

2001-06-28 Thread Paul J. Reder
it is a problem that during a graceful restart there is a period of fluctuation which cannot be avoided. While the system is in flux, results may be innaccurate during certain short windows. Any complaints? -- Paul J. Reder --- The strength

Re: [PATCH] easy scoreboard access

2001-06-28 Thread Paul J. Reder
-servers[x][y]); +} +return(NULL); +} I'm going to go get more sugar now, maybe it'll look different in a bit. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only

Re: plz vote on tagging current CVS as APACHE_2_0_19

2001-06-22 Thread Paul J. Reder
list, and there is a free process, I can start a new process with ThreadsPerChild workers. What am I missing here? There is no overrun of the configured values. And the algorithm isn't any more complex. -- Paul J. Reder --- The strength

Re: plz vote on tagging current CVS as APACHE_2_0_19

2001-06-19 Thread Paul J. Reder
patches. I'm glad you are back working on this, I was afraid I would have to implement both sides for arguments sake. :) On your mark... -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen

Re: [PATCH] screw up prefork even more

2001-06-14 Thread Paul J. Reder
. Clean_child_exit was called and tried to free the pool but couldn't get past the mutex. The child could not come up or go down. The code in perform_idle_server_ maintenance kept trying to kill the same worker, so the number of workers could never drop below this threashold again. -- Paul J. Reder

Re: Scoreboard redesign

2001-05-17 Thread Paul J. Reder
, but not a reason to justify (or veto) the basic ideas. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share

Re: Scoreboard redesign

2001-05-17 Thread Paul J. Reder
it is one big chunk that is accessed only via contiguous regions. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his

Re: Scoreboard redesign

2001-05-17 Thread Paul J. Reder
Jim Jagielski wrote: Paul J. Reder wrote: Yes, restarts would be problematic for the time being. This means that we either don't save the memory for now, or we save memory but don't allow mod_status to be added in during a restart. re: not allowing mod_status to be added. Super

Re: Scoreboard redesign

2001-05-17 Thread Paul J. Reder
in the grander scheme of things. The difference between an average of mid to high hundreds of rps vs the current dozens of rps for threaded with mrpc = 1000 is what I am trying to fix. -- Paul J. Reder --- The strength of the Constitution lies

Re: Scoreboard redesign

2001-05-17 Thread Paul J. Reder
(potentially up to threads_per_process) processes within the same fixed scoreboard space. The list, even with its locks, seems simpler to me. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each

Re: Scoreboard redesign

2001-05-17 Thread Paul J. Reder
to the free list. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights secure

Re: Scoreboard redesign

2001-05-16 Thread Paul J. Reder
Jim Jagielski wrote: Paul J. Reder wrote: For the time being, the shared storage will still be allocated in a big chunk up front (until we can figure out how to allocate and free smaller chunks). We will unfortunately still be allocating more than is usually needed, but will now

Re: Scoreboard redesign

2001-05-15 Thread Paul J. Reder
big shared memory allocation. Does this make sense? Did I understand the question? -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels

Re: Scoreboard redesign

2001-05-11 Thread Paul J. Reder
in the previous steps. If this doesn't stir up any comments, expect commits starting on Monday. Paul J. Reder wrote: The basic idea is to separate the parts of the scoreboard that Apache needs for process/thread management from the part that mod_status needs for server-status. This frees the mpm

Scoreboard redesign

2001-05-10 Thread Paul J. Reder
of the scoreboard. Jeff Trawick: The idea of using linked lists. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do

Re: thread locking within apr file io

2001-04-27 Thread Paul J. Reder
Paul J. Reder wrote: Greg Ames wrote: It would be great if somebody could beat it up on a live non-FreeBSD system, and tell us what happens. I'll run it through my battery of abuse tests tonight. If it survives the carnage then we'll be in good shape. After running

Re: thread locking within apr file io

2001-04-26 Thread Paul J. Reder
it no longer dies or hangs, just slows down periodically. -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share

Re: Suggested direction for fixing threaded mpm thread startup.

2001-04-23 Thread Paul J. Reder
/threads) to be started as soon as threads_per_child number of threads have exited (regardless of whether those threads came from one process or several dozen). -- Paul J. Reder --- The strength of the Constitution lies entirely in the determination

Re: Suggested direction for fixing threaded mpm thread startup.

2001-04-23 Thread Paul J. Reder
Greg Ames wrote: btw, any progress on getting the signalling/shutdown stuff working better? That's what I'm working on at the moment (prefork first, threaded next). -- Paul J. Reder --- The strength of the Constitution lies entirely

Re: Suggested direction for fixing threaded mpm thread startup.

2001-04-23 Thread Paul J. Reder
would like to work (with any volunteers?) on splitting the scoreboard. I think splitting the scoreboard and redesigning the replacement algorithm is the right answer. -- Paul J. Reder --- The strength of the Constitution lies entirely

Re: [PATCH] mod_include incorrect function table offset

2001-04-20 Thread Paul J. Reder
is wrong. Wouldn;t the best solution be to fix the content of ctx-directive_length (perhaps in get_combined_directive) Paul, opinions? Bill Sorry for the extra travel delay. I will take a look at this today. -- Paul J. Reder

Re: Suggested direction for fixing threaded mpm thread startup.

2001-04-20 Thread Paul J. Reder
? As long as max_requests_per_child is set to anything other than 0 and request volume has any variance to it, this problem will occur. It may take more or less time, but it will still occur in every scenario (*realistic* or otherwise). Greg -- Pau

Re: Suggested direction for fixing threaded mpm thread startup.

2001-04-20 Thread Paul J. Reder
of the input then we have a problem. mod_include has code to pass along content if it reaches a magic threshold in an effort to avoid this problem. -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determin

Re: [PATCH] mod_include incorrect function table offset

2001-04-20 Thread Paul J. Reder
to process it. Thanks, -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this de

Re: mod_include performance numbers

2001-04-20 Thread Paul J. Reder
any performance or profiling information that you have. The more info, the better the solution. Thanks, -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if

Re: mod_include performance numbers

2001-04-20 Thread Paul J. Reder
Marc Slemko wrote: On Fri, 20 Apr 2001, Paul J. Reder wrote: Ian Holsman wrote: I'm not sure if this means that ALL filters are slow, or if it is just mod-include. I'm sure that there are some aspects of mod_include that can be improved, but the fact of the matter

Re: [Patch]: Version 2 of the fix to clean up idle kids properly.

2001-04-19 Thread Paul J. Reder
Greg Ames wrote: "Paul J. Reder" wrote: I believe that this patch addresses all of Greg Ames concerns. +#define I_AM_TO_SHUTDOWN() \ +(ap_scoreboard_image-servers[my_child_num][0].life_status != SB_WORKING)

Re: [Patch]: Version 2 of the fix to clean up idle kids properly.

2001-04-19 Thread Paul J. Reder
hand coding we would add. Besides, maybe the scoreboard is going to change... -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels

Re: Suggested direction for fixing threaded mpm thread startup.

2001-04-19 Thread Paul J. Reder
-- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights sec

Re: Apache 2.0.17 tarballs up

2001-04-17 Thread Paul J. Reder
statement to delay the time period before Apache complained and SIGTERMed (or SIGKILLed) again. In my tests, the kids eventually went down. The messages and extra kills were mostly just an annoyance. -- Paul J. Reder --- "The str

Re: Apache 2.0.17 tarballs up

2001-04-17 Thread Paul J. Reder
roblem you are seeing is one that I encountered but had fixed. I'll take a look at my development machine when I get home tomorrow and see what I missed. You are right, this is more than annoying. -- Paul J. Reder --- "The strength of t

Re: Apache 2.0.17 tarballs up

2001-04-17 Thread Paul J. Reder
the deadlock, but I went too far and removed the SIGHUP parts as well. I'll look at putting that part back in. I believe the problem in the threaded mpm is the same (too much graceless code removed). -- Paul J. Reder --- "The str

Suggested direction for fixing threaded mpm thread startup.

2001-04-16 Thread Paul J. Reder
is nearly idle). If a server that is tuned reasonably, given its hardware capabilities, gets to this busy state then it is understandable that the server is slow in processing new requests. Thoughts? -- Paul J. Reder --- "The str

[Patch]: Patch to make threaded mpm use join to cleanup workers.

2001-04-14 Thread Paul J. Reder
if it is left with only one or two threads finishing their last (long) request). I will address this performance issue in another patch. -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each ci

Re: Need access to apr_sigwait from threaded mpm.

2001-04-14 Thread Paul J. Reder
J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights secure."

Re: [Patch]: Patch to make threaded mpm use join to cleanup workers.

2001-04-14 Thread Paul J. Reder
it just wants this parm to be 0/1 (i.e. off or on), but passes the value straight through to the pthread call (which expects the enum). Thanks, -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of

Need access to apr_sigwait from threaded mpm.

2001-04-13 Thread Paul J. Reder
Ryan, In removing the extra signal thread and having the top level child_main block on signals, I need access to apr_sigwait from the threaded mpm. It currently seems to be private to APR. Am I missing something? If not, what is the preferred solution for APR? Thanks, -- Paul J. Reder

Re: Need access to apr_sigwait from threaded mpm.

2001-04-13 Thread Paul J. Reder
it. -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights s

Re: Need access to apr_sigwait from threaded mpm.

2001-04-13 Thread Paul J. Reder
/* means that i need to call clean_child_exit here... */ Hopefully this will work for you since it uses apr calls (unless they aren't implemented everywhere yet). Let me know if this is a problem. -- Paul J. Reder --- &qu

Re: Need access to apr_sigwait from threaded mpm.

2001-04-13 Thread Paul J. Reder
-apr. I will look through the libs in cvs. I was looking through htpd-2.0 and didn't see it. I didn't realize you were talking that far back. Test is still running (almost 3 hours of heavy abuse so far). -- Paul J. Reder --- "The str

Re: cvs commit: httpd-2.0/server/mpm/prefork prefork.c

2001-04-10 Thread Paul J. Reder
before checking the flag again. -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this de

[Patch]: Version 2 of the fix to clean up idle kids properly.

2001-04-04 Thread Paul J. Reder
. This patch only applies to prefork for the moment. I am debugging a problem in the base threaded mpm before I can apply this patch to it. -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of

Re: [Patch]: Suggested patch to fix perform_idle_server_cleanup window.

2001-03-26 Thread Paul J. Reder
Greg Ames wrote: "Paul J. Reder" wrote: These two functions could easily be merged, OK, that sounds like a good first step. But better still would be to make this so simple for the mainline code that no function or macro is called for. Just test one variable. I'm

Re: [Patch]: Suggested patch to fix perform_idle_server_cleanup window.

2001-03-22 Thread Paul J. Reder
Greg Ames wrote: "Paul J. Reder" wrote: @@ -568,7 +579,7 @@ apr_signal(SIGHUP, just_die); apr_signal(SIGTERM, just_die); -while (!ap_graceful_stop_signalled()) { +while ((!ap_graceful_stop_signalled()) (!ap_idle_die_signalled())) { Th

[Patch]: Suggested patch to fix perform_idle_server_cleanup window.

2001-03-20 Thread Paul J. Reder
the kids are cleaned up successfully, they go away indirectly rather than directly by signal which takes slightly longer. This just avoids the annoying set of messages indicating that "some kids didn't go away yet so they are being killed again". -- Pau

New binaries for AIX 5.1 (IA64) put on Apache.org

2001-03-20 Thread Paul J. Reder
J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights secure."

Insufficient Karma for 1.3 and 2.0

2001-03-19 Thread Paul J. Reder
doing something wrong? Thanks, -- Paul J. Reder --- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this de

Re: Content-Length Woes.

2001-03-08 Thread Paul J. Reder
(or if the response spans brigades). I can change the code to clear the C-L prior to sending anything down, but I seem to recall that there was a request to clear the C-L only if an SSI was found to avoid recalculating the C-L when there was no SSI tags. -- Paul J. Reder