502错误的网关php7.0-fpm nginx在php脚本中休眠时-AB基准测试

时间:2018-11-29 16:42:14

标签: php ubuntu nginx

当我在不同服务器上的php脚本上测试apache基准测试时,发生

502错误。 max_children错误 在服务器

处运行ab
# Build the portion of the Graph calculating the losses. Note that we will
  # assemble the total_loss using a custom function below.
  _ = cifar10.loss(logits, labels)

  # Assemble all of the losses for the current tower only.
  losses = tf.get_collection('losses', scope)

  # Calculate the total loss for the current tower.
  total_loss = tf.add_n(losses, name='total_loss')

服务器B上的php文件(fun.php)

ab -kc 1000 -n 10000 http:// serverB.com/fun.php

我将nginx与php7.0 fpm一起使用

0 个答案:

没有答案