From 0a1d3aa1087b9760c7f7cc5fdaedfcaf9fd03582 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Mon, 8 Jan 2001 00:10:06 +0000 Subject: [PATCH] add notes on this program --- sapi/isapi/stresstest/notes.txt | 18 ++++++++++++++++++ sapi/isapi/stresstest/stresstest.cpp | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 sapi/isapi/stresstest/notes.txt diff --git a/sapi/isapi/stresstest/notes.txt b/sapi/isapi/stresstest/notes.txt new file mode 100644 index 0000000000..e6388a060f --- /dev/null +++ b/sapi/isapi/stresstest/notes.txt @@ -0,0 +1,18 @@ +This stress test program is for debugging threading issues with the isapi module. + +Create a file that contains a list of php script files, one per line. If you need to provide input, you can create an input file for each script file. File contents would look like: + +e:\inetpub\pages\index.php +e:\inetpub\pages\info.php +e:\inetpub\pages\posttest.php e:\inetpub\pages\postdata.txt + +If you need to set special environement variables, in addition to your regular environment, create a file that contains them, one setting per line: + +MY_ENV_VAR=XXXXXXXX + +This can be used to simulate isapi environment variables if need be. + +By default, stress test uses 10 threads. To change this, change the define NUM_THREADS in stresstest.cpp. + +This test program is a work in progress, no garauntees on it working right. + diff --git a/sapi/isapi/stresstest/stresstest.cpp b/sapi/isapi/stresstest/stresstest.cpp index dad651e62e..b9da772420 100644 --- a/sapi/isapi/stresstest/stresstest.cpp +++ b/sapi/isapi/stresstest/stresstest.cpp @@ -57,7 +57,7 @@ char * MakeDateStr(VOID); char * GetEnv(char *); -#define NUM_THREADS 1 +#define NUM_THREADS 10 #define ITERATIONS 1 HANDLE terminate[NUM_THREADS]; HANDLE StartNow; -- 2.50.1