15:36:10 restart_syscall(<... resuming interrupted call ...>) = 1 15:36:13 recvfrom(40, ")\0\0\0", 4, MSG_DONTWAIT, NULL, NULL) = 4 15:36:13 gettimeofday({1459265773, 654508}, NULL) = 0 15:36:13 clock_gettime(CLOCK_REALTIME, {1459265773, 654609152}) = 0 15:36:13 recvfrom(40, "\3purge binary logs to 'binarylog"..., 41, MSG_DONTWAIT, NULL, NULL) = 41 15:36:13 gettimeofday({1459265773, 654798}, NULL) = 0 15:36:13 lseek(20, 0, SEEK_SET) = 0 15:36:13 unlink("/mnt/mysql/logs/binarylogs.~rec~") = -1 ENOENT (No such file or directory) 15:36:13 open("/mnt/mysql/logs/binarylogs.~rec~", O_RDWR|O_CREAT, 0640) = 39 15:36:13 lseek(39, 0, SEEK_CUR) = 0 15:36:13 fdatasync(39) = 0 15:36:13 open("/mnt/mysql/logs/binarylogs.index_crash_safe", O_RDWR|O_CREAT, 0640) = 50 15:36:13 lseek(50, 0, SEEK_CUR) = 0 15:36:13 lseek(20, 0, SEEK_SET) = 0 15:36:13 write(50, "/mnt/mysql/logs/binarylogs.00000"..., 68) = 68 15:36:13 close(50) = 0 15:36:13 close(20) = 0 15:36:13 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 15:36:13 lstat("/mnt/mysql", {st_mode=S_IFDIR|0755, st_size=39, ...}) = 0 15:36:13 lstat("/mnt/mysql/logs", {st_mode=S_IFDIR|0755, st_size=134, ...}) = 0 15:36:13 unlink("/mnt/mysql/logs/binarylogs.index") = 0 15:36:13 rename("/mnt/mysql/logs/binarylogs.index_crash_safe", "/mnt/mysql/logs/binarylogs.index") = 0 15:36:13 open("/mnt/mysql/logs/binarylogs.index", O_RDWR|O_CREAT, 0640) = 20 15:36:13 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 15:36:13 lstat("/mnt/mysql", {st_mode=S_IFDIR|0755, st_size=39, ...}) = 0 15:36:13 lstat("/mnt/mysql/logs", {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0 15:36:13 fdatasync(20) = 0 15:36:13 lseek(20, 0, SEEK_END) = 68 15:36:13 lseek(20, 0, SEEK_CUR) = 68 15:36:13 lseek(20, 0, SEEK_END) = 68 15:36:13 lseek(20, 0, SEEK_SET) = 0 15:36:13 lseek(20, 68, SEEK_SET) = 68 15:36:13 open("/mnt/mysql/logs/binarylogs.000003", O_RDONLY) = 50 15:36:13 lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 15:36:13 lstat("/mnt/mysql", {st_mode=S_IFDIR|0755, st_size=39, ...}) = 0 15:36:13 lstat("/mnt/mysql/logs", {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0 15:36:13 lseek(50, 0, SEEK_CUR) = 0 15:36:13 read(50, "\376binK\226\372V\17\377\27\16>w\0\0\0{\0\0\0\0\0\4\0005.7.11-"..., 8192) = 8192 15:36:13 read(50, "3jfBQfnPIY88N07to033m2XEIzHzMJsH"..., 8192) = 8192 15:36:13 read(50, "X9vJSMdplX3DvWBCBJvpcJK4SDLzbHkz"..., 8192) = 8192 ---- REPEATS read( call for the whole length of file ---- 15:36:28 close(50) = 0 15:36:28 lseek(39, 0, SEEK_SET) = 0 15:36:28 close(39) = 0 15:36:28 unlink("/mnt/mysql/logs/binarylogs.~rec~") = 0 15:36:28 gettimeofday({1459265788, 186599}, NULL) = 0 15:36:28 sendto(40, "\7\0\0\1\0\0\0\2\10\0\0", 11, MSG_DONTWAIT, NULL, 0) = 11 15:36:28 gettimeofday({1459265788, 186753}, NULL) = 0 15:36:28 write(17, "# Time: 2016-03-29T15:36:28.1867"..., 230) = 230 15:36:28 clock_gettime(CLOCK_REALTIME, {1459265788, 186940050}) = 0 15:36:28 gettimeofday({1459265788, 187001}, NULL) = 0 15:36:28 gettimeofday({1459265788, 187081}, NULL) = 0 15:36:28 recvfrom(40, 0x7fdee4d85ab0, 4, 64, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 15:36:28 poll([{fd=40, events=POLLIN|POLLPRI}], 1, 28800000