Tuning Settings For Fastcgi Plug-In Test; Php Scalability With Fast Cgi - Sun Microsystems Sun Java System Web Server 7.0 Manual

Update 1 performancetuning, sizing, and scaling guide
Table of Contents

Advertisement

Performance Tests and Results
TABLE 6–12
Configuration
magnus.conf
obj.conf
mime.types
The following table shows the results of the PHP with FastCGI test.
TABLE 6–13
Number of Cores
2
4
6
The following is a graphical representation of PHP scalability with Fast CGI.
116
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •

Tuning Settings for FastCGI Plug-in Test

Tuning
Init fn="load-modules"
shlib="path_to_web_server_plugin_dir/fastcgi/libfastcgi.so"
funcs="responder_fastcgi" shlib_flags="(global|now)"
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>
type=magnus-internal/ws-php exts=php,php3,php4

PHP Scalability with Fast CGI

Average Throughput (ops/sec)
876
1706
2475
Average Response Time (ms)
114
117
121

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun Java System Web Server 7.0 and is the answer not in the manual?

Questions and answers

Table of Contents