Answer the question
In order to leave comments, you need to log in
Why is apache2 hanging?
It costs nginx/1.8.0 and httpd 2.2.15 on CentOS 6.7
mpm config is the following:
ServerLimit 500
StartServers 4
MinSpareServers 4
MaxSpareServers 8
MaxClients 500
KeepAlive On
KeepAliveTimeout 5
MaxRequestsPerChild 3000
ListenBacklog 512
vm.overcommit_ratio = 100
vm.overcommit_memory = 2
[pid 63565] <... restart_syscall resumed> ) = 0
[pid 63565] clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9421beeab0) = -1 ENOMEM (Cannot allocate memory)
[pid 63565] write (2, "[Thu Jan 28 12:58:31 2016] [erro"..., 96) = 96
[pid 63565] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 63565] rt_sigaction (SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
[pid 63565] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 63565] nanosleep({10, 0},
[pid 63565 ] <... nanosleep resumed> 0x7ffe6a49de20) = 0
[pid 63565] clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9421beeab0) = -1 ENOMEM (Cannot allocate memory)
[pid 63565] write(2, "[Thu Jan 28 12:58:41 2016] [erro"..., 96) = 96
[pid 63565] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 63565] rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
[pid 63565] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 63565] nanosleep({10, 0 },
Answer the question
In order to leave comments, you need to log in
Awesome tips..
Try installing Apache 2.4. By the way, is swap enabled in the system?
MaxClients 500
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question