SUNWwbsvr7 and PHP performance tuning

I've recently decided to give Sun's Java Web Server a try for our PHP application. In the past we've used Apache 2.2 and achieved excellent performance (using 'ab' the throughput between the server and the system running 'ab' hits the limitations of the 100Mb/s switch); however, after benchmarking Java Web Server using 'ab' we're only able to get about 1/4 (at most) of the throughput we were seeing from Apache 2.2.

The server is running Solaris 10 11/06 and Java Web Server 7, as well as our prod Apache 2.x are running in a container with no resource pool or projects. The system is an 8-way E4500 with 8GB of memory. The Coolstack 1.1 Apache and PHP 5 are being used. For the Sun Web Server, the PHP package Sun offers as a download is being used, and the php.ini-recommended file is the php.ini that's being used. I have set a proper PHPRC, so I know that php.ini is being used.

Anyone have any tips for tuning or places to look on the system for bottlenecks?

[996 byte] By [delewis@acm.orga] at [2007-11-27 4:15:37]
# 1

I would like to understand few things :

* With Sun Java System Web Server, are you using NSAPI php or fastcgi php?

If you are using fastcgi, can you show us the fastcgi setting of Sun Java

System Web Server?

* If php from coolstack is compiled with fastcgi support then you can use

the same php with Sun Web Server. phpinfo() would be able to tell the configure

command.

Here is the link to performance tuning guide for Sun Java System Web Server

which may be helpful to you.

http://docs.sun.com/app/docs/doc/819-2635

Basantka at 2007-7-12 9:22:00 > top of Java-index,Web & Directory Servers,Web Servers...