Sun Microsystems 7 Security Camera User Manual


 
TABLE 6–12 TuningSettings for FastCGI Plug-inTest
Conguration Tuning
magnus.conf Init fn="load-modules"
shlib="path_to_web_server_plugin_dir/fastcgi/libfastcgi.so"
funcs="responder_fastcgi" shlib_flags="(global|now)"
obj.conf NameTrans fn="assign-name" from="/fcgi/*" name="fcgi.config"
<Object name="fcgi.config">
Service type="magnus-internal/ws-php" fn="responder-fastcgi"
app-path="path_to_php"
bind-path="localhost:9000"
app-env="PHP_FCGI_CHILDREN=128"
app-env="PHP_FCGI_MAX_REQUESTS=20000"
app-env="LD_LIBRARY_PATH=path_to_php_lib"
listen-queue=8192
req-retry=2
reuse-connection=1
connection-timeout=120
resp-timeout=60
restart-interval=0
</Object>
mime.types type=magnus-internal/ws-php exts=php,php3,php4
The following table shows the results of the PHP with FastCGI test.
TABLE 6–13 PHPScalability withFast CGI
NumberofCores AverageThroughput(ops/sec) AverageResponseTime(ms)
2 876 114
4 1706 117
6 2475 121
The following is a graphical representation of PHP scalability with Fast CGI.
PerformanceTests andResults
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide 116