Play framework 2.5新建工程执行日志

[info]
[info] --- (Running the application, auto-reloading is enabled) ---
[info]
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
[info]
[info] (Server started, use Ctrl+D to stop and go back to the console...)
[info]
[info] Stopping Play fork run ...
[info] Forked Play process did not exit on its own, terminating it
[success] Total time: 76027 s, completed 2016-4-1 21:07:43

E:\development\top>activator new bf play-java
ACTIVATOR_HOME=E:\development\Tools\typesafe-activator-1.3.9\activator-dist-1.3.
9

Fetching the latest list of templates...

OK, application "bf" is being created using the "play-java" template.

To run "bf" from the command line, "cd bf" then:
E:\development\top\bf/activator run

To run the test for "bf" from the command line, "cd bf" then:
E:\development\top\bf/activator test

To run the Activator UI for "bf" from the command line, "cd bf" then:
E:\development\top\bf/activator ui

E:\development\top>cd bf

E:\development\top\bf>activator
ACTIVATOR_HOME=E:\development\Tools\typesafe-activator-1.3.9\activator-dist-1.3.
9
Getting org.scala-sbt sbt 0.13.11 ...
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/sbt/0.13.11/jars/sbt.jar ...
        [SUCCESSFUL ] org.scala-sbt#sbt;0.13.11!sbt.jar (22ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-lang/scala-library/2.10.6/jars/scala-library.jar
...
        [SUCCESSFUL ] org.scala-lang#scala-library;2.10.6!scala-library.jar (242
ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/main/0.13.11/jars/main.jar ...
        [SUCCESSFUL ] org.scala-sbt#main;0.13.11!main.jar (110ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/compiler-interface/0.13.11/jars/compiler-inte
rface.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-interface;0.13.11!compiler-interfac
e.jar (39ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/actions/0.13.11/jars/actions.jar ...
        [SUCCESSFUL ] org.scala-sbt#actions;0.13.11!actions.jar (41ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/main-settings/0.13.11/jars/main-settings.jar
...
        [SUCCESSFUL ] org.scala-sbt#main-settings;0.13.11!main-settings.jar (46m
s)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/interface/0.13.11/jars/interface.jar ...
        [SUCCESSFUL ] org.scala-sbt#interface;0.13.11!interface.jar (25ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/io/0.13.11/jars/io.jar ...
        [SUCCESSFUL ] org.scala-sbt#io;0.13.11!io.jar (37ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/ivy/0.13.11/jars/ivy.jar ...
        [SUCCESSFUL ] org.scala-sbt#ivy;0.13.11!ivy.jar (72ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/logging/0.13.11/jars/logging.jar ...
        [SUCCESSFUL ] org.scala-sbt#logging;0.13.11!logging.jar (31ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/logic/0.13.11/jars/logic.jar ...
        [SUCCESSFUL ] org.scala-sbt#logic;0.13.11!logic.jar (18ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/process/0.13.11/jars/process.jar ...
        [SUCCESSFUL ] org.scala-sbt#process;0.13.11!process.jar (22ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/run/0.13.11/jars/run.jar ...
        [SUCCESSFUL ] org.scala-sbt#run;0.13.11!run.jar (31ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/command/0.13.11/jars/command.jar ...
        [SUCCESSFUL ] org.scala-sbt#command;0.13.11!command.jar (37ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/classpath/0.13.11/jars/classpath.jar ...
        [SUCCESSFUL ] org.scala-sbt#classpath;0.13.11!classpath.jar (38ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/completion/0.13.11/jars/completion.jar ...
        [SUCCESSFUL ] org.scala-sbt#completion;0.13.11!completion.jar (41ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/api/0.13.11/jars/api.jar ...
        [SUCCESSFUL ] org.scala-sbt#api;0.13.11!api.jar (28ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/compiler-integration/0.13.11/jars/compiler-in
tegration.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-integration;0.13.11!compiler-integr
ation.jar (22ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/compiler-ivy-integration/0.13.11/jars/compile
r-ivy-integration.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-ivy-integration;0.13.11!compiler-iv
y-integration.jar (33ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/relation/0.13.11/jars/relation.jar ...
        [SUCCESSFUL ] org.scala-sbt#relation;0.13.11!relation.jar (17ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/task-system/0.13.11/jars/task-system.jar ...
        [SUCCESSFUL ] org.scala-sbt#task-system;0.13.11!task-system.jar (22ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/tasks/0.13.11/jars/tasks.jar ...
        [SUCCESSFUL ] org.scala-sbt#tasks;0.13.11!tasks.jar (21ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/tracking/0.13.11/jars/tracking.jar ...
        [SUCCESSFUL ] org.scala-sbt#tracking;0.13.11!tracking.jar (64ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/testing/0.13.11/jars/testing.jar ...
        [SUCCESSFUL ] org.scala-sbt#testing;0.13.11!testing.jar (20ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-lang/scala-compiler/2.10.6/jars/scala-compiler.ja
r ...
        [SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.6!scala-compiler.jar (4
28ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-lang/scala-reflect/2.10.6/jars/scala-reflect.jar
...
        [SUCCESSFUL ] org.scala-lang#scala-reflect;2.10.6!scala-reflect.jar (122
ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/control/0.13.11/jars/control.jar ...
        [SUCCESSFUL ] org.scala-sbt#control;0.13.11!control.jar (16ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/collections/0.13.11/jars/collections.jar ...
        [SUCCESSFUL ] org.scala-sbt#collections;0.13.11!collections.jar (81ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/classfile/0.13.11/jars/classfile.jar ...
        [SUCCESSFUL ] org.scala-sbt#classfile;0.13.11!classfile.jar (33ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/incremental-compiler/0.13.11/jars/incremental
-compiler.jar ...
        [SUCCESSFUL ] org.scala-sbt#incremental-compiler;0.13.11!incremental-com
piler.jar (34ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/compile/0.13.11/jars/compile.jar ...
        [SUCCESSFUL ] org.scala-sbt#compile;0.13.11!compile.jar (35ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/persist/0.13.11/jars/persist.jar ...
        [SUCCESSFUL ] org.scala-sbt#persist;0.13.11!persist.jar (28ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/cross/0.13.11/jars/cross.jar ...
        [SUCCESSFUL ] org.scala-sbt#cross;0.13.11!cross.jar (25ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt.ivy/ivy/2.3.0-sbt-2cc8d2761242b072cedb0a04cb3
9435c4fa24f9a/jars/ivy.jar ...
        [SUCCESSFUL ] org.scala-sbt.ivy#ivy;2.3.0-sbt-2cc8d2761242b072cedb0a04cb
39435c4fa24f9a!ivy.jar (96ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/serialization_2.10/0.1.2/jars/serialization_2
.10.jar ...
        [SUCCESSFUL ] org.scala-sbt#serialization_2.10;0.1.2!serialization_2.10.
jar (40ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-lang.modules/scala-pickling_2.10/0.10.1/jars/scal
a-pickling_2.10.jar ...
        [SUCCESSFUL ] org.scala-lang.modules#scala-pickling_2.10;0.10.1!scala-pi
ckling_2.10.jar (41ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/cache/0.13.11/jars/cache.jar ...
        [SUCCESSFUL ] org.scala-sbt#cache;0.13.11!cache.jar (29ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/test-agent/0.13.11/jars/test-agent.jar ...
        [SUCCESSFUL ] org.scala-sbt#test-agent;0.13.11!test-agent.jar (20ms)
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-sbt/apply-macro/0.13.11/jars/apply-macro.jar ...
        [SUCCESSFUL ] org.scala-sbt#apply-macro;0.13.11!apply-macro.jar (28ms)
:: retrieving :: org.scala-sbt#boot-app
        confs: [default]
        49 artifacts copied, 0 already retrieved (17330kB/357ms)
Getting Scala 2.10.6 (for sbt)...
downloading file://////E:/development/Tools/typesafe-activator-1.3.9/activator-d
ist-1.3.9/repository/org.scala-lang/jline/2.10.6/jars/jline.jar ...
        [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (247ms)
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        5 artifacts copied, 0 already retrieved (24494kB/114ms)
[info] Loading project definition from E:\development\top\bf\project
[info] Updating {file:/E:/development/top/bf/project/}bf-build...
[info] Resolving com.typesafe.akka#akka-persistence-experimental_2.10;2.3.11 ...
[info] Resolving com.fasterxml.jackson.datatype#jackson-datatype-jsr310;2.5.4 ..
[info] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.5.1/jars/sbt-plugin.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#sbt-plugin;2.5.1!sbt-plugin.jar (10662ms
)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.sbt/sbt-jshint/scala_2.10/sbt_0.13/1.0.3/jars/sbt-jshint.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-jshint;1.0.3!sbt-jshint.jar (6287ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.sbt/sbt-rjs/scala_2.10/sbt_0.13/1.0.7/jars/sbt-rjs.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-rjs;1.0.7!sbt-rjs.jar (6612ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.sbt/sbt-digest/scala_2.10/sbt_0.13/1.1.0/jars/sbt-digest.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-digest;1.1.0!sbt-digest.jar (6205ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.sbt/sbt-mocha/scala_2.10/sbt_0.13/1.1.0/jars/sbt-mocha.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-mocha;1.1.0!sbt-mocha.jar (8300ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.i
rundaia.sbt/sbt-sassify/scala_2.10/sbt_0.13/1.4.2/jars/sbt-sassify.jar ...
[info]  [SUCCESSFUL ] org.irundaia.sbt#sbt-sassify;1.4.2!sbt-sassify.jar (10323m
s)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/sbt-routes-c
ompiler_2.10/2.5.1/sbt-routes-compiler_2.10-2.5.1.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#sbt-routes-compiler_2.10;2.5.1!sbt-route
s-compiler_2.10.jar (4118ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/sbt-run-supp
ort_2.10/2.5.1/sbt-run-support_2.10-2.5.1.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#sbt-run-support_2.10;2.5.1!sbt-run-suppo
rt_2.10.jar (1857ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.sbt/sbt-native-packager/scala_2.10/sbt_0.13/1.0.3/jars/sbt-native-packag
er.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-native-packager;1.0.3!sbt-native-pack
ager.jar (8998ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.t
ypesafe.sbt/sbt-web/scala_2.10/sbt_0.13/1.3.0/jars/sbt-web.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-web;1.3.0!sbt-web.jar (8083ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/build-link/2
.5.1/build-link-2.5.1.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#build-link;2.5.1!build-link.jar (3310ms)

[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/play-excepti
ons/2.5.1/play-exceptions-2.5.1.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#play-exceptions;2.5.1!play-exceptions.ja
r (1167ms)
[info] downloading https://repo1.maven.org/maven2/com/google/code/findbugs/jsr30
5/1.3.9/jsr305-1.3.9.jar ...
[info]  [SUCCESSFUL ] com.google.code.findbugs#jsr305;1.3.9!jsr305.jar (3244ms)
[info] downloading https://repo1.maven.org/maven2/com/google/guava/guava/12.0/gu
ava-12.0.jar ...
[info]  [SUCCESSFUL ] com.google.guava#guava;12.0!guava.jar (12322ms)
[info] downloading https://repo1.maven.org/maven2/org/webjars/jshint-node/2.4.3/
jshint-node-2.4.3.jar ...
[info]  [SUCCESSFUL ] org.webjars#jshint-node;2.4.3!jshint-node.jar (3013ms)
[info] downloading https://repo1.maven.org/maven2/org/webjars/strip-json-comment
s/1.0.2-1/strip-json-comments-1.0.2-1.jar ...
[info]  [SUCCESSFUL ] org.webjars#strip-json-comments;1.0.2-1!strip-json-comment
s.jar (2857ms)
[info] downloading https://repo1.maven.org/maven2/org/webjars/rjs/2.1.15/rjs-2.1
.15.jar ...
[info]  [SUCCESSFUL ] org.webjars#rjs;2.1.15!rjs.jar (8282ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/play-json_2.
10/2.4.4/play-json_2.10-2.4.4.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#play-json_2.10;2.4.4!play-json_2.10.jar
(6995ms)
[info] downloading https://repo1.maven.org/maven2/com/nativelibs4java/jnaerator-
runtime/0.12/jnaerator-runtime-0.12.jar ...
[info]  [SUCCESSFUL ] com.nativelibs4java#jnaerator-runtime;0.12!jnaerator-runti
me.jar (1804ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/play-iterate
es_2.10/2.4.4/play-iteratees_2.10-2.4.4.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#play-iteratees_2.10;2.4.4!play-iteratees
_2.10.jar (22491ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/play-functio
nal_2.10/2.4.4/play-functional_2.10-2.4.4.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#play-functional_2.10;2.4.4!play-function
al_2.10.jar (3275ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/play/play-datacom
mons_2.10/2.4.4/play-datacommons_2.10-2.4.4.jar ...
[info]  [SUCCESSFUL ] com.typesafe.play#play-datacommons_2.10;2.4.4!play-datacom
mons_2.10.jar (2092ms)
[info] downloading https://repo1.maven.org/maven2/com/nativelibs4java/ochafik-ut
il/0.12/ochafik-util-0.12.jar ...
[info]  [SUCCESSFUL ] com.nativelibs4java#ochafik-util;0.12!ochafik-util.jar (20
35ms)
[info] downloading https://repo1.maven.org/maven2/net/java/dev/jna/jna/4.1.0/jna
-4.1.0.jar ...
[info]  [SUCCESSFUL ] net.java.dev.jna#jna;4.1.0!jna.jar (9577ms)
[info] Done updating.
[info] Set current project to bf (in build file:/E:/development/top/bf/)
时间: 2024-10-16 17:04:36

Play framework 2.5新建工程执行日志的相关文章

关于EF输出sql的执行日志

sqlserver中可以使用sql profiler:但是mysql当中无法查看:只能借助于组件: ADO.NET Entity Framework CodeFirst 如何输出日志(EF4.3) 用的EFProviderWrappers ,这个组件好久没有更新了,对于SQL执行日志的解决方案的需求是杠杠的,今天给大家介绍一个更好的组件Clutch.Diagnostics.EntityFramework,可以通过Nuget 获取: 这个框架定义了一个接口 IDbTracingListener:

LNMP_PHP慢执行日志

PHP慢执行日志slowlog = /usr/local/php-fpm/var/log/slow.logrequest_slowlog_timeout = 1 vim   /usr/local/php/etc/php-fpm.conf /usr/local/nginx_php/sbin/php-fpm -t 定义open_basedir /usr/local/nginx_php/sbin/php-fpm -t 动态.静态子进程pm = static/dynamic如果选择static,则由pm

工作执行日志编写

1 /// <summary> 2 /// 路径 3 /// </summary> 4 static string log = Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, string.Format("DMS_{0}.log", DateTime.Today.ToString("yyyy-MM-dd"))); 5 //异常记录 6 #region

在程序中使用命令打开一个进程和记录该进程执行日志

//在需要的程序中调用ExcutedCmd函数来打开执行dos命令 //cmd 命令  args 命令参数 private static void ExcutedCmd(string cmd, string args) { using (Process p = new Process()) { ProcessStartInfo psi = new ProcessStartInfo(cmd, args); psi.CreateNoWindow = true; psi.UseShellExecute

linux下打开、关闭tomcat,实时查看tomcat执行日志

?? 启动:通常是运行sh tomcat/bin/startup.sh 停止:通常是运行sh tomcat/bin/shutdown.sh脚本命令 查看:运行ps -ef |grep tomcat 输出例如以下 *** 5144   .. .等等.Bootstrap start 说明tomcat已经正常启动. 5144 就为进程号 pid = 5144 杀死:kill -9 5144 ------------------------linux下实时查看tomcat执行日志------------

.Net写txt文件-简单的记录执行日志信息代码

在执行一些批量操作时,想记录一些执行日志信息,越简单方便越好啊.提供一个常用的简单方法,将信息记录在txt文件里: public static void log(string content, string path) { string strFileName = path; //判断是否存在 if (File.Exists(strFileName)) { //存在 StreamWriter wlog; wlog = File.AppendText(strFileName); wlog.Writ

php-fpm的pool、慢执行日志、进程管理、open_basedir

php-fpm的pool 为了避免因多站点使用同一个pool时因一个站点故障导致pool出问题,进而影响使用同一个pool的其他站点的正常运行,要对每个站点配置一个单独的pool. 为php-fpm增加pool 编辑php-fpm配置文件:......[huang.com]listen = /tmp/huang.socklisten.mode = 666user = php-fpmgroup = php-fpmpm = dynamicpm.max_children = 50pm.start_se

LNMP(php-fpm的pool,慢执行日志,定义open_bashdir,php-fpm进程管理

一.php-fpm的pool(连接池) 我们查看php的进程时,会发现,在最后一个pool的选项,而这个就是我们在php-fpm配置文件里写的一个连接池. [[email protected] ~]# ps aux | grep php-fpm root      2158  0.0  0.4 227148  4952 ?        Ss   15:57   0:00 php-fpm: master process (/usr/local/php-fpm/etc/php-fpm.conf)

12.21 php-fpm的pool;12.22 php-fpm慢执行日志;12.23 ;12.24

12.21 php-fpm的pool 1.添加pool: [[email protected] ~]# vim /usr/local/php-fpm/etc/php-fpm.conf 添加第二个pool: [hao1.com] listen = /tmp/hao1.sock listen.mode = 666 user = php-fpm group = php-fpm pm = dynamic pm.max_children = 50 pm.start_servers = 20 pm.min_