summaryrefslogtreecommitdiff
path: root/sapi/isapi
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/isapi')
-rw-r--r--sapi/isapi/stresstest/notes.txt18
-rw-r--r--sapi/isapi/stresstest/stresstest.cpp2
2 files changed, 19 insertions, 1 deletions
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;