cat /proc/1/cmdline
/bin/prometheus--web.console.templates=/etc/prometheus/consoles--web.console.libraries=/etc/prometheus/console_libraries--config.file=/etc/prometheus/config_out/prometheus.env.yaml--storage.tsdb.path=/prometheus--storage.tsdb.retention.time=30m--web.enable-lifecycle--storage.tsdb.no-lockfile--web.external-url=http://prometheus.loc/--web.route-prefix=//
strace -f
stream hangs on for a few seconds on different places:
[pid 15911] <... read resumed> 0xc0043b7000, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 15338] tgkill(1, 13, SIGURG <unfinished ...>
[pid 15911] epoll_pwait(4, [{EPOLLIN|EPOLLOUT, {u32=976213944,
u64=140562370910136}}], 128, 0, NULL, 99926) = 1
[pid 15349] madvise(0xc00d600000, 4194304, MADV_HUGEPAGE <unfinished ...>
[pid 15911] read(92, <unfinished ...>
[pid 15338] <... tgkill resumed> ) = 0
[pid 15347] setsockopt(92, SOL_SOCKET, SO_BROADCAST, [1], 4 <unfinished ...>
[pid 15911] write(69,
"\27\3\3\0%\0\0\0\0\0\0\1\323\17&\324eXA\352?\375\323-\2175d\341\t\247f\333"...,
42 <unfinished ...>
[pid 15349] <... epoll_ctl resumed> ) = 0
[pid 15347] <... setsockopt resumed> ) = 0
[pid 15346] <... epoll_ctl resumed> ) = -1 EPERM (Operation not permitted)
[pid 15341] write(63,
"\27\3\3\0%\0\0\0\0\0\0\0\21\313\227@\244^U\273C\200\203\344\206K\250bM\201U4"...,
42 <unfinished ...>
[pid 15911] <... write resumed> ) = 42
[pid 27265] mmap(0xc010000000, 67108864, PROT_NONE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...>
[pid 15353] read(21, <unfinished ...>
[pid 15352] epoll_ctl(4, EPOLL_CTL_DEL, 22, 0xc00155e6f4 <unfinished ...>
[pid 15347] <... epoll_pwait resumed> [], 128, 0, NULL, 99928) = 0
[pid 15346] <... tgkill resumed> ) = 0
[pid 15317] <... nanosleep resumed> NULL) = 0
понедельник, 31 августа 2020 г. в 17:49:03 UTC+5, [email protected]:
> On Monday, 31 August 2020 12:02:14 UTC+1, Redneck_prm wrote:
>
>> strace prometheus process:
>>
>> strace -p 41850
>> strace: Process 41850 attached
>> futex(0x44daec8, FUTEX_WAIT_PRIVATE, 0, NULL
>>
>>
> You'll need to add -f flag to get useful output, e.g.
>
> strace -f -p 41850
>
> Aside: does this mean you were running strace outside the container, i.e.
> pid 1 inside the container is pid 41850 on the host? If so, what happens if
> you do "cat /proc/41850/cmdline" ?
>
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/177f1879-d41d-437e-83e2-6d3711143932n%40googlegroups.com.