We notice that php-fpm crashes often, we tried to strace on child PIDs
========================================================================
lseek(26, 0, SEEK_CUR) = 0 <0.000009>
read(26, "#<IfModule mod_rewrite.c>\n#Rewri"..., 8192) = 1223 <0.000012>
read(26, "", 8192) = 0 <0.000010>
close(26) = 0 <0.000010>
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 <0.000011>
rt_sigaction(SIGPROF, {0x70d0a0, [PROF], SA_RESTORER|SA_RESTART, 0x32006302d0}, {0x70d0a0, [PROF], SA_RESTORER|SA_RESTART, 0x32006302d0}, 8) = 0 <0.000010>
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 <0.000010>
write(25, "\0\0\30\202\0\0\0\5start\0\t\0\0\r6\0\0\0\3php\0\0\0\0102."..., 6278) = 6278 <0.003570>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.099852>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.099936>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.100608>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.099222>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.100014>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.100200>
read(25, 0x1515bc0, 16383) = -1 EAGAIN (Resource temporarily unavailable) <0.099569>
=====================================================================================
this read system call executes multiple times and php scripts times out (after 30seconds)
Anyone know what does that mean?
Thanks
Vij