Switched the openlitespeed and it seems like the PHP processes are not dying properly.
When I check top and the lsphp processes is just piling up to the Entry process limit.
Adjusted the max_execution_time to 10 seconds but the processes are still there.
For example,
Any idea?
When I check top and the lsphp processes is just piling up to the Entry process limit.
Adjusted the max_execution_time to 10 seconds but the processes are still there.
For example,
strace -p 2507378
strace: Process 2507378 attached
select(4, [3], NULL, NULL, {0, 540249}) = 0 (Timeout)
getppid() = 2387341
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f635dcd4000
read(5, "MemTotal: 8009576 kB\nMemF"..., 1024) = 1024
close(5) = 0
munmap(0x7f635dcd4000, 4096) = 0
select(4, [3], NULL, NULL, {1, 0}) = 0 (Timeout)
getppid() = 2387341
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f635dcd4000
read(5, "MemTotal: 8009576 kB\nMemF"..., 1024) = 1024
close(5) = 0
munmap(0x7f635dcd4000, 4096) = 0
select(4, [3], NULL, NULL, {1, 0}) = 0 (Timeout)
getppid() = 2387341
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f635dcd4000
read(5, "MemTotal: 8009576 kB\nMemF"..., 1024) = 1024
close(5) = 0
munmap(0x7f635dcd4000, 4096) = 0
select(4, [3], NULL, NULL, {1, 0}) = 0 (Timeout)
getppid() = 2387341
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f635dcd4000
read(5, "MemTotal: 8009576 kB\nMemF"..., 1024) = 1024
close(5) = 0
munmap(0x7f635dcd4000, 4096) = 0
select(4, [3], NULL, NULL, {1, 0}) = 0 (Timeout)
getppid() = 2387341
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f635dcd4000
read(5, "MemTotal: 8009576 kB\nMemF"..., 1024) = 1024
close(5) = 0
munmap(0x7f635dcd4000, 4096) = 0
select(4, [3], NULL, NULL, {1, 0}) = 0 (Timeout)
getppid() = 2387341
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f635dcd4000
read(5, "MemTotal: 8009576 kB\nMemF"..., 1024) = 1024
close(5) = 0
munmap(0x7f635dcd4000, 4096) = 0
select(4, [3], NULL, NULL, {1, 0}^Cstrace: Process 2507378 detached
<detached ...>
Any idea?
Last edited: