`
jiaoronggui
  • 浏览: 1332514 次
  • 性别: Icon_minigender_1
  • 来自: 合肥
博客专栏
B7c2eb31-a8ea-3973-a517-d00141f39b89
项目管理软件-redmin...
浏览量:116567
4a63e153-250f-30f6-a051-97cfc67cb3d3
IT职业规划
浏览量:199550
社区版块
存档分类
最新评论

apache,Process exiting because it reached MaxRequestsPerChild. Signaling the par

阅读更多

使用redmine之后,查看apache的日志发现大量的一下提示log

[Mon Apr 16 15:40:19 2012] [notice] Child 7584: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Mon Apr 16 15:40:19 2012] [notice] Parent: Received restart signal -- Restarting the server.

 

查了一下原因:

 

apache在windows下使用mpm模块,这个模块有2个参数,其中一个

  MaxRequestsPerChild

  该参数表示每个子进程能够处理的最大请求数, 即同时间内子进程数目.设置为零表示不限制, mpm_winnt上的默认值就是0.

  官方参考手册中不建议设置为0, 主要基于两点考虑: (1) 可以防止(偶然的)内存泄漏无限进行,从而耗尽内存; (2) 给进程一个有限寿命,从而有助于当服务器负载减轻的时候减少活动进程的数量。

  因此这个参数的值更大程度上取决于服务器的内存,如果内存比较大的话可以设置为0或很大的数字,否则设置一个小的数值。需要说明的是,如果这个值设置的太小的话会造成Apache频繁重启,在日志文件中会看到如下的文字:

  Process exiting because it reached MaxRequestsPerChild. Signaling the parent

 

目前修改了此参数,观察是否有后续问题

0
1
分享到:
评论

相关推荐

    SpringMVC文件上传

    11:01:33,545 DEBUG ThreadPoolAsynchronousRunner:730 - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@5b28c08e -- Running DeadlockDetector[Exiting. No pending tasks.] 11:01:43,558 ...

    ambari报错解决

    报错1: Using python /usr/bin/python ...REASON: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property server.jdbc.driver.path=[path/to/c

    Apache Geronimo 2.1_ Quick Reference.pdf

    Accessing the sample app through Apache web server 315 Running multiple server instances from a single installation 315 Clustered Helloworld-cluster application 317 Updating workers.properties 317...

    kafka-definitive-guide pdf

    we used when explaining pause() functionality), you will want to process the events you accumulated before losing ownership of the partition. Perhaps you also need to close file handles, database ...

    Hello Android.rar

    3.11 Exiting the Game..... . . 71 3.12 Fast-Forward >>.....71 4 Exploring 2D Graphics 73 4.1 Learning the Basics..... . 73 4.2 Adding Graphics to Sudoku.... 78 4.3 Handling Input.....87 4.4 The ...

    数位板压力测试

    The availability of drivers that support the features of the specification will simplify the process of developing Windows appli¬cation programs that in-corporate absolute coordinate input, and ...

    基于android平台的大象挪盒子游戏设计与开发-毕设论文.doc

    It mainly consists of four functional modules: starting the game, sound control, game instructions, and exiting the game. Games, as a form of entertainment suitable for all ages, not only provide ...

    基于android平台的大象挪盒子游戏设计与开发-毕业论文.doc

    It mainly consists of four functional modules: starting the game, sound toggle, game instructions, and exiting the game. Games not only serve as leisure activities for all ages but also contribute to...

    xampp中apache在windows7下无法启动的解决方法

    - `[crit] (22)Invalid argument: Parent: Failed to create the child process.` 这意味着父进程(Apache主进程)在尝试创建子进程(工作进程)时遇到了无效参数错误。 - `[crit] (OS 6)句柄无效。 : master_main: ...

    pending-tasks:Node.js定时任务管理器

    待处理任务唯一标识的setTimeout管理器为什么? 您知道当满足最少玩家人数时开始倒数的那些游戏吗? 是的,这就是为什么要建造它的原因。 对于这样的事情很有好处。 您可以在一个地方管理任务,并根据需要添加或删除...

    Emacs25.2使用手册

    3 Entering and Exiting Emacs ............................ 14 4 Basic Editing Commands .............................. 16 5 The Minibuffer ....................................... 26 6 Running Commands ...

    VclZip pro v3.10.1

    PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS. ==================== Version 3.10 Build 1 - Several bug fixes. - ...

    嵌入式虚拟机CarpVM.zip

    POP (val): Pops an integer from the stack and dumps it into GBG. CMP (): Pops the top two integers from the stack and checks if equal. 0 means equal. Result will be pushed onto the stack. MOV (rega...

    曲线拟合工具CurveExpert 1.0

    ct. 18, 1995 v. 1.00 =========================================================================== + First release of ... + The user was still asked whether to save a file or not upon exiting, even if ...

    python3.6.5参考手册 chm

    Changes to the Development Process New Issue Tracker: Roundup New Documentation Format: reStructuredText Using Sphinx PEP 343: The ‘with’ statement Writing Context Managers The contextlib module ...

    BURNINTEST--硬件检测工具

    will need to be sent to Microsoft as per the normal process. However, a log entry will be added to the normal BurnInTest log. - Changes to trace logging to reduce activity when trace logging is not...

    xampp apache启动失效问题的解决方法

    从而导致xampp启动apache的时候报错: [Thu Oct 22 08:56:27 2009] [error] Can’t load Perl file: C:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting… 有2种解决方法: 1、重新配置好perl...

    开源API调试工具:hoppscotch

    主要语言:Vue 项目分类:[资源库] [工具] 项目标签:[API调试工具] 推荐理由:一款基于Node.js的免费、便捷美观的API调试工具。作为调试接口的利器,Hoppscotch通过直观的用户界面和强大的功能,提高了开发效率。...

    9217_8i刷IT.zip

    "刷IT"是指将控制器的固件从默认的"IR"模式升级到"I/T"模式,这是一种常见的优化操作,可以为用户带来不同的功能和性能优势。 首先,我们要理解"IR"和"I/T"这两种模式的区别。"IR"代表"Integrated RAID",即集成...

    sched-deadline.rar_The Test

    Test that if we overflow the counter while in the EBB handler, we take another EBB on exiting the handler.

Global site tag (gtag.js) - Google Analytics