Page 1 of 1

increasing performance for apache/php drupal setup

Posted: 02 Aug 2011, 12:07
by HnLn
Hi there,

loving my b3 so far but I'm also using it as a local dev box for drupal development. I stripped down the b3 as described in http://wiki.excito.org/wiki/index.php/R ... stallation and applied the tweaks described in http://wiki.excito.org/wiki/index.php/T ... erformance. After that I installed all the packages for web dev (apache, php, mysql, mysqladmin, samba, ...).

As a file server it works great but when running my drupal 7 site reaction time is really slow and sometimes WSOD. So questions is if there are any other known tweaks that could make my web setup faster ?

Tnx,

HnLn

Re: increasing performance for apache/php drupal setup

Posted: 03 Aug 2011, 06:03
by HnLn
When running top I noticed it's mainly apache using about 100% CPU (mysqld and RAM seem to be fine). Any suggestions on tweaking apache ?

Re: increasing performance for apache/php drupal setup

Posted: 04 Aug 2011, 13:24
by Ubi
This is not an easy thing. I have drupal sites that bring down an 8-core Xeon machine to a screeching halt. First thing to do is run top and see if you're waiting for CPU or disk (iowait). If it's the latter, switching to a SSD will help.

In the short run, turning off the Drupal logging module helps a lot. ALso remove other modules that you do not need.

Re: increasing performance for apache/php drupal setup

Posted: 04 Aug 2011, 15:43
by HnLn
bummer, since it's for local dev I need the logging on and I need the dev module, featues, ... it's a heavy drupal beast :-). Was hoping there was some tweaking I could do to apache, since I'm the only user accessing the site. Everything works though, but very slow (and php max execution time had to be increased of course).

Tnx for the reply though :-).

HnLN