Hi,
My issue will be long to explain but I will try to put as much information as it is possible.
Here are my system :
CPU 3 Ghz (no HT no dual core) 32 bit
2G ram
@@ OS and Web Server @@
I'm running FreeBSD 6.1 with Litespeed 2.2.1 (the latest for FreeBSD)
@@ PHP @@
php -v
PHP 5.1.6 (cli) (built: Nov 2 2006 23:10:09)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
@@ MySQL @@
mysql Ver 14.12 Distrib 5.0.24a, for portbld-freebsd6.1 (i386) using 5.0
@@ Litespeed @@
I have the latest version for FreeBSD of enterprise litespeed 1 CPU lease 1 Year. Currently running on the temp license the time to receive my full license.
@@ LiteSpeed Config file @@
<?xml version="1.0" encoding="UTF-8"?>
<httpServerConfig>
<serverName>xxxx:80</serverName>
<user>www</user>
<group>www</group>
<priority>-5</priority>
<chrootPath>/</chrootPath>
<enableChroot>0</enableChroot>
<inMemBufSize>300M</inMemBufSize>
<swappingDir>/tmp/lshttpd/swap</swappingDir>
<autoRestart>1</autoRestart>
<autoFix503>1</autoFix503>
<mime>$SERVER_ROOT/conf/mime.properties</mime>
<showVersionNumber>0</showVersionNumber>
<adminEmails>xxxxxx</adminEmails>
<adminRoot>$SERVER_ROOT/admin/</adminRoot>
<logging>
<log>
<fileName>$SERVER_ROOT/logs/error.log</fileName>
<logLevel>DEBUG</logLevel>
<debugLevel>0</debugLevel>
<rollingSize>10M</rollingSize>
<enableStderrLog>1</enableStderrLog>
</log>
<accessLog>
<fileName>$SERVER_ROOT/logs/access.log</fileName>
<rollingSize>10M</rollingSize>
<keepDays>30</keepDays>
<compressArchive>0</compressArchive>
</accessLog>
</logging>
<indexFiles>index.html,index.html.var,index.php,index.php3,index.phps</indexFiles>
<htAccess>
<allowOverride>2</allowOverride>
<accessFileName>.htaccess</accessFileName>
</htAccess>
<expires>
<enableExpires>1</enableExpires>
<expiresDefault></expiresDefault>
<expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A604800</expiresByType>
</expires>
<tuning>
<maxConnections>1024</maxConnections>
<maxSSLConnections>200</maxSSLConnections>
<connTimeout>75</connTimeout>
<maxKeepAliveReq>1000</maxKeepAliveReq>
<smartKeepAlive>1</smartKeepAlive>
<keepAliveTimeout>5</keepAliveTimeout>
<sndBufSize>0</sndBufSize>
<rcvBufSize>0</rcvBufSize>
<eventDispatcher>kqueue</eventDispatcher>
<maxCachedFileSize>4096</maxCachedFileSize>
<totalInMemCacheSize>20M</totalInMemCacheSize>
<maxMMapFileSize>256K</maxMMapFileSize>
<totalMMapCacheSize>40M</totalMMapCacheSize>
<useSendfile>1</useSendfile>
<SSLCryptoDevice>null</SSLCryptoDevice>
<maxReqURLLen>4096</maxReqURLLen>
<maxReqHeaderSize>8192</maxReqHeaderSize>
<maxReqBodySize>10M</maxReqBodySize>
<maxDynRespHeaderSize>4K</maxDynRespHeaderSize>
<maxDynRespSize>1M</maxDynRespSize>
<enableGzipCompress>1</enableGzipCompress>
<enableDynGzipCompress>1</enableDynGzipCompress>
<gzipCompressLevel>5</gzipCompressLevel>
<compressibleTypes>text/html</compressibleTypes>
<gzipAutoUpdateStatic>1</gzipAutoUpdateStatic>
<gzipStaticCompressLevel>6</gzipStaticCompressLevel>
<gzipMaxFileSize>1M</gzipMaxFileSize>
<gzipMinFileSize>300</gzipMinFileSize>
</tuning>
<security>
<fileAccessControl>
<followSymbolLink>1</followSymbolLink>
<checkSymbolLink>0</checkSymbolLink>
<requiredPermissionMask>000</requiredPermissionMask>
<restrictedPermissionMask>000</restrictedPermissionMask>
</fileAccessControl>
<perClientConnLimit>
<staticReqPerSec>0</staticReqPerSec>
<dynReqPerSec>0</dynReqPerSec>
<outBandwidth>0</outBandwidth>
<inBandwidth>0</inBandwidth>
<softLimit>10</softLimit>
<hardLimit>1000</hardLimit>
<gracePeriod>15</gracePeriod>
<banPeriod>300</banPeriod>
</perClientConnLimit>
<CGIRLimit>
<maxCGIInstances>20</maxCGIInstances>
<minUID>11</minUID>
<minGID>10</minGID>
<priority>0</priority>
<CPUSoftLimit>10</CPUSoftLimit>
<CPUHardLimit>50</CPUHardLimit>
<memSoftLimit>60M</memSoftLimit>
<memHardLimit>70M</memHardLimit>
<procSoftLimit>400</procSoftLimit>
<procHardLimit>450</procHardLimit>
</CGIRLimit>
<accessDenyDir>
<dir>/</dir>
<dir>/etc/*</dir>
<dir>/dev/*</dir>
<dir>$SERVER_ROOT/conf/*</dir>
<dir>$SERVER_ROOT/admin/conf/*</dir>
</accessDenyDir>
<accessControl>
<allow>ALL</allow>
<deny></deny>
</accessControl>
</security>
<extProcessorList>
<extProcessor>
<type>lsapi</type>
<name>phpLsapi</name>
<address>uds://tmp/lshttpd/lsphp.sock</address>
<maxConns>20</maxConns>
<env>PHP_LSAPI_MAX_REQUESTS=500</env>
<initTimeout>60</initTimeout>
<retryTimeout>0</retryTimeout>
<respBuffer>0</respBuffer>
<autoStart>1</autoStart>
<path>$SERVER_ROOT/fcgi-bin/lsphp</path>
<backlog>100</backlog>
<instances>20</instances>
<priority>0</priority>
</extProcessor>
</extProcessorList>
<scriptHandlerList>
<scriptHandler>
<suffix>php,php3,php4,php5,phps</suffix>
<type>lsapi</type>
<handler>phpLsapi</handler>
</scriptHandler>
</scriptHandlerList>
<virtualHostList>
<virtualHost>
<name>ApacheMain</name>
<vhRoot>/usr/home/www/default/html/</vhRoot>
<configFile>$SERVER_ROOT/conf/ApacheMain.xml</configFile>
</virtualHost>
<virtualHost>
<name>xxxxxx</name>
<vhRoot>/usr/home/www/xxxxx/html/</vhRoot>
<configFile>$SERVER_ROOT/conf/xxxxxx.xml</configFile>
</virtualHost>
</virtualHostList>
<listenerList>
<listener>
<name>*:443</name>
<address>*:443</address>
<binding></binding>
<secure>1</secure>
<vhostMapList>
<vhostMap>
<vhost>www.example.com:443</vhost>
<domain>www.example.com:443, *</domain>
</vhostMap>
</vhostMapList>
<keyFile>/usr/local/etc/apache2/ssl.key/server.key</keyFile>
<certFile>/usr/local/etc/apache2/ssl.crt/server.crt</certFile>
<ciphers>ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL</ciphers>
</listener>
<listener>
<name>xxxxxx:80</name>
<address>xxxxxx:80</address>
<binding></binding>
<secure></secure>
<vhostMapList>
<vhostMap>
<vhost>xxxxxxxx</vhost>
<domain>xxxxxx, *</domain>
</vhostMap>
</vhostMapList>
<keyFile></keyFile>
<certFile></certFile>
<ciphers></ciphers>
</listener>
<listener>
<name>Default</name>
<address>*:80</address>
<binding></binding>
<secure>0</secure>
<vhostMapList>
<vhostMap>
<vhost>Example</vhost>
<domain>*</domain>
</vhostMap>
</vhostMapList>
<keyFile></keyFile>
<certFile></certFile>
<ciphers></ciphers>
</listener>
</listenerList>
</httpServerConfig>
@@ Vhost config file @@
<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
<docRoot>/usr/home/www/xxxxxx/html/</docRoot>
<enableGzip>1</enableGzip>
<adminEmails></adminEmails>
<logging>
<log>
<useServer>0</useServer>
<fileName>/usr/home/www/xxxxx/logs/error_log</fileName>
<logLevel>INFO</logLevel>
<rollingSize>20</rollingSize>
</log>
<accessLog>
<useServer>0</useServer>
<fileName>/home/www/xxxxxx/logs/access.log</fileName>
<pipedLogger></pipedLogger>
<logHeaders>7</logHeaders>
<rollingSize>20</rollingSize>
<keepDays>10</keepDays>
<bytesLog></bytesLog>
<compressArchive>1</compressArchive>
</accessLog>
</logging>
<expires>
<enableExpires></enableExpires>
<expiresDefault></expiresDefault>
</expires>
<contextList>
<context>
<type>cgi</type>
<uri>/cgi-bin/</uri>
<location>/usr/home/www/xxxxx/cgi-bin/</location>
<accessControl>
</accessControl>
<rewrite>
</rewrite>
</context>
</contextList>
<rewrite>
<rules></rules>
</rewrite>
<awstats>
<updateMode>2</updateMode>
<workingDir>/home/www/xxxxxx/html/xxxxx/stats</workingDir>
<awstatsURI>/xxxxx/stats/</awstatsURI>
<siteDomain>xxxxxxx</siteDomain>
<siteAliases>xxxxxxx</siteAliases>
<updateInterval>3600</updateInterval>
<updateOffset></updateOffset>
<securedConn>0</securedConn>
<realm></realm>
</awstats>
</virtualHostConfig>
My issue will be long to explain but I will try to put as much information as it is possible.
Here are my system :
CPU 3 Ghz (no HT no dual core) 32 bit
2G ram
@@ OS and Web Server @@
I'm running FreeBSD 6.1 with Litespeed 2.2.1 (the latest for FreeBSD)
@@ PHP @@
php -v
PHP 5.1.6 (cli) (built: Nov 2 2006 23:10:09)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
@@ MySQL @@
mysql Ver 14.12 Distrib 5.0.24a, for portbld-freebsd6.1 (i386) using 5.0
@@ Litespeed @@
I have the latest version for FreeBSD of enterprise litespeed 1 CPU lease 1 Year. Currently running on the temp license the time to receive my full license.
@@ LiteSpeed Config file @@
<?xml version="1.0" encoding="UTF-8"?>
<httpServerConfig>
<serverName>xxxx:80</serverName>
<user>www</user>
<group>www</group>
<priority>-5</priority>
<chrootPath>/</chrootPath>
<enableChroot>0</enableChroot>
<inMemBufSize>300M</inMemBufSize>
<swappingDir>/tmp/lshttpd/swap</swappingDir>
<autoRestart>1</autoRestart>
<autoFix503>1</autoFix503>
<mime>$SERVER_ROOT/conf/mime.properties</mime>
<showVersionNumber>0</showVersionNumber>
<adminEmails>xxxxxx</adminEmails>
<adminRoot>$SERVER_ROOT/admin/</adminRoot>
<logging>
<log>
<fileName>$SERVER_ROOT/logs/error.log</fileName>
<logLevel>DEBUG</logLevel>
<debugLevel>0</debugLevel>
<rollingSize>10M</rollingSize>
<enableStderrLog>1</enableStderrLog>
</log>
<accessLog>
<fileName>$SERVER_ROOT/logs/access.log</fileName>
<rollingSize>10M</rollingSize>
<keepDays>30</keepDays>
<compressArchive>0</compressArchive>
</accessLog>
</logging>
<indexFiles>index.html,index.html.var,index.php,index.php3,index.phps</indexFiles>
<htAccess>
<allowOverride>2</allowOverride>
<accessFileName>.htaccess</accessFileName>
</htAccess>
<expires>
<enableExpires>1</enableExpires>
<expiresDefault></expiresDefault>
<expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A604800</expiresByType>
</expires>
<tuning>
<maxConnections>1024</maxConnections>
<maxSSLConnections>200</maxSSLConnections>
<connTimeout>75</connTimeout>
<maxKeepAliveReq>1000</maxKeepAliveReq>
<smartKeepAlive>1</smartKeepAlive>
<keepAliveTimeout>5</keepAliveTimeout>
<sndBufSize>0</sndBufSize>
<rcvBufSize>0</rcvBufSize>
<eventDispatcher>kqueue</eventDispatcher>
<maxCachedFileSize>4096</maxCachedFileSize>
<totalInMemCacheSize>20M</totalInMemCacheSize>
<maxMMapFileSize>256K</maxMMapFileSize>
<totalMMapCacheSize>40M</totalMMapCacheSize>
<useSendfile>1</useSendfile>
<SSLCryptoDevice>null</SSLCryptoDevice>
<maxReqURLLen>4096</maxReqURLLen>
<maxReqHeaderSize>8192</maxReqHeaderSize>
<maxReqBodySize>10M</maxReqBodySize>
<maxDynRespHeaderSize>4K</maxDynRespHeaderSize>
<maxDynRespSize>1M</maxDynRespSize>
<enableGzipCompress>1</enableGzipCompress>
<enableDynGzipCompress>1</enableDynGzipCompress>
<gzipCompressLevel>5</gzipCompressLevel>
<compressibleTypes>text/html</compressibleTypes>
<gzipAutoUpdateStatic>1</gzipAutoUpdateStatic>
<gzipStaticCompressLevel>6</gzipStaticCompressLevel>
<gzipMaxFileSize>1M</gzipMaxFileSize>
<gzipMinFileSize>300</gzipMinFileSize>
</tuning>
<security>
<fileAccessControl>
<followSymbolLink>1</followSymbolLink>
<checkSymbolLink>0</checkSymbolLink>
<requiredPermissionMask>000</requiredPermissionMask>
<restrictedPermissionMask>000</restrictedPermissionMask>
</fileAccessControl>
<perClientConnLimit>
<staticReqPerSec>0</staticReqPerSec>
<dynReqPerSec>0</dynReqPerSec>
<outBandwidth>0</outBandwidth>
<inBandwidth>0</inBandwidth>
<softLimit>10</softLimit>
<hardLimit>1000</hardLimit>
<gracePeriod>15</gracePeriod>
<banPeriod>300</banPeriod>
</perClientConnLimit>
<CGIRLimit>
<maxCGIInstances>20</maxCGIInstances>
<minUID>11</minUID>
<minGID>10</minGID>
<priority>0</priority>
<CPUSoftLimit>10</CPUSoftLimit>
<CPUHardLimit>50</CPUHardLimit>
<memSoftLimit>60M</memSoftLimit>
<memHardLimit>70M</memHardLimit>
<procSoftLimit>400</procSoftLimit>
<procHardLimit>450</procHardLimit>
</CGIRLimit>
<accessDenyDir>
<dir>/</dir>
<dir>/etc/*</dir>
<dir>/dev/*</dir>
<dir>$SERVER_ROOT/conf/*</dir>
<dir>$SERVER_ROOT/admin/conf/*</dir>
</accessDenyDir>
<accessControl>
<allow>ALL</allow>
<deny></deny>
</accessControl>
</security>
<extProcessorList>
<extProcessor>
<type>lsapi</type>
<name>phpLsapi</name>
<address>uds://tmp/lshttpd/lsphp.sock</address>
<maxConns>20</maxConns>
<env>PHP_LSAPI_MAX_REQUESTS=500</env>
<initTimeout>60</initTimeout>
<retryTimeout>0</retryTimeout>
<respBuffer>0</respBuffer>
<autoStart>1</autoStart>
<path>$SERVER_ROOT/fcgi-bin/lsphp</path>
<backlog>100</backlog>
<instances>20</instances>
<priority>0</priority>
</extProcessor>
</extProcessorList>
<scriptHandlerList>
<scriptHandler>
<suffix>php,php3,php4,php5,phps</suffix>
<type>lsapi</type>
<handler>phpLsapi</handler>
</scriptHandler>
</scriptHandlerList>
<virtualHostList>
<virtualHost>
<name>ApacheMain</name>
<vhRoot>/usr/home/www/default/html/</vhRoot>
<configFile>$SERVER_ROOT/conf/ApacheMain.xml</configFile>
</virtualHost>
<virtualHost>
<name>xxxxxx</name>
<vhRoot>/usr/home/www/xxxxx/html/</vhRoot>
<configFile>$SERVER_ROOT/conf/xxxxxx.xml</configFile>
</virtualHost>
</virtualHostList>
<listenerList>
<listener>
<name>*:443</name>
<address>*:443</address>
<binding></binding>
<secure>1</secure>
<vhostMapList>
<vhostMap>
<vhost>www.example.com:443</vhost>
<domain>www.example.com:443, *</domain>
</vhostMap>
</vhostMapList>
<keyFile>/usr/local/etc/apache2/ssl.key/server.key</keyFile>
<certFile>/usr/local/etc/apache2/ssl.crt/server.crt</certFile>
<ciphers>ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL</ciphers>
</listener>
<listener>
<name>xxxxxx:80</name>
<address>xxxxxx:80</address>
<binding></binding>
<secure></secure>
<vhostMapList>
<vhostMap>
<vhost>xxxxxxxx</vhost>
<domain>xxxxxx, *</domain>
</vhostMap>
</vhostMapList>
<keyFile></keyFile>
<certFile></certFile>
<ciphers></ciphers>
</listener>
<listener>
<name>Default</name>
<address>*:80</address>
<binding></binding>
<secure>0</secure>
<vhostMapList>
<vhostMap>
<vhost>Example</vhost>
<domain>*</domain>
</vhostMap>
</vhostMapList>
<keyFile></keyFile>
<certFile></certFile>
<ciphers></ciphers>
</listener>
</listenerList>
</httpServerConfig>
@@ Vhost config file @@
<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
<docRoot>/usr/home/www/xxxxxx/html/</docRoot>
<enableGzip>1</enableGzip>
<adminEmails></adminEmails>
<logging>
<log>
<useServer>0</useServer>
<fileName>/usr/home/www/xxxxx/logs/error_log</fileName>
<logLevel>INFO</logLevel>
<rollingSize>20</rollingSize>
</log>
<accessLog>
<useServer>0</useServer>
<fileName>/home/www/xxxxxx/logs/access.log</fileName>
<pipedLogger></pipedLogger>
<logHeaders>7</logHeaders>
<rollingSize>20</rollingSize>
<keepDays>10</keepDays>
<bytesLog></bytesLog>
<compressArchive>1</compressArchive>
</accessLog>
</logging>
<expires>
<enableExpires></enableExpires>
<expiresDefault></expiresDefault>
</expires>
<contextList>
<context>
<type>cgi</type>
<uri>/cgi-bin/</uri>
<location>/usr/home/www/xxxxx/cgi-bin/</location>
<accessControl>
</accessControl>
<rewrite>
</rewrite>
</context>
</contextList>
<rewrite>
<rules></rules>
</rewrite>
<awstats>
<updateMode>2</updateMode>
<workingDir>/home/www/xxxxxx/html/xxxxx/stats</workingDir>
<awstatsURI>/xxxxx/stats/</awstatsURI>
<siteDomain>xxxxxxx</siteDomain>
<siteAliases>xxxxxxx</siteAliases>
<updateInterval>3600</updateInterval>
<updateOffset></updateOffset>
<securedConn>0</securedConn>
<realm></realm>
</awstats>
</virtualHostConfig>