Hi Cansu,

I suspected the PHP was the problem because I was getting too many
warnings on the clients (the warnings were about images that was
supposed to be too small). [The logs on the server were disabled as
suggested]. When I check into the browser, the images were there and
was not that small.

Now everything is working fine and I am able to run the web server smoothly.


Leonardo


On Sat, Jun 2, 2012 at 1:58 PM, Cansu Kaynak <[email protected]> wrote:
> Hi Leonardo.
> You can check the PHP, Nginx and database error log files to find out if
> there are any problems related to their configurations (maximum number of
> connections allowed etc.), if you run into a similar problem again.
>
> --
> Cansu
>
>
>
>
> On Jun 2, 2012, at 12:20 AM, Leonardo Piga wrote:
>
> Hi guys, I figure out what the problem was. To increase the load I
> needed to twiki parameters such as in the $PHP_PATH/etc/php-fpm.conf.
>
> pm.max_children
> pm.start_servers
> pm.min_spare_servers
> pm.max_spare_servers
> pm.max_requests
>
> I mis-suspected the network because if I increased the number of
> clients I didn't see an increasing in the number of nic traffic. But
> twiking php-fpm.conf I was able to get 100% of CPU utilization.
>
> I hope this hint could help others.
>
> Leonardo
>
>
> On Thu, May 31, 2012 at 6:57 PM, Leonardo Piga <[email protected]>
> wrote:
>
> Thanks Cansu, I will try this.
>
>
> Other question, in the tutorial for Web Server it is written:
>
>
> "To saturate the web server you might need to increase the maximum
>
> number of connections. As a rough estimate, 700-1000 connections per
>
> core should be able to saturate the web server."
>
>
> What do you guys mean by saturate the web server? I ask because my
>
> network card is being saturated before the CPU. Is it possible to run
>
> the benchmark with more than one NIC?
>
>
> Currently I have the db server in one machine (tomcat+mysql), the
>
> frontend in another (nginx+php), and the clients running in other set
>
> of machines.
>
>
> Leonardo
>
>
>
> On Wed, May 30, 2012 at 6:35 PM, Cansu Kaynak <[email protected]> wrote:
>
> Hi Leonardo.
>
> Yes, you can start the workload running the following command on the client
>
> machine:
>
> $FABAN_HOME/bin/fabancli submit OlioDriver default run.xml
>
>
> You can use the run.xml file
>
> under apache-olio-php-src-0.2/workload/php/trunk/deploy/run.xml as the input
>
> template.
>
> You need to replace the default values in the file with the values of your
>
> choice, as you do using the faban  web interface.
>
>
> --
>
> Cansu
>
>
>
>
>
> On May 31, 2012, at 1:22 AM, Leonardo Piga wrote:
>
>
> Hi guys,
>
>
> Quick question, is it possible to start the Web Server workload using
>
> a script like other application such as Web-search?
>
>
>
> Leonardo
>
>
>
>

Reply via email to