Created
August 5, 2014 04:33
-
-
Save lamanotrama/65e4fd84d9234ed12761 to your computer and use it in GitHub Desktop.
storage011のmogstoredにkeepaliveでつなぎっぱなのmogfs002上のquery_workerプロセスをstrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[lamanotrama@mogfs002 ~]$ sudo strace -p 20440 | |
Process 20440 attached - interrupt to quit | |
select(376, [371], NULL, NULL, {3, 846757}) = 1 (in [371], left {1, 705281}) | |
read(371, ":monitor_events ev_type=device&u"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999997}) | |
read(371, "_type=device&utilization=0.10&ev"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "tion=7.40&ev_id=137&ev_mode=sets"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "ble&ev_mode=setstate ev_type=dev"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "tstate ev_type=device&utilizatio"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "ice&utilization=11.30&ev_id=193&"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "ion=0.09&ev_id=107&ev_mode=setst"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "e=setstate ev_type=device&utiliz"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "tilization=0.00&ev_id=122&ev_mod"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "v_mode=setstate ev_type=device&u"..., 1024) = 501 | |
write(371, ":still_alive\r\n", 14) = 14 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 433665}) | |
read(371, ":monitor_has_run\r\n", 1024) = 18 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 763260}) | |
read(371, ":monitor_events ev_type=srvset&e"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999997}) | |
read(371, "et ev_type=device&ev_id=185&mb_t"..., 1024) = 572 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 555606}) | |
read(371, "20440-826 192.168.3.10 get_paths"..., 1024) = 91 | |
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) | |
write(5, "\1\0\0\0\16", 5) = 5 | |
read(5, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11 | |
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) | |
write(5, "r\0\0\0\3SELECT fid, dmid, dkey, len"..., 118) = 118 | |
read(5, "\1\0\0\1\6,\0\0\2\3def\10mogilefs\4file\4file"..., 16384) = 394 | |
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) | |
write(5, "1\0\0\0\3SELECT devid FROM file_on W"..., 53) = 53 | |
read(5, "\1\0\0\1\0016\0\0\2\3def\10mogilefs\7file_on\7f"..., 16384) = 96 | |
select(384, [376], NULL, NULL, {0, 0}) = 0 (Timeout) | |
write(376, "HEAD /dev198/1/618/061/161806180"..., 145) = 145 | |
select(384, [376], NULL, NULL, {2, 0}) = 1 (in [376], left {1, 999695}) | |
read(376, "HTTP/1.1 200 OK\r\nServer: nginx/0"..., 1024) = 233 | |
write(371, "20440-826 0.0040 OK path2=http:/"..., 154) = 154 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {1, 856363}) | |
read(371, ":monitor_events ev_type=device&u"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999997}) | |
read(371, "e&utilization=2.60&ev_id=151&ev_"..., 1024) = 1024 | |
select(376, [371], NULL, NULL, {5, 0}) = 1 (in [371], left {4, 999998}) | |
read(371, "ev_mode=setstate ev_type=device&"..., 1024) = 1024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment