Results 76 to 100 of 169
-
11-08-2005, 10:31 PM #76Junior Guru
- Join Date
- Jun 2004
- Posts
- 236
i just wanted to ask.. comparing maxchildperrequest 30 with 50, what is the main differences?
-
11-09-2005, 10:36 AM #77Newbie
- Join Date
- Oct 2005
- Location
- Ontario
- Posts
- 14
I am currently running a Dedicated server with a 2.4 Celeron Processor w/ 512 MB DDR and running Debian Sarge. I am running apache2, php 4.4, mysql 4, postfix and courier e-mail services. I am hosting just one website, which runs a heavily modified phpBB, and I am getting average Page Gen times of 0.0414 to 0.1472 with roughly 9 to 12 Queries, access time usually around this value 0.0039.
The following is a copy of my apache2.conf, which has been heavily modified
Code:ServerRoot "/etc/apache2" LockFile /var/lock/apache2/accept.lock PidFile /var/run/apache2.pid Timeout 60 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 UseCanonicalName Off HostnameLookups Off EnableSendfile On ServerTokens Prod StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 20 MaxRequestsPerChild 0 User www-data Group www-data LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent ErrorLog /var/log/apache2/error.log Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf Include /etc/apache2/httpd.conf Include /etc/apache2/ports.conf Include /etc/apache2/conf.d/[^.#]* DirectoryIndex index.php /error.php?mode=403 AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> TypesConfig /etc/mime.types DefaultType text/plain AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully Include /etc/apache2/sites-enabled/[^.#]*
include
mod-security
perl
php4
rewrite
userdir
I have eaccelerator installed, I prefer it over MMCache because it is kept up-to-date and is still in development.
Here is a copy of my my.cnf, which has been barely modified
Code:[client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = 0 [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp language = /usr/share/mysql/english skip-external-locking bind-address = 127.0.0.1 key_buffer = 16M max_allowed_packet = 16M thread_stack = 128K query_cache_limit = 1048576 query_cache_size = 16777216 query_cache_type = 1 log-bin = /var/log/mysql/mysql-bin.log max_binlog_size = 104857600 skip-bdb [mysqldump] quick quote-names max_allowed_packet = 16M [mysql] [isamchk] key_buffer = 16M
I was wondering if anyone is able to suggest any changes, especially to my.cnf, to help boost the performance.
-
11-18-2005, 02:05 AM #78Junior Guru Wannabe
- Join Date
- Nov 2005
- Posts
- 78
Originally Posted by IncognitoNetworks
-
11-20-2005, 01:43 AM #79Web Hosting Master
- Join Date
- Oct 2005
- Posts
- 1,317
tar zxvf tar zxvf mod_perl-1.0-current.tar.gz
tar zxvf mod_perl-1.0-current.tar.gz
-
11-26-2005, 02:14 AM #80Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by albano█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
11-27-2005, 07:21 PM #81Aspiring Evangelist
- Join Date
- Jun 2005
- Posts
- 367
Originally Posted by NicAddress
any suggestions? Thanks in advance.
-
12-10-2005, 03:04 AM #82Aspiring Evangelist
- Join Date
- Oct 2005
- Posts
- 397
Isn't this a lot?
MinSpareServers 5
MaxSpareServers 10
StartServers 5
What happens if I change this to:
MinSpareServers 2
MaxSpareServers 5
StartServers 2
How will my server perform? What exactly do the spare servers do?
-
12-12-2005, 02:22 AM #83Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by jalapeno55
http://httpd.apache.org/docs/2.0/mod...inspareservers
In most cases the MinSpareServers don't need to be tweaked that much.█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
12-27-2005, 08:04 PM #84Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Update: New optimization techniques dealing with per-site resource hogs will be updated into the main post shortly. The techniques should be particularly helpful for web hosts dealing with clients running poorly coded applications, or websites that receive mad rushes of download traffic. Check back soon!
█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
12-28-2005, 12:53 AM #85Junior Guru Wannabe
- Join Date
- Dec 2005
- Posts
- 49
Originally Posted by IncognitoNetworks
-
12-28-2005, 05:09 AM #86Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 2,203
Originally Posted by IncognitoNetworks
-
12-28-2005, 05:11 AM #87Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 2,203
Originally Posted by IncognitoNetworks
-
12-28-2005, 05:20 AM #88Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by ANewDay█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
12-28-2005, 05:21 AM #89Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by F430█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
12-28-2005, 06:57 AM #90Junior Guru Wannabe
- Join Date
- Oct 2003
- Posts
- 83
sweetness of a forum & helpful people like this. stick this please. my bookmark maybe lost when i need this again.
-
12-28-2005, 07:17 AM #91Newbie
- Join Date
- May 2005
- Posts
- 26
Originally Posted by F430
-
12-28-2005, 07:19 AM #92Disabled
- Join Date
- Dec 2004
- Posts
- 229
"mod_perl scripts always run under the user and group IDs of the httpd process. You can’t execute them with the privileges of another user or group using the suEXEC mechanism the way you can with standalone scripts."
Are you configuring apache to run all cgi scripts under mod_perl or using a different script alias? Having suexec working for scripts is a security setting that I wouldn't want to sacrifice, as php is the main language these days on web servers, is mod_perl really worth it for relaxed security?
-
12-28-2005, 09:54 PM #93Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by DigitalN
On a sidenote the referenced article can be found at:
http://www.samspublishing.com/articl...p?p=23010&rl=1█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
12-28-2005, 11:48 PM #94Disabled
- Join Date
- Dec 2004
- Posts
- 229
Originally Posted by IncognitoNetworks
Nice post and nicely put together, just short of a few 'why' and 'how's' imho.
-
12-29-2005, 04:29 AM #95Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by DigitalN█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
01-05-2006, 07:56 PM #96Junior Guru Wannabe
- Join Date
- Mar 2003
- Posts
- 84
does anyone knows anything like this post for FreeBSD servers?
-
01-06-2006, 03:26 AM #97Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by D4C█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
01-06-2006, 07:37 PM #98Junior Guru Wannabe
- Join Date
- Mar 2003
- Posts
- 84
Originally Posted by IncognitoNetworks
thanks
-
01-11-2006, 10:44 PM #99Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by D4C█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
01-20-2006, 03:22 AM #100Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by IncognitoNetworks
I just had this verified by a FreeBSD server admin, you should be able to use the tutorial just fine.█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.