Configure full usage of ressources

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
bambajikaro
Forum Newbie
Posts: 6
Joined: Mon Jan 04, 2010 10:46 am

Configure full usage of ressources

Post 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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Configure full usage of ressources

Post 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.
(#10850)
bambajikaro
Forum Newbie
Posts: 6
Joined: Mon Jan 04, 2010 10:46 am

Re: Configure full usage of ressources

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Configure full usage of ressources

Post 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.
(#10850)
bambajikaro
Forum Newbie
Posts: 6
Joined: Mon Jan 04, 2010 10:46 am

Re: Configure full usage of ressources

Post 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
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Configure full usage of ressources

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
Post Reply