Page 1 of 1

Configure full usage of ressources

Posted: Mon Jan 04, 2010 10:54 am
by bambajikaro
Hello

My website is hosted on Debian Linux on dedicated server. But I don't know how to became sure that my website uses full resources available. I mean by that : no limitations 'or higher value if it can be configured' in number of connections, database maximum size limit and many more. How to configure those features that can limit resources so I will be certain that my website uses all available resources ? I was searching for a while on the net but I didn't find any tutorial about configuring resources limitations that explain for example things like maximum number of sql connections and the like.

Thank you

Re: Configure full usage of ressources

Posted: Mon Jan 04, 2010 6:58 pm
by Christopher
Those settings are done in the configuration files for each server. Apache is httpd.conf, PHP is php.ini, MySQL is my.conf. Those files will be found either where the software is installed, or in the /etc directory.

Re: Configure full usage of ressources

Posted: Mon Jan 04, 2010 9:05 pm
by bambajikaro
Thank you, just for info on my Ubuntu I have directives as :
- /etc/mysql/my.cnf for Mysql
-/etc/apache2/apache2.conf for Apache
- /etc/php5/apache2/php.ini

There is lots of options I should be careful especially I don't have experience with this before. I will look for an example for each file.

Thank you again.

Re: Configure full usage of ressources

Posted: Mon Jan 04, 2010 11:57 pm
by Christopher
Search the web for each configuration file. There are extensive tutorials and documentation on all the settings. Especially tuning performance and resource usage.

Re: Configure full usage of ressources

Posted: Wed Jan 06, 2010 1:12 pm
by bambajikaro
Browsing mySQL doc I found The following note :
On Unix platforms, MySQL ignores configuration files that are world-writable. This is intentional as a security measure.
What does it mean ?

Thank you

Re: Configure full usage of ressources

Posted: Wed Jan 06, 2010 2:28 pm
by VladSun