XFileSharing Pro - tweeking mysql settings

Message
Author
stamos
Posts: 139
Joined: Nov 11, 2010 5:37 pm

tweeking mysql settings

#1 Postby stamos » Mar 09, 2012 12:13 pm

Any ideas how to optimize the mysql settings for better performance according to the xfilesharing pro script?
same for apache2....

any suggestions are appreciated.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#2 Postby okpa » Mar 10, 2012 12:41 am

try for apache

Code: Select all

Timeout 300
TraceEnable On
ServerSignature Off
ServerTokens ProductOnly
FileETag None
StartServers 5
<IfModule prefork.c>
MinSpareServers 10
MaxSpareServers 15
</IfModule>
ServerLimit 380
MaxClients 350
MaxRequestsPerChild 500
KeepAlive Off
KeepAliveTimeout 5
MaxKeepAliveRequests 100

RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
RewriteLock /usr/local/apache/logs/rewrite_lock