![]() |
| |||
| HI all, I ran an strace on a "hung" mysql connection: write(1, "mysql> ", 7) = 7 read(0, "\33", 1) = 1 read(0, "[", 1) = 1 read(0, "A", 1) = 1 write(1, "show tables;", 12) = 12 read(0, "\r", 1) = 1 write(1, "\n", 1) = 1 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {0x8054d02, [INT], SA_RESTART}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {0x8054d02, [QUIT], SA_RESTART}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGTSTP, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGTTOU, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGTTIN, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0 rt_sigaction(SIGWINCH, {SIG_DFL}, {0x80649a0, [], 0}, 8) = 0 times({tms_utime=0, tms_stime=1, tms_cutime=0, tms_cstime=0}) = -580542992 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(3, 0x8d00440, 16384) = -1 EAGAIN (Resource temporarily unavailable) fcntl64(3, F_SETFL, O_RDWR) = 0 write(3, "\f\0\0\0\3show tables", 16) = 16 read(3, the show tables never outputs anything would anyone be so kind as to give a line by line explanation of this strace in english? ty Frank |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |