E&S CVS Commit: PEAK - Added peak-load tracing output to FastCGI process monitor, using a

pje at eby-sarna.com pje at eby-sarna.com
Tue Jan 13 18:40:03 EST 2004


Module Name:	PEAK
Committed By:	pje
Date:		Tue Jan 13 19:28:03 UTC 2004

Modified Files:
	PEAK/src/peak/tools/supervisor: busy.py

Log Message:
Added peak-load tracing output to FastCGI process monitor, using a
'peak.events' thread.  This should record the duration of peak loads for
a given FastCGI application by writing them to a 'supervisor.busy-stats'
log category with TRACE priority.  A "peak load period" is defined as a
time during which all child processes were serving requests
simultaneously, AND the maximum number of child processes currently exists.
This is a first draft of the logic, as there will probably need to be
some sort of "debouncing" to prevent an unnecessarily high volume of
records being written.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/tools/supervisor/busy.py.diff?r1=1.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/tools/supervisor/busy.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list