Spying on Apache and PHP with Strace
Loading...
3,301
Loading...
Uploader Comments (elspuddo)
see all
All Comments (14)
-
Great and informative video, many thanks for your effort!
-
Simply awesome video!
I wonder if its possible to use STRACE to see if a process is trying to delete files/folders...
-
What flavor is that? Looks like an awesome setup.
-
very thorough and "extreme" web debugging. Might come in handy one day.
-
video is very informative. please turn your volume up though :)
-
I'll have to apply this to Apache and Perl now. Good job on the video and thanks.
Loading...
at 13:47 how did you suddenly get from that php code to the read/write result? How would you know which result too look for once you found the php line?
brusdaar 5 months ago
@brusdaar This is a big 4k string of text, and the beginning of the line didn't show up on the screen at 13:47. A little later at 14:00 I move up a bit and you can see the beginning of that line (one line down from the cursor) which begins with "read(11,\1...." . At 14:00 can you see the read, but not the smoking gun (the embedded PHP sleep) although it is there. The PHP code came from a mysql write/read (query/response) action, but it wasn't clear because you couldn't see the whole line.
elspuddo 4 months ago
Did you bump up the Apache timeouts? IIRC you dont typically get that long to look for it.
iamfaze 8 months ago
@iamfaze I didn't mess with the apache timeouts, I think they were default for CentOS. You're right though, it seems the timeouts are often much tighter than that.
elspuddo 4 months ago