Hi folks,
i have a strange problem with some PHP webapp running under apache here:
The primary script uses PHP's cUrl library to perform another HTTP request to localhost, thus 2 instances of httpd are involved:
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
5 48 4614 3990 16 0 40144 18560 flock_ S ? 0:00 /usr/sbin/httpd
5 48 4615 3990 15 0 42060 21140 - S ? 0:00 /usr/sbin/httpd
However, the secondary apache process (4614 in this case) "flock_" s on some resource and then terminates after an hour or so.
My logfiles give no indication on what resource the process blocks, so is there a straightforward way to find out?
I already tried "lsof -p 4614" which obviously shows some open files, but none of them with a lock...
Any help or pointers welcome
Cheers
Andreas