Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@server1 ~]# cat /etc/log_files.yml
- files:
- - /var/log/httpd/error_log
- - /var/log/mariadb/mariadb.log
- destination:
- host: logs3.papertrailapp.com
- port: redacted # NOTE: change to your Papertrail port
- protocol: tls
- [root@server1 ~]# ps aux | grep remote^C
- [root@server1 ~]# ps aux | grep remote
- root 8592 0.0 0.1 794072 4276 ? Sl 19:11 0:00 remote_syslog
- root 9041 0.0 0.0 112648 2156 pts/0 S+ 19:13 0:00 grep --color=auto remote
- [root@server1 ~]# kill -9 8592
- [root@server1 ~]# remote_syslog
- [root@server1 ~]# ps aux | grep remote
- root 9070 2.0 0.1 794200 4380 ? Sl 19:13 0:00 remote_syslog
- root 9095 0.0 0.0 112648 2300 pts/0 S+ 19:13 0:00 grep --color=auto remote
- [root@server1 ~]# strace -tt -s 500 -fp 9070
- Process 9070 attached with 10 threads
- [ Process PID=9106 runs in 32 bit mode. ]
- [pid 9106] 19:13:36.866902 futex(0x187113d8, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9080] 19:13:36.867007 epoll_wait(7, <unfinished ...>
- [pid 9079] 19:13:36.867048 read(4, <unfinished ...>
- [pid 9078] 19:13:36.867079 restart_syscall(<... resuming interrupted call ...> <unfinished ...>
- [pid 9077] 19:13:36.867112 read(12, <unfinished ...>
- [pid 9076] 19:13:36.867141 read(11, <unfinished ...>
- [pid 9075] 19:13:36.867170 read(3, <unfinished ...>
- [pid 9074] 19:13:36.867198 futex(0x83c2a60, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9073] 19:13:36.867231 futex(0x83c2c50, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9070] 19:13:36.867260 restart_syscall(<... resuming interrupted call ...> <unfinished ...>
- [pid 9078] 19:13:37.135134 <... restart_syscall resumed> ) = -1 ETIMEDOUT (Connection timed out)
- [ Process PID=9078 runs in 32 bit mode. ]
- [pid 9078] 19:13:37.135422 clock_gettime(CLOCK_MONOTONIC, {2991494, 269828541}) = 0
- [pid 9078] 19:13:37.135606 futex(0x83c2c50, FUTEX_WAKE, 1) = 1
- [pid 9073] 19:13:37.135761 <... futex resumed> ) = 0
- [pid 9078] 19:13:37.135854 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.135918 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:37.136000 <... clock_gettime resumed> {2991494, 270241739}) = 0
- [pid 9073] 19:13:37.136114 <... clock_gettime resumed> {1161027323373135238, 138161232}) = 0
- [pid 9078] 19:13:37.136197 futex(0x187113d8, FUTEX_WAKE, 1 <unfinished ...>
- [pid 9073] 19:13:37.136300 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9106] 19:13:37.136408 <... futex resumed> ) = 0
- [pid 9078] 19:13:37.136452 <... futex resumed> ) = 1
- [pid 9106] 19:13:37.136565 epoll_wait(7, <unfinished ...>
- [pid 9078] 19:13:37.136612 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.136661 <... select resumed> ) = 0 (Timeout)
- [pid 9106] 19:13:37.136726 <... epoll_wait resumed> {}, 128, 0) = 0
- [pid 9078] 19:13:37.136762 <... clock_gettime resumed> {2991494, 270996146}) = 0
- [pid 9073] 19:13:37.136809 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9106] 19:13:37.136883 futex(0x187113d8, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9078] 19:13:37.136928 futex(0x83c29fc, FUTEX_WAIT, 0, {0, 258174654} <unfinished ...>
- [pid 9073] 19:13:37.136982 <... clock_gettime resumed> {1164755659928741254, 578522461159555072}) = 0
- [ Process PID=9073 runs in 32 bit mode. ]
- [pid 9073] 19:13:37.137112 select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
- [pid 9073] 19:13:37.137374 futex(0x83c2c50, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9078] 19:13:37.395336 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out)
- [pid 9078] 19:13:37.395484 clock_gettime(CLOCK_MONOTONIC, {2991494, 529866318}) = 0
- [pid 9078] 19:13:37.395614 futex(0x83c2c50, FUTEX_WAKE, 1) = 1
- [pid 9073] 19:13:37.395709 <... futex resumed> ) = 0
- [pid 9078] 19:13:37.395750 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.395804 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:37.395877 <... clock_gettime resumed> {2991494, 530123007}) = 0
- [pid 9073] 19:13:37.395908 <... clock_gettime resumed> {2991494, 530191177}) = 0
- [pid 9078] 19:13:37.395963 futex(0x187113d8, FUTEX_WAKE, 1 <unfinished ...>
- [pid 9073] 19:13:37.396007 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9106] 19:13:37.396074 <... futex resumed> ) = 0
- [pid 9078] 19:13:37.396099 <... futex resumed> ) = 1
- [pid 9106] 19:13:37.396128 lstat64("/var/log/httpd/error_log", <unfinished ...>
- [pid 9078] 19:13:37.396210 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.396261 <... select resumed> ) = 0 (Timeout)
- [pid 9106] 19:13:37.396315 <... lstat64 resumed> {st_mode=S_IFREG|0777, st_size=51604436, ...}) = 0
- [pid 9078] 19:13:37.396350 <... clock_gettime resumed> {2991494, 530599041}) = 0
- [pid 9106] 19:13:37.396413 lstat64("/var/log/mariadb/mariadb.log", <unfinished ...>
- [pid 9073] 19:13:37.396451 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:37.396480 futex(0x83c29fc, FUTEX_WAIT, 0, {19, 737449995} <unfinished ...>
- [pid 9106] 19:13:37.396561 <... lstat64 resumed> {st_mode=S_IFREG|0640, st_size=938723563, ...}) = 0
- [pid 9073] 19:13:37.396593 <... clock_gettime resumed> {2991494, 530816433}) = 0
- [pid 9106] 19:13:37.396630 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.396690 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9106] 19:13:37.396753 <... clock_gettime resumed> {2991494, 531018866}) = 0
- [pid 9106] 19:13:37.396834 futex(0x83c29fc, FUTEX_WAKE, 1) = 1
- [pid 9078] 19:13:37.396916 <... futex resumed> ) = 0
- [pid 9073] 19:13:37.396947 <... select resumed> ) = 0 (Timeout)
- [pid 9106] 19:13:37.396985 epoll_wait(7, <unfinished ...>
- [pid 9078] 19:13:37.397049 futex(0x18617118, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9106] 19:13:37.397149 <... epoll_wait resumed> {}, 128, 0) = 0
- [pid 9073] 19:13:37.397174 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9106] 19:13:37.397253 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.397368 <... clock_gettime resumed> {2991494, 531586217}) = 0
- [pid 9106] 19:13:37.397455 <... clock_gettime resumed> {2991494, 531671182}) = 0
- [pid 9073] 19:13:37.397534 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9106] 19:13:37.397620 futex(0x18617118, FUTEX_WAKE, 1) = 1
- [pid 9078] 19:13:37.397798 <... futex resumed> ) = 0
- [pid 9106] 19:13:37.397903 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:37.397975 <... select resumed> ) = 0 (Timeout)
- [pid 9078] 19:13:37.398057 epoll_wait(7, <unfinished ...>
- [pid 9106] 19:13:37.398220 <... clock_gettime resumed> {2991494, 532311010}) = 0
- [pid 9078] 19:13:37.398261 <... epoll_wait resumed> {}, 128, 0) = 0
- [pid 9073] 19:13:37.398285 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9106] 19:13:37.398328 futex(0x83c29fc, FUTEX_WAIT, 0, {9, 999347684} <unfinished ...>
- [pid 9078] 19:13:37.398362 futex(0x18617118, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9073] 19:13:37.398400 <... clock_gettime resumed> {2991494, 532659773}) = 0
- [pid 9073] 19:13:37.398508 select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
- [pid 9073] 19:13:37.398917 futex(0x83c2c50, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9077] 19:13:40.405268 <... read resumed> "\1\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0", 65536) = 16
- [ Process PID=9077 runs in 32 bit mode. ]
- [pid 9077] 19:13:40.405404 futex(0x83c2c50, FUTEX_WAKE, 1) = 1
- [pid 9073] 19:13:40.405525 <... futex resumed> ) = 0
- [pid 9077] 19:13:40.405558 lstat64("/var/log/mariadb/mariadb.log", <unfinished ...>
- [pid 9073] 19:13:40.405592 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9077] 19:13:40.405653 <... lstat64 resumed> {st_mode=S_IFREG|0640, st_size=938723695, ...}) = 0
- [pid 9073] 19:13:40.405687 <... clock_gettime resumed> {2991497, 539959138}) = 0
- [pid 9077] 19:13:40.405722 read(12, <unfinished ...>
- [pid 9073] 19:13:40.405762 select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
- [pid 9073] 19:13:40.406019 clock_gettime(CLOCK_MONOTONIC, {2991497, 540396173}) = 0
- [pid 9073] 19:13:40.406137 futex(0x18617118, FUTEX_WAKE, 1) = 1
- [pid 9078] 19:13:40.406218 <... futex resumed> ) = 0
- [pid 9073] 19:13:40.406246 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9078] 19:13:40.406277 stat64("/var/log/mariadb/mariadb.log", {st_mode=S_IFREG|0640, st_size=938723695, ...}) = 0
- [pid 9078] 19:13:40.406394 _llseek(10, 0, <unfinished ...>
- [pid 9073] 19:13:40.406428 <... select resumed> ) = 0 (Timeout)
- [pid 9078] 19:13:40.406452 <... _llseek resumed> [938723563], SEEK_CUR) = 0
- [pid 9073] 19:13:40.406481 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:40.406506 read(10, <unfinished ...>
- [pid 9073] 19:13:40.406548 <... clock_gettime resumed> {2991497, 540842975}) = 0
- [pid 9078] 19:13:40.406577 <... read resumed> "160117 19:13:40 [ERROR] Event Scheduler: [dba@%][vampiresiphone.refresh_timers] No data - zero rows fetched, selected, or processed\n", 4096) = 132
- [pid 9073] 19:13:40.406607 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9078] 19:13:40.406643 clock_gettime(CLOCK_REALTIME, {1453058020, 406673842}) = 0
- [pid 9078] 19:13:40.406764 _llseek(10, 0, <unfinished ...>
- [pid 9073] 19:13:40.406791 <... select resumed> ) = 0 (Timeout)
- [pid 9078] 19:13:40.406819 <... _llseek resumed> [938723695], SEEK_CUR) = 0
- [pid 9073] 19:13:40.406840 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:40.406871 read(10, <unfinished ...>
- [pid 9073] 19:13:40.406907 <... clock_gettime resumed> {2991497, 541218860}) = 0
- [pid 9078] 19:13:40.406941 <... read resumed> "", 4096) = 0
- [pid 9073] 19:13:40.406975 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9078] 19:13:40.407018 clock_gettime(CLOCK_REALTIME, {1453058020, 407052591}) = 0
- [pid 9078] 19:13:40.407134 clock_gettime(CLOCK_REALTIME, <unfinished ...>
- [pid 9073] 19:13:40.407178 <... select resumed> ) = 0 (Timeout)
- [pid 9078] 19:13:40.407212 <... clock_gettime resumed> {1453058020, 407172267}) = 0
- [pid 9073] 19:13:40.407251 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:40.407290 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:40.407326 <... clock_gettime resumed> {2991497, 541623090}) = 0
- [pid 9078] 19:13:40.407363 <... clock_gettime resumed> {2991497, 541658895}) = 0
- [pid 9073] 19:13:40.407401 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9078] 19:13:40.407444 clock_gettime(CLOCK_REALTIME, {1453058020, 407474091}) = 0
- [pid 9078] 19:13:40.407547 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9073] 19:13:40.407594 <... select resumed> ) = 0 (Timeout)
- [pid 9078] 19:13:40.407623 <... clock_gettime resumed> {2991497, 541923012}) = 0
- [pid 9073] 19:13:40.407651 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
- [pid 9078] 19:13:40.407728 write(6, "\27\3\3\0\343\2409cz\33\250\326\370\307^\267w\263\31\206\335\24\263\250\341v\265\256\245[z\311\370r\266HrA\264\323\266\360.?Hk\252\341\354\274\202\265\315|\35\311\375-\177\34I\2\263%}&\335\32\357\\\4M\2475\323\342\351\343\316\200\345B\313zu\5\260\325m\377\257\254\202\271\332b6}\352>J\226\324\366K\221\3\344i\245\351\257\230\306eSo\314F\371\207\24X4R\351X\36\301\355\213`\217la\241\10O\331\301h\317D\22^\337\23\277\210\330\4\5\23?IB\373\203\212-\20\35<\311(z\226\307V`)\246\242\374\327\204C\21\301\237\354\0.\324\251\257\3607\362\316 \327\251\271 \n\346p\250J\352k\177\330p\177o+\211y(\334~e\3632Y\360S\335\253T\22\364\306\36!\t^B\35~", 232 <unfinished ...>
- [pid 9073] 19:13:40.407761 <... clock_gettime resumed> {2991497, 542030534}) = 0
- [pid 9078] 19:13:40.407815 <... write resumed> ) = 232
- [pid 9073] 19:13:40.407846 select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
- [pid 9078] 19:13:40.407880 epoll_wait(7, {}, 128, 0) = 0
- [pid 9078] 19:13:40.408017 futex(0x18617118, FUTEX_WAIT, 0, NULL <unfinished ...>
- [pid 9073] 19:13:40.408057 <... select resumed> ) = 0 (Timeout)
- [pid 9073] 19:13:40.408113 futex(0x83c2c50, FUTEX_WAIT, 0, NULL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement