Skip to content

Instantly share code, notes, and snippets.

@WPsites
Created August 27, 2012 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WPsites/3490094 to your computer and use it in GitHub Desktop.
Save WPsites/3490094 to your computer and use it in GitHub Desktop.
Apache + APC opcode cache : subsequent request for a hard linked PHP file (it's coming from the opcode cache)
accept(3, {sa_family=AF_INET, sin_port=htons(44590), sin_addr=inet_addr("10.176.133.135")}, [16]) = 15
fcntl(15, F_GETFD) = 0
fcntl(15, F_SETFD, FD_CLOEXEC) = 0
gettimeofday({1345995128, 111295}, NULL) = 0
fcntl(15, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1345995128, 111533}, NULL) = 0
gettimeofday({1345995128, 111612}, NULL) = 0
gettimeofday({1345995128, 111682}, NULL) = 0
read(15, "GET /simon-hard.php HTTP/1.0\r\nX-"..., 8000) = 1373
gettimeofday({1345995128, 111864}, NULL) = 0
gettimeofday({1345995128, 111941}, NULL) = 0
gettimeofday({1345995128, 112011}, NULL) = 0
gettimeofday({1345995128, 112082}, NULL) = 0
gettimeofday({1345995128, 112152}, NULL) = 0
gettimeofday({1345995128, 112224}, NULL) = 0
gettimeofday({1345995128, 112294}, NULL) = 0
gettimeofday({1345995128, 112365}, NULL) = 0
gettimeofday({1345995128, 112435}, NULL) = 0
gettimeofday({1345995128, 112506}, NULL) = 0
gettimeofday({1345995128, 112578}, NULL) = 0
gettimeofday({1345995128, 112650}, NULL) = 0
gettimeofday({1345995128, 112719}, NULL) = 0
gettimeofday({1345995128, 112791}, NULL) = 0
gettimeofday({1345995128, 112860}, NULL) = 0
gettimeofday({1345995128, 112932}, NULL) = 0
gettimeofday({1345995128, 113001}, NULL) = 0
gettimeofday({1345995128, 113074}, NULL) = 0
gettimeofday({1345995128, 113142}, NULL) = 0
gettimeofday({1345995128, 113215}, NULL) = 0
gettimeofday({1345995128, 113283}, NULL) = 0
gettimeofday({1345995128, 113356}, NULL) = 0
gettimeofday({1345995128, 113424}, NULL) = 0
gettimeofday({1345995128, 113497}, NULL) = 0
gettimeofday({1345995128, 113565}, NULL) = 0
gettimeofday({1345995128, 113638}, NULL) = 0
gettimeofday({1345995128, 113707}, NULL) = 0
socket(PF_NETLINK, SOCK_RAW, 0) = 16
bind(16, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(16, {sa_family=AF_NETLINK, pid=30546, groups=00000000}, [12]) = 0
gettimeofday({1345995128, 114033}, NULL) = 0
sendto(16, "\24\0\0\0\26\0\1\3xA:P\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(16, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0xA:PRw\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 228
recvmsg(16, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0xA:PRw\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 256
recvmsg(16, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0xA:PRw\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(16) = 0
gettimeofday({1345995128, 114688}, NULL) = 0
gettimeofday({1345995128, 114760}, NULL) = 0
stat("/var/www/sites/website.co.uk/website.co.uk/subdomains/www2/html/simon-hard.php", {st_mode=S_IFREG|0644, st_size=61, ...}) = 0
open("/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/sites/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/sites/website.co.uk/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/sites/website.co.uk/website.co.uk/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/sites/website.co.uk/website.co.uk/subdomains/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/sites/website.co.uk/website.co.uk/subdomains/www2/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/var/www/sites/website.co.uk/website.co.uk/subdomains/www2/html/.htaccess", O_RDONLY|O_CLOEXEC) = 16
fcntl(16, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fcntl(16, F_SETFD, FD_CLOEXEC) = 0
fstat(16, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0
read(16, "RewriteEngine On\nRewriteBase /\nR"..., 4096) = 265
read(16, "", 4096) = 0
close(16) = 0
open("/var/www/sites/website.co.uk/website.co.uk/subdomains/www2/html/simon-hard.php/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOTDIR (Not a directory)
stat("/var/www/sites/website.co.uk/website.co.uk/subdomains/www2/html/simon-hard.php", {st_mode=S_IFREG|0644, st_size=61, ...}) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={64, 0}}, NULL) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x7f48e7d520d0, [PROF], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {0x7f48e7d520d0, [PROF], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
umask(077) = 022
umask(022) = 077
getcwd("/", 4095) = 2
chdir("/var/www/sites/website.co.uk/website.co.uk/subdomains/www2/html") = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={64, 0}}, NULL) = 0
chdir("/") = 0
umask(022) = 022
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
open("/dev/urandom", O_RDONLY) = 16
read(16, "b\2[\243\222P]W", 8) = 8
close(16) = 0
open("/dev/urandom", O_RDONLY) = 16
read(16, "~\320\233\26\345\265\262\351", 8) = 8
close(16) = 0
open("/dev/urandom", O_RDONLY) = 16
read(16, "\0\201\272$\6\214n\212", 8) = 8
close(16) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
writev(15, [{"HTTP/1.1 200 OK\r\nDate: Sun, 26 A"..., 235}, {"\37\213\10\0\0\0\0\0\0\3", 10}, {"+\311\310,VHKM\315Q\0\3229\371\311\211%\251)\n\371y\n\345\345\345\372\31%\2719\372"..., 43}, {"\325i\f\260+\0\0\0", 8}], 4) = 296
gettimeofday({1345995128, 121343}, NULL) = 0
write(8, "www.website.co.uk:80 87.114"..., 237) = 237
write(9, "www.website.co.uk:80 87.114"..., 237) = 237
gettimeofday({1345995128, 121656}, NULL) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
poll([{fd=13, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(13, "w\1\0\0\3insert into kidsheehappy_c"..., 379) = 379
read(13, "\7\0\0\1\0\1\0\2\0\1\0", 16384) = 11
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
gettimeofday({1345995128, 122681}, NULL) = 0
gettimeofday({1345995128, 122748}, NULL) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
poll([{fd=13, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(13, "\212\0\0\0\3insert ignore into dtc.htt"..., 142) = 142
read(13, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
poll([{fd=13, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(13, "\264\0\0\0\3update dtc.http_accounting "..., 184) = 184
read(13, "0\0\0\1\0\1\0\2\0\0\0(Rows matched: 1 Cha"..., 16384) = 52
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f48eba1b1e0}, 8) = 0
gettimeofday({1345995128, 124592}, NULL) = 0
times({tms_utime=694, tms_stime=465, tms_cutime=0, tms_cstime=0}) = 5056520338
gettimeofday({1345995128, 124737}, NULL) = 0
shutdown(15, 1 /* send */) = 0
poll([{fd=15, events=POLLIN}], 1, 2000) = 1 ([{fd=15, revents=POLLIN|POLLHUP}])
read(15, "", 512) = 0
close(15) = 0
read(4, 0x7fff64d88aaf, 1) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1345995128, 125395}, NULL) = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment