| Server IP : 192.185.213.103 / Your IP : 216.73.216.104 Web Server : Apache System : Linux br48.hostgator.com.br 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : acoris47 ( 2660) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/log/ |
Upload File : |
[ OK ] level=info ts=2022-08-02T15:03:13.536Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T15:03:13.536Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T15:03:13.536Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T15:03:13.536Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=error ts=2022-08-02T15:03:13.536Z caller=apache_exporter.go:636 msg="Listening error" reason="listen tcp :9117: bind: address already in use" [ OK ] level=info ts=2022-08-02T15:58:00.912Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T15:58:00.913Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T15:58:00.913Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T15:58:00.913Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T15:58:00.914Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-02T15:58:00.913Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00031c480) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 5 minutes]: internal/poll.runtime_pollWait(0x7fa4e923bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108800, 0x82db3bdfa06ea301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aee40, 0x62e949c0, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aee40, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a4000, 0xab76f0, 0xc0000aee40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aee40, 0xc0002a4000, 0x0, 0x0, 0xaaf020, 0xc0000c8c80, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a4000, 0x0, 0x0, 0xaaf020, 0xc0000c8c80, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [syscall, 5 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive, 5 minutes]: main.main.func1(0xaaf020, 0xc0000c8c80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [IO wait]: internal/poll.runtime_pollWait(0x7fa4e923be30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108898, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108880, 0xc00014d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108880, 0xc00014d000, 0x1000, 0x1000, 0x415aaf, 0x7fa4e93aaf00, 0x20300000000000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc370, 0xc00014d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).Read(0xc000175c50, 0xc00014d000, 0x1000, 0x1000, 0x20300000000000, 0x7fa4e958ffff, 0x7fa4e90514c0) /usr/local/go/src/net/http/server.go:780 +0x1b9 bufio.(*Reader).fill(0xc0000bf980) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadSlice(0xc0000bf980, 0xa, 0xc, 0x4182f3, 0x7fa50fecbfd8, 0xe13368, 0x0) /usr/local/go/src/bufio/bufio.go:360 +0x3d bufio.(*Reader).ReadLine(0xc0000bf980, 0x203000, 0x203000, 0x7fa50fecbfd8, 0x4, 0x7fa4e90514c0, 0xc00035e000) /usr/local/go/src/bufio/bufio.go:389 +0x34 net/textproto.(*Reader).readLineSlice(0xc00035e000, 0xc00019c400, 0xc00008f9e8, 0x4ddfd3, 0xc000108880, 0xc0002b8000) /usr/local/go/src/net/textproto/reader.go:57 +0xd6 net/textproto.(*Reader).ReadLine(...) /usr/local/go/src/net/textproto/reader.go:38 net/http.readRequest(0xc0000bf980, 0x0, 0xc00019c400, 0x0, 0x0) /usr/local/go/src/net/http/request.go:1027 +0xaa net/http.(*conn).readRequest(0xc0001672c0, 0xab8770, 0xc0000c16c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:966 +0x19d net/http.(*conn).serve(0xc0001672c0, 0xab8818, 0xc0000c16c0) /usr/local/go/src/net/http/server.go:1858 +0x705 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 148 [IO wait]: internal/poll.runtime_pollWait(0x7fa4e923bc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a200, 0xc0000ed000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc0000ed000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e020, 0xc0000ed000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001a2000, 0xc0000ed000, 0x1000, 0x1000, 0xc0001fe0c0, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204000) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204000, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001a2000) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 149 [select]: net/http.(*persistConn).writeLoop(0xc0001a2000) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-02T16:25:00.189Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T16:25:00.192Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T16:25:00.192Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T16:25:00.192Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T16:25:00.192Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T16:25:00.193Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000266d80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f3cc19d9f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a180, 0xdaf102f727441701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d128, 0x62e95014, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d128, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001b4000, 0xab76f0, 0xc00000d128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d128, 0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [IO wait]: internal/poll.runtime_pollWait(0x7f3cc19d9e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a200, 0xc0001ce000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc0001ce000, 0x1000, 0x1000, 0x40, 0xc000069601, 0xc000069700) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0c0, 0xc0001ce000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).Read(0xc000184e40, 0xc0001ce000, 0x1000, 0x1000, 0xffffffffffffffff, 0x0, 0xc0000697d0) /usr/local/go/src/net/http/server.go:780 +0x1b9 bufio.(*Reader).fill(0xc00007a8a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadSlice(0xc00007a8a0, 0xc00035380a, 0x100000002, 0xc000080c00, 0x7f3ce86695c0, 0xc000069810, 0x5) /usr/local/go/src/bufio/bufio.go:360 +0x3d bufio.(*Reader).ReadLine(0xc00007a8a0, 0x203000, 0x203000, 0x7f3ce86695c0, 0x3, 0x7f3cc190eff8, 0xc00039a180) /usr/local/go/src/bufio/bufio.go:389 +0x34 net/textproto.(*Reader).readLineSlice(0xc00039a180, 0xc0001d8300, 0x7f3cc198f108, 0x4, 0xc00002a200, 0xc0001cf000) /usr/local/go/src/net/textproto/reader.go:57 +0xd6 net/textproto.(*Reader).ReadLine(...) /usr/local/go/src/net/textproto/reader.go:38 net/http.readRequest(0xc00007a8a0, 0x0, 0xc0001d8300, 0x0, 0x0) /usr/local/go/src/net/http/request.go:1027 +0xaa net/http.(*conn).readRequest(0xc0000200a0, 0xab8770, 0xc0001922c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:966 +0x19d net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc0001922c0) /usr/local/go/src/net/http/server.go:1858 +0x705 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 82 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001a6240) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 81 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f3cc19d9d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a300, 0xc000625000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a300, 0xc000625000, 0x1000, 0x1000, 0x439c3c, 0xc00042ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e288, 0xc000625000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001a6240, 0xc000625000, 0x1000, 0x1000, 0xc000094300, 0xc00042ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002a0060) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002a0060, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001a6240) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 [ OK ] level=info ts=2022-08-02T19:25:02.702Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T19:25:02.702Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T19:25:02.702Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T19:25:02.702Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T19:25:02.702Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T19:25:02.702Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0001dad80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 7 minutes]: internal/poll.runtime_pollWait(0x7f4dfd91ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000194100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000194100, 0xa6be8cae4d7e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000183380, 0x62e97a44, 0xc000115b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000183380, 0xc000115b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001fa000, 0xab76f0, 0xc000183380, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000183380, 0xc0001fa000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001fa000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall, 8 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive, 8 minutes]: main.main.func1(0xaaf020, 0xc00007c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab2768, 0xc0001b4c40, 0xc00008d5f8, 0xc00008d628, 0x0, 0x1, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:652 +0xb4c github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:519 +0xd25 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4dfd8e0b78, 0xc0001a0af0, 0xc0001b0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000187e30, 0x7f4dfd8e0b78, 0xc0001a0af0, 0xc0001b0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4dfd8e0b78, 0xc0001a0af0, 0xc0001b0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018f5c0, 0x7f4dfd8e0b78, 0xc0001a0af0, 0xc0001b0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fa1c0, 0xc0001b0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018f740, 0xab7900, 0xc0001fa1c0, 0xc0001b0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fa1c0, 0xc0001b0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001fa000, 0xab7900, 0xc0001fa1c0, 0xc0001b0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001baaa0, 0xab8818, 0xc0001b4440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001bc120) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 26 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f4dfd91fc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a200, 0xc00047e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc00047e000, 0x1000, 0x1000, 0x439c3c, 0xc00009ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c020, 0xc00047e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001bc120, 0xc00047e000, 0x1000, 0x1000, 0xc000236420, 0xc00009ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00019ea80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00019ea80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001bc120) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 149 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f4dfd91fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000194180, 0xc00018f9f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000194180, 0xc00018f9f1, 0x1, 0x1, 0xc0005cc060, 0x0, 0xc0001b4518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c168, 0xc00018f9f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00018f9e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 [ OK ] level=info ts=2022-08-02T20:42:46.677Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T20:42:46.680Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T20:42:46.680Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T20:42:46.680Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T20:42:46.680Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T20:42:46.680Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00065df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7ffb10fc4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x4b5c010078c3301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc90, 0x62e98c50, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc90, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000cc90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc90, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc000240500, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc000240500, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [runnable]: strings.genSplit(0xc0004bc000, 0x307f2, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0002191a0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001a20f0, 0xc000300180, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001a20f0, 0xc000300180) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 7 [syscall, 2 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc000240500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ffb10fd63f8, 0xc000240be0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c0310, 0x7ffb10fd63f8, 0xc000240be0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffb10fd63f8, 0xc000240be0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001be840, 0x7ffb10fd63f8, 0xc000240be0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca2a0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001be9c0, 0xab7900, 0xc0001ca2a0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca2a0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca2a0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b2aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 97 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0002b6028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002b6020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002b6020, 0xc000300180, 0xc0003001e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 63 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ffb10fc4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bec71, 0x1, 0x1, 0xc0000ba0c0, 0x0, 0xc00011b518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c0, 0xc0001bec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bec60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ffb10fc4d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264200, 0xc0002dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264200, 0xc0002dc000, 0x1000, 0x1000, 0x439c3c, 0xc0001d2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00064e098, 0xc0002dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120360, 0xc0002dc000, 0x1000, 0x1000, 0xc00026e000, 0xc0001d2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a600, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000120360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-02T22:24:56.512Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T22:24:56.512Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T22:24:56.512Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T22:24:56.512Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T22:24:56.513Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T22:24:56.513Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc0006d4000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0006d4000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000421f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8960144f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000254098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000254080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000254080, 0xa3ed868759cb8601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020eb28, 0x62e9a474, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020eb28, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00026c000, 0xab76f0, 0xc00020eb28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020eb28, 0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [runnable]: compress/flate.(*compressor).deflate(0xc000600000) /usr/local/go/src/compress/flate/deflate.go:429 +0x251 compress/flate.(*compressor).write(0xc000600000, 0xc0005f0000, 0x14e, 0x1000, 0x1000, 0xd965c2bd, 0x61) /usr/local/go/src/compress/flate/deflate.go:554 +0x85 compress/flate.(*Writer).Write(...) /usr/local/go/src/compress/flate/deflate.go:712 compress/gzip.(*Writer).Write(0xc0000dadc0, 0xc0005f0000, 0x14e, 0x1000, 0xc00030f610, 0xc00030f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc0000dee00, 0xc00030f6d0, 0xc00030f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000dee00, 0xc00030f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dadc0, 0xc00007d3b0, 0x14e, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00007d3b0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f895ffa5ab8, 0xc000240690, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f895ffa5ab8, 0xc000240690, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f895ffa5ab8, 0xc000240690, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f895ffa5ab8, 0xc000240690, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00026c0e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc00026c0e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00026c0e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00026c000, 0xab7900, 0xc00026c0e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7f8960144e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000254118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000254100, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000254100, 0xc00021b9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002008a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000210158, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021b9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x7f8960144d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8380, 0xc0002c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8380, 0xc0002c8000, 0x1000, 0x1000, 0x439c3c, 0xc000307c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00e8, 0xc0002c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001286c0, 0xc0002c8000, 0x1000, 0x1000, 0xc00026a180, 0xc000307d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000201080) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000201080, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 26 [select]: net/http.(*persistConn).writeLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T01:25:00.624Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T01:25:00.624Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T01:25:00.624Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T01:25:00.624Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T01:25:00.625Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T01:25:00.625Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000268800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000268800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0000d3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fd6ff8c1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a680, 0xd8062b8864d0a001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d770, 0x62e9cea4, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d770, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ea000, 0xab76f0, 0xc00000d770, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d770, 0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc00020e1e0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc00020e1e0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 11 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [chan receive]: main.main.func1(0xaaf020, 0xc00020e1e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7fd6ff7c6b18, 0xc00007d180, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fd6ff7c6b18, 0xc00007d180, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00013b550, 0xc0005b0000, 0xef, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000b0b80, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000b0b80, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00013b550, 0xc00009a550, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00009a550, 0xc000200c48, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd6ff8d94f8, 0xc00007d180, 0xc0001be300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c7730, 0x7fd6ff8d94f8, 0xc00007d180, 0xc0001be300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd6ff8d94f8, 0xc00007d180, 0xc0001be300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cf410, 0x7fd6ff8d94f8, 0xc00007d180, 0xc0001be300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ea0e0, 0xc0001be300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cf590, 0xab7900, 0xc0001ea0e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ea0e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ea000, 0xab7900, 0xc0001ea0e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001bb5e0, 0xab8818, 0xc0001235c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7fd6ff8c1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001cf841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001cf841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b5c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001cf841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cf830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7fd6ff8c1d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246300, 0xc0000f6000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246300, 0xc0000f6000, 0x1000, 0x1000, 0x439c3c, 0xc000300c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c2050, 0xc0000f6000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000129200, 0xc0000f6000, 0x1000, 0x1000, 0xc000250420, 0xc000300d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00022e9c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00022e9c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000129200) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc000129200) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T04:24:54.751Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T04:24:54.752Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T04:24:54.752Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T04:24:54.752Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T04:24:54.752Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T04:24:54.753Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000278400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000278400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001cff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f82645a7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0100, 0xaa2ef892c42f1d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f128, 0x62e9f898, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f128, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fa000, 0xab76f0, 0xc00009f128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f128, 0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000680000, 0x7f82645b7a58, 0xc0000bc5a0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f82645b7a58, 0xc0000bc5a0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000133550, 0xc000604000, 0xed, 0x1000, 0x0, 0xc0002a7610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000222f80, 0xc0002a76d0, 0xc0002a7620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000222f80, 0xc0002a77c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000133550, 0xc0002407d0, 0xed, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002407d0, 0xc000208ea0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f82645e7278, 0xc0000bc5a0, 0xc0002b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f82645e7278, 0xc0000bc5a0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f82645e7278, 0xc0000bc5a0, 0xc0002b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7f82645e7278, 0xc0000bc5a0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fa0e0, 0xc0002b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000fa0e0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fa0e0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fa000, 0xab7900, 0xc0000fa0e0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000ca2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7f82645a7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba6c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80b0, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000aae40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 65 [IO wait]: internal/poll.runtime_pollWait(0x7f82645a7d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0280, 0xc0002e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc0002e2000, 0x1000, 0x1000, 0x439c3c, 0xc000103c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80f0, 0xc0002e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001207e0, 0xc0002e2000, 0x1000, 0x1000, 0xc00026c1e0, 0xc000103d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200d80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200d80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 66 [select]: net/http.(*persistConn).writeLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T05:17:35.555Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T05:17:35.556Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T05:17:35.556Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T05:17:35.556Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T05:17:35.556Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T05:17:35.557Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000200800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000200800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00063bf01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f9c4c7a7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c6318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002c6300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002c6300, 0x70889fc89c735101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000280a98, 0x62ea0504, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000280a98, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000310000, 0xab76f0, 0xc000280a98, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000280a98, 0xc000310000, 0x0, 0x0, 0xaaf020, 0xc000286320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000310000, 0x0, 0x0, 0xaaf020, 0xc000286320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 55 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 58 [chan receive]: main.main.func1(0xaaf020, 0xc000286320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 62 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f9c4c7b9218, 0xc000286870, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f9c4c7b9218, 0xc000286870, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00050c000, 0xc00050e000, 0xed, 0x1000, 0x0, 0xc0002f9610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00022e840, 0xc0002f96d0, 0xc0002f9620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00022e840, 0xc0002f97c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00050c000, 0xc00007d810, 0xed, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00007d810, 0xc00000d0e0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9c4c7273b8, 0xc000286870, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00030e000, 0x7f9c4c7273b8, 0xc000286870, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9c4c7273b8, 0xc000286870, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002899e0, 0x7f9c4c7273b8, 0xc000286870, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003100e0, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000289b60, 0xab7900, 0xc0003100e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003100e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000310000, 0xab7900, 0xc0003100e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002928c0, 0xab8818, 0xc0002ba540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 63 [IO wait]: internal/poll.runtime_pollWait(0x7f9c4c7a7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c6398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002c6380, 0xc000289e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c6380, 0xc000289e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000284c00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002b8150, 0xc000289e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000289e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 36 [IO wait]: internal/poll.runtime_pollWait(0x7f9c4c7a7d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc000390000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc000390000, 0x1000, 0x1000, 0x439c3c, 0xc000104c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8048, 0xc000390000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001206c0, 0xc000390000, 0x1000, 0x1000, 0xc0000d2240, 0xc000104d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00020c6c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00020c6c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001206c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 37 [select]: net/http.(*persistConn).writeLoop(0xc0001206c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T07:24:53.803Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T07:24:53.803Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T07:24:53.803Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T07:24:53.803Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T07:24:53.803Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T07:24:53.804Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001d1f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait, 3 minutes]: internal/poll.runtime_pollWait(0x7feb33f0ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000252018, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000252000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000252000, 0xd26335756d692001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62ea22c8, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002008d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008d0, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000dc460, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000dc460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 40 [runnable]: github.com/prometheus/client_model/go.MetricType.Enum(...) /go/pkg/mod/github.com/prometheus/client_model@v0.2.0/go/metrics.pb.go:51 github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc00031c7e0, 0xc0000975f8, 0xc000097628, 0x0, 0x1, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:656 +0xe08 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:519 +0xd25 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7feb33ece278, 0xc0003923c0, 0xc0000b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7feb33ece278, 0xc0003923c0, 0xc0000b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7feb33ece278, 0xc0003923c0, 0xc0000b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7feb33ece278, 0xc0003923c0, 0xc0000b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002501c0, 0xc0000b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021cb70, 0xab7900, 0xc0002501c0, 0xc0000b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002501c0, 0xc0000b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002501c0, 0xc0000b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 36 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc0000dc460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [syscall, 3 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 133 [select]: net/http.(*persistConn).writeLoop(0xc000120360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 132 [IO wait]: internal/poll.runtime_pollWait(0x7feb33f0ed48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a180, 0xc0003c9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc0003c9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000aa028, 0xc0003c9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120360, 0xc0003c9000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204420, 0x1, 0xc00007e300, 0xc000304050, 0xc00005b670, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 113 [select]: net/http.(*persistConn).roundTrip(0xc000120360, 0xc00011a000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc000226000, 0xc00027a100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc000226000, 0xc00027a100, 0xc000226000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00027a100, 0xaaf4e0, 0xc000226000, 0x0, 0x0, 0x0, 0xc0000aa010, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021c570, 0xc00027a100, 0x0, 0x0, 0x0, 0xc0000aa010, 0x0, 0x1, 0xc00027a100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021c570, 0xc00027a100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000228000, 0xc0006e2060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000228000, 0xc0006e2060) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7feb33f0ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000252098, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000252080, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000252080, 0xc00021ce21, 0x1, 0x1, 0xc00009c480, 0x0, 0xc000224398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021e0a0, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ce10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 115 [runnable]: regexp.(*bitState).reset(0xc0001326e0, 0xc000109a40, 0x4e, 0x8) /usr/local/go/src/regexp/backtrack.go:91 +0x208 regexp.(*Regexp).backtrack(0xc0001b01e0, 0x0, 0x0, 0x0, 0xc00015c0a0, 0x4e, 0x0, 0x8, 0xc0001d35f8, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:319 +0x11e regexp.(*Regexp).doExecute(0xc0001b01e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc00015c0a0, 0x4e, 0x0, 0x8, ...) /usr/local/go/src/regexp/exec.go:535 +0x45c regexp.(*Regexp).FindStringSubmatch(0xc0001b01e0, 0xc00015c0a0, 0x4e, 0xc00015c0a0, 0x4e, 0x0) /usr/local/go/src/regexp/regexp.go:1039 +0xb5 github.com/prometheus/procfs.Proc.Limits(0x86bd2, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:104 +0x25f github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0006e2060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:59 +0x547 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0006e2060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 114 [semacquire]: sync.runtime_Semacquire(0xc000023788) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023780) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023780, 0xc0006e2060, 0xc0006e20c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d [ OK ] level=info ts=2022-08-03T10:24:56.018Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T10:24:56.019Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T10:24:56.019Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T10:24:56.019Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T10:24:56.019Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T10:24:56.019Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000089000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000089000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000276900) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 5 minutes]: internal/poll.runtime_pollWait(0x7f90875a7118, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000264300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000264300, 0x8673759cd9ad9801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000202c00, 0x62ea4cf8, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000202c00, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000202c00, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000202c00, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall, 5 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive, 5 minutes]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:97 compress/flate.(*compressor).init(0xc0006f0000, 0x7f90872ff9d8, 0xc000240050, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x51 compress/flate.NewWriter(0x7f90872ff9d8, 0xc000240050, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000260160, 0xc0001e6000, 0xef, 0x1000, 0x0, 0xc000097610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0001a0300, 0xc0000976d0, 0xc000097620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0001a0300, 0xc0000977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000260160, 0xc000240320, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000240320, 0xc00000c8a0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9087401438, 0xc000240050, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00028a7e0, 0x7f9087401438, 0xc000240050, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9087401438, 0xc000240050, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028c5a0, 0x7f9087401438, 0xc000240050, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028c720, 0xab7900, 0xc00029e0e0, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc000214200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc000214200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000227400, 0xab8818, 0xc0002206c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 94 [IO wait]: internal/poll.runtime_pollWait(0x7f90875a6f48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264180, 0xc00017f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264180, 0xc00017f000, 0x1000, 0x1000, 0x439c3c, 0xc0000a3c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c4328, 0xc00017f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002285a0, 0xc00017f000, 0x1000, 0x1000, 0xc00009c540, 0xc0000a3d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000238600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000238600, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002285a0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 95 [select]: net/http.(*persistConn).writeLoop(0xc0002285a0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 118 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f90875a7030, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc00028c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc00028c9d1, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc00005afa8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002041f0, 0xc00028c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028c9c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 [ OK ] level=info ts=2022-08-03T13:24:54.243Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T13:24:54.244Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T13:24:54.244Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T13:24:54.244Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T13:24:54.244Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T13:24:54.245Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000178800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000178800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00062ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f55961d5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000116398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000116380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000116380, 0x26edd07e40a10001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000105230, 0x62ea7728, 0xc000193b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000105230, 0xc000193b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000105230, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000105230, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0001002d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0001002d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc0001002d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f5595ff2c98, 0xc000100820, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f5595ff2c98, 0xc000100820, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000e5550, 0xc000556000, 0xef, 0x1000, 0x0, 0xc0002c1610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c9e80, 0xc0002c16d0, 0xc0002c1620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c9e80, 0xc0002c17c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000e5550, 0xc00039a410, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00039a410, 0xc00000cb58, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f55961914f8, 0xc000100820, 0xc000160100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000150c40, 0x7f55961914f8, 0xc000100820, 0xc000160100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f55961914f8, 0xc000100820, 0xc000160100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000111a10, 0x7f55961914f8, 0xc000100820, 0xc000160100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc000160100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000111b90, 0xab7900, 0xc00029e0e0, 0xc000160100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc000160100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc000160100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000126a00, 0xab8818, 0xc00014a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 44 [IO wait]: internal/poll.runtime_pollWait(0x7f55961d5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000116418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000116400, 0xc000111e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000116400, 0xc000111e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000120ba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00010e160, 0xc000111e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000111e30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f55961d5d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a180, 0xc000238000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc000238000, 0x1000, 0x1000, 0x439c3c, 0xc0000a1c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00010e1a0, 0xc000238000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d2b40, 0xc000238000, 0x1000, 0x1000, 0xc0002b0000, 0xc0000a1d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000214360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000214360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d2b40) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 29 [select]: net/http.(*persistConn).writeLoop(0xc0000d2b40) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T16:24:57.298Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T16:24:57.299Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T16:24:57.299Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T16:24:57.299Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T16:24:57.299Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T16:24:57.300Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000622000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000622000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000273f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f4ad8b96f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8380, 0x162f9a45af4bf601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097218, 0x62eaa194, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097218, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc000097218, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097218, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000b4280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000b4280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f4ad89379d8, 0xc0000b47d0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f4ad89379d8, 0xc0000b47d0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00054e000, 0xc000552000, 0xef, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000222880, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000222880, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00054e000, 0xc0002404b0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002404b0, 0xc000322a98, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4ad8bda6f8, 0xc0000b47d0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000e4c40, 0x7f4ad8bda6f8, 0xc0000b47d0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4ad8bda6f8, 0xc0000b47d0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a3a10, 0x7f4ad8bda6f8, 0xc0000b47d0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a3b90, 0xab7900, 0xc0002a60e0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bc8c0, 0xab8818, 0xc0000de540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f4ad8b96e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8400, 0xc0000a3e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8400, 0xc0000a3e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000b2b40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a0160, 0xc0000a3e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a3e30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7f4ad8b96d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8518, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8500, 0xc00031a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8500, 0xc00031a000, 0x1000, 0x1000, 0x439c3c, 0xc000109c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000318008, 0xc00031a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001287e0, 0xc00031a000, 0x1000, 0x1000, 0xc0000ee480, 0xc000109d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000b2f60) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000b2f60, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 50 [select]: net/http.(*persistConn).writeLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T19:24:53.635Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T19:24:53.637Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T19:24:53.637Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T19:24:53.637Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T19:24:53.637Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T19:24:53.638Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 12 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00038a780) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f22b936cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0xd6026d8fa9e6cc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62eacb88, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000200900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200900, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00007cf00, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00007cf00, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007cf00) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 18 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f22b932c278, 0xc0002dc320, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7f22b932c278, 0xc0002dc320, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f22b932c278, 0xc0002dc320, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7f22b932c278, 0xc0002dc320, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002501c0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002501c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002501c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002501c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002182c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 83 [IO wait]: internal/poll.runtime_pollWait(0x7f22b936cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c180, 0xc0002d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c180, 0xc0002d0000, 0x1000, 0x1000, 0x439c3c, 0xc00010ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000344028, 0xc0002d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000238000, 0xc0002d0000, 0x1000, 0x1000, 0xc00007e420, 0xc00010ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a480) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a480, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000238000) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f22b936ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002120a8, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: strings.Index(0xc0004e9b58, 0x31, 0xa04cc3, 0x1, 0x4a) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc0004e9b58, 0x31, 0xa04cc3, 0x1, 0x0, 0x1, 0xc0001ca9c0, 0x2, 0x2) /usr/local/go/src/strings/strings.go:251 +0xff strings.SplitN(...) /usr/local/go/src/strings/strings.go:273 main.splitkv(0xc0004e9b58, 0x31, 0xe, 0x0, 0xc0004e9b56, 0x1) /app/apache_exporter.go:244 +0x6d main.(*Exporter).collect(0xc00021e000, 0xc0002ac000, 0x0, 0x0) /app/apache_exporter.go:322 +0x60d main.(*Exporter).Collect(0xc00021e000, 0xc0002ac000) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [semacquire]: sync.runtime_Semacquire(0xc0002fe028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002fe020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002fe020, 0xc0002ac000, 0xc0002ac0c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 84 [select]: net/http.(*persistConn).writeLoop(0xc000238000) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T22:24:52.839Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T22:24:52.840Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T22:24:52.840Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T22:24:52.840Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T22:24:52.840Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T22:24:52.841Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008dd01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.goschedImpl(0xc000208900) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000208900) /usr/local/go/src/runtime/proc.go:3361 +0x34 runtime.newstack() /usr/local/go/src/runtime/stack.go:1045 +0x1bc runtime.morestack() /usr/local/go/src/runtime/asm_amd64.s:458 +0x8f goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7af4f36018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000228080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000228080, 0x1a2fe624f5ec6401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62eaf5b8, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000200900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200900, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000c8e10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000c8e10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8e10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000624000, 0x7f7af4f547d8, 0xc000206550, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f7af4f547d8, 0xc000206550, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0001f4000, 0xc0001f6000, 0xef, 0x1000, 0x0, 0xc00026d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0001d4680, 0xc00026d6d0, 0xc00026d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0001d4680, 0xc00026d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001f4000, 0xc000206780, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000206780, 0xc0002013b0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7af4d8d3b8, 0xc000206550, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000214a10, 0x7f7af4d8d3b8, 0xc000206550, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7af4d8d3b8, 0xc000206550, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7f7af4d8d3b8, 0xc000206550, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002222c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7f7af4f35f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000228100, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000228100, 0xc00021ae21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021c0a0, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ae10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 67 [IO wait]: internal/poll.runtime_pollWait(0x7f7af4f35e48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108918, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108900, 0xc0004a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108900, 0xc0004a8000, 0x1000, 0x1000, 0x439c3c, 0xc000096c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e130, 0xc0004a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000caea0, 0xc0004a8000, 0x1000, 0x1000, 0xc00024e120, 0xc000096d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a660) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a660, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000caea0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 68 [select]: net/http.(*persistConn).writeLoop(0xc0000caea0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T01:24:55.697Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T01:24:55.698Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T01:24:55.698Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T01:24:55.698Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T01:24:55.699Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-04T01:24:55.698Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc98e10ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000f8300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f8300, 0x2d033b212e0af101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a4cf0, 0x62eb1fe8, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a4cf0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00022e000, 0xab76f0, 0xc0000a4cf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a4cf0, 0xc00022e000, 0x0, 0x0, 0xaaf020, 0xc0000d4500, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00022e000, 0x0, 0x0, 0xaaf020, 0xc0000d4500, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [IO wait]: internal/poll.runtime_pollWait(0x7fc98e10ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000f8380, 0xc0002880d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f8380, 0xc0002880d1, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a81f8, 0xc0002880d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002880c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [chan receive]: main.main.func1(0xaaf020, 0xc0000d4500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 31 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc98e0c70a8, 0xc0002820a0, 0xc0002b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021a7e0, 0x7fc98e0c70a8, 0xc0002820a0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc98e0c70a8, 0xc0002820a0, 0xc0002b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c5a0, 0x7fc98e0c70a8, 0xc0002820a0, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002bc000, 0xc0002b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021c720, 0xab7900, 0xc0002bc000, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002bc000, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00022e000, 0xab7900, 0xc0002bc000, 0xc0002b0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bd360, 0xab8818, 0xc000292040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc000280120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0x154 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00028a050, 0xc000280120, 0xc000280180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 36 [runnable]: io.(*LimitedReader).Read(0xc0002ca030, 0xc0002ea900, 0x300, 0x300, 0x901, 0xc0002ea000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0002ca030, 0x0, 0x0, 0xc0002d6008, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00028a100, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x50f1e, 0xc00028a0a0, 0xf, 0xd9c178, 0x1, 0x1, 0x50f1d, 0x50f1d, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000280120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000280120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000d68c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000d69d0, 0xc00010c660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000d68c0, 0xc0001be200, 0x30, 0x9db900, 0x7fc98e2b5c00) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000d68c0, 0xc0001be200, 0xc0000d68c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001be200, 0xaaf4e0, 0xc0000d68c0, 0x0, 0x0, 0x0, 0xc00000e248, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021c120, 0xc0001be200, 0x0, 0x0, 0x0, 0xc00000e248, 0x0, 0x1, 0xc0001be200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021c120, 0xc0001be200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000d8f00, 0xc000280120, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d8f00, 0xc000280120) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc000300000, 0xc000306000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-04T04:24:56.243Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T04:24:56.245Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T04:24:56.245Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T04:24:56.245Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T04:24:56.245Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T04:24:56.245Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00038a780) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f3e8a069f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000228080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000228080, 0xa40b78315cb89701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62eb4a18, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002008d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008d0, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00007c4b0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00007c4b0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc00007c4b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:97 compress/flate.(*compressor).init(0xc000580000, 0x7f3e89e0e618, 0xc000206500, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x51 compress/flate.NewWriter(0x7f3e89e0e618, 0xc000206500, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0001c8dc0, 0xc00055a000, 0xef, 0x1000, 0x0, 0xc000275610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c1cc0, 0xc0002756d0, 0xc000275620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c1cc0, 0xc0002757c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001c8dc0, 0xc0002c8280, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002c8280, 0xc0000af770, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f3e89fe9378, 0xc000206500, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000214a10, 0x7f3e89fe9378, 0xc000206500, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3e89fe9378, 0xc000206500, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7f3e89fe9378, 0xc000206500, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc0002500e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002222c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7f3e8a069e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000228100, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000228100, 0xc00021ae21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002045a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021c0a0, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ae10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7f3e8a069d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc00033a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc00033a000, 0x1000, 0x1000, 0x439c3c, 0xc000268c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc260, 0xc00033a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001986c0, 0xc00033a000, 0x1000, 0x1000, 0xc0001d0360, 0xc000268d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00030a420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00030a420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001986c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 52 [select]: net/http.(*persistConn).writeLoop(0xc0001986c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T05:17:34.569Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T05:17:34.570Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T05:17:34.570Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T05:17:34.570Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T05:17:34.570Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T05:17:34.571Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000212400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000212400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0002b2780) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fcde5fadf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0100, 0x504c425c43729601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f128, 0x62eb5684, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f128, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc00009f128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f128, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 11 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [syscall]: compress/flate.NewWriter(0x7fcde5f71558, 0xc0000bc5a0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc000133600, 0xc00055c000, 0xef, 0x1000, 0x0, 0xc00009b610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c2fc0, 0xc00009b6d0, 0xc00009b620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c2fc0, 0xc00009b7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000133600, 0xc000246280, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000246280, 0xc00009fc68, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fcde5fed278, 0xc0000bc5a0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7fcde5fed278, 0xc0000bc5a0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcde5fed278, 0xc0000bc5a0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7fcde5fed278, 0xc0000bc5a0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea0e0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000ea0e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea0e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea0e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000c22c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7fcde5fade30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80b8, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000aae40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7fcde5fadd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0280, 0xc0002dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc0002dc000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e3b8, 0xc0002dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120fc0, 0xc0002dc000, 0x1000, 0x1000, 0xc00007e480, 0xc000107d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002aa360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002aa360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 51 [select]: net/http.(*persistConn).writeLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T07:24:50.022Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T07:24:50.023Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T07:24:50.023Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T07:24:50.023Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T07:24:50.023Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T07:24:50.024Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000281f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f68d3e76f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x12c95e43c2875401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd38, 0x62eb7448, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd38, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000cd38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd38, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc00020c280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc00020c280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [runnable]: net/url.getscheme(0x7ffd33510ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffd33510ef8, 0x28, 0x100, 0x7ffd33510ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffd33510ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffd33510ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a00f0, 0xc00007b560, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007b560) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc00020c280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc000312000, 0xc00030c070, 0xc000069628, 0x1, 0xc0001f0568) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:907 +0xb65 github.com/prometheus/client_golang/prometheus.processMetric(0xab2740, 0xc00007b140, 0xc0000695f8, 0xc000069628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:673 +0x3ce github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f68d3e89c38, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001be310, 0x7f68d3e89c38, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f68d3e89c38, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bc840, 0x7f68d3e89c38, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bc9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7f68d3e76e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bcc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b560, 0xc00007b5c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: strings.Fields(0xc000130900, 0x47d, 0x47d, 0xc000130900, 0x47d) /usr/local/go/src/strings/strings.go:354 +0x123 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:179 +0x347 github.com/prometheus/procfs.ProcStat.StartTime(0x2193d, 0xc000022fb0, 0xf, 0xd9c178, 0x1, 0x1, 0x2193c, 0x2193c, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [waiting]: runtime.ReadMemStats(0xc00028e000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc00028e000, 0xc0002521e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-04T10:24:58.213Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T10:24:58.213Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T10:24:58.213Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T10:24:58.213Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T10:24:58.213Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T10:24:58.214Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7dd82f3f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8100, 0xda880806c4951e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097158, 0x62eb9eb4, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097158, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc000097158, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097158, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7dd8337338, 0xc0000b45f0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009b650, 0x7f7dd8337338, 0xc0000b45f0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7dd8337338, 0xc0000b45f0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a2a20, 0x7f7dd8337338, 0xc0000b45f0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea0e0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a2ba0, 0xab7900, 0xc0000ea0e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea0e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea0e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000ba2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f7dd82f3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8180, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8180, 0xc0000a2e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000b26c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00b0, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a2e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: runtime/debug.readGCStats(0xc000230028) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000230000) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [semacquire]: sync.runtime_Semacquire(0xc0000b61c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000b61c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b61c0, 0xc0000b2900, 0xc0000b2960) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: io.(*LimitedReader).Read(0xc0000971a0, 0xc0002ae400, 0x100, 0x100, 0x401, 0xc0002ae000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000971a0, 0x0, 0x0, 0xc0000a00c0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b6270, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xa8e31, 0xc0000b6210, 0xf, 0xd9c178, 0x1, 0x1, 0xa8e30, 0xa8e30, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [waiting]: runtime.ReadMemStats(0xc000228000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc000228000, 0xc00022e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 10 [runnable]: net/http.setRequestCancel(0xc0001bc400, 0xaaf4e0, 0xc0000bc000, 0x0, 0x0, 0x0, 0xc00021e000, 0x0) /usr/local/go/src/net/http/client.go:343 +0x6bd net/http.send(0xc0001bc400, 0xaaf4e0, 0xc0000bc000, 0x0, 0x0, 0x0, 0xc00000e3a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:249 +0x413 net/http.(*Client).send(0xc0000a25a0, 0xc0001bc400, 0x0, 0x0, 0x0, 0xc00000e3a8, 0x0, 0x1, 0xc0001bc400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a25a0, 0xc0001bc400, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000be000, 0xc0000b2900, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000be000, 0xc0000b2900) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-04T13:24:52.980Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T13:24:52.983Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T13:24:52.983Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T13:24:52.983Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T13:24:52.983Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-04T13:24:52.983Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008aa80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc587299f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002cc098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002cc080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002cc080, 0xc25cccfcb16d7401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62ebc8a8, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc0000a2370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc0000a2370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000a2370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 24 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7fc587032008, 0xc0000a24b0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fc587032008, 0xc0000a24b0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000588000, 0xc00058a000, 0xf0, 0x1000, 0x0, 0xc000095610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000296340, 0xc0000956d0, 0xc000095620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000296340, 0xc0000957c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000588000, 0xc0000a27d0, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000a27d0, 0xc000580828, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc5872d61e8, 0xc0000a24b0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7fc5872d61e8, 0xc0000a24b0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc5872d61e8, 0xc0000a24b0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7fc5872d61e8, 0xc0000a24b0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00021c000, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc00021c000, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00021c000, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc00021c000, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000ac960, 0xab8818, 0xc0000d6280) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x7fc587299e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2298, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e2280, 0xc0000a70c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2280, 0xc0000a70c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d40a8, 0xc0000a70c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a70b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7fc587299d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2418, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e2400, 0xc0003b4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2400, 0xc0003b4000, 0x1000, 0x1000, 0x439c3c, 0xc000211c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e328, 0xc0003b4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120b40, 0xc0003b4000, 0x1000, 0x1000, 0xc00007e2a0, 0xc000211d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00028aa80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00028aa80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120b40) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 44 [select]: net/http.(*persistConn).writeLoop(0xc000120b40) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T16:24:59.839Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T16:24:59.843Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T16:24:59.843Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T16:24:59.843Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T16:24:59.844Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T16:24:59.844Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0005aa300) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fcd36e94f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a900, 0xafd7cca8f4bc1d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d668, 0x62ebf314, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d668, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f6000, 0xab76f0, 0xc00000d668, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d668, 0xc0001f6000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001f6000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 15 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 51 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000500000, 0x7fcd36ed8458, 0xc00007d270, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fcd36ed8458, 0xc00007d270, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00049c000, 0xc00049e000, 0xef, 0x1000, 0x0, 0xc000297610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0004786c0, 0xc0002976d0, 0xc000297620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0004786c0, 0xc0002977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00049c000, 0xc00023e640, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00023e640, 0xc000206e28, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fcd36eade78, 0xc00007d270, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001ea540, 0x7fcd36eade78, 0xc00007d270, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcd36eade78, 0xc00007d270, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cf860, 0x7fcd36eade78, 0xc00007d270, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f60e0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cf9e0, 0xab7900, 0xc0001f60e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f60e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f6000, 0xab7900, 0xc0001f60e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b9400, 0xab8818, 0xc0001236c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7fcd36e94e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a998, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a980, 0xc0001cfc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0001cfc91, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b860) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001cfc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cfc80) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7fcd36e94d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000328098, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000328080, 0xc00032a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000328080, 0xc00032a000, 0x1000, 0x1000, 0x439c3c, 0xc000109c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e3e0, 0xc00032a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001290e0, 0xc00032a000, 0x1000, 0x1000, 0xc00007e780, 0xc000109d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000944e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000944e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001290e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc0001290e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T19:24:56.121Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T19:24:56.123Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T19:24:56.123Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T19:24:56.123Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T19:24:56.123Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T19:24:56.126Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7b5c175f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8100, 0x9e4ef452baadcf01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097140, 0x62ec1d08, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097140, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc000097140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097140, 0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00023e3c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00023e3c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [runnable]: github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:232 +0x5de github.com/prometheus/procfs.ProcStat.StartTime(0x1f3b4, 0xc000022e20, 0xf, 0xd9c178, 0x1, 0x1, 0x1f3b3, 0x1f3b3, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000b28a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000b28a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00023e3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7b5c1b93b8, 0xc0000b45a0, 0xc0002a0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009b650, 0x7f7b5c1b93b8, 0xc0000b45a0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7b5c1b93b8, 0xc0000b45a0, 0xc0002a0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a2a20, 0x7f7b5c1b93b8, 0xc0000b45a0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f20e0, 0xc0002a0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a2ba0, 0xab7900, 0xc0000f20e0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f20e0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f20e0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 0xab8818, 0xc0000c22c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7f7b5c175e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8180, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8180, 0xc0000a2e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000b2660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00b8, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a2e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000be1c0, 0xc0000b28a0, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 30 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f7b82e3f5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000c4000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000c4110, 0xc000108660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000c4000, 0xc0002a0100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000c4000, 0xc0002a0100, 0xc0000c4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002a0100, 0xaaf4e0, 0xc0000c4000, 0x0, 0x0, 0x0, 0xc0000a00c8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a25a0, 0xc0002a0100, 0x0, 0x0, 0x0, 0xc0000a00c8, 0x0, 0x1, 0xc0002a0100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a25a0, 0xc0002a0100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000c6000, 0xc0000b28a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000c6000, 0xc0000b28a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc0000b28a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 39 [waiting]: runtime.ReadMemStats(0xc00027a000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc00027a000, 0xc00026c1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-04T22:24:56.229Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T22:24:56.230Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T22:24:56.230Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T22:24:56.230Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T22:24:56.230Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T22:24:56.230Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000330000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000330000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000382c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ffb26d61f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6080, 0xa964681d3f245c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009cb40, 0x62ec4738, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009cb40, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fe000, 0xab76f0, 0xc00009cb40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009cb40, 0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 25 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000680000, 0x7ffb26ca9c98, 0xc0000d4640, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7ffb26ca9c98, 0xc0000d4640, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0002c2d10, 0xc000600000, 0xf0, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000b7140, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000b7140, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0002c2d10, 0xc0002e6280, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002e6280, 0xc0002b8af8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ffb26da2ab8, 0xc0000d4640, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000cf1f0, 0x7ffb26da2ab8, 0xc0000d4640, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffb26da2ab8, 0xc0000d4640, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000af590, 0x7ffb26da2ab8, 0xc0000d4640, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fe0e0, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000af710, 0xab7900, 0xc0000fe0e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fe0e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fe000, 0xab7900, 0xc0000fe0e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bcaa0, 0xab8818, 0xc0000b6440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 26 [IO wait]: internal/poll.runtime_pollWait(0x7ffb26d61e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6100, 0xc0000af9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6100, 0xc0000af9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000094840) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00009e170, 0xc0000af9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000af9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7ffb26d61d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6200, 0xc0003a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6200, 0xc0003a8000, 0x1000, 0x1000, 0x439c3c, 0xc00010fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000380028, 0xc0003a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128b40, 0xc0003a8000, 0x1000, 0x1000, 0xc00007e4e0, 0xc00010fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000095020) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000095020, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128b40) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 65 [select]: net/http.(*persistConn).writeLoop(0xc000128b40) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-05T01:24:52.592Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T01:24:52.593Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T01:24:52.593Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T01:24:52.593Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T01:24:52.593Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T01:24:52.593Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc0002d2000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002d2000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001680) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f151b0c7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a680, 0x9c90c6cec68bb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d7b8, 0x62ec7168, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d7b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc00000d7b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d7b8, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc0000a2230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc0000a2230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 15 [chan receive]: main.main.func1(0xaaf020, 0xc0000a2230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [syscall]: compress/flate.NewWriter(0x7f151b0e3e58, 0xc00007d220, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0000cc160, 0xc000504000, 0xef, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000d6f80, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000d6f80, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000cc160, 0xc0002b4500, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002b4500, 0xc00009cd68, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f151b0df4f8, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001bd730, 0x7f151b0df4f8, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f151b0df4f8, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c7410, 0x7f151b0df4f8, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e20e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7590, 0xab7900, 0xc0001e20e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e20e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e20e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1540, 0xab8818, 0xc00011b5c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7f151b0c7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001c7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001c7841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b680) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001c7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 58 [IO wait]: internal/poll.runtime_pollWait(0x7f151b0c7d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e2300, 0xc000336000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2300, 0xc000336000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d40e0, 0xc000336000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001210e0, 0xc000336000, 0x1000, 0x1000, 0xc0000ec3c0, 0xc000107d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002b0420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002b0420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001210e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 59 [select]: net/http.(*persistConn).writeLoop(0xc0001210e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-05T04:24:50.593Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T04:24:50.595Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T04:24:50.595Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T04:24:50.595Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T04:24:50.595Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T04:24:50.595Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000318000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000318000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001e3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f1499ffbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a180, 0x82eb6bd2e4ebff01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d0e0, 0x62ec9b98, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d0e0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001b4000, 0xab76f0, 0xc00000d0e0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d0e0, 0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc00020a320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc00020a320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [chan receive]: main.main.func1(0xaaf020, 0xc00020a320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1499e13278, 0xc00007c5a0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7f1499e13278, 0xc00007c5a0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1499e13278, 0xc00007c5a0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7f1499e13278, 0xc00007c5a0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001b40e0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001b4000, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc00018e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 14 [runnable]: net/http.(*connReader).backgroundRead(0xc000184e40) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 15 [runnable]: net/http.NewRequestWithContext(0xab87a8, 0xc0000b8058, 0xa04fba, 0x3, 0x7ffdc8afdef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:853 +0x89b net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc000192000, 0xc00007a8a0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000192000, 0xc00007a8a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc00007a8a0, 0xc00007a900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 49 [runnable]: fmt.(*readRune).UnreadRune(0xc000185110, 0x63, 0xc000185110) /usr/local/go/src/fmt/scan.go:369 +0x87 fmt.(*ss).UnreadRune(...) /usr/local/go/src/fmt/scan.go:233 fmt.(*ss).notEOF(0xc00007aa20) /usr/local/go/src/fmt/scan.go:510 +0x48 fmt.(*ss).convertString(0xc00007aa20, 0x73, 0xc0000768c0, 0x0) /usr/local/go/src/fmt/scan.go:829 +0x8c fmt.(*ss).scanOne(0xc00007aa20, 0x73, 0x936b40, 0xc0000768c0) /usr/local/go/src/fmt/scan.go:1012 +0xa6b fmt.(*ss).doScanf(0xc00007aa20, 0xa172b2, 0x20, 0xc0001e6fc0, 0xb, 0xb, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc0000768d0, 0xa172b2, 0x20, 0xc0001e6fc0, 0xb, 0xb, 0xc0001fe055, 0xa01, 0xfab) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc000180190, 0x4c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:89 +0x228 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0x6fa34, 0xc000022270, 0xf, 0xd9c178, 0x1, 0x1, 0x6fa33, 0x6fa33, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc00007a8a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc00007a8a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc00007a8a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [waiting]: runtime.ReadMemStats(0xc00028e000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc00028e000, 0xc000094120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-05T05:17:59.355Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T05:17:59.356Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T05:17:59.356Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T05:17:59.356Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T05:17:59.356Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T05:17:59.356Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00028df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f298bcd0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a680, 0x1423905fb2371101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d518, 0x62eca840, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d518, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc00000d518, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d518, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 16 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f298bce3bf8, 0xc00007cff0, 0xc0001be200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6f50, 0x7f298bce3bf8, 0xc00007cff0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f298bce3bf8, 0xc00007cff0, 0xc0001be200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce870, 0x7f298bce3bf8, 0xc00007cff0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da0e0, 0xc0001be200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9f0, 0xab7900, 0xc0001da0e0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da0e0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da0e0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001bab40, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7f298bcd0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001ceca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001ceca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001ceca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b560, 0xc00007b5c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: net/url.getscheme(0x7fff58528ef8, 0x28, 0xc0001be200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001c6f50, 0xc000123380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fff58528ef8, 0x28, 0xc0001b0100, 0x7fff58528ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fff58528ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7fff58528ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a80f0, 0xc00007b560, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a80f0, 0xc00007b560) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [waiting]: runtime.ReadMemStats(0xc0000f8000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0000f8000, 0xc0000fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 37 [runnable]: github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:27 +0x116b github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-05T07:24:50.976Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T07:24:50.977Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T07:24:50.977Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T07:24:50.977Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T07:24:50.978Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-05T07:24:50.977Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002b3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa2ea814f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x41265ed8b7c4b201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d068, 0x62ecc5c8, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d068, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00030c000, 0xab76f0, 0xc00000d068, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d068, 0xc00030c000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00030c000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa2ea8326f8, 0xc00007d360, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0003000e0, 0x7fa2ea8326f8, 0xc00007d360, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa2ea8326f8, 0xc00007d360, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0003023f0, 0x7fa2ea8326f8, 0xc00007d360, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00030c0e0, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000302570, 0xab7900, 0xc00030c0e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00030c0e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00030c000, 0xab7900, 0xc00030c0e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001e20a0, 0xab8818, 0xc000123840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7fa2ea814e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc000302821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc000302821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ba40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e440, 0xc000302821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000302810) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc00007bc80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:299 +0x268 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023610, 0xc00007bc80, 0xc00007bce0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40d91b, 0xc00018f200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c0dc0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c0ed0, 0xc00010c660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c0dc0, 0xc0001bc500, 0x30, 0x9db900, 0x7fa2eabacfff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c0dc0, 0xc0001bc500, 0xc0001c0dc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc500, 0xaaf4e0, 0xc0001c0dc0, 0x0, 0x0, 0x0, 0xc00000e450, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c7f50, 0xc0001bc500, 0x0, 0x0, 0x0, 0xc00000e450, 0x0, 0x1, 0xc0001bc500) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c7f50, 0xc0001bc500, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8ff0, 0xc00007bc80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8ff0, 0xc00007bc80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/procfs.Proc.Stat(0xc7a2f, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:124 +0x165 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007bc80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007bc80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 65 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0002b6000, 0xc0002bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-05T10:24:52.273Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T10:24:52.274Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T10:24:52.274Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T10:24:52.274Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T10:24:52.274Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T10:24:52.274Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000081400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000081400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000288000) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb340fc9f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a680, 0xffe94c236756a601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d4d0, 0x62eceff8, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d4d0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc00000d4d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d4d0, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0000d4500, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0000d4500, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc0000d4500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [syscall]: compress/flate.NewWriter(0x7fb340d69558, 0xc00007cf50, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0004020b0, 0xc0005a4000, 0xef, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0003ae780, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0003ae780, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0004020b0, 0xc0000d4910, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000d4910, 0xc00030ac30, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb340fdcbf8, 0xc00007cf50, 0xc0001be200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c6f50, 0x7fb340fdcbf8, 0xc00007cf50, 0xc0001be200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb340fdcbf8, 0xc00007cf50, 0xc0001be200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce870, 0x7fb340fdcbf8, 0xc00007cf50, 0xc0001be200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da0e0, 0xc0001be200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9f0, 0xab7900, 0xc0001da0e0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da0e0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da0e0, 0xc0001be200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001baaa0, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7fb340fc9e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001ceca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001ceca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b2c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001ceca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7fb340fc9d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000f8300, 0xc00033c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f8300, 0xc00033c000, 0x1000, 0x1000, 0x439c3c, 0xc00039cc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000098198, 0xc00033c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128c60, 0xc00033c000, 0x1000, 0x1000, 0xc00007e3c0, 0xc00039cd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0003b04e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0003b04e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 53 [select]: net/http.(*persistConn).writeLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-05T13:24:56.653Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T13:24:56.654Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T13:24:56.654Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T13:24:56.654Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T13:24:56.654Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T13:24:56.655Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001e00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f2e7ecdbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a680, 0xe61478d705f52301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d7e8, 0x62ed1a64, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d7e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ea000, 0xab76f0, 0xc00000d7e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d7e8, 0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc0000a2280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc0000a2280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 14 [chan receive]: main.main.func1(0xaaf020, 0xc0000a2280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 34 [syscall]: compress/flate.NewWriter(0x7f2e7ebdb5c0, 0xc00007d1d0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0000cc8f0, 0xc00053a000, 0xf0, 0x1000, 0x0, 0xc000095610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00033c780, 0xc0000956d0, 0xc000095620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00033c780, 0xc0000957c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000cc8f0, 0xc0003125f0, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0003125f0, 0xc000316c78, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f2e7ecf34f8, 0xc00007d1d0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001bf730, 0x7f2e7ecf34f8, 0xc00007d1d0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2e7ecf34f8, 0xc00007d1d0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c7410, 0x7f2e7ecf34f8, 0xc00007d1d0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ea0e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7590, 0xab7900, 0xc0001ea0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ea0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ea000, 0xab7900, 0xc0001ea0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001af680, 0xab8818, 0xc00011b5c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 35 [IO wait]: internal/poll.runtime_pollWait(0x7f2e7ecdbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001c7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001c7841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b620) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e3a0, 0xc0001c7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7f2e7ecdbd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e2380, 0xc000246000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2380, 0xc000246000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d40c8, 0xc000246000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000121200, 0xc000246000, 0x1000, 0x1000, 0xc000322060, 0xc000107d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007bc80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007bc80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-05T16:24:59.985Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T16:24:59.987Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T16:24:59.987Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T16:24:59.987Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T16:24:59.987Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T16:24:59.988Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005dc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005dc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000000c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 6 minutes]: internal/poll.runtime_pollWait(0x7f5d0d027f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024a318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024a300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024a300, 0xf09fdc4e9857f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020aa20, 0x62ed4494, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020aa20, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc00020aa20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020aa20, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00020e230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00020e230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [syscall, 6 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive, 6 minutes]: main.main.func1(0xaaf020, 0xc00020e230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: github.com/cespare/xxhash/v2.(*Digest).Write(0xc00008f158, 0xd82025, 0x1, 0x1, 0x0, 0x0, 0x7f5d0d063a78) /go/pkg/mod/github.com/cespare/xxhash/v2@v2.1.1/xxhash.go:68 +0x2df github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc00007c1e0, 0xc0002861c0, 0xc00008f628, 0x1a, 0xc00011c228) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:884 +0x87a github.com/prometheus/client_golang/prometheus.processMetric(0xab2808, 0xc00023e300, 0xc00008f5f8, 0xc00008f628, 0x0, 0xc0002a3800, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:673 +0x3ce github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f5d0cfeb5f8, 0xc0001860f0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000286000, 0x7f5d0cfeb5f8, 0xc0001860f0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5d0cfeb5f8, 0xc0001860f0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002119e0, 0x7f5d0cfeb5f8, 0xc0001860f0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002881c0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000211b60, 0xab7900, 0xc0002881c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002881c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002881c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021a8c0, 0xab8818, 0xc00023e540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 122 [semacquire]: sync.runtime_Semacquire(0xc0001800e8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001800e0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001800e0, 0xc000200060, 0xc00007a5a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 123 [runnable]: internal/poll.runtime_Semrelease(0xc00007a6e8) /usr/local/go/src/runtime/sema.go:75 +0x48 internal/poll.(*FD).destroy(0xc00007a6c0, 0xc000076070, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:86 +0x71 internal/poll.(*FD).decref(0xc00007a6c0, 0x1, 0xd4) /usr/local/go/src/internal/poll/fd_mutex.go:213 +0x5d internal/poll.(*FD).Close(0xc00007a6c0, 0xaaefc0, 0xc000076070) /usr/local/go/src/internal/poll/fd_unix.go:106 +0x4f os.(*file).close(0xc00007a6c0, 0xc000076070, 0xc00019e000) /usr/local/go/src/os/file_unix.go:251 +0x38 os.(*File).Close(0xc00023c040, 0xc000096150, 0xc00019e000) /usr/local/go/src/os/file_posix.go:25 +0x33 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000241b0, 0x11, 0xc00019e000, 0x12c, 0x200, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0x14e github.com/prometheus/procfs.Proc.Stat(0x36ca6, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xfd github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000200060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 104 [IO wait]: internal/poll.runtime_pollWait(0x7f5d0d027e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024a398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024a380, 0xc000211e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024a380, 0xc000211e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c158, 0xc000211e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000211e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 121 [runnable]: type..hash.net/http.connectMethodKey(0xc000234190, 0xaca42fe1, 0x44ec65) <autogenerated>:1 +0xaf net/http.(*Transport).queueForIdleConn(0xc00021c640, 0xc000234160, 0xc0000f1400) /usr/local/go/src/net/http/transport.go:1082 +0x5ce net/http.(*Transport).getConn(0xc00021c640, 0xc00023e8c0, 0x0, 0x7ffe6c3dcef8, 0x4, 0xc0000220c0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1347 +0x297 net/http.(*Transport).roundTrip(0xc00021c640, 0xc0001bc100, 0x30, 0x30, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc00021c640, 0xc0001bc100, 0xc00021c640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc100, 0xaaf4e0, 0xc00021c640, 0x0, 0x0, 0x0, 0xc0001880c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000211560, 0xc0001bc100, 0x0, 0x0, 0x0, 0xc0001880c0, 0x0, 0x1, 0x7f5d0d0628f0) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000211560, 0xc0001bc100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000252870, 0xc000200060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000252870, 0xc000200060) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce [ OK ] level=info ts=2022-08-05T19:24:59.021Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T19:24:59.021Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T19:24:59.021Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T19:24:59.021Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T19:24:59.022Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-05T19:24:59.021Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000306000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000306000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fdea9c75f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a180, 0xcea8a5f38eb59801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d3c8, 0x62ed76a5, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d3c8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d4000, 0xab76f0, 0xc00000d3c8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d3c8, 0xc0001d4000, 0x0, 0x0, 0xaaf020, 0xc0000c8be0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001d4000, 0x0, 0x0, 0xaaf020, 0xc0000c8be0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8be0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 49 [waiting]: runtime.ReadMemStats(0xc000187800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000187800, 0xc0001d2060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0001859b0, 0xc0002375f8, 0xc000237628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:585 +0xeb9 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fdea9bee0a8, 0xc000206140, 0xc000242000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000183e30, 0x7fdea9bee0a8, 0xc000206140, 0xc000242000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fdea9bee0a8, 0xc000206140, 0xc000242000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001855c0, 0x7fdea9bee0a8, 0xc000206140, 0xc000242000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00024e000, 0xc000242000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000185740, 0xab7900, 0xc00024e000, 0xc000242000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00024e000, 0xc000242000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d4000, 0xab7900, 0xc00024e000, 0xc000242000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00022a000, 0xab8818, 0xc00021e040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 36 [runnable]: net/http.(*connReader).backgroundRead(0xc000216150) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 37 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc000204180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 38 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000218050, 0xc000204180, 0xc0002041e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 39 [runnable]: io.(*LimitedReader).Read(0xc000200060, 0xc000262400, 0x100, 0x100, 0x401, 0xc000262000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000200060, 0x0, 0x0, 0xc000228010, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000218100, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xb3d95, 0xc0002180a0, 0xf, 0xd9c178, 0x1, 0x1, 0xb3d94, 0xb3d94, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc000204180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc000204180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-05T21:45:03.195Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T21:45:03.196Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T21:45:03.196Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T21:45:03.196Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T21:45:03.196Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T21:45:03.197Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000097f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f19280c0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000270098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000270080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000270080, 0x455237cf9d15f401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208b40, 0x62ed8f7d, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208b40, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc000208b40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208b40, 0xc000274000, 0x0, 0x0, 0xaaf020, 0xc0000bc2d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000274000, 0x0, 0x0, 0xaaf020, 0xc0000bc2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [runnable]: github.com/prometheus/client_golang/prometheus.(*constMetric).Write(0xc0000ab080, 0xc000400000, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:123 +0x8b github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0000ab080, 0xc0003155f8, 0xc000315628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:598 +0xa2 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1928081ab8, 0xc0002406e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f1928081ab8, 0xc0002406e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1928081ab8, 0xc0002406e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f1928081ab8, 0xc0002406e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002740e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc0002740e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002740e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0002740e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7f19280c0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000270118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000270100, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000270100, 0xc00021b9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002008a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a150, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021b9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e280, 0xc000200ae0, 0xc000200b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 46 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f194ed8aa68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000242280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000242390, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000242280, 0xc000218200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000242280, 0xc000218200, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218200, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc00020a160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021b110, 0xc000218200, 0x0, 0x0, 0x0, 0xc00020a160, 0x0, 0x1, 0xc000218200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021b110, 0xc000218200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244690, 0xc000200ae0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244690, 0xc000200ae0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [runnable]: fmt.newScanState(0xaaefe0, 0xc0000779d0, 0x0, 0x946120, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscanf(0xaaefe0, 0xc0000779d0, 0xa172b2, 0x20, 0xc000310fc0, 0xb, 0xb, 0xc0001970a2, 0x9b2, 0xf5e) /usr/local/go/src/fmt/scan.go:142 +0x54 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001ac2d0, 0x4c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:89 +0x228 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0x636a, 0xc000022e00, 0xf, 0xd9c178, 0x1, 0x1, 0x6369, 0x6369, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000200ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [runnable]: runtime/debug.readGCStats(0xc0000ec338) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc0000ec310) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc000200ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 23 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000f61e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-05T22:24:51.420Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T22:24:51.421Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T22:24:51.421Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T22:24:51.421Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T22:24:51.421Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T22:24:51.421Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000268f00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f00b8be1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0x801eaa3dfe24c801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aed68, 0x62ed98dd, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aed68, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000aed68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aed68, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc0002161e0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc0002161e0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [chan receive]: main.main.func1(0xaaf020, 0xc0002161e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 31 [syscall]: compress/flate.NewWriter(0x7f00b89fa998, 0xc0000c9040, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0000dd550, 0xc00057a000, 0xf0, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00019ecc0, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00019ecc0, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dd550, 0xc000216550, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000216550, 0xc0000af8a8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f00b8bf8d38, 0xc0000c9040, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000174310, 0x7f00b8bf8d38, 0xc0000c9040, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f00b8bf8d38, 0xc0000c9040, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000172840, 0x7f00b8bf8d38, 0xc0000c9040, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001729c0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166a00, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 32 [IO wait]: internal/poll.runtime_pollWait(0x7f00b8be1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000172c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000172c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf380) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2b0, 0xc000172c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000172c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 37 [IO wait]: internal/poll.runtime_pollWait(0x7f00b8be1d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108700, 0xc0003a6000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108700, 0xc0003a6000, 0x1000, 0x1000, 0x439c3c, 0xc0001ecc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e148, 0xc0003a6000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001a26c0, 0xc0003a6000, 0x1000, 0x1000, 0xc000094420, 0xc0001ecd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200ae0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200ae0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001a26c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 38 [select]: net/http.(*persistConn).writeLoop(0xc0001a26c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T01:24:55.321Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T01:24:55.322Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T01:24:55.322Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T01:24:55.322Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T01:24:55.322Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T01:24:55.322Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000290000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000290000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00027df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc6b7241f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x416ab4640d6b8801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd68, 0x62edc30d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd68, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000cd68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd68, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc000220280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc000220280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000214000, 0xc000217800, 0xc00025a0c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc000220280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc6b7254c38, 0xc00007cff0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7fc6b7254c38, 0xc00007cff0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc6b7254c38, 0xc00007cff0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7fc6b7254c38, 0xc00007cff0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d20e0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc0001d20e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d20e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d20e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8b40, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7fc6b7241e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001c4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c4c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b2c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001c4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c4c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000214000, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b500, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: net/url.getscheme(0x7ffcff6a4ef8, 0x28, 0xc0001bc200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001c6310, 0xc000123380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffcff6a4ef8, 0x28, 0xc0001b0100, 0x7ffcff6a4ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffcff6a4ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffcff6a4ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a80f0, 0xc00007b500, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a80f0, 0xc00007b500) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: io.(*LimitedReader).Read(0xc000480000, 0xc000600500, 0x200, 0x200, 0x501, 0xc000600000, 0x500) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000480000, 0x0, 0x0, 0xc000400000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000380070, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x7cebd, 0xc000380010, 0xf, 0xd9c170, 0x1, 0x1, 0x7cebc, 0x7cebc, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-06T04:24:56.544Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T04:24:56.545Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T04:24:56.546Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T04:24:56.546Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T04:24:56.546Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T04:24:56.546Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000319f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f5d64172f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0xe6749c855af3c001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200a38, 0x62eded3d, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200a38, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000200a38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200a38, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 21 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000214640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000214750, 0xc000304660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000214640, 0xc0000cc100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000214640, 0xc0000cc100, 0xc000214640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000cc100, 0xaaf4e0, 0xc000214640, 0x0, 0x0, 0x0, 0xc0000a80e0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00020b560, 0xc0000cc100, 0x0, 0x0, 0x0, 0xc0000a80e0, 0x0, 0x1, 0xc0000cc100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00020b560, 0xc0000cc100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00024e870, 0xc000204de0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024e870, 0xc000204de0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:486 +0x6ed github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f5d641323b8, 0xc0002067d0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f5d641323b8, 0xc0002067d0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5d641323b8, 0xc0002067d0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020b9e0, 0x7f5d641323b8, 0xc0002067d0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020bb60, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000210960, 0xab8818, 0xc00023a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 44 [runnable]: net/http.(*connReader).backgroundRead(0xc00020be00) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 46 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002327c0, 0xc000204de0, 0xc000204e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 47 [runnable]: regexp.(*bitState).reset(0xc000230c60, 0xc000109a40, 0x4e, 0x8) /usr/local/go/src/regexp/backtrack.go:100 +0x18b regexp.(*Regexp).backtrack(0xc0001ae280, 0x0, 0x0, 0x0, 0xc00023f270, 0x4e, 0x0, 0x8, 0xc0002bb5f8, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:319 +0x11e regexp.(*Regexp).doExecute(0xc0001ae280, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc00023f270, 0x4e, 0x0, 0x8, ...) /usr/local/go/src/regexp/exec.go:535 +0x45c regexp.(*Regexp).FindStringSubmatch(0xc0001ae280, 0xc00023f270, 0x4e, 0xc00023f270, 0x4e, 0x0) /usr/local/go/src/regexp/regexp.go:1039 +0xb5 github.com/prometheus/procfs.Proc.Limits(0xdecec, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:104 +0x25f github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000204de0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:59 +0x547 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000204de0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [runnable]: runtime/debug.ReadGCStats(0xc0001b38f0) /usr/local/go/src/runtime/debug/garbage.go:57 +0x592 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc000204de0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0001c6000, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-06T05:21:51.055Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T05:21:51.056Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T05:21:51.056Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T05:21:51.056Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T05:21:51.056Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T05:21:51.056Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000276d80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb1d479af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0xa90e92879f9f4e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6d80, 0x62edfa99, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6d80, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000300000, 0xab76f0, 0xc0000b6d80, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6d80, 0xc000300000, 0x0, 0x0, 0xaaf020, 0xc00023e3c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000300000, 0x0, 0x0, 0xaaf020, 0xc00023e3c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00023e3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7fb1d4535158, 0xc0000d0f50, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fb1d4535158, 0xc0000d0f50, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00025e210, 0xc000582000, 0xef, 0x1000, 0x0, 0xc00009b610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00021c6c0, 0xc00009b6d0, 0xc00009b620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00021c6c0, 0xc00009b7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00025e210, 0xc0001b2410, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0001b2410, 0xc000206ed0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb1d47b04f8, 0xc0000d0f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000176310, 0x7fb1d47b04f8, 0xc0000d0f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb1d47b04f8, 0xc0000d0f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000174840, 0x7fb1d47b04f8, 0xc0000d0f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003000e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001749c0, 0xab7900, 0xc0003000e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003000e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000300000, 0xab7900, 0xc0003000e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166aa0, 0xab8818, 0xc0000c9440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7fb1d479ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c72c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42d8, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000174c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 13 [IO wait]: internal/poll.runtime_pollWait(0x7fb1d479ad48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108798, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108780, 0xc0001de000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108780, 0xc0001de000, 0x1000, 0x1000, 0x439c3c, 0xc00009fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c4320, 0xc0001de000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d2fc0, 0xc0001de000, 0x1000, 0x1000, 0xc00009c420, 0xc00009fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000234b40) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000234b40, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d2fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 14 [select]: net/http.(*persistConn).writeLoop(0xc0000d2fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T07:25:01.293Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T07:25:01.302Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T07:25:01.302Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T07:25:01.302Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T07:25:01.303Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-06T07:25:01.303Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0005aa780) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f32b98adf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024e080, 0x97b4b92be1291301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002128a0, 0x62ee176d, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002128a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc0002128a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002128a0, 0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007cfa0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007cfa0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 16 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 19 [chan receive]: main.main.func1(0xaaf020, 0xc00007cfa0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000500000, 0x7f32b9652998, 0xc0002820f0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f32b9652998, 0xc0002820f0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000133600, 0xc0004a6000, 0xed, 0x1000, 0x0, 0xc0002ad610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000222e00, 0xc0002ad6d0, 0xc0002ad620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000222e00, 0xc0002ad7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000133600, 0xc000228690, 0xed, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000228690, 0xc0002133c8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f32b98260a8, 0xc0002820f0, 0xc0002b8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00020ea10, 0x7f32b98260a8, 0xc0002820f0, 0xc0002b8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f32b98260a8, 0xc0002820f0, 0xc0002b8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7f32b98260a8, 0xc0002820f0, 0xc0002b8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c4000, 0xc0002b8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc0002c4000, 0xc0002b8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c4000, 0xc0002b8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002c4000, 0xc0002b8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00029e000, 0xab8818, 0xc000292040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 34 [IO wait]: internal/poll.runtime_pollWait(0x7f32b98ade30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00029a018, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00029a000, 0xc000288161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00029a000, 0xc000288161, 0x1, 0x1, 0x2, 0x2, 0xaaf020) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00029c000, 0xc000288161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000288150) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 67 [IO wait]: internal/poll.runtime_pollWait(0x7f32b98add48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024e198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024e180, 0xc0000d8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024e180, 0xc0000d8000, 0x1000, 0x1000, 0x439c3c, 0xc000105c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021c0d8, 0xc0000d8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000121200, 0xc0000d8000, 0x1000, 0x1000, 0xc0002c0120, 0xc000105d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002807e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002807e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 68 [select]: net/http.(*persistConn).writeLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T10:24:54.787Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T10:24:54.787Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T10:24:54.787Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T10:24:54.787Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T10:24:54.787Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T10:24:54.787Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00030e000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00030e000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002a9f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe07a808f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0xd6593ca15a57e601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aed68, 0x62ee419d, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aed68, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000aed68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aed68, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00020e230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00020e230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 25 [chan receive]: main.main.func1(0xaaf020, 0xc00020e230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe07a81fcf8, 0xc0000c8ff0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00017c310, 0x7fe07a81fcf8, 0xc0000c8ff0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe07a81fcf8, 0xc0000c8ff0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017a840, 0x7fe07a81fcf8, 0xc0000c8ff0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017a9c0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166a00, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 30 [IO wait]: internal/poll.runtime_pollWait(0x7fe07a808e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc00017ac71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc00017ac71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2b8, 0xc00017ac71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017ac60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [runnable]: net/url.getscheme(0x7ffccb5d8ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffccb5d8ef8, 0x28, 0x100, 0x7ffccb5d8ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffccb5d8ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000b8058, 0xa04fba, 0x3, 0x7ffccb5d8ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001560f0, 0xc0000bf560, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001560f0, 0xc0000bf560) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 32 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8f10, 0xc0000bf560, 0xc0000bf5c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 49 [runnable]: io.(*LimitedReader).Read(0xc0000aedb0, 0xc0002bc900, 0x300, 0x300, 0x901, 0xc0002bc000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000aedb0, 0x0, 0x0, 0xc0000bc2c8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b8fc0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xa39a2, 0xc0000b8f60, 0xf, 0xd9c178, 0x1, 0x1, 0xa39a1, 0xa39a1, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0000bf560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc0000bf560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [waiting]: runtime.ReadMemStats(0xc000300000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000300000, 0xc0002541e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-06T13:24:55.943Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T13:24:55.944Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T13:24:55.944Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T13:24:55.944Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T13:24:55.945Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T13:24:55.945Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000400000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000400000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe8ae66ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000256080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000256080, 0x107ceeb3de2c3f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020e900, 0x62ee6bcd, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020e900, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc00020e900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020e900, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000b4410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000b4410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab2740, 0xc000200360, 0xc00008f5f8, 0xc00008f628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:652 +0xb4c github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe8ae62f278, 0xc000214500, 0xc00027e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000224a10, 0x7fe8ae62f278, 0xc000214500, 0xc00027e000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe8ae62f278, 0xc000214500, 0xc00027e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00022a9f0, 0x7fe8ae62f278, 0xc000214500, 0xc00027e000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a0e0, 0xc00027e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00022ab70, 0xab7900, 0xc00025a0e0, 0xc00027e000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a0e0, 0xc00027e000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a0e0, 0xc00027e000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026c000, 0xab8818, 0xc0002302c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc00022ae10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000232000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000232110, 0xc000109660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000232000, 0xc0000c4200, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000232000, 0xc0000c4200, 0xc000232000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000c4200, 0xaaf4e0, 0xc000232000, 0x0, 0x0, 0x0, 0xc0000a0168, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00022a570, 0xc0000c4200, 0x0, 0x0, 0x0, 0xc0000a0168, 0x0, 0x1, 0xc0000c4200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00022a570, 0xc0000c4200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000234000, 0xc0002007e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000234000, 0xc0002007e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 43 [semacquire]: sync.runtime_Semacquire(0xc0002221c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002221c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002221c0, 0xc0002007e0, 0xc000200840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: io.(*LimitedReader).Read(0xc00020e948, 0xc000326700, 0x200, 0x200, 0x701, 0xc000326000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00020e948, 0x0, 0x0, 0xc0002100b8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000222280, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x9da3, 0xc000222210, 0xf, 0xd9c178, 0x1, 0x1, 0x9da2, 0x9da2, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [waiting]: runtime.ReadMemStats(0xc0001ce000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0001ce000, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-06T16:24:52.561Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T16:24:52.562Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T16:24:52.562Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T16:24:52.562Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T16:24:52.564Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-06T16:24:52.564Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000273f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe84ff3ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000228080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000228080, 0x24f70f8062ed901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000202948, 0x62ee95fd, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000202948, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000202948, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000202948, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000bc230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000bc230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe84ff512b8, 0xc00007cd20, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000214a10, 0x7fe84ff512b8, 0xc00007cd20, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe84ff512b8, 0xc00007cd20, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7fe84ff512b8, 0xc00007cd20, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d4000, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc0001d4000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d4000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0001d4000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1680, 0xab8818, 0xc00011b300) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 36 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: net/url.getscheme(0x7ffde8bd8ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffde8bd8ef8, 0x28, 0x100, 0x7ffde8bd8ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffde8bd8ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffde8bd8ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc000226000, 0xc00007b080, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000226000, 0xc00007b080) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7fe84ff3fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a598, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a580, 0xc0001beac1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a580, 0xc0001beac1, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001beac1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001beab0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 12 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 13 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022ea0, 0xc00007b080, 0xc00007b0e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 14 [runnable]: fmt.(*ss).ReadRune(0xc00007b200, 0xc000022f2a, 0xc000022f10, 0x3, 0x85008500022f2a) /usr/local/go/src/fmt/scan.go:183 +0x165 fmt.(*ss).getRune(0xc00007b200, 0x0) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).notEOF(0xc00007b200) /usr/local/go/src/fmt/scan.go:507 +0x2b fmt.(*ss).scanUint(0xc00007b200, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:676 +0x98 fmt.(*ss).scanOne(0xc00007b200, 0x7fe800000076, 0x9376c0, 0xc0001d4140) /usr/local/go/src/fmt/scan.go:986 +0x78e fmt.(*ss).doScan(0xc00007b200, 0xc0000976b8, 0x16, 0x16, 0x8, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc0001bec60, 0xc0000976b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x699eb, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000fa1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-06T19:24:56.708Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T19:24:56.708Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T19:24:56.708Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T19:24:56.708Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T19:24:56.708Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T19:24:56.708Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa24e12af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108600, 0x317ec2caf2a2d401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000af4d0, 0x62eec02d, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000af4d0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000af4d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000af4d0, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa24e141cf8, 0xc0000c8f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000174f50, 0x7fa24e141cf8, 0xc0000c8f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa24e141cf8, 0xc0000c8f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017c870, 0x7fa24e141cf8, 0xc0000c8f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017c9f0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166aa0, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7fa24e12ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108680, 0xc00017cca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108680, 0xc00017cca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2c0, 0xc00017cca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017cc90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8f10, 0xc0000bf440, 0xc0000bf4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: io.(*LimitedReader).Read(0xc0000af518, 0xc0002b2900, 0x300, 0x300, 0x901, 0xc0002b2000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000af518, 0x0, 0x0, 0xc0000bc2d0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b8fc0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xc6428, 0xc0000b8f60, 0xf, 0xd9c178, 0x1, 0x1, 0xc6427, 0xc6427, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0000bf440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 8 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000108500, 0xc0000bf440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [waiting]: runtime.ReadMemStats(0xc0001dc000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000108500, 0xc0001dc000, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 37 [runnable]: net/url.getscheme(0x7ffc5e532ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffc5e532ef8, 0x28, 0x100, 0x7ffc5e532ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffc5e532ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000b8058, 0xa04fba, 0x3, 0x7ffc5e532ef8, 0x28, 0x0, 0x0, 0xe0adf8, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001560f0, 0xc0000bf440, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001560f0, 0xc0000bf440) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-06T22:24:53.722Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T22:24:53.723Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T22:24:53.723Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T22:24:53.723Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T22:24:53.723Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T22:24:53.727Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00029a300) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f9e19366f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x53f33555cba1501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d020, 0x62eeea5d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d020, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000280000, 0xab76f0, 0xc00000d020, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d020, 0xc000280000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000280000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9e19384738, 0xc00007d360, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001f60e0, 0x7f9e19384738, 0xc00007d360, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9e19384738, 0xc00007d360, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001f83f0, 0x7f9e19384738, 0xc00007d360, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002800e0, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001f8570, 0xab7900, 0xc0002800e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002800e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000280000, 0xab7900, 0xc0002800e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b7f40, 0xab8818, 0xc000123840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f9e19366e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001f8821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001f8821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ba40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e420, 0xc0001f8821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f8810) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c0dc0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c0ed0, 0xc000109660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c0dc0, 0xc0001bc500, 0x30, 0x9db900, 0x7f9e19505a00) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c0dc0, 0xc0001bc500, 0xc0001c0dc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc500, 0xaaf4e0, 0xc0001c0dc0, 0x0, 0x0, 0x0, 0xc0000a0010, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c7f50, 0xc0001bc500, 0x0, 0x0, 0x0, 0xc0000a0010, 0x0, 0x1, 0xc0001bc500) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c7f50, 0xc0001bc500, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8ff0, 0xc00007bc80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8ff0, 0xc00007bc80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 52 [semacquire]: sync.runtime_Semacquire(0xc000023618) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023610) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023610, 0xc00007bc80, 0xc00007bce0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: io.(*LimitedReader).Read(0xc000200090, 0xc000380000, 0x200, 0x200, 0xc000200090, 0xc00029f008, 0xc000080000) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000200090, 0x0, 0x0, 0xc00000e528, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b80c0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x1f3b7, 0xc0000b8050, 0xf, 0xd9c178, 0x1, 0x1, 0x1f3b6, 0x1f3b6, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007bc80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007bc80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-07T01:24:55.516Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T01:24:55.517Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T01:24:55.517Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T01:24:55.517Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T01:24:55.517Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T01:24:55.518Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0x0, 0xc000031000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0x100000000) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.injectglist.func1(...) /usr/local/go/src/runtime/proc.go:3060 runtime.injectglist(0xc0002c3d18) /usr/local/go/src/runtime/proc.go:3084 +0x205 runtime.wakeScavenger() /usr/local/go/src/runtime/mgcscavenge.go:215 +0xa7 runtime.bgscavenge.func1(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgcscavenge.go:261 +0x25 runtime.runOneTimer(0xc000031000, 0xc00007c000, 0x90903dda8bd827) /usr/local/go/src/runtime/time.go:866 +0x146 runtime.runtimer(0xc000031000, 0x90903dda8bd827, 0xc00002e800) /usr/local/go/src/runtime/time.go:774 +0xa5 runtime.checkTimers(0xc000031000, 0x90903dda8bd827, 0x1, 0x0, 0x463700) /usr/local/go/src/runtime/proc.go:3268 +0x19a runtime.findrunnable(0xc00002c000, 0x0) /usr/local/go/src/runtime/proc.go:2700 +0xd28 runtime.schedule() /usr/local/go/src/runtime/proc.go:3169 +0x2d7 runtime.park_m(0xc000384900) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f92e9f4df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000266318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000266300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000266300, 0xeeb7488c15287c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020ec30, 0x62ef148d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020ec30, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc00020ec30, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020ec30, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall, 2 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [IO wait]: internal/poll.runtime_pollWait(0x7f92e9f4de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000266398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000266380, 0xc0002a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000266380, 0xc0002a8000, 0x1000, 0x1000, 0x3, 0x0, 0x30) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002101f8, 0xc0002a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).Read(0xc00027c9c0, 0xc0002a8000, 0x1000, 0x1000, 0x0, 0x0, 0x7f92e9f084b0) /usr/local/go/src/net/http/server.go:780 +0x1b9 bufio.(*Reader).fill(0xc000200fc0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadSlice(0xc000200fc0, 0xc0002ec00a, 0x100000006, 0xc000080000, 0x7f92e9f08428, 0xc00008f810, 0x5) /usr/local/go/src/bufio/bufio.go:360 +0x3d bufio.(*Reader).ReadLine(0xc000200fc0, 0x203000, 0x203000, 0x7f92e9f08428, 0x2, 0xc000094110, 0xc00008f8b8) /usr/local/go/src/bufio/bufio.go:389 +0x34 net/textproto.(*Reader).readLineSlice(0xc0002e8570, 0xc0002ee200, 0xc00008f9e8, 0x4ddfd3, 0xc000266380, 0xc0002a9000) /usr/local/go/src/net/textproto/reader.go:57 +0xd6 net/textproto.(*Reader).ReadLine(...) /usr/local/go/src/net/textproto/reader.go:38 net/http.readRequest(0xc000200fc0, 0x0, 0xc0002ee200, 0x0, 0x0) /usr/local/go/src/net/http/request.go:1027 +0xaa net/http.(*conn).readRequest(0xc000229360, 0xab8770, 0xc0002226c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:966 +0x19d net/http.(*conn).serve(0xc000229360, 0xab8818, 0xc0002226c0) /usr/local/go/src/net/http/server.go:1858 +0x705 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 90 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000128480) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 89 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f92e9f4dd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000266198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000266180, 0xc0002d9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000266180, 0xc0002d9000, 0x1000, 0x1000, 0x439c3c, 0xc000108c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a0038, 0xc0002d9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128480, 0xc0002d9000, 0x1000, 0x1000, 0xc00026e420, 0xc000108d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200480) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200480, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128480) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 [ OK ] level=info ts=2022-08-07T04:24:54.915Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T04:24:54.917Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T04:24:54.917Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T04:24:54.917Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T04:24:54.917Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T04:24:54.918Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008ad80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f99397abf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00022e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00022e080, 0xaaf0cb910ec93401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002068d0, 0x62ef3ebd, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002068d0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc0002068d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002068d0, 0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:97 compress/flate.(*compressor).init(0xc000580000, 0x7f99397e9858, 0xc00020a500, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x51 compress/flate.NewWriter(0x7f99397e9858, 0xc00020a500, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000ca0b0, 0xc000390000, 0xee, 0x1000, 0x0, 0xc000097610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000228ac0, 0xc0000976d0, 0xc000097620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000228ac0, 0xc0000977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000ca0b0, 0xc0000ce4b0, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000ce4b0, 0xc00009f278, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f993976f3b8, 0xc00020a500, 0xc000272000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00021aa10, 0x7f993976f3b8, 0xc00020a500, 0xc000272000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f993976f3b8, 0xc00020a500, 0xc000272000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002209f0, 0x7f993976f3b8, 0xc00020a500, 0xc000272000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002520e0, 0xc000272000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000220b70, 0xab7900, 0xc0002520e0, 0xc000272000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002520e0, 0xc000272000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002520e0, 0xc000272000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc0002282c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7f99397abe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00022e100, 0xc000220e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00022e100, 0xc000220e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002220a0, 0xc000220e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000220e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7f99397abd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc0000fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc0000fe000, 0x1000, 0x1000, 0x439c3c, 0xc000100c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8078, 0xc0000fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120fc0, 0xc0000fe000, 0x1000, 0x1000, 0xc000250300, 0xc000100d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba4e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba4e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-07T05:19:25.368Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T05:19:25.369Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T05:19:25.369Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T05:19:25.369Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T05:19:25.369Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T05:19:25.370Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0000d9f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f82383c8f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x201f8514b24e3801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ced0, 0x62ef4b65, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ced0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc00000ced0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ced0, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc000208320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc000208320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc000208320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f82383dec78, 0xc00007d090, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d4af0, 0x7f82383dec78, 0xc00007d090, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f82383dec78, 0xc00007d090, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c73e0, 0x7f82383dec78, 0xc00007d090, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e20e0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7560, 0xab7900, 0xc0001e20e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e20e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e20e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b9540, 0xab8818, 0xc0001235c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7f82383c8e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001c7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c7811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b440) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001c7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7800) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc00007b680, 0xc00007b6e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: net/http.(*Client).do(0xc0001c6f60, 0xc0001bc400, 0xa04fba, 0x3, 0x7ffe7fc83ef8) /usr/local/go/src/net/http/client.go:590 +0x13cc net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8780, 0xc00007b680, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8780, 0xc00007b680) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [runnable]: strconv.ParseUint(0xc000380491, 0x2, 0xa, 0x40, 0x1485cb2646, 0x0, 0x0) /usr/local/go/src/strconv/atoi.go:60 +0x725 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:196 +0xfd4 github.com/prometheus/procfs.ProcStat.StartTime(0xe7b07, 0xc0000c8050, 0xf, 0xd9c178, 0x1, 0x1, 0xe7b06, 0xe7b06, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b680) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b680) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 39 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc00007b680) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 40 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc00027a000, 0xc0002501e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-07T07:24:51.478Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T07:24:51.479Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T07:24:51.479Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T07:24:51.479Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T07:24:51.479Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T07:24:51.480Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f30203a2f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x1496bc3d8700a201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62ef68ed, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc000214230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc000214230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc000214230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f30203b43f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001be310, 0x7f30203b43f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f30203b43f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bc840, 0x7f30203b43f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bc9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7f30203a2e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bcc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [runnable]: os.newFile(0x8, 0xc0000ce170, 0xa, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc0000ce170, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc0000ce170, 0xa, 0x0, 0x0, 0xc0000ce170, 0xa, 0xc0000ce170) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000ce170, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x166f4, 0xc0000ce110, 0xf, 0xd9c178, 0x1, 0x1, 0x166f3, 0x166f3, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 51 [semacquire]: sync.runtime_Semacquire(0xc000022f68) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022f60) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b4a0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: net/url.getscheme(0x7fffb897eef8, 0x28, 0xc0001b4200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001be310, 0xc00011b380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fffb897eef8, 0x28, 0xc0001b0100, 0x7fffb897eef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fffb897eef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7fffb897eef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a00f0, 0xc00007b4a0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007b4a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: runtime/debug.readGCStats(0xc00023f678) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00023f650) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0002a0000, 0xc0002541e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-07T10:24:52.496Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T10:24:52.496Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T10:24:52.496Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T10:24:52.496Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T10:24:52.496Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T10:24:52.497Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc0002f0400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002f0400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0x0, 0xc00002c000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc00002c000, 0xc00002c000) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc00002c000) /usr/local/go/src/runtime/proc.go:2412 +0x65 runtime.entersyscallblock_handoff() /usr/local/go/src/runtime/proc.go:3687 +0x30 runtime.systemstack(0x0) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 44 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0x1) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc00008f3a8 sp=0xc00008f378 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc00008f3d0 sp=0xc00008f3a8 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc00008f448 sp=0xc00008f3d0 pc=0x41c30a runtime.mallocgc(0xa0510, 0x98c0e0, 0x1, 0x0) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc00008f4d0 sp=0xc00008f448 pc=0x40da55 runtime.newobject(0x98c0e0, 0xc000402139) /usr/local/go/src/runtime/malloc.go:1177 +0x38 fp=0xc00008f500 sp=0xc00008f4d0 pc=0x40e078 compress/flate.NewWriter(0x7f50db6bad58, 0xc000286820, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 fp=0xc00008f548 sp=0xc00008f500 pc=0x642771 compress/gzip.(*Writer).Write(0xc0004020b0, 0xc0005c2000, 0xef, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 fp=0xc00008f598 sp=0xc00008f548 pc=0x64d4a5 bufio.(*Writer).Flush(0xc000406700, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b fp=0xc00008f5f8 sp=0xc00008f598 pc=0x5558bb github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000406700, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f fp=0xc00008f620 sp=0xc00008f5f8 pc=0x7fc00f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0004020b0, 0xc0005b81e0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a fp=0xc00008f7a8 sp=0xc00008f620 pc=0x7f9eea github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0005b81e0, 0xc000281578, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d fp=0xc00008f7e8 sp=0xc00008f7a8 pc=0x7fbd9d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/common/expfmt.(*encoderCloser).Encode(0xc00059e800, 0xc0005b81e0, 0xa1cc8f, 0x28) <autogenerated>:1 +0x42 fp=0xc00008f810 sp=0xc00008f7e8 pc=0x7fc4a2 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f50db7bd4b8, 0xc000286820, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 fp=0xc00008f9c0 sp=0xc00008f810 pc=0x8172c9 net/http.HandlerFunc.ServeHTTP(0xc00030e000, 0x7f50db7bd4b8, 0xc000286820, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00008f9e8 sp=0xc00008f9c0 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f50db7bd4b8, 0xc000286820, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab fp=0xc00008fa50 sp=0xc00008f9e8 pc=0x817b4b net/http.HandlerFunc.ServeHTTP(0xc0002899e0, 0x7f50db7bd4b8, 0xc000286820, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00008fa78 sp=0xc00008fa50 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003100e0, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf fp=0xc00008fae8 sp=0xc00008fa78 pc=0x817c7f net/http.HandlerFunc.ServeHTTP(0xc000289b60, 0xab7900, 0xc0003100e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00008fb10 sp=0xc00008fae8 pc=0x6ae744 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003100e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2428 +0x1ad fp=0xc00008fb70 sp=0xc00008fb10 pc=0x6b05cd net/http.serverHandler.ServeHTTP(0xc000310000, 0xab7900, 0xc0003100e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2867 +0xa3 fp=0xc00008fba0 sp=0xc00008fb70 pc=0x6b1d03 net/http.(*conn).serve(0xc00028eaa0, 0xab8818, 0xc0002ba540) /usr/local/go/src/net/http/server.go:1932 +0x8cd fp=0xc00008ffc8 sp=0xc00008fba0 pc=0x6ad22d runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00008ffd0 sp=0xc00008ffc8 pc=0x46cda1 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f50db961f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c6318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002c6300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002c6300, 0xeb62b8d20a5b0d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000280a68, 0x62ef931d, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000280a68, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000310000, 0xab76f0, 0xc000280a68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000280a68, 0xc000310000, 0x0, 0x0, 0xaaf020, 0xc0002862d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000310000, 0x0, 0x0, 0xaaf020, 0xc0002862d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002862d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7f50db961e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c6398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002c6380, 0xc000289e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c6380, 0xc000289e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000284ba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002b8148, 0xc000289e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000289e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 68 [IO wait]: internal/poll.runtime_pollWait(0x7f50db961d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180618, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180600, 0xc00036c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180600, 0xc00036c000, 0x1000, 0x1000, 0x439c3c, 0xc00009dc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc308, 0xc00036c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cad80, 0xc00036c000, 0x1000, 0x1000, 0xc0000942a0, 0xc00009dd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002852c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002852c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cad80) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 69 [select]: net/http.(*persistConn).writeLoop(0xc0000cad80) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-07T13:24:51.684Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T13:24:51.685Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T13:24:51.685Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T13:24:51.685Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T13:24:51.685Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T13:24:51.687Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ff030c4bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a100, 0x8ec67e6393e9d201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cb40, 0x62efbd4d, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cb40, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00024e000, 0xab76f0, 0xc00000cb40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cb40, 0xc00024e000, 0x0, 0x0, 0xaaf020, 0xc000108320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00024e000, 0x0, 0x0, 0xaaf020, 0xc000108320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc000108320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc000119110, 0xc0000695f8, 0xc000069628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:651 +0xb0f github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff030aa4ab8, 0xc000228690, 0xc00020c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002251f0, 0x7ff030aa4ab8, 0xc000228690, 0xc00020c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff030aa4ab8, 0xc000228690, 0xc00020c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020f590, 0x7ff030aa4ab8, 0xc000228690, 0xc00020c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00024e0e0, 0xc00020c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020f710, 0xab7900, 0xc00024e0e0, 0xc00020c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00024e0e0, 0xc00020c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00024e000, 0xab7900, 0xc00024e0e0, 0xc00020c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020b40, 0xab8818, 0xc000212440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [runnable]: net/http.(*connReader).backgroundRead(0xc00020f9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: github.com/prometheus/procfs.parseCPUStat(0xc000094120, 0x54, 0x3, 0x1, 0xb, 0x0, 0x0, 0x2, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:85 +0x7ae github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0xd45b6, 0xc0000b8da0, 0xf, 0xd9c178, 0x1, 0x1, 0xd45b5, 0xd45b5, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000222d0, 0xc00007aae0, 0xc00007ab40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7ff0578d1108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00022a280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00022a390, 0xc000096660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00022a280, 0xc00020c200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00022a280, 0xc00020c200, 0xc00022a280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00020c200, 0xaaf4e0, 0xc00022a280, 0x0, 0x0, 0x0, 0xc00000e178, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00020f110, 0xc00020c200, 0x0, 0x0, 0x0, 0xc00000e178, 0x0, 0x1, 0xc00020c200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00020f110, 0xc00020c200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00022c690, 0xc00007aae0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00022c690, 0xc00007aae0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [runnable]: runtime/debug.readGCStats(0xc000158488) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000158460) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00011e000, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 39 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00011e000, 0xc000121800, 0xc0001621e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-07T16:24:52.425Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T16:24:52.426Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T16:24:52.426Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T16:24:52.426Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T16:24:52.426Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T16:24:52.426Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f94f8425f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a380, 0x6bb625fee079101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d200, 0x62efe77d, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d200, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000d200, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d200, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000194640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000194750, 0xc00009a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000194640, 0xc0001c6200, 0x30, 0x9db900, 0xffaaaabfeaaaa) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000194640, 0xc0001c6200, 0xc000194640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6200, 0xaaf4e0, 0xc000194640, 0x0, 0x0, 0x0, 0xc00000e178, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000185590, 0xc0001c6200, 0x0, 0x0, 0x0, 0xc00000e178, 0x0, 0x1, 0xc0001c6200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000185590, 0xc0001c6200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001be870, 0xc00007aea0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001be870, 0xc00007aea0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 51 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc00007c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f94f839d3b8, 0xc00007c820, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001b8c40, 0x7f94f839d3b8, 0xc00007c820, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f94f839d3b8, 0xc00007c820, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000185a10, 0x7f94f839d3b8, 0xc00007c820, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000185b90, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020a00, 0xab8818, 0xc0001b2540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7f94f8425e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a400, 0xc000185e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc000185e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ac60) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e158, 0xc000185e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000185e30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 66 [semacquire]: sync.runtime_Semacquire(0xc000022818) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022810) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022810, 0xc00007aea0, 0xc00007af00) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 67 [runnable]: regexp.(*bitState).reset(0xc0001b0c60, 0xc0000a1a40, 0x4e, 0x8) /usr/local/go/src/regexp/backtrack.go:100 +0x18b regexp.(*Regexp).backtrack(0xc0001660a0, 0x0, 0x0, 0x0, 0xc000162f50, 0x4e, 0x0, 0x8, 0xc00008f5f8, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:319 +0x11e regexp.(*Regexp).doExecute(0xc0001660a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc000162f50, 0x4e, 0x0, 0x8, ...) /usr/local/go/src/regexp/exec.go:535 +0x45c regexp.(*Regexp).FindStringSubmatch(0xc0001660a0, 0xc000162f50, 0x4e, 0xc000162f50, 0x4e, 0x0) /usr/local/go/src/regexp/regexp.go:1039 +0xb5 github.com/prometheus/procfs.Proc.Limits(0x25389, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:104 +0x25f github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc00007aea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:59 +0x547 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc00007aea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-07T19:25:02.731Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T19:25:02.731Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T19:25:02.731Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T19:25:02.731Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T19:25:02.731Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T19:25:02.732Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000299f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7571d2ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a180, 0x7a9e045e5366a001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d140, 0x62f011ad, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d140, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001b4000, 0xab76f0, 0xc00000d140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d140, 0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc0000c8dc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc0000c8dc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc00007a900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:302 +0x2a5 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7571b46278, 0xc00007c5f0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7f7571b46278, 0xc00007c5f0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7571b46278, 0xc00007c5f0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7f7571b46278, 0xc00007c5f0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001b40e0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001b4000, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc00018e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [runnable]: net/http.(*connReader).backgroundRead(0xc000184e40) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 49 [runnable]: io.(*LimitedReader).Read(0xc0000ae780, 0xc000404700, 0x200, 0x200, 0x701, 0xc000404000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000ae780, 0x0, 0x0, 0xc0000bc378, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b94c0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x77da3, 0xc0000b9450, 0xf, 0xd9c178, 0x1, 0x1, 0x77da2, 0x77da2, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc00007a900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc00007a900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc00007a900, 0xc00007a960) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f75989b4108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000190000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000190110, 0xc000096660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000190000, 0xc0001d0100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000190000, 0xc0001d0100, 0xc000190000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001d0100, 0xaaf4e0, 0xc000190000, 0x0, 0x0, 0x0, 0xc00000e0c8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001845a0, 0xc0001d0100, 0x0, 0x0, 0x0, 0xc00000e0c8, 0x0, 0x1, 0xc0001d0100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001845a0, 0xc0001d0100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000192000, 0xc00007a900, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000192000, 0xc00007a900) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc0002a6000, 0xc0002ac000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-07T22:24:52.657Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T22:24:52.658Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T22:24:52.658Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T22:24:52.658Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T22:24:52.658Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T22:24:52.659Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002a3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8ae2d64f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0xb790f14c27476901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccf0, 0x62f03bdd, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccf0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000ccf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccf0, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc0000bc460, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc0000bc460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.NewConstMetric(0xc0000a2000, 0x2, 0x4024000000000000, 0x0, 0x0, 0x0, 0x439b85, 0x1, 0x2, 0xc0001c4400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:87 +0x1d4 github.com/prometheus/client_golang/prometheus.MustNewConstMetric(...) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:105 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0xf6 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0000abc20, 0xc0000695f8, 0xc000069628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:652 +0xb4c github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f8ae2d763f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001be310, 0x7f8ae2d763f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8ae2d763f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bc840, 0x7f8ae2d763f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bc9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7f8ae2d64e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c0, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bcc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [runnable]: syscall.read(0x8, 0xc0002b2400, 0x100, 0x100, 0x0, 0x0, 0x7f8ae2ce06c0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:679 +0x10a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc0000baa80, 0xc0002b2400, 0x100, 0x100, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc0000a8178, 0xc0002b2400, 0x100, 0x100, 0x200, 0xc0002b2000, 0xc0002b2000) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00009ec18, 0xc0002b2400, 0x100, 0x100, 0x401, 0xc0002b2000, 0x400) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00009ec18, 0x0, 0x0, 0xc0000a8178, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000ce750, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xd1921, 0xc0000ce6f0, 0xf, 0xd9c178, 0x1, 0x1, 0xd1920, 0xd1920, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b4a0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: net/url.getscheme(0x7ffe6e66eef8, 0x28, 0xc0001b4200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001be310, 0xc00011b380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe6e66eef8, 0x28, 0xc0001b0100, 0x7ffe6e66eef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe6e66eef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffe6e66eef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a00f0, 0xc00007b4a0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007b4a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc00023c000, 0xc000242000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-08T01:24:52.401Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T01:24:52.402Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T01:24:52.402Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T01:24:52.402Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T01:24:52.402Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T01:24:52.402Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000093d01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.goschedImpl(0xc00029a780) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc00029a780) /usr/local/go/src/runtime/proc.go:3361 +0x34 runtime.newstack() /usr/local/go/src/runtime/stack.go:1045 +0x1bc runtime.morestack() /usr/local/go/src/runtime/asm_amd64.s:458 +0x8f goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8d89c4ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a0098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002a0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002a0080, 0x84353c48e0dd6e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62f0660d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc000206320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc000206320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive]: main.main.func1(0xaaf020, 0xc000206320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f8d89bcf378, 0xc00029e4b0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7f8d89bcf378, 0xc00029e4b0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8d89bcf378, 0xc00029e4b0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7f8d89bcf378, 0xc00029e4b0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c80e0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7f8d89c4fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a0118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002a0100, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a0100, 0xc00028ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000298000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000298110, 0xc00010d660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000298000, 0xc0001be200, 0x30, 0x9db900, 0x7f8d89df6d00) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000298000, 0xc0001be200, 0xc000298000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001be200, 0xaaf4e0, 0xc000298000, 0x0, 0x0, 0x0, 0xc00000e238, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028e570, 0xc0001be200, 0x0, 0x0, 0x0, 0xc00000e238, 0x0, 0x1, 0xc0001be200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028e570, 0xc0001be200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [semacquire]: sync.runtime_Semacquire(0xc0002801c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002801c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 19 [runnable]: fmt.(*ss).doScan(0xc00007ae40, 0xc0002e76b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1070 +0x1bc fmt.Fscan(0xaaed20, 0xc000209020, 0xc0002e76b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x2d0ff, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-08T04:24:52.154Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T04:24:52.155Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T04:24:52.155Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T04:24:52.155Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T04:24:52.155Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T04:24:52.156Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000424000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000424000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00020ca80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa6ad3c0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00022c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00022c080, 0x85316aea77f9f501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002068d0, 0x62f0903d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002068d0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002068d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002068d0, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [syscall]: compress/flate.NewWriter(0x7fa6ad280380, 0xc00020a500, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0003320b0, 0xc000606000, 0xef, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000226b80, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000226b80, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0003320b0, 0xc0006001e0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0006001e0, 0xc000330ac8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa6ad380278, 0xc00020a500, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000218a10, 0x7fa6ad380278, 0xc00020a500, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa6ad380278, 0xc00020a500, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021e9f0, 0x7fa6ad380278, 0xc00020a500, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021eb70, 0xab7900, 0xc0002500e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002262c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7fa6ad3c0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00022c100, 0xc00021ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00022c100, 0xc00021ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002200a0, 0xc00021ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7fa6ad3c0d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8380, 0xc0001f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8380, 0xc0001f8000, 0x1000, 0x1000, 0x439c3c, 0xc00032cc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00f0, 0xc0001f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128a20, 0xc0001f8000, 0x1000, 0x1000, 0xc00024e180, 0xc00032cd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001f2420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001f2420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128a20) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 12 [select]: net/http.(*persistConn).writeLoop(0xc000128a20) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-08T05:17:37.216Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T05:17:37.217Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T05:17:37.217Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T05:17:37.217Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T05:17:37.218Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T05:17:37.218Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000253080) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f907f496f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a180, 0x7afd775c9b3a5501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d0e0, 0x62f09ca9, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d0e0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001bc000, 0xab76f0, 0xc00000d0e0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d0e0, 0xc0001bc000, 0x0, 0x0, 0xaaf020, 0xc0000c8d70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001bc000, 0x0, 0x0, 0xaaf020, 0xc0000c8d70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8d70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7f907f356358, 0xc00007c550, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f907f356358, 0xc00007c550, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0003a40b0, 0xc0005cc000, 0xef, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0002228c0, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002228c0, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0003a40b0, 0xc000240690, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000240690, 0xc0003a2ab0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f907f40e278, 0xc00007c550, 0xc0001e0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7f907f40e278, 0xc00007c550, 0xc0001e0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f907f40e278, 0xc00007c550, 0xc0001e0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7f907f40e278, 0xc00007c550, 0xc0001e0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001bc0e0, 0xc0001e0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001bc0e0, 0xc0001e0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001bc0e0, 0xc0001e0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001bc000, 0xab7900, 0xc0001bc0e0, 0xc0001e0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc0001962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 13 [IO wait]: internal/poll.runtime_pollWait(0x7f907f496e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a218, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a200, 0xc000184e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000184e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007a5a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0c0, 0xc000184e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000184e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7f907f496d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108818, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108800, 0xc000430000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108800, 0xc000430000, 0x1000, 0x1000, 0x439c3c, 0xc00009dc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e108, 0xc000430000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001ae360, 0xc000430000, 0x1000, 0x1000, 0xc0003a0000, 0xc00009dd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000402360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000402360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001ae360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 53 [select]: net/http.(*persistConn).writeLoop(0xc0001ae360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-08T07:24:55.697Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T07:24:55.699Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T07:24:55.699Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T07:24:55.699Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T07:24:55.699Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T07:24:55.699Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000276c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb521378f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a180, 0xd8ccbe415151a701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d110, 0x62f0ba6d, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d110, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001b4000, 0xab76f0, 0xc00000d110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d110, 0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000680000, 0x7fb52138e558, 0xc00007c5f0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fb52138e558, 0xc00007c5f0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000dd550, 0xc000634000, 0xef, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00018efc0, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00018efc0, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dd550, 0xc0002406e0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002406e0, 0xc0000aef48, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb5212f0278, 0xc00007c5f0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7fb5212f0278, 0xc00007c5f0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb5212f0278, 0xc00007c5f0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7fb5212f0278, 0xc00007c5f0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001b40e0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001b4000, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc00018e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7fb521378e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a218, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a200, 0xc000184e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000184e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007a6c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b0, 0xc000184e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000184e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 54 [IO wait]: internal/poll.runtime_pollWait(0x7fb521378d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108580, 0xc0004a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108580, 0xc0004a4000, 0x1000, 0x1000, 0x439c3c, 0xc000099c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0f8, 0xc0004a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001a65a0, 0xc0004a4000, 0x1000, 0x1000, 0xc0001b2300, 0xc000099d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001f8360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001f8360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001a65a0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 55 [select]: net/http.(*persistConn).writeLoop(0xc0001a65a0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-08T10:24:51.814Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T10:24:51.814Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T10:24:51.814Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T10:24:51.814Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T10:24:51.815Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-08T10:24:51.816Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f9d87fb5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0380, 0xdcbe7a1d3b036101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f278, 0x62f0e49d, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f278, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000226000, 0xab76f0, 0xc00009f278, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f278, 0xc000226000, 0x0, 0x0, 0xaaf020, 0xc0000bc320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000226000, 0x0, 0x0, 0xaaf020, 0xc0000bc320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 23 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 30 [waiting]: runtime.ReadMemStats(0xc0000b3800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000fa240) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 33 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9d87e120a8, 0xc00028a0a0, 0xc0002b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000f0c40, 0x7f9d87e120a8, 0xc00028a0a0, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9d87e120a8, 0xc00028a0a0, 0xc0002b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aba10, 0x7f9d87e120a8, 0xc00028a0a0, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c4000, 0xc0002b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000abb90, 0xab7900, 0xc0002c4000, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c4000, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000226000, 0xab7900, 0xc0002c4000, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000288000, 0xab8818, 0xc0002a0000) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 34 [runnable]: net/http.(*connReader).backgroundRead(0xc0002840c0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 35 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0002a6060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00029e040, 0xc0002a6060, 0xc0002a60c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 37 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0xc00029a400) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000ce640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000ce750, 0xc00029a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000ce640, 0xc0002b4100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000ce640, 0xc0002b4100, 0xc0000ce640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002b4100, 0xaaf4e0, 0xc0000ce640, 0x0, 0x0, 0x0, 0xc000286010, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ab590, 0xc0002b4100, 0x0, 0x0, 0x0, 0xc000286010, 0x0, 0x1, 0xc0002b4100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ab590, 0xc0002b4100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000f8870, 0xc0002a6060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000f8870, 0xc0002a6060) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [runnable]: syscall.Syscall6(0x106, 0xffffffffffffff9c, 0xc000022e90, 0xc0001bc378, 0x0, 0x0, 0x0, 0x0, 0xc0001bc378, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:43 +0x5 syscall.fstatat(0xffffffffffffff9c, 0xa05a30, 0x5, 0xc0001bc378, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:1440 +0xd2 syscall.Stat(...) /usr/local/go/src/syscall/syscall_linux_amd64.go:66 os.statNolog.func1(...) /usr/local/go/src/os/stat_unix.go:32 os.ignoringEINTR(...) /usr/local/go/src/os/file_posix.go:245 os.statNolog(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/stat_unix.go:31 +0x77 os.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/stat.go:13 +0x4d github.com/prometheus/procfs/internal/fs.NewFS(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/fs/fs.go:40 +0x3f github.com/prometheus/procfs.NewFS(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/fs.go:38 github.com/prometheus/procfs.NewProc(0x42618, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:54 +0x3a github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0002a6060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:34 +0x1a5 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002a6060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-08T13:24:57.041Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T13:24:57.041Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T13:24:57.041Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T13:24:57.041Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T13:24:57.041Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T13:24:57.043Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001a3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f0e64f5a018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000264300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000264300, 0x5e4c55e5bce43801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000210c48, 0x62f10ecd, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000210c48, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000210c48, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000210c48, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc000240410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc000240410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 7 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc000201080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:307 +0x574 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc000240410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f0e64db4438, 0xc000240960, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028a7e0, 0x7f0e64db4438, 0xc000240960, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0e64db4438, 0xc000240960, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028c5a0, 0x7f0e64db4438, 0xc000240960, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028c720, 0xab7900, 0xc00029e0e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000229400, 0xab8818, 0xc0002226c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [runnable]: net/http.(*connReader).backgroundRead(0xc00028c9c0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 46 [runnable]: os.direntReclen(0xc000586048, 0xc0, 0x1fb8, 0x0, 0x1) /usr/local/go/src/os/dirent_linux.go:16 +0x85 os.(*File).readdir(0xc000580000, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0xc0002c5768, 0x4e6065, 0xc00050e670, 0xf, 0x0, ...) /usr/local/go/src/os/dir_unix.go:69 +0x19b os.(*File).Readdirnames(0xc000580000, 0xffffffffffffffff, 0x0, 0xc000000000, 0xc000580000, 0x0, 0x0) /usr/local/go/src/os/dir.go:70 +0x51 github.com/prometheus/procfs.Proc.fileDescriptors(0xb4b25, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:279 +0x139 github.com/prometheus/procfs.Proc.FileDescriptorsLen(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:240 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc000201080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:53 +0x439 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc000201080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 47 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e870, 0xc000201080, 0xc0002010e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f0e8bbdba68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0002428c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002429d0, 0xc000096660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002428c0, 0xc000218300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002428c0, 0xc000218300, 0xc0002428c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218300, 0xaaf4e0, 0xc0002428c0, 0x0, 0x0, 0x0, 0xc000214200, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028c120, 0xc000218300, 0x0, 0x0, 0x0, 0xc000214200, 0x0, 0x1, 0xc000218300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028c120, 0xc000218300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244f00, 0xc000201080, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244f00, 0xc000201080) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 8 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000187800, 0xc0001a6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-08T16:24:55.362Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T16:24:55.365Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T16:24:55.365Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T16:24:55.365Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T16:24:55.365Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T16:24:55.366Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000268c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb900ab4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x37d89cec679bbd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccf0, 0x62f138fd, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccf0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000ccf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccf0, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc00020e280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc00020e280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc00020e280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: compress/flate.(*compressor).deflate(0xc000600000) /usr/local/go/src/compress/flate/deflate.go:428 +0x23b compress/flate.(*compressor).write(0xc000600000, 0xc0005b8000, 0x14e, 0x1000, 0x1000, 0x4844b68a, 0x61) /usr/local/go/src/compress/flate/deflate.go:554 +0x85 compress/flate.(*Writer).Write(...) /usr/local/go/src/compress/flate/deflate.go:712 compress/gzip.(*Writer).Write(0xc0004040b0, 0xc0005b8000, 0x14e, 0x1000, 0xc000069610, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc00023e9c0, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00023e9c0, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0004040b0, 0xc00007d040, 0x14e, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00007d040, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb900ac63f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c0310, 0x7fb900ac63f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb900ac63f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001be840, 0x7fb900ac63f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001be9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0b40, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7fb900ab4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bec71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b2c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c0, 0xc0001bec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bec60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7fb900ab4d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a798, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a780, 0xc0001df000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a780, 0xc0001df000, 0x1000, 0x1000, 0x439c3c, 0xc000387c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8100, 0xc0001df000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120ea0, 0xc0001df000, 0x1000, 0x1000, 0xc00007e480, 0xc000387d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200a80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200a80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120ea0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc000120ea0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-08T19:25:00.480Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T19:25:00.482Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T19:25:00.482Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T19:25:00.482Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T19:25:00.482Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T19:25:00.482Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00025df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc8117b5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a580, 0xc5003f4e4ed02401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd38, 0x62f1731d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd38, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000cd38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd38, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000b42d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000b42d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc0000b42d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 35 [runnable]: fmt.(*ss).convertString(0xc0002003c0, 0x76, 0xc000266018, 0x0) /usr/local/go/src/fmt/scan.go:824 +0x14d fmt.(*ss).scanOne(0xc0002003c0, 0x7fc800000076, 0x936b40, 0xc000266018) /usr/local/go/src/fmt/scan.go:1012 +0xa6b fmt.(*ss).doScan(0xc0002003c0, 0xc0002616b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc00021abd0, 0xc0002616b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0xa7dd5, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 16 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc8117c73f8, 0xc00007cfa0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c8310, 0x7fc8117c73f8, 0xc00007cfa0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc8117c73f8, 0xc00007cfa0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c6840, 0x7fc8117c73f8, 0xc00007cfa0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d20e0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c69c0, 0xab7900, 0xc0001d20e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d20e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d20e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8b40, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7fc8117b5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a600, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a600, 0xc0001c6c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c6c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b4a0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: main.(*Exporter).collect(0xc0001a80f0, 0xc00007b4a0, 0x0, 0x0) /app/apache_exporter.go:283 main.(*Exporter).Collect(0xc0001a80f0, 0xc00007b4a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 23 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0000ab800, 0xc0000ee1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-08T22:24:57.082Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T22:24:57.082Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T22:24:57.082Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T22:24:57.082Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T22:24:57.083Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T22:24:57.083Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000082f00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa618067f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0x9a806b49c6dadb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200a38, 0x62f18d5d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200a38, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000200a38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200a38, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0002062d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0002062d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002062d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7fa617f71698, 0xc000206820, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fa617f71698, 0xc000206820, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00013b550, 0xc000588000, 0xee, 0x1000, 0x0, 0xc0002b3610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c8d00, 0xc0002b36d0, 0xc0002b3620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c8d00, 0xc0002b37c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00013b550, 0xc0002f4280, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002f4280, 0xc000097590, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa6180273b8, 0xc000206820, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7fa6180273b8, 0xc000206820, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa6180273b8, 0xc000206820, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7fa6180273b8, 0xc000206820, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000209b60, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002128c0, 0xab8818, 0xc00023a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7fa618067e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204ba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238140, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000209e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7fa618067d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8100, 0xc0001f4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8100, 0xc0001f4000, 0x1000, 0x1000, 0x439c3c, 0xc0002a6c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238178, 0xc0001f4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001286c0, 0xc0001f4000, 0x1000, 0x1000, 0xc00007e2a0, 0xc0002a6d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001c8420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001c8420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 12 [select]: net/http.(*persistConn).writeLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T01:24:56.208Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T01:24:56.208Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T01:24:56.208Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T01:24:56.208Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T01:24:56.209Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T01:24:56.209Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc0001d0c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0001d0c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001200) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb7ff3a5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000292098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000292080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000292080, 0xa9b0ec9a34489201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a2b58, 0x62f1b78d, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a2b58, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc0000a2b58, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a2b58, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc000108cd0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000296000, 0x0, 0x0, 0xaaf020, 0xc000108cd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc000108cd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 7 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 42 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7fb7ff102c98, 0xc0000d46e0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fb7ff102c98, 0xc0000d46e0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0003900b0, 0xc00053c000, 0xef, 0x1000, 0x0, 0xc0002b1610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000392700, 0xc0002b16d0, 0xc0002b1620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000392700, 0xc0002b17c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0003900b0, 0xc0000d49b0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000d49b0, 0xc000125068, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb7ff3e6ab8, 0xc0000d46e0, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000cf1f0, 0x7fb7ff3e6ab8, 0xc0000d46e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb7ff3e6ab8, 0xc0000d46e0, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000af590, 0x7fb7ff3e6ab8, 0xc0000d46e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002960e0, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000af710, 0xab7900, 0xc0002960e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002960e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc0002960e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bcaa0, 0xab8818, 0xc0000b6440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7fb7ff3a5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000292118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000292100, 0xc0000af9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000292100, 0xc0000af9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000948a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a4158, 0xc0000af9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000af9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7fb7ff3a5d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000292298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000292280, 0xc00023c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000292280, 0xc00023c000, 0x1000, 0x1000, 0x439c3c, 0xc00038cc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e088, 0xc00023c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000be900, 0xc00023c000, 0x1000, 0x1000, 0xc00038e000, 0xc00038cd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000095140) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000095140, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000be900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 12 [select]: net/http.(*persistConn).writeLoop(0xc0000be900) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T04:24:51.163Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T04:24:51.164Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T04:24:51.164Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T04:24:51.164Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T04:24:51.164Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T04:24:51.164Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f06215f4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8100, 0x9ea6109ef406d501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000970f8, 0x62f1e1bd, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000970f8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc0000970f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000970f8, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc0000b28a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f0621638378, 0xc0000b45a0, 0xc0002a0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009b650, 0x7f0621638378, 0xc0000b45a0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0621638378, 0xc0000b45a0, 0xc0002a0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a2a20, 0x7f0621638378, 0xc0000b45a0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea0e0, 0xc0002a0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a2ba0, 0xab7900, 0xc0000ea0e0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea0e0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea0e0, 0xc0002a0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000c22c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [runnable]: syscall.Syscall(0x0, 0x7, 0xc0000a2e51, 0x1, 0xffffffffffffffff, 0x0, 0xb) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x7, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x439c3c, 0xc0000bb670) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc0000a8180, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 net.(*netFD).Read(0xc0000a8180, 0xc0000a2e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000b2660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00a0, 0xc0000a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a2e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: io.(*LimitedReader).Read(0xc0002123c0, 0xc000382200, 0x200, 0x200, 0x201, 0xc000382000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0002123c0, 0x0, 0x0, 0xc000216168, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00021e770, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xe1cce, 0xc00021e700, 0xf, 0xd9c178, 0x1, 0x1, 0xe1ccd, 0xe1ccd, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000b28a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000b28a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000be1c0, 0xc0000b28a0, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f06482be5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000c4000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000c4110, 0xc000294660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000c4000, 0xc0002a0100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000c4000, 0xc0002a0100, 0xc0000c4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002a0100, 0xaaf4e0, 0xc0000c4000, 0x0, 0x0, 0x0, 0xc0000a00b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a25a0, 0xc0002a0100, 0x0, 0x0, 0x0, 0xc0000a00b0, 0x0, 0x1, 0xc0002a0100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a25a0, 0xc0002a0100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000c6000, 0xc0000b28a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000c6000, 0xc0000b28a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [waiting]: runtime.ReadMemStats(0xc0001ce000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0001ce000, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-09T05:18:12.376Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T05:18:12.377Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T05:18:12.377Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T05:18:12.377Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T05:18:12.377Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T05:18:12.378Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008ac00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f1f57825f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000264300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000264300, 0xe712efcefc662401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208c60, 0x62f1ee29, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208c60, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000208c60, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208c60, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000500000, 0x7f1f576008d8, 0xc000240910, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f1f576008d8, 0xc000240910, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000260160, 0xc000484000, 0xee, 0x1000, 0x0, 0xc000097610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c2700, 0xc0000976d0, 0xc000097620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c2700, 0xc0000977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000260160, 0xc000240e60, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000240e60, 0xc00009f218, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1f577e8438, 0xc000240910, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00028a7e0, 0x7f1f577e8438, 0xc000240910, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1f577e8438, 0xc000240910, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028c5a0, 0x7f1f577e8438, 0xc000240910, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028c720, 0xab7900, 0xc00029e0e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000229360, 0xab8818, 0xc0002226c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7f1f57825e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc00028c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc00028c9d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200d80) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a210, 0xc00028c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028c9c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7f1f57825d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc0000fc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc0000fc000, 0x1000, 0x1000, 0x439c3c, 0xc000106c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8048, 0xc0000fc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001207e0, 0xc0000fc000, 0x1000, 0x1000, 0xc00026c300, 0xc000106d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000201560) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000201560, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T07:24:49.034Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T07:24:49.035Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T07:24:49.035Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T07:24:49.035Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T07:24:49.035Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T07:24:49.036Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000222400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000222400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000224480) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f62af784f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x52ae723150bcb001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cde0, 0x62f20bed, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cde0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000cde0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cde0, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007cc30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007cc30, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f62af6dddd8, 0xc00007d180, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f62af6dddd8, 0xc00007d180, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0002a60b0, 0xc000546000, 0xed, 0x1000, 0x0, 0xc00028f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000b6e40, 0xc00028f6d0, 0xc00028f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000b6e40, 0xc00028f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0002a60b0, 0xc0002ac460, 0xed, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002ac460, 0xc000203338, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f62af79de78, 0xc00007d180, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001cb8f0, 0x7f62af79de78, 0xc00007d180, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f62af79de78, 0xc00007d180, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c9830, 0x7f62af79de78, 0xc00007d180, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c99b0, 0xab7900, 0xc0001ee0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b94a0, 0xab8818, 0xc0001236c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7f62af784e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001c9c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001c9c61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b740) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc0001c9c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c9c50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7f62af784d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000214100, 0xc0002d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214100, 0xc0002d2000, 0x1000, 0x1000, 0x439c3c, 0xc00025bc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a40f8, 0xc0002d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001290e0, 0xc0002d2000, 0x1000, 0x1000, 0xc00007e600, 0xc00025bd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002a8360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002a8360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001290e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 57 [select]: net/http.(*persistConn).writeLoop(0xc0001290e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T10:24:49.910Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T10:24:49.912Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T10:24:49.912Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T10:24:49.912Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T10:24:49.913Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T10:24:49.913Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001680) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 4 minutes]: internal/poll.runtime_pollWait(0x7f10a83b5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a580, 0x4d19e7239bf60401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62f2361d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000b4370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000b4370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc0000b4370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 24 [syscall, 4 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000720000, 0x7f10a8151398, 0xc0000b4140, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f10a8151398, 0xc0000b4140, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000dedc0, 0xc000189000, 0xee, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000220e00, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000220e00, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dedc0, 0xc000240410, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000240410, 0xc000096a68, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f10a83c73f8, 0xc0000b4140, 0xc000214300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c8310, 0x7f10a83c73f8, 0xc0000b4140, 0xc000214300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f10a83c73f8, 0xc0000b4140, 0xc000214300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c6840, 0x7f10a83c73f8, 0xc0000b4140, 0xc000214300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d21c0, 0xc000214300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c69c0, 0xab7900, 0xc0001d21c0, 0xc000214300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d21c0, 0xc000214300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d21c0, 0xc000214300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8b40, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 47 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f10a83b5d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8200, 0xc000167000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8200, 0xc000167000, 0x1000, 0x1000, 0x439c3c, 0xc000109c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00038c008, 0xc000167000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000f6c60, 0xc000167000, 0x1000, 0x1000, 0xc0000f2300, 0xc000109d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a1e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a1e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000f6c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 48 [select]: net/http.(*persistConn).writeLoop(0xc0000f6c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f10a83b5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a600, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a600, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c6c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 [ OK ] level=info ts=2022-08-09T13:25:06.670Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T13:25:06.670Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T13:25:06.670Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T13:25:06.670Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T13:25:06.670Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T13:25:06.671Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000277800) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f4b961bdf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000264300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000264300, 0xdae5e6b12fa9a801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000202c78, 0x62f2604d, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000202c78, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc000202c78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000202c78, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc000240460, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc000240460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [chan receive]: main.main.func1(0xaaf020, 0xc000240460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7f4b961d3558, 0xc0002409b0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f4b961d3558, 0xc0002409b0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000e5550, 0xc0005a0000, 0xf0, 0x1000, 0x0, 0xc0002c9610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00018eb80, 0xc0002c96d0, 0xc0002c9620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00018eb80, 0xc0002c97c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000e5550, 0xc000240cd0, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000240cd0, 0xc0000b7728, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4b96180538, 0xc0002409b0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7f4b96180538, 0xc0002409b0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4b96180538, 0xc0002409b0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7f4b96180538, 0xc0002409b0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002a60e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000227360, 0xab8818, 0xc0002206c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 46 [IO wait]: internal/poll.runtime_pollWait(0x7f4b961bde30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc0002949d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000238e40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002041f8, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 53 [IO wait]: internal/poll.runtime_pollWait(0x7f4b961bdd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc0002fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc0002fa000, 0x1000, 0x1000, 0x439c3c, 0xc0000a2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e060, 0xc0002fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d26c0, 0xc0002fa000, 0x1000, 0x1000, 0xc000420000, 0xc0000a2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002ea360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002ea360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d26c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 54 [select]: net/http.(*persistConn).writeLoop(0xc0000d26c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T16:24:57.954Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T16:24:57.955Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T16:24:57.955Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T16:24:57.955Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T16:24:57.955Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T16:24:57.956Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001f9f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f1e820f6f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00028a098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00028a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00028a080, 0x32b7b4b4b7f62a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a2ba0, 0x62f28a7d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a2ba0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028e000, 0xab76f0, 0xc0000a2ba0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a2ba0, 0xc00028e000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00028e000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1e8213bc68, 0xc0000d4730, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000cf1f0, 0x7f1e8213bc68, 0xc0000d4730, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1e8213bc68, 0xc0000d4730, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000af590, 0x7f1e8213bc68, 0xc0000d4730, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028e0e0, 0xc0000ac100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000af710, 0xab7900, 0xc00028e0e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028e0e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028e000, 0xab7900, 0xc00028e0e0, 0xc0000ac100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bcaa0, 0xab8818, 0xc0000b6440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f1e820f6e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00028a118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00028a100, 0xc0000af9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00028a100, 0xc0000af9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000094900) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a4160, 0xc0000af9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000af9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b2280, 0xc000094b40, 0xc000094ba0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: io.(*LimitedReader).Read(0xc0000a2be8, 0xc0002b6200, 0x200, 0x200, 0x201, 0xc0002b6000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000a2be8, 0x0, 0x0, 0xc0000a4170, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b2330, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xad0a3, 0xc0000b22d0, 0xf, 0xd9c178, 0x1, 0x1, 0xad0a0, 0xad0a0, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000094b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000094b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc000094b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0x154 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc00020a000, 0xc000210000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 11 [runnable]: strings.LastIndex(0x7ffc47e4feff, 0x9, 0xaa3e70, 0x1, 0x7f1ea8dc0108) /usr/local/go/src/strings/strings.go:76 +0x35f net/url.parseAuthority(0x7ffc47e4feff, 0x9, 0x2f, 0x7ffc47e4feff, 0x9, 0x7ffc47e4ff08, 0x13) /usr/local/go/src/net/url/url.go:583 +0x65 net/url.parse(0x7ffc47e4fef8, 0x28, 0x100, 0x7ffc47e4fef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:567 +0x285 net/url.Parse(0x7ffc47e4fef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffc47e4fef8, 0x28, 0x0, 0x0, 0xd8f880, 0xd81b88, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0000d8690, 0xc000094b40, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0000d8690, 0xc000094b40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-09T19:24:58.009Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T19:24:58.010Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T19:24:58.010Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T19:24:58.010Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T19:24:58.011Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-09T19:24:58.011Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000082c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f38f7d41f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0x63a98c92a9f42b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aed08, 0x62f2b4ad, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aed08, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000280000, 0xab76f0, 0xc0000aed08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aed08, 0xc000280000, 0x0, 0x0, 0xaaf020, 0xc00007c410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000280000, 0x0, 0x0, 0xaaf020, 0xc00007c410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc00007c410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: compress/flate.(*compressor).deflate(0xc000500000) /usr/local/go/src/compress/flate/deflate.go:477 +0x13f compress/flate.(*compressor).write(0xc000500000, 0xc0004d2000, 0x99, 0x1000, 0x1000, 0x2d042f07, 0x0) /usr/local/go/src/compress/flate/deflate.go:554 +0x85 compress/flate.(*Writer).Write(...) /usr/local/go/src/compress/flate/deflate.go:712 compress/gzip.(*Writer).Write(0xc0000dc8f0, 0xc0004d2000, 0x99, 0x1000, 0xc000093610, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc0001fe2c0, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0001fe2c0, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dc8f0, 0xc0001e42d0, 0x99, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0001e42d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f38f7d57738, 0xc0000c8f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000176310, 0x7f38f7d57738, 0xc0000c8f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f38f7d57738, 0xc0000c8f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000174840, 0x7f38f7d57738, 0xc0000c8f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002800e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001749c0, 0xab7900, 0xc0002800e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002800e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000280000, 0xab7900, 0xc0002800e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166a00, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7f38f7d41e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf2c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2b8, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000174c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x7f38f7d41d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108700, 0xc0001f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108700, 0xc0001f8000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc300, 0xc0001f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002186c0, 0xc0001f8000, 0x1000, 0x1000, 0xc000094480, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001e0420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001e0420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002186c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 39 [select]: net/http.(*persistConn).writeLoop(0xc0002186c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T22:24:58.679Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T22:24:58.681Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T22:24:58.681Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T22:24:58.681Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T22:24:58.681Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T22:24:58.681Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00030e000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00030e000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000305f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f926f34cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0x70ae522058ef3701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200a50, 0x62f2dedd, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200a50, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc000200a50, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200a50, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc0002062d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc0002062d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [runnable]: runtime/debug.readGCStats(0xc0000d6878) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc0000d6850) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc000204e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002062d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f926f1ac3b8, 0xc000206820, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000286000, 0x7f926f1ac3b8, 0xc000206820, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f926f1ac3b8, 0xc000206820, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7f926f1ac3b8, 0xc000206820, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000209b60, 0xab7900, 0xc0002880e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002128c0, 0xab8818, 0xc00023a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7f926f34ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204c00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238148, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000209e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 46 [runnable]: fmt.(*readRune).ReadRune(0xc0001d8090, 0xaaefe0, 0xc000077bc0, 0xc0001d80b0, 0x1) /usr/local/go/src/fmt/scan.go:330 +0x40b fmt.(*ss).ReadRune(0xc00007aea0, 0xc0001d8090, 0x4184afcf60000030, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc00007aea0, 0xc0002b0c90) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).SkipSpace(0xc00007aea0) /usr/local/go/src/fmt/scan.go:422 +0x2f fmt.(*ss).scanOne(0xc00007aea0, 0x66, 0x92c700, 0xc0001ac450) /usr/local/go/src/fmt/scan.go:1007 +0xeae fmt.(*ss).doScanf(0xc00007aea0, 0xa172b2, 0x20, 0xc0002b0fc0, 0xb, 0xb, 0x9, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc000077bc0, 0xa172b2, 0x20, 0xc0002b0fc0, 0xb, 0xb, 0xc0001970a2, 0x9b3, 0xf5e) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001ac370, 0x4c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:89 +0x228 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0x9d85a, 0xc000022df0, 0xf, 0xd9c178, 0x1, 0x1, 0x9d859, 0x9d859, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000204e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000204e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 47 [runnable]: sync.runtime_Semacquire(0xc0002327c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002327c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002327c0, 0xc000204e40, 0xc000204ea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f9296016a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000214640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000214750, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000214640, 0xc000258200, 0x20300000000000, 0x7f926f6e4fff, 0x7f926f1a80e8) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000214640, 0xc000258200, 0xc000214640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000258200, 0xaaf4e0, 0xc000214640, 0x0, 0x0, 0x0, 0xc000238158, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000209560, 0xc000258200, 0x0, 0x0, 0x0, 0xc000238158, 0x0, 0x1, 0xc000258200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000209560, 0xc000258200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00024e870, 0xc000204e40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024e870, 0xc000204e40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc000308000, 0xc0000fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T01:25:04.069Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T01:25:04.069Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T01:25:04.069Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T01:25:04.069Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T01:25:04.069Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T01:25:04.070Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00031a400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00031a400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000082f00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f4320dd7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00025c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00025c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00025c080, 0xa87769526d103001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020eb40, 0x62f3090d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020eb40, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc00020eb40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020eb40, 0xc000274000, 0x0, 0x0, 0xaaf020, 0xc0000b4280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000274000, 0x0, 0x0, 0xaaf020, 0xc0000b4280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7f4320dd7d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8380, 0xc0001f0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8380, 0xc0001f0000, 0x1000, 0x1000, 0x439c3c, 0xc00010ec38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00e8, 0xc0001f0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001287e0, 0xc0001f0000, 0x1000, 0x1000, 0xc000272180, 0xc00010ed40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000300480) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000300480, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 36 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f4320e20e18, 0xc0002406e0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f4320e20e18, 0xc0002406e0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0002a80b0, 0xc000550000, 0xef, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000222d40, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000222d40, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0002a80b0, 0xc0003023c0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0003023c0, 0xc0002a6be8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4320d98ab8, 0xc0002406e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f4320d98ab8, 0xc0002406e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4320d98ab8, 0xc0002406e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021d590, 0x7f4320d98ab8, 0xc0002406e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002740e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021d710, 0xab7900, 0xc0002740e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002740e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0002740e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228b40, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 44 [IO wait]: internal/poll.runtime_pollWait(0x7f4320dd7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00025c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00025c100, 0xc00021d9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00025c100, 0xc00021d9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002008a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000210150, 0xc00021d9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021d9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 12 [select]: net/http.(*persistConn).writeLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-10T04:24:53.628Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T04:24:53.629Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T04:24:53.629Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T04:24:53.629Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T04:24:53.629Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T04:24:53.630Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f2bc207cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6080, 0x2314efcce2b4d601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009ab10, 0x62f3333d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009ab10, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fe000, 0xab76f0, 0xc00009ab10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009ab10, 0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc0000cca80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:282 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 25 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f2bc20bdab8, 0xc0000d4690, 0xc0000aa100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000cf1f0, 0x7f2bc20bdab8, 0xc0000d4690, 0xc0000aa100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2bc20bdab8, 0xc0000d4690, 0xc0000aa100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000ad590, 0x7f2bc20bdab8, 0xc0000d4690, 0xc0000aa100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fe0e0, 0xc0000aa100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000ad710, 0xab7900, 0xc0000fe0e0, 0xc0000aa100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fe0e0, 0xc0000aa100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fe000, 0xab7900, 0xc0000fe0e0, 0xc0000aa100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000baaa0, 0xab8818, 0xc0000b4440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 26 [runnable]: net/http.(*connReader).backgroundRead(0xc0000ad9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 27 [runnable]: fmt.(*ss).consume(0xc00007b4a0, 0xa0a93c, 0xb, 0x1, 0xc0001fac01) /usr/local/go/src/fmt/scan.go:479 +0xed fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc00007b4a0, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc00007b4a0, 0x66, 0x92c700, 0xc0001b4718) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc00007b4a0, 0xa172b2, 0x20, 0xc0001fafc0, 0xb, 0xb, 0x8, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc0001d8290, 0xa172b2, 0x20, 0xc0001fafc0, 0xb, 0xb, 0xc00019f13b, 0x91b, 0xec5) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001b4640, 0x4b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:89 +0x228 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0x7cbfb, 0xc0000233e0, 0xf, 0xd9c178, 0x1, 0x1, 0x7cbf9, 0x7cbf9, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000cca80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000cca80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b0280, 0xc0000cca80, 0xc0000ccae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 29 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f2be8d465b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000d6280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000d6390, 0xc000108660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000d6280, 0xc0000aa200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000d6280, 0xc0000aa200, 0xc0000d6280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000aa200, 0xaaf4e0, 0xc0000d6280, 0x0, 0x0, 0x0, 0xc00009c160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ad110, 0xc0000aa200, 0x0, 0x0, 0x0, 0xc00009c160, 0x0, 0x1, 0xc0000aa200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ad110, 0xc0000aa200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000d8690, 0xc0000cca80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d8690, 0xc0000cca80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-10T05:17:41.880Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T05:17:41.882Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T05:17:41.882Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T05:17:41.882Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T05:17:41.883Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T05:17:41.883Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0000c5f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f4787ff4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a900, 0x8a63da7aa384d301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d920, 0x62f33fa9, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d920, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000206000, 0xab76f0, 0xc00000d920, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d920, 0xc000206000, 0x0, 0x0, 0xaaf020, 0xc00007cfa0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000206000, 0x0, 0x0, 0xaaf020, 0xc00007cfa0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [runnable]: github.com/prometheus/client_golang/prometheus.NewConstMetric(0xc0001bb8f0, 0x2, 0x4024000000000000, 0x0, 0x0, 0x0, 0x439b85, 0x1, 0x2, 0xc000200430) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:87 +0x1d4 github.com/prometheus/client_golang/prometheus.MustNewConstMetric(...) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:105 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007be60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0xf6 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 16 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 19 [chan receive]: main.main.func1(0xaaf020, 0xc00007cfa0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 23 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4788012738, 0xc00007d4f0, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e4d20, 0x7f4788012738, 0xc00007d4f0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4788012738, 0xc00007d4f0, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001fe420, 0x7f4788012738, 0xc00007d4f0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002060e0, 0xc0001bc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001fe5a0, 0xab7900, 0xc0002060e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002060e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000206000, 0xab7900, 0xc0002060e0, 0xc0001bc400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021a000, 0xab8818, 0xc000123840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 24 [IO wait]: internal/poll.runtime_pollWait(0x7f4787ff4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a998, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a980, 0xc0001fe851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0001fe851, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007bc20) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e430, 0xc0001fe851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001fe840) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 25 [runnable]: net/url.getscheme(0x7ffd82640ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffd82640ef8, 0x28, 0x100, 0x7ffd82640ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffd82640ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffd82640ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a8ff0, 0xc00007be60, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a8ff0, 0xc00007be60) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 26 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023610, 0xc00007be60, 0xc00007bec0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 27 [runnable]: io.(*LimitedReader).Read(0xc00000d968, 0xc000232900, 0x300, 0x300, 0x901, 0xc000232000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000d968, 0x0, 0x0, 0xc00000e440, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000236c0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x9425c, 0xc000023660, 0xf, 0xd9c178, 0x1, 0x1, 0x9425b, 0x9425b, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007be60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007be60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc000290000, 0xc000296000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T07:24:59.183Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T07:24:59.184Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T07:24:59.184Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T07:24:59.184Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T07:24:59.184Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T07:24:59.185Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00020aa80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f3269c19f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000256080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000256080, 0x268b9e05cfee101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62f35d6d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc0002008d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008d0, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000d4370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000d4370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000d4370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [syscall]: compress/flate.NewWriter(0x7f3269bdec00, 0xc000206500, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc000322000, 0xc000326000, 0xee, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0002244c0, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002244c0, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000322000, 0xc0000d4870, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000d4870, 0xc000201260, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f3269bdd388, 0xc000206500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7f3269bdd388, 0xc000206500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3269bdd388, 0xc000206500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7f3269bdd388, 0xc000206500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a0e0, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021cb70, 0xab7900, 0xc00025a0e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a0e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a0e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026c000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7f3269c19e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000256100, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000256100, 0xc00021ce21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021e0a8, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ce10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 24 [IO wait]: internal/poll.runtime_pollWait(0x7f3269c19d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000f8300, 0xc0002ce000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f8300, 0xc0002ce000, 0x1000, 0x1000, 0x439c3c, 0xc000108c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a61b8, 0xc0002ce000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001286c0, 0xc0002ce000, 0x1000, 0x1000, 0xc0002803c0, 0xc000108d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ccba0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ccba0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 25 [select]: net/http.(*persistConn).writeLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-10T10:24:50.747Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T10:24:50.754Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T10:24:50.754Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T10:24:50.754Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T10:24:50.754Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T10:24:50.755Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001f7f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f23e7a25f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a580, 0x8e2e890ff0334e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd20, 0x62f3879d, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd20, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc00000cd20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd20, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 15 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f23e7a373f8, 0xc00007cfa0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d0310, 0x7f23e7a373f8, 0xc00007cfa0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f23e7a373f8, 0xc00007cfa0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce840, 0x7f23e7a373f8, 0xc00007cfa0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da0e0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9c0, 0xab7900, 0xc0001da0e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da0e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da0e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8b40, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7f23e7a25e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a600, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a600, 0xc0001cec71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 49 [runnable]: runtime/debug.readGCStats(0xc00023bde8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00023bdc0) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [semacquire]: sync.runtime_Semacquire(0xc000022f68) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022f60) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b4a0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: io.(*LimitedReader).Read(0xc00000cd68, 0xc00030c900, 0x300, 0x300, 0x901, 0xc00030c000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000cd68, 0x0, 0x0, 0xc00000e2d8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000023010, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x4df11, 0xc000022fb0, 0xf, 0xd9c178, 0x1, 0x1, 0x4df10, 0x4df10, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: net/url.getscheme(0x7ffcf443def8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffcf443def8, 0x28, 0x100, 0x7ffcf443def8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffcf443def8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffcf443def8, 0x28, 0x0, 0x0, 0x400, 0x400, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a80f0, 0xc00007b4a0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a80f0, 0xc00007b4a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [waiting]: runtime.ReadMemStats(0xc00028a000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc00028a000, 0xc00026c1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T13:25:05.026Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T13:25:05.026Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T13:25:05.026Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T13:25:05.026Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T13:25:05.026Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T13:25:05.028Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002b7f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc20c84ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000110598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000110580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000110580, 0x8d13b441b7cb5901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6c90, 0x62f3b1cd, 0xc00011bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6c90, 0xc00011bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc0000b6c90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6c90, 0xc000298000, 0x0, 0x0, 0xaaf020, 0xc0001a03c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000298000, 0x0, 0x0, 0xaaf020, 0xc0001a03c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc0001a03c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 25 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc20c860538, 0xc0000d0eb0, 0xc000172200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00017e310, 0x7fc20c860538, 0xc0000d0eb0, 0xc000172200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc20c860538, 0xc0000d0eb0, 0xc000172200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017c840, 0x7fc20c860538, 0xc0000d0eb0, 0xc000172200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002980e0, 0xc000172200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017c9c0, 0xab7900, 0xc0002980e0, 0xc000172200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002980e0, 0xc000172200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002980e0, 0xc000172200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00016eaa0, 0xab8818, 0xc0000c9440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 26 [IO wait]: internal/poll.runtime_pollWait(0x7fc20c84ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000110618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000110600, 0xc00017cc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000110600, 0xc00017cc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c7140) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42b8, 0xc00017cc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017cc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 27 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c0f10, 0xc0000c7380, 0xc0000c73e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 29 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40d91b, 0xc000145200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000176500) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000176610, 0xc0000a2660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000176500, 0xc000172300, 0x30, 0x9db900, 0x7fc20cba2fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000176500, 0xc000172300, 0xc000176500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000172300, 0xaaf4e0, 0xc000176500, 0x0, 0x0, 0x0, 0xc0000c42c8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00017c3c0, 0xc000172300, 0x0, 0x0, 0x0, 0xc0000c42c8, 0x0, 0x1, 0xc000172300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00017c3c0, 0xc000172300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00015e0f0, 0xc0000c7380, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00015e0f0, 0xc0000c7380) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 42 [runnable]: io.(*LimitedReader).Read(0xc000182a38, 0xc000400200, 0x200, 0x200, 0x201, 0xc000400000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000182a38, 0x0, 0x0, 0xc00018c0b8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0001c86a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xc4235, 0xc0001c8640, 0xf, 0xd9c178, 0x1, 0x1, 0xc4234, 0xc4234, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc0000c7380) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc0000c7380) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000194000, 0xc0000c7380) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 50 [waiting]: runtime.ReadMemStats(0xc00032c000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000194000, 0xc00032c000, 0xc000332000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 65 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-10T16:24:58.181Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T16:24:58.182Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T16:24:58.182Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T16:24:58.182Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T16:24:58.182Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T16:24:58.183Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000270400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000270400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008ad80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fd89055cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0100, 0xefc6587460db1c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f3b0, 0x62f3dbfd, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f3b0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc00009f3b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f3b0, 0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd89059dab8, 0xc0000bc730, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3e30, 0x7fd89059dab8, 0xc0000bc730, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd89059dab8, 0xc0000bc730, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000ab5c0, 0x7fd89059dab8, 0xc0000bc730, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028c0e0, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000ab740, 0xab7900, 0xc00028c0e0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028c0e0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc00028c0e0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d6aa0, 0xab8818, 0xc0000d0440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7fd89055ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0180, 0xc0000ab9f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0000ab9f1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba960) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8180, 0xc0000ab9f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000ab9e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [select]: net/http.(*persistConn).roundTrip(0xc000120900, 0xc00011b1c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc0000e6280, 0xc0001b4200, 0x30, 0x9db900, 0x7fd890703d00) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc0000e6280, 0xc0001b4200, 0xc0000e6280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4200, 0xaaf4e0, 0xc0000e6280, 0x0, 0x0, 0x0, 0xc00000e230, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ab140, 0xc0001b4200, 0x0, 0x0, 0x0, 0xc00000e230, 0x0, 0x1, 0xc0001b4200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ab140, 0xc0001b4200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000e8690, 0xc0000baba0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e8690, 0xc0000baba0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [semacquire]: sync.runtime_Semacquire(0xc0000ce288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ce280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce280, 0xc0000baba0, 0xc0000bac00) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 65 [IO wait]: internal/poll.runtime_pollWait(0x7fd89055cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0280, 0xc000314000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc000314000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000312000, 0xc000314000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120900, 0xc000314000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000bad80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000bad80, 0x1, 0xc00007e240, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 66 [runnable]: net/http.(*persistConn).writeLoop(0xc000120900) /usr/local/go/src/net/http/transport.go:2379 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-10T19:24:52.911Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T19:24:52.911Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T19:24:52.911Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T19:24:52.911Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T19:24:52.912Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T19:24:52.912Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f5d56ed7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0380, 0xb3e2f6cf1cf20001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f4b8, 0x62f4062d, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f4b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b4000, 0xab76f0, 0xc00009f4b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f4b8, 0xc0002b4000, 0x0, 0x0, 0xaaf020, 0xc0000bc4b0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002b4000, 0x0, 0x0, 0xaaf020, 0xc0000bc4b0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [waiting]: runtime.ReadMemStats(0xc0001c4000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0001c4000, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 8 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000bb140) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 24 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc4b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 31 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f5d56f1e578, 0xc0000bca00, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000289420, 0x7f5d56f1e578, 0xc0000bca00, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5d56f1e578, 0xc0000bca00, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a25d0, 0x7f5d56f1e578, 0xc0000bca00, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002b40e0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a2750, 0xab7900, 0xc0002b40e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002b40e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b4000, 0xab7900, 0xc0002b40e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d7360, 0xab8818, 0xc0000d06c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 32 [runnable]: net/http.(*connReader).backgroundRead(0xc0002a29f0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 49 [runnable]: fmt.newScanState(0xaaed20, 0xc0002180c0, 0x9a0001, 0xc000232000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc0002180c0, 0xc0002d36b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0xa8208, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000bb140) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000bb140) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce870, 0xc0000bb140, 0xc0000bb1a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f5d7dba15b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000e68c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000e69d0, 0xc0002ca660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000e68c0, 0xc0000cc300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000e68c0, 0xc0000cc300, 0xc0000e68c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000cc300, 0xaaf4e0, 0xc0000e68c0, 0x0, 0x0, 0x0, 0xc0000a8218, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0002a2150, 0xc0000cc300, 0x0, 0x0, 0x0, 0xc0000a8218, 0x0, 0x1, 0xc0000cc300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0002a2150, 0xc0000cc300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000e8f00, 0xc0000bb140, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e8f00, 0xc0000bb140) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-10T21:16:17.721Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T21:16:17.723Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T21:16:17.723Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T21:16:17.723Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T21:16:17.723Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T21:16:17.723Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001f9f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ff308a4bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00022e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00022e080, 0x1ed391b289932301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200990, 0x62f4204e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200990, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc000200990, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200990, 0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007cc80, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007cc80, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [runnable]: io.(*LimitedReader).Read(0xc0000a0288, 0xc000404700, 0x200, 0x200, 0x701, 0xc000404000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000a0288, 0x0, 0x0, 0xc0000a20c8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b4180, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xeb402, 0xc0000b4110, 0xf, 0xd9c178, 0x1, 0x1, 0xeb401, 0xeb401, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0002049c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002049c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff308a0b278, 0xc000206640, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021ca10, 0x7ff308a0b278, 0xc000206640, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff308a0b278, 0xc000206640, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002229f0, 0x7ff308a0b278, 0xc000206640, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002520e0, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000222b70, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc0002282c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7ff308a4be30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00022e100, 0xc000222e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00022e100, 0xc000222e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204780) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c0a8, 0xc000222e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000222e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 47 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021a1c0, 0xc0002049c0, 0xc000204a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7ff32f715a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00022a000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00022a110, 0xc00026a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00022a000, 0xc00027a100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00022a000, 0xc00027a100, 0xc00022a000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00027a100, 0xaaf4e0, 0xc00022a000, 0x0, 0x0, 0x0, 0xc00020c0b8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000222570, 0xc00027a100, 0x0, 0x0, 0x0, 0xc00020c0b8, 0x0, 0x1, 0xc00027a100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000222570, 0xc00027a100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00022c000, 0xc0002049c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00022c000, 0xc0002049c0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc0002049c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001c9800, 0xc00007e300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T22:24:52.466Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T22:24:52.467Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T22:24:52.467Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T22:24:52.467Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T22:24:52.468Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T22:24:52.468Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc0002fc000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002fc000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008b380) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f009c50cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x5dd190bffbd90d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62f4303e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc0000bc2d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc0000bc2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 15 [syscall]: compress/flate.NewWriter(0x7f009c461518, 0xc00007cf50, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0000e2160, 0xc000502000, 0xf0, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000e6f40, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000e6f40, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000e2160, 0xc000384410, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000384410, 0xc000212d50, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f009c51e3b8, 0xc00007cf50, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001be310, 0x7f009c51e3b8, 0xc00007cf50, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f009c51e3b8, 0xc00007cf50, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bc840, 0x7f009c51e3b8, 0xc00007cf50, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bc9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7f009c50ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bcc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 55 [IO wait]: internal/poll.runtime_pollWait(0x7f009c50cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0380, 0xc0003aa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0380, 0xc0003aa000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e318, 0xc0003aa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120d80, 0xc0003aa000, 0x1000, 0x1000, 0xc0000f63c0, 0xc000107d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002006c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002006c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 56 [select]: net/http.(*persistConn).writeLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-10T23:56:09.244Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T23:56:09.245Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T23:56:09.245Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T23:56:09.245Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T23:56:09.245Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T23:56:09.245Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002f9f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa9ce48bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002b0098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002b0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002b0080, 0xe302a6a2ea844201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000296888, 0x62f445ce, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000296888, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d8000, 0xab76f0, 0xc000296888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000296888, 0xc0002d8000, 0x0, 0x0, 0xaaf020, 0xc0001a0280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002d8000, 0x0, 0x0, 0xaaf020, 0xc0001a0280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000194000, 0xc00029a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive]: main.main.func1(0xaaf020, 0xc0001a0280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa9ce403278, 0xc0002ae4b0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000292a10, 0x7fa9ce403278, 0xc0002ae4b0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa9ce403278, 0xc0002ae4b0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029e9f0, 0x7fa9ce403278, 0xc0002ae4b0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d80e0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029eb70, 0xab7900, 0xc0002d80e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d80e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d8000, 0xab7900, 0xc0002d80e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002ea000, 0xab8818, 0xc0002a62c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [runnable]: net/http.(*connReader).backgroundRead(0xc00029ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc00029a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:27 +0x116b github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc00029a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002901c0, 0xc00029a780, 0xc00029a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fa9f5111f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0002a8000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002a8110, 0xc0002f0660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002a8000, 0xc000308100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002a8000, 0xc000308100, 0xc0002a8000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000308100, 0xaaf4e0, 0xc0002a8000, 0x0, 0x0, 0x0, 0xc0002a00a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00029e570, 0xc000308100, 0x0, 0x0, 0x0, 0xc0002a00a8, 0x0, 0x1, 0xc000308100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00029e570, 0xc000308100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0002ac000, 0xc00029a780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0002ac000, 0xc00029a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 8 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000194000, 0xc00038a000, 0xc000390000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-11T01:24:53.009Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T01:24:53.011Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T01:24:53.011Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T01:24:53.011Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T01:24:53.011Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T01:24:53.012Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002b3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f54daa81f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0100, 0xc8eabff755416b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f350, 0x62f45a6e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f350, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc00009f350, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f350, 0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000baa80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f54daac2ab8, 0xc0000bc690, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3e30, 0x7f54daac2ab8, 0xc0000bc690, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f54daac2ab8, 0xc0000bc690, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000ab5c0, 0x7f54daac2ab8, 0xc0000bc690, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028c0e0, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000ab740, 0xab7900, 0xc00028c0e0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028c0e0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc00028c0e0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d6aa0, 0xab8818, 0xc0000d0440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [runnable]: net/http.(*connReader).backgroundRead(0xc0000ab9e0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce280, 0xc0000baa80, 0xc0000baae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 30 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f550174b5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000e6280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000e6390, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000e6280, 0xc0000cc200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000e6280, 0xc0000cc200, 0xc0000e6280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000cc200, 0xaaf4e0, 0xc0000e6280, 0x0, 0x0, 0x0, 0xc0000a8188, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ab140, 0xc0000cc200, 0x0, 0x0, 0x0, 0xc0000a8188, 0x0, 0x1, 0xc0000cc200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ab140, 0xc0000cc200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000e8690, 0xc0000baa80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e8690, 0xc0000baa80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc000214000, 0xc00021a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 14 [runnable]: bytes.Index(0xc00017e400, 0x12b, 0x200, 0xc0002b5657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x6d14e, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:125 +0x22c github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000baa80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000baa80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-11T04:24:54.579Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T04:24:54.581Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T04:24:54.581Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T04:24:54.581Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T04:24:54.582Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T04:24:54.582Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001ebf01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe4198aef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a380, 0x5b884ae857fa5601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ca38, 0x62f4849e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ca38, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000270000, 0xab76f0, 0xc00000ca38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ca38, 0xc000270000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000270000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc00007c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe4198263b8, 0xc00007c820, 0xc00023e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00026e000, 0x7fe4198263b8, 0xc00007c820, 0xc00023e100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe4198263b8, 0xc00007c820, 0xc00023e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002019e0, 0x7fe4198263b8, 0xc00007c820, 0xc00023e100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002700e0, 0xc00023e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000201b60, 0xab7900, 0xc0002700e0, 0xc00023e100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002700e0, 0xc00023e100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000270000, 0xab7900, 0xc0002700e0, 0xc00023e100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020960, 0xab8818, 0xc00022a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7fe4198aee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a400, 0xc000201e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc000201e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ac60) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e158, 0xc000201e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000201e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 49 [runnable]: bufio.(*Scanner).Scan(0xc0002a3348, 0xc000480000) /usr/local/go/src/bufio/scan.go:135 +0xabb github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:177 +0x2b6 github.com/prometheus/procfs.ProcStat.StartTime(0xed370, 0xc0000c0da0, 0xf, 0xd9c178, 0x1, 0x1, 0xed36f, 0xed36f, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc00007aea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc00007aea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [semacquire]: sync.runtime_Semacquire(0xc000022818) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022810) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022810, 0xc00007aea0, 0xc00007af00) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fe440534108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00020a640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00020a750, 0xc00009e660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00020a640, 0xc00023e200, 0x20300000000000, 0x7fe419c02fff, 0x7fe419866280) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00020a640, 0xc00023e200, 0xc00020a640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00023e200, 0xaaf4e0, 0xc00020a640, 0x0, 0x0, 0x0, 0xc00000e168, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000201560, 0xc00023e200, 0x0, 0x0, 0x0, 0xc00000e168, 0x0, 0x1, 0xc00023e200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000201560, 0xc00023e200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000234870, 0xc00007aea0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000234870, 0xc00007aea0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000108500, 0xc00007aea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [waiting]: runtime.ReadMemStats(0xc0001ee000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000108500, 0xc0001ee000, 0xc0001f4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-11T05:17:41.741Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T05:17:41.743Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T05:17:41.743Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T05:17:41.743Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T05:17:41.744Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T05:17:41.743Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000222400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000222400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008aa80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f20fd1c1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x383fa65a1e5a9b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d068, 0x62f4910a, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d068, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f8000, 0xab76f0, 0xc00000d068, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d068, 0xc0001f8000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001f8000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 15 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 51 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f20fd205298, 0xc00007d3b0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f20fd205298, 0xc00007d3b0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0004fc000, 0xc0004fe000, 0xef, 0x1000, 0x0, 0xc000095610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000e2700, 0xc0000956d0, 0xc000095620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000e2700, 0xc0000957c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0004fc000, 0xc0000bc320, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000bc320, 0xc00020ab70, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f20fd1df738, 0xc00007d3b0, 0xc0001b6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001ee0e0, 0x7f20fd1df738, 0xc00007d3b0, 0xc0001b6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f20fd1df738, 0xc00007d3b0, 0xc0001b6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001f03f0, 0x7f20fd1df738, 0xc00007d3b0, 0xc0001b6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f80e0, 0xc0001b6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001f0570, 0xab7900, 0xc0001f80e0, 0xc0001b6400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f80e0, 0xc0001b6400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f8000, 0xab7900, 0xc0001f80e0, 0xc0001b6400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b3ea0, 0xab8818, 0xc00011b840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7f20fd1c1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001f0821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001f0821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ba40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e420, 0xc0001f0821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f0810) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 58 [IO wait]: internal/poll.runtime_pollWait(0x7f20fd1c1d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc0002e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc0002e2000, 0x1000, 0x1000, 0x439c3c, 0xc000106c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002aa038, 0xc0002e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000121560, 0xc0002e2000, 0x1000, 0x1000, 0xc000240240, 0xc000106d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba4e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba4e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000121560) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 59 [select]: net/http.(*persistConn).writeLoop(0xc000121560) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-11T07:24:53.998Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T07:24:54.000Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T07:24:54.000Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T07:24:54.000Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T07:24:54.001Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T07:24:54.001Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00022ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f2d517d8f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a680, 0xe4ef4cd1bad3c801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d4e8, 0x62f4aece, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d4e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc00000d4e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d4e8, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0000dc4b0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0000dc4b0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0000dc4b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 24 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f2d517ebbf8, 0xc00007cf50, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001bef50, 0x7f2d517ebbf8, 0xc00007cf50, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2d517ebbf8, 0xc00007cf50, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce870, 0x7f2d517ebbf8, 0xc00007cf50, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9f0, 0xab7900, 0xc0001da0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0b40, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7f2d517d8e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001ceca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001ceca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2e0, 0xc0001ceca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: runtime/debug.readGCStats(0xc0000d7de8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc0000d7dc0) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b4a0, 0xc00007b500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: net/url.getscheme(0x7ffe72488ef8, 0x28, 0xc0001b4200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001bef50, 0xc00011b380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe72488ef8, 0x28, 0xc0001b0100, 0x7ffe72488ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe72488ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffe72488ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a00f0, 0xc00007b4a0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007b4a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 25 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc00029a000, 0xc0002881e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:27 +0x116b github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-11T10:24:54.188Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T10:24:54.188Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T10:24:54.188Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T10:24:54.188Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T10:24:54.188Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T10:24:54.189Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000083380) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ffbaa2d6f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000fa098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000fa080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000fa080, 0x77f29ff7128ac801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a2b58, 0x62f4d8fe, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a2b58, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fe000, 0xab76f0, 0xc0000a2b58, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a2b58, 0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7ffbaa29ac98, 0xc0000d46e0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7ffbaa29ac98, 0xc0000d46e0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000230210, 0xc000558000, 0xed, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000b72c0, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000b72c0, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000230210, 0xc000380410, 0xed, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000380410, 0xc0000a36c8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ffbaa31bbb8, 0xc0000d46e0, 0xc0000ae100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000cf1f0, 0x7ffbaa31bbb8, 0xc0000d46e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffbaa31bbb8, 0xc0000d46e0, 0xc0000ae100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b1590, 0x7ffbaa31bbb8, 0xc0000d46e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fe0e0, 0xc0000ae100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b1710, 0xab7900, 0xc0000fe0e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fe0e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fe000, 0xab7900, 0xc0000fe0e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bcb40, 0xab8818, 0xc0000b6440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7ffbaa2d6e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000fa118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000fa100, 0xc0000b19c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000fa100, 0xc0000b19c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000948a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a4158, 0xc0000b19c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b19b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7ffbaa2d6d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000fa298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000fa280, 0xc0003ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000fa280, 0xc0003ac000, 0x1000, 0x1000, 0x439c3c, 0xc00010fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a41a8, 0xc0003ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128900, 0xc0003ac000, 0x1000, 0x1000, 0xc0000fc300, 0xc00010fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002049c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002049c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc000128900) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-11T13:24:53.599Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T13:24:53.600Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T13:24:53.600Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T13:24:53.600Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T13:24:53.601Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T13:24:53.601Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000329f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fd4b1ee0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000264300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000264300, 0xac3b6c259e1dfe01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020cc18, 0x62f5032e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020cc18, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc00020cc18, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020cc18, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: bytes.(*Buffer).UnreadRune(0xc00027c930, 0x20, 0x20) /usr/local/go/src/bytes/buffer.go:374 +0x9f fmt.(*ss).UnreadRune(...) /usr/local/go/src/fmt/scan.go:233 fmt.(*ss).peek(0xc000200fc0, 0xa04e82, 0x2, 0xffffffffffffff00) /usr/local/go/src/fmt/scan.go:500 +0x83 fmt.(*ss).scanBasePrefix(0xc000200fc0, 0xa04d1e, 0x2, 0xa09f01, 0x0) /usr/local/go/src/fmt/scan.go:628 +0xf8 fmt.(*ss).scanInt(0xc000200fc0, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:653 +0x28c fmt.(*ss).scanOne(0xc000200fc0, 0x7fd400000076, 0x92ff80, 0xc000296120) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc000200fc0, 0xc00008f6b8, 0x16, 0x16, 0x4, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc00027c930, 0xc00008f6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x1d0e3, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000300120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000300120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd4b1e5d0a8, 0xc0003020f0, 0xc000338000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00027a7e0, 0x7fd4b1e5d0a8, 0xc0003020f0, 0xc000338000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd4b1e5d0a8, 0xc0003020f0, 0xc000338000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00027c5a0, 0x7fd4b1e5d0a8, 0xc0003020f0, 0xc000338000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000344000, 0xc000338000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00027c720, 0xab7900, 0xc000344000, 0xc000338000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000344000, 0xc000338000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc000344000, 0xc000338000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00031e000, 0xab8818, 0xc000312040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7fd4b1ee0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00031a018, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00031a000, 0xc000308161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00031a000, 0xc000308161, 0x1, 0x1, 0x2, 0x2, 0xaaf020) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00031c000, 0xc000308161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000308150) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: runtime/debug.readGCStats(0xc00009ac68) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00009ac40) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc000300120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00030a050, 0xc000300120, 0xc000300180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0xc000109400) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0002428c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002429d0, 0xc000109660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002428c0, 0xc000338100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002428c0, 0xc000338100, 0xc0002428c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000338100, 0xaaf4e0, 0xc0002428c0, 0x0, 0x0, 0x0, 0xc00031c010, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00027c120, 0xc000338100, 0x0, 0x0, 0x0, 0xc00031c010, 0x0, 0x1, 0xc000338100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00027c120, 0xc000338100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244f00, 0xc000300120, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244f00, 0xc000300120) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0000ab800, 0xc0000ce000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-11T16:24:53.816Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T16:24:53.817Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T16:24:53.817Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T16:24:53.817Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T16:24:53.817Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T16:24:53.818Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00027e000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00027e000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000083380) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7a54581f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0x59b11b2c56b93401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aecc0, 0x62f52d5e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aecc0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000280000, 0xab76f0, 0xc0000aecc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aecc0, 0xc000280000, 0x0, 0x0, 0xaaf020, 0xc00007c370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000280000, 0x0, 0x0, 0xaaf020, 0xc00007c370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00007c370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:99 compress/flate.(*compressor).init(0xc000580000, 0x7f7a5429d198, 0xc0000c8f00, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0xa9 compress/flate.NewWriter(0x7f7a5429d198, 0xc0000c8f00, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00038e0b0, 0xc00047e000, 0xef, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000222880, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000222880, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00038e0b0, 0xc000448230, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000448230, 0xc00038cab0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7a545933f8, 0xc0000c8f00, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000174310, 0x7f7a545933f8, 0xc0000c8f00, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7a545933f8, 0xc0000c8f00, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000172840, 0x7f7a545933f8, 0xc0000c8f00, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002800e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001729c0, 0xab7900, 0xc0002800e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002800e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000280000, 0xab7900, 0xc0002800e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166aa0, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f7a54581e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000172c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000172c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2b8, 0xc000172c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000172c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7f7a54581d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108700, 0xc0002d8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108700, 0xc0002d8000, 0x1000, 0x1000, 0x439c3c, 0xc000387c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc300, 0xc0002d8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001c4360, 0xc0002d8000, 0x1000, 0x1000, 0xc000388000, 0xc000387d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002b0360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002b0360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001c4360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 52 [select]: net/http.(*persistConn).writeLoop(0xc0001c4360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-11T19:25:00.260Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T19:25:00.260Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T19:25:00.260Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T19:25:00.260Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T19:25:00.260Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T19:25:00.261Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000301f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f285e44af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a900, 0x33c6c3429fb65901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d650, 0x62f5578e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d650, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ec000, 0xab76f0, 0xc00000d650, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d650, 0xc0001ec000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ec000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [runnable]: io.(*LimitedReader).Read(0xc0000a42b8, 0xc000310400, 0x100, 0x100, 0x401, 0xc000310000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000a42b8, 0x0, 0x0, 0xc0000a60c8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000bc170, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xf8c09, 0xc0000bc100, 0xf, 0xd9c178, 0x1, 0x1, 0xf8c08, 0xf8c08, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007baa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007baa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f285e460db8, 0xc00007d270, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e2540, 0x7f285e460db8, 0xc00007d270, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f285e460db8, 0xc00007d270, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c5860, 0x7f285e460db8, 0xc00007d270, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ec0e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c59e0, 0xab7900, 0xc0001ec0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ec0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ec000, 0xab7900, 0xc0001ec0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b14a0, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7f285e44ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a998, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a980, 0xc0001c5c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0001c5c91, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b860) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001c5c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c5c80) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 53 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007baa0, 0xc00007bb00) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 54 [runnable]: net/url.getscheme(0x7ffe53f45ef8, 0x28, 0xc0001b4300, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001e2540, 0xc00011b600) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe53f45ef8, 0x28, 0xc0001b0100, 0x7ffe53f45ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe53f45ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffe53f45ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a0960, 0xc00007baa0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a0960, 0xc00007baa0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.NewConstMetric(0xc0001b38f0, 0x2, 0x4026000000000000, 0x0, 0x0, 0x0, 0xc000212000, 0x1, 0x2, 0xc0001e6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:87 +0x1d4 github.com/prometheus/client_golang/prometheus.MustNewConstMetric(...) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:105 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007baa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0xf6 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc000234000, 0xc00023a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-11T22:24:54.545Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T22:24:54.548Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T22:24:54.548Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T22:24:54.548Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T22:24:54.548Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T22:24:54.551Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0001fea80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f3d765f7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b4098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b4080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b4080, 0x11692af088e38c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000948d0, 0x62f581be, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000948d0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000da000, 0xab76f0, 0xc0000948d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000948d0, 0xc0000da000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000da000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc00007ceb0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f3d7663b3b8, 0xc00009c050, 0xc0001bc600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a0a10, 0x7f3d7663b3b8, 0xc00009c050, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3d7663b3b8, 0xc00009c050, 0xc0001bc600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a69f0, 0x7f3d7663b3b8, 0xc00009c050, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000da1c0, 0xc0001bc600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a6b70, 0xab7900, 0xc0000da1c0, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000da1c0, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000da000, 0xab7900, 0xc0000da1c0, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000ec000, 0xab8818, 0xc0000ae2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 57 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc00020c090, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc00020c090, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc00020c090, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc00020c090, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc0000b0000, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc00020c090, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc0000b0000, 0xab87a8, 0xc0000220b0, 0x0, 0x7ffcfa2ccef8, 0x4, 0xc00020c090, 0xc, 0x0, 0xc0000cc000, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc0000b0000, 0xc00013a580) /usr/local/go/src/net/http/transport.go:1442 +0xc6 created by net/http.(*Transport).queueForDial /usr/local/go/src/net/http/transport.go:1411 +0x40f goroutine 81 [IO wait]: internal/poll.runtime_pollWait(0x7f3d765f7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b4118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b4100, 0xc0000a6e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b4100, 0xc0000a6e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80a0, 0xc0000a6e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a6e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 82 [select]: net/http.(*Transport).getConn(0xc0000b0000, 0xc0000ae040, 0x0, 0x7ffcfa2ccef8, 0x4, 0xc00020c090, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0000b0000, 0xc0000fa100, 0x30, 0x9db900, 0x540) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0000b0000, 0xc0000fa100, 0xc0000b0000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000fa100, 0xaaf4e0, 0xc0000b0000, 0x0, 0x0, 0x0, 0xc000210038, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a6570, 0xc0000fa100, 0x0, 0x0, 0x0, 0xc000210038, 0x0, 0x1, 0xc0000fa100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a6570, 0xc0000fa100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000b2000, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000b2000, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 83 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00009e080, 0xc00007a1e0, 0xc00007a2a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 84 [runnable]: io.(*LimitedReader).Read(0xc00000c078, 0xc0002ce400, 0x100, 0x100, 0x401, 0xc0002ce000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000c078, 0x0, 0x0, 0xc00000e030, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00009e130, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x60421, 0xc00009e0e0, 0xf, 0xd9c178, 0x1, 0x1, 0x60420, 0x60420, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 58 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001c6000, 0xc0000d8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-12T01:24:54.181Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T01:24:54.182Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T01:24:54.182Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T01:24:54.182Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T01:24:54.182Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T01:24:54.182Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000081000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000081000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0001a2a80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f2ceeb9cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000320098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000320080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000320080, 0xf1332a5f5279301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0003068b8, 0x62f5abee, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0003068b8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000348000, 0xab76f0, 0xc0003068b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0003068b8, 0xc000348000, 0x0, 0x0, 0xaaf020, 0xc00007c370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000348000, 0x0, 0x0, 0xaaf020, 0xc00007c370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive]: main.main.func1(0xaaf020, 0xc00007c370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [syscall]: compress/flate.NewWriter(0x7f2ceeb5da98, 0xc00031e4b0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0000dc8f0, 0xc0005e8000, 0xf0, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0002a8f00, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002a8f00, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dc8f0, 0xc0001a0820, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0001a0820, 0xc0000af128, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f2ceead4278, 0xc00031e4b0, 0xc000368000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000302a10, 0x7f2ceead4278, 0xc00031e4b0, 0xc000368000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2ceead4278, 0xc00031e4b0, 0xc000368000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00030e9f0, 0x7f2ceead4278, 0xc00031e4b0, 0xc000368000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003480e0, 0xc000368000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00030eb70, 0xab7900, 0xc0003480e0, 0xc000368000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003480e0, 0xc000368000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000348000, 0xab7900, 0xc0003480e0, 0xc000368000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00035a000, 0xab8818, 0xc0003162c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7f2ceeb9ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000320118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000320100, 0xc00030ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000320100, 0xc00030ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00030a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003100b0, 0xc00030ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00030ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7f2ceeb9cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108580, 0xc0001e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108580, 0xc0001e2000, 0x1000, 0x1000, 0x439c3c, 0xc000406c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc310, 0xc0001e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002bc360, 0xc0001e2000, 0x1000, 0x1000, 0xc000346120, 0xc000406d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00019e4e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00019e4e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002bc360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc0002bc360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T04:24:50.642Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T04:24:50.643Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T04:24:50.643Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T04:24:50.643Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T04:24:50.643Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T04:24:50.644Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000318000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000318000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00030ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f3ec0cbff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0xe4f885a2975da801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aecc0, 0x62f5d61e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aecc0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000aecc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aecc0, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00020e2d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00020e2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 8 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc0000bf3e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00020e2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f3ec0cd13f8, 0xc0000c8f00, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000176310, 0x7f3ec0cd13f8, 0xc0000c8f00, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3ec0cd13f8, 0xc0000c8f00, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000174840, 0x7f3ec0cd13f8, 0xc0000c8f00, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001749c0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166b40, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f3ec0cbfe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf1a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2b8, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000174c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8f10, 0xc0000bf3e0, 0xc0000bf440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: net/url.getscheme(0x7fff8b442ef8, 0x28, 0xc00016a200, 0x100000000000000, 0xab0020, 0xabe608, 0xc000176310, 0xc0000c1380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fff8b442ef8, 0x28, 0xc000160100, 0x7fff8b442ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fff8b442ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000b8058, 0xa04fba, 0x3, 0x7fff8b442ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001560f0, 0xc0000bf3e0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001560f0, 0xc0000bf3e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [waiting]: runtime.ReadMemStats(0xc000187800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000187800, 0xc0001c0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 38 [runnable]: bytes.Index(0xc00027e000, 0x12c, 0x200, 0xc000309657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x36db3, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:125 +0x22c github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0000bf3e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf3e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-12T05:17:41.620Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T05:17:41.621Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T05:17:41.621Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T05:17:41.621Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T05:17:41.622Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-12T05:17:41.621Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000089000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000089000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008b680) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe4f226bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x920bd4442ac9b301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd20, 0x62f5e28a, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd20, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000cd20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd20, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc0000bc410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc0000bc410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 15 [syscall]: compress/flate.NewWriter(0x7fe4f2287e18, 0xc00007cfa0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0000fe160, 0xc000496000, 0xee, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000d1100, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000d1100, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000fe160, 0xc000490000, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000490000, 0xc00000da70, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe4f227ec38, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001be310, 0x7fe4f227ec38, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe4f227ec38, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bc840, 0x7fe4f227ec38, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bc9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7fe4f226be30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bcc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 54 [IO wait]: internal/poll.runtime_pollWait(0x7fe4f226bd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0380, 0xc0001fc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0380, 0xc0001fc000, 0x1000, 0x1000, 0x439c3c, 0xc000104c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e428, 0xc0001fc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120d80, 0xc0001fc000, 0x1000, 0x1000, 0xc000290420, 0xc000104d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000bade0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000bade0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 55 [select]: net/http.(*persistConn).writeLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T07:24:53.601Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T07:24:53.603Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T07:24:53.603Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T07:24:53.603Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T07:24:53.603Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T07:24:53.604Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000214480) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 4 minutes]: internal/poll.runtime_pollWait(0x7fd31b703f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000256080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000256080, 0x45ef83317693bc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020c930, 0x62f6004e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020c930, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc00020c930, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020c930, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000c8c30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000c8c30, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 38 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc0000c8c30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall, 4 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 42 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd31b6bf278, 0xc00007c410, 0xc000286100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000220a10, 0x7fd31b6bf278, 0xc00007c410, 0xc000286100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd31b6bf278, 0xc00007c410, 0xc000286100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002269f0, 0x7fd31b6bf278, 0xc00007c410, 0xc000286100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a2a0, 0xc000286100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000226b70, 0xab7900, 0xc00025a2a0, 0xc000286100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a2a0, 0xc000286100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a2a0, 0xc000286100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026c000, 0xab8818, 0xc00022e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 114 [runnable]: compress/flate.(*decompressor).huffSym(0xc00010c000, 0xc00010c028, 0x37, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc00010c000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc00010c000, 0xc0004a0000, 0xc000, 0xc000, 0x7fd31b6f97f0, 0x9d566126, 0x101000000000000) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000364580, 0xc0004a0000, 0xc000, 0xc000, 0x30000, 0x3c000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000132020, 0xc0004a0000, 0xc000, 0xc000, 0x30001, 0xc000470000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fd31b5b8028, 0xc000132020, 0xc000132020, 0x7fd31b5b8028, 0xc000132020, 0x0, 0xab26f0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 main.(*Exporter).collect(0xc000232000, 0xc00007a0c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000232000, 0xc00007a0c0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 119 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000240000) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 118 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc000240000) /usr/local/go/src/net/http/transport.go:2203 +0x967 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 113 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc00038a288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00038a280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00038a280, 0xc00007a0c0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fd31b703e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000256100, 0xc000226e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000256100, 0xc000226e21, 0x1, 0x1, 0xc00007a000, 0x0, 0xc00022e398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002280a0, 0xc000226e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000226e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 [ OK ] level=info ts=2022-08-12T10:24:56.772Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T10:24:56.772Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T10:24:56.772Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T10:24:56.772Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T10:24:56.772Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T10:24:56.772Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0002d2000) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fd2a0c0e018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000232098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000232080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000232080, 0xdfd25dc351a69a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008e8, 0x62f62a7e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008e8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc0002008e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008e8, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000c8e10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000c8e10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8e10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7fd2a09a5998, 0xc000206500, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fd2a09a5998, 0xc000206500, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0003160b0, 0xc0005f0000, 0xef, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00037a280, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00037a280, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0003160b0, 0xc00007cfa0, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00007cfa0, 0xc00000cd38, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd2a0a65278, 0xc000206500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7fd2a0a65278, 0xc000206500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd2a0a65278, 0xc000206500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7fd2a0a65278, 0xc000206500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a0e0, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021cb70, 0xab7900, 0xc00025a0e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a0e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a0e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026c000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7fd2a0c0df30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000232118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000232100, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000232100, 0xc00021ce21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021e0a8, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ce10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7fd2a0c0de48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108898, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108880, 0xc000340000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108880, 0xc000340000, 0x1000, 0x1000, 0x439c3c, 0xc00030cc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e138, 0xc000340000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cafc0, 0xc000340000, 0x1000, 0x1000, 0xc000258360, 0xc00030cd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0003183c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0003183c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cafc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 12 [select]: net/http.(*persistConn).writeLoop(0xc0000cafc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T13:24:54.984Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T13:24:54.985Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T13:24:54.985Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T13:24:54.985Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T13:24:54.985Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T13:24:54.986Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000267f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb7e2decf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0xb295a018c2d9e501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce10, 0x62f654ae, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce10, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000ce10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce10, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007cc80, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007cc80, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [runnable]: bytes.Index(0xc000270000, 0x12b, 0x200, 0xc000261657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x5cfc4, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:125 +0x22c github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b9e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b9e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb7e2e05e78, 0xc00007d1d0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c98f0, 0x7fb7e2e05e78, 0xc00007d1d0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb7e2e05e78, 0xc00007d1d0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c7830, 0x7fb7e2e05e78, 0xc00007d1d0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c79b0, 0xab7900, 0xc0001ee0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b74a0, 0xab8818, 0xc0001236c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7fb7e2dece30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001c7c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001c7c61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b7a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001c7c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7c50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007b9e0, 0xc00007ba40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40d91b, 0xc00018f200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c0b40) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c0c50, 0xc00010c660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c0b40, 0xc0001bc400, 0x30, 0x9db900, 0x7fb7e3184fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c0b40, 0xc0001bc400, 0xc0001c0b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc400, 0xaaf4e0, 0xc0001c0b40, 0x0, 0x0, 0x0, 0xc00000e390, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c73b0, 0xc0001bc400, 0x0, 0x0, 0x0, 0xc00000e390, 0x0, 0x1, 0xc0001bc400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c73b0, 0xc0001bc400, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8960, 0xc00007b9e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8960, 0xc00007b9e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc00007b9e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [waiting]: runtime.ReadMemStats(0xc0000ab800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0000ab800, 0xc0000be000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-12T16:07:27.823Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T16:07:27.825Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T16:07:27.825Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T16:07:27.825Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T16:07:27.825Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T16:07:27.825Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0001fe000) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f46be041f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0100, 0x69be1281d881601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f0c8, 0x62f67ae2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f0c8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc00009f0c8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f0c8, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f46bdf9ee18, 0xc0000bc550, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f46bdf9ee18, 0xc0000bc550, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000133600, 0xc000540000, 0xf0, 0x1000, 0x0, 0xc00009b610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000376180, 0xc00009b6d0, 0xc00009b620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000376180, 0xc00009b7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000133600, 0xc00020a6e0, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc00020a6e0, 0xc000206d08, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f46be081278, 0xc0000bc550, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f46be081278, 0xc0000bc550, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f46be081278, 0xc0000bc550, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7f46be081278, 0xc0000bc550, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea0e0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000ea0e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea0e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea0e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000c22c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7f46be041e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80a0, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000aae40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x7f46be041d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0300, 0xc00025c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0300, 0xc00025c000, 0x1000, 0x1000, 0x439c3c, 0xc000100c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80f0, 0xc00025c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120fc0, 0xc00025c000, 0x1000, 0x1000, 0xc0000e8300, 0xc000100d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200540) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200540, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 39 [select]: net/http.(*persistConn).writeLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T16:25:25.437Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T16:25:25.438Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T16:25:25.438Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T16:25:25.438Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T16:25:25.438Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T16:25:25.439Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000083b00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f0e01d39f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0xbf999c6c731ccb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aef18, 0x62f67f1a, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aef18, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc0000aef18, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aef18, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00020a230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00020a230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00020a230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [runnable]: hash/crc32.Update(0x7f0e00000000, 0xc0000e2000, 0xc000554000, 0xef, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc000232210, 0xc000554000, 0xef, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc00023c700, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00023c700, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000232210, 0xc000382410, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000382410, 0xc000380b10, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f0e01d53db8, 0xc0000c9090, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000282af0, 0x7f0e01d53db8, 0xc0000c9090, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0e01d53db8, 0xc0000c9090, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001753e0, 0x7f0e01d53db8, 0xc0000c9090, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000175560, 0xab7900, 0xc0002900e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001675e0, 0xab8818, 0xc0000c15c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f0e01d39e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000175811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000175811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf440) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc370, 0xc000175811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000175800) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7f0e01d39d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108700, 0xc0003ae000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108700, 0xc0003ae000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023a0e0, 0xc0003ae000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cb320, 0xc0003ae000, 0x1000, 0x1000, 0xc0002523c0, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200a80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200a80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cb320) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc0000cb320) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T19:25:34.714Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T19:25:34.716Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T19:25:34.716Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T19:25:34.716Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T19:25:34.716Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T19:25:34.716Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000083080) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f349cdc9f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0xc8b23f166d31af68, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf00, 0x62f6a9c2, 0xc0002b1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf00, 0xc0002b1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e0000, 0xab76f0, 0xc00000cf00, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf00, 0xc0001e0000, 0x0, 0x0, 0xaaf020, 0xc000212280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e0000, 0x0, 0x0, 0xaaf020, 0xc000212280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 11 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc000212280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 37 [syscall, 1 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f349cdde478, 0xc0000b4140, 0xc000206000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d4af0, 0x7f349cdde478, 0xc0000b4140, 0xc000206000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f349cdde478, 0xc0000b4140, 0xc000206000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c73e0, 0x7f349cdde478, 0xc0000b4140, 0xc000206000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e02a0, 0xc000206000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7560, 0xab7900, 0xc0001e02a0, 0xc000206000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e02a0, 0xc000206000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e0000, 0xab7900, 0xc0001e02a0, 0xc000206000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021e000, 0xab8818, 0xc000240080) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 26 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000246200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000246200, 0x200, 0x200, 0x0, 0x4c01ec, 0x48) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc000200300, 0xc000246200, 0x200, 0x200, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc00000e240, 0xc000246200, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc000246200) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00000c0f0, 0xc000246200, 0x200, 0x200, 0xc00000c0f0, 0xc0000c3008, 0xc000080000) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00000c0f0, 0x0, 0x0, 0xc00000e240, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00023a650, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x3056d, 0xc00023a600, 0xf, 0xd9c178, 0x1, 0x1, 0x3056c, 0x3056c, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000200060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 25 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00023a580, 0xc000200060, 0xc0002000c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7f349cdc9e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8100, 0xc0004020a1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8100, 0xc0004020a1, 0x1, 0x1, 0xa8, 0xc0000b21e0, 0xde7520) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e1b0, 0xc0004020a1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000402090) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 24 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc000200060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 46 [waiting]: runtime.ReadMemStats(0xc00028c000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc00028c000, 0xc0000aa060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 82 [runnable]: net/http.(*Request).requiresHTTP1(0xc0001bc400, 0xc0002941a4) /usr/local/go/src/net/http/request.go:1453 +0xf1 net/http.(*Transport).connectMethodForRequest(0xc0001c0780, 0xc0000ca040, 0x0, 0x7ffe4765def8, 0x4, 0xc0002941a4, 0xc, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:832 +0xa6 net/http.(*Transport).roundTrip(0xc0001c0780, 0xc0001bc400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0001c0780, 0xc0001bc400, 0xc0001c0780, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc400, 0xaaf4e0, 0xc0001c0780, 0x0, 0x0, 0x0, 0xc000382040, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c6f60, 0xc0001bc400, 0x0, 0x0, 0x0, 0xc000382040, 0x0, 0x1, 0xc0001bc400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c6f60, 0xc0001bc400, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8780, 0xc000200060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8780, 0xc000200060) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-12T22:24:54.775Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T22:24:54.778Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T22:24:54.778Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T22:24:54.778Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T22:24:54.778Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T22:24:54.778Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000089000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000089000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0001e2900) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f48ab6dff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ea318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000ea300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ea300, 0x9d467938a5783201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009ca08, 0x62f6d33e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009ca08, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a8000, 0xab76f0, 0xc00009ca08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009ca08, 0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc0000a2230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc0000a2230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc0000a2230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f48ab71f3b8, 0xc000206050, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002a6000, 0x7f48ab71f3b8, 0xc000206050, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f48ab71f3b8, 0xc000206050, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000ad9e0, 0x7f48ab71f3b8, 0xc000206050, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a81c0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000adb60, 0xab7900, 0xc0002a81c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a81c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a8000, 0xab7900, 0xc0002a81c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000b68c0, 0xab8818, 0xc0000de540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 71 [IO wait]: internal/poll.runtime_pollWait(0x7f48ab6dfe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ea398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000ea380, 0xc0000ade11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ea380, 0xc0000ade11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000dc150, 0xc0000ade11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000ade00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 72 [runnable]: syscall.Syscall(0x0, 0x8, 0xc00021012c, 0xd4, 0x0, 0xd4, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc00021012c, 0xd4, 0xd4, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc0000a0000, 0xc00021012c, 0xd4, 0xd4, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc000388020, 0xc00021012c, 0xd4, 0xd4, 0x12c, 0x0, 0x0) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00000c030, 0xc00021012c, 0xd4, 0xd4, 0x12c, 0x0, 0x0) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00000c030, 0x0, 0x0, 0xc000388020, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000e6000, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.Proc.Stat(0x94f84, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xfd github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 73 [semacquire]: sync.runtime_Semacquire(0xc000380128) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000380120) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000380120, 0xc00007a1e0, 0xc00007a2a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 74 [select]: net/http.(*Transport).getConn(0xc0000b8640, 0xc0003900c0, 0x0, 0x7fffba99def8, 0x4, 0xc000380130, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0000b8640, 0xc0000fc000, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0000b8640, 0xc0000fc000, 0xc0000b8640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000fc000, 0xaaf4e0, 0xc0000b8640, 0x0, 0x0, 0x0, 0xc0000dc040, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ad560, 0xc0000fc000, 0x0, 0x0, 0x0, 0xc0000dc040, 0x0, 0x1, 0xc0000fc000) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ad560, 0xc0000fc000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000f2870, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000f2870, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 16 [waiting]: runtime.ReadMemStats(0xc000313800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc000313800, 0xc0000f4060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 75 [runnable]: context.propagateCancel(0xab8c08, 0xc00001e020, 0xab22e0, 0xc000390100) /usr/local/go/src/context/context.go:250 +0x25f context.WithCancel(0xab8c08, 0xc00001e020, 0xe0f710, 0x0, 0x0) /usr/local/go/src/context/context.go:237 +0xae net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000380130, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:287 +0x407 net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000380130, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc000380130, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000380130, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc0000b8640, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000380130, 0xc, 0x0, 0xc0000a0d78, 0xc0002c63f0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc0000b8640, 0xab87a8, 0xc0000220b0, 0x0, 0x7fffba99def8, 0x4, 0xc000380130, 0xc, 0x0, 0xc0000fa000, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc0000b8640, 0xc000132580) /usr/local/go/src/net/http/transport.go:1442 +0xc6 created by net/http.(*Transport).queueForDial /usr/local/go/src/net/http/transport.go:1411 +0x40f [ OK ] level=info ts=2022-08-13T01:24:51.869Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T01:24:51.871Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T01:24:51.871Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T01:24:51.871Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T01:24:51.871Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-13T01:24:51.871Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000306000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000306000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00029bf01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7575a08f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8100, 0xa9c646aef733f501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097110, 0x62f6fd6e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097110, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000e2000, 0xab76f0, 0xc000097110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097110, 0xc0000e2000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000e2000, 0x0, 0x0, 0xaaf020, 0xc00007ce10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [runnable]: net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffc6c6d9ef8, 0x28, 0x0, 0x0, 0x7f7575da0fff, 0xc000054488, ...) /usr/local/go/src/net/http/request.go:853 +0x89b net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0000be000, 0xc0000b2900, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0000be000, 0xc0000b2900) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7575a48278, 0xc0000b45a0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009b650, 0x7f7575a48278, 0xc0000b45a0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7575a48278, 0xc0000b45a0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a2a20, 0x7f7575a48278, 0xc0000b45a0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000e20e0, 0xc000288000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a2ba0, 0xab7900, 0xc0000e20e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000e20e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000e2000, 0xab7900, 0xc0000e20e0, 0xc000288000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 0xab8818, 0xc0000ba2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [runnable]: net/http.(*connReader).backgroundRead(0xc0000a2e40) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b61c0, 0xc0000b2900, 0xc0000b2960) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: os.(*File).Read(0xc0000a00c8, 0xc0002b7000, 0x1000, 0x1000, 0xab0500, 0xd9bee8, 0x1000000000000) /usr/local/go/src/os/file.go:113 +0x265 bufio.(*Scanner).Scan(0xc00029f788, 0x13) /usr/local/go/src/bufio/scan.go:214 +0xa9 github.com/prometheus/procfs.Proc.Limits(0xefb71, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:100 +0x1d9 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:59 +0x547 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000b2900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [waiting]: runtime.ReadMemStats(0xc000300000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc000300000, 0xc00007e300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T04:24:55.625Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T04:24:55.626Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T04:24:55.626Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T04:24:55.626Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T04:24:55.626Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T04:24:55.627Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002a3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc5a06cdf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108580, 0x4cee3f9a80c1201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6cd8, 0x62f7279e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6cd8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000300000, 0xab76f0, 0xc0000b6cd8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6cd8, 0xc000300000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000300000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 8 [runnable]: io.(*LimitedReader).Read(0xc00000c8b8, 0xc000198500, 0x200, 0x200, 0x501, 0xc000198000, 0x500) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000c8b8, 0x0, 0x0, 0xc00000e028, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022100, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x4d183, 0xc0000220a0, 0xf, 0xd9c178, 0x1, 0x1, 0x4d182, 0x4d182, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc0000c7440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc0000c7440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc5a06df3b8, 0xc0000d0f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000174310, 0x7fc5a06df3b8, 0xc0000d0f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc5a06df3b8, 0xc0000d0f50, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000172840, 0x7fc5a06df3b8, 0xc0000d0f50, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003000e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001729c0, 0xab7900, 0xc0003000e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003000e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000300000, 0xab7900, 0xc0003000e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166a00, 0xab8818, 0xc0000c9440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7fc5a06cde30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000172c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000172c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c7200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42b0, 0xc000172c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000172c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [runnable]: sync.runtime_Semacquire(0xc0000c0f18) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c0f10) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c0f10, 0xc0000c7440, 0xc0000c74a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: net/url.getscheme(0x7ffe12c39ef8, 0x28, 0xc00016a200, 0x100000000000000, 0xab0020, 0xabe608, 0xc000174310, 0xc0000c9380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe12c39ef8, 0x28, 0xc000160100, 0x7ffe12c39ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe12c39ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000c0058, 0xa04fba, 0x3, 0x7ffe12c39ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001560f0, 0xc0000c7440, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001560f0, 0xc0000c7440) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [runnable]: runtime/debug.readGCStats(0xc00023bfa8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00023bf80) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc0000c7440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc0002ac000, 0xc00026c1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T05:19:50.430Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T05:19:50.432Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T05:19:50.432Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T05:19:50.432Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T05:19:50.433Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-13T05:19:50.432Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000268c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fd44468df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a580, 0x652f3035206bcd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccf0, 0x62f73482, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccf0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000ccf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccf0, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 23 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd44469f3b8, 0xc00007c0f0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7fd44469f3b8, 0xc00007c0f0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd44469f3b8, 0xc00007c0f0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7fd44469f3b8, 0xc00007c0f0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d21c0, 0xc0001bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc0001d21c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d21c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d21c0, 0xc0001bc000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8aa0, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7fd44468de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a600, 0xc0001c4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a600, 0xc0001c4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 0xc0001c4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c4c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [runnable]: io.(*LimitedReader).Read(0xc000208018, 0xc000320400, 0x100, 0x100, 0x401, 0xc000320000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000208018, 0x0, 0x0, 0xc00020a010, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022340, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x63fd4, 0xc000022120, 0xf, 0xd9c178, 0x1, 0x1, 0x63fd3, 0x63fd3, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000b2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000b2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 45 [semacquire]: sync.runtime_Semacquire(0xc00021e078) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021e070) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e070, 0xc0000b2000, 0xc0000b20c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 46 [select]: net/http.(*persistConn).roundTrip(0xc0000f2000, 0xc000222200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc0001c0500, 0xc000218100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc0001c0500, 0xc000218100, 0xc0001c0500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218100, 0xaaf4e0, 0xc0001c0500, 0x0, 0x0, 0x0, 0xc0000a0048, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c43c0, 0xc000218100, 0x0, 0x0, 0x0, 0xc0000a0048, 0x0, 0x1, 0xc000218100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c43c0, 0xc000218100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a80f0, 0xc0000b2000, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a80f0, 0xc0000b2000) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 65 [IO wait]: internal/poll.runtime_pollWait(0x7fd44468dc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8180, 0xc00027b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8180, 0xc00027b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a0060, 0xc00027b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000f2000, 0xc00027b000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000b24e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000b24e0, 0x1, 0xc0000ee480, 0xc00027c030, 0xc00038ce70, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000f2000) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 66 [runnable]: net/http.(*persistConn).writeLoop(0xc0000f2000) /usr/local/go/src/net/http/transport.go:2406 +0x29a created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 32 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc0000b2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 81 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0000aa000, 0xc000266060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T07:24:54.734Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T07:24:54.735Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T07:24:54.735Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T07:24:54.735Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T07:24:54.735Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T07:24:54.735Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00029df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7df1ef5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x887f9b79da04af01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cee8, 0x62f751ce, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cee8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc00000cee8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cee8, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc0000b4370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc0000b4370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7df1f0bc78, 0xc00007d0e0, 0xc0001be300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d4af0, 0x7f7df1f0bc78, 0xc00007d0e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7df1f0bc78, 0xc00007d0e0, 0xc0001be300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c73e0, 0x7f7df1f0bc78, 0xc00007d0e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e20e0, 0xc0001be300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7560, 0xab7900, 0xc0001e20e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e20e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e20e0, 0xc0001be300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001bb5e0, 0xab8818, 0xc0001235c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 33 [IO wait]: internal/poll.runtime_pollWait(0x7f7df1ef5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001c7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c7811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b500) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc0001c7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7800) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 34 [runnable]: io.ReadAll(0xaaf2e0, 0xc00021e000, 0x0, 0x0, 0xc00021a000, 0x0, 0x0) /usr/local/go/src/io/io.go:626 +0x216 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000218000, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.Proc.Stat(0x94845, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xfd github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc00007b740, 0xc00007b7a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 36 [runnable]: net/url.getscheme(0x7ffd85a37ef8, 0x28, 0xc0001be300, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001d4af0, 0xc000123500) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffd85a37ef8, 0x28, 0xc0001b0100, 0x7ffd85a37ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffd85a37ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffd85a37ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001aa780, 0xc00007b740, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001aa780, 0xc00007b740) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 24 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc00007b740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 25 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0000ab800, 0xc0000ee1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T10:24:54.584Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T10:24:54.585Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T10:24:54.585Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T10:24:54.585Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T10:24:54.585Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T10:24:54.586Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0x0, 0xc00002e800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc00002e800, 0xc00002e800) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc00002e800) /usr/local/go/src/runtime/proc.go:2412 +0x65 runtime.entersyscallblock_handoff() /usr/local/go/src/runtime/proc.go:3687 +0x30 runtime.systemstack(0x0) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 25 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0x1) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc00008d3a8 sp=0xc00008d378 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc00008d3d0 sp=0xc00008d3a8 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc00008d448 sp=0xc00008d3d0 pc=0x41c30a runtime.mallocgc(0xa0510, 0x98c0e0, 0x1, 0x0) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc00008d4d0 sp=0xc00008d448 pc=0x40da55 runtime.newobject(0x98c0e0, 0xc00013b5d9) /usr/local/go/src/runtime/malloc.go:1177 +0x38 fp=0xc00008d500 sp=0xc00008d4d0 pc=0x40e078 compress/flate.NewWriter(0x7f19a1321f40, 0xc000240690, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 fp=0xc00008d548 sp=0xc00008d500 pc=0x642771 compress/gzip.(*Writer).Write(0xc00013b550, 0xc000548000, 0xee, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 fp=0xc00008d598 sp=0xc00008d548 pc=0x64d4a5 bufio.(*Writer).Flush(0xc000123fc0, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b fp=0xc00008d5f8 sp=0xc00008d598 pc=0x5558bb github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000123fc0, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f fp=0xc00008d620 sp=0xc00008d5f8 pc=0x7fc00f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00013b550, 0xc000240960, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a fp=0xc00008d7a8 sp=0xc00008d620 pc=0x7f9eea github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000240960, 0xc0000a0c60, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d fp=0xc00008d7e8 sp=0xc00008d7a8 pc=0x7fbd9d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/common/expfmt.(*encoderCloser).Encode(0xc00052ab90, 0xc000240960, 0xa1cc8f, 0x28) <autogenerated>:1 +0x42 fp=0xc00008d810 sp=0xc00008d7e8 pc=0x7fc4a2 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f19a1313ab8, 0xc000240690, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 fp=0xc00008d9c0 sp=0xc00008d810 pc=0x8172c9 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f19a1313ab8, 0xc000240690, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00008d9e8 sp=0xc00008d9c0 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f19a1313ab8, 0xc000240690, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab fp=0xc00008da50 sp=0xc00008d9e8 pc=0x817b4b net/http.HandlerFunc.ServeHTTP(0xc000219590, 0x7f19a1313ab8, 0xc000240690, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00008da78 sp=0xc00008da50 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00026c0e0, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf fp=0xc00008dae8 sp=0xc00008da78 pc=0x817c7f net/http.HandlerFunc.ServeHTTP(0xc000219710, 0xab7900, 0xc00026c0e0, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00008db10 sp=0xc00008dae8 pc=0x6ae744 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00026c0e0, 0xc000216100) /usr/local/go/src/net/http/server.go:2428 +0x1ad fp=0xc00008db70 sp=0xc00008db10 pc=0x6b05cd net/http.serverHandler.ServeHTTP(0xc00026c000, 0xab7900, 0xc00026c0e0, 0xc000216100) /usr/local/go/src/net/http/server.go:2867 +0xa3 fp=0xc00008dba0 sp=0xc00008db70 pc=0x6b1d03 net/http.(*conn).serve(0xc000226aa0, 0xab8818, 0xc000220440) /usr/local/go/src/net/http/server.go:1932 +0x8cd fp=0xc00008dfc8 sp=0xc00008dba0 pc=0x6ad22d runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00008dfd0 sp=0xc00008dfc8 pc=0x46cda1 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f19a1352f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000268098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000268080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000268080, 0xbd301b886737f201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206af8, 0x62f77bfe, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206af8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00026c000, 0xab76f0, 0xc000206af8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206af8, 0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 11 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [IO wait]: internal/poll.runtime_pollWait(0x7f19a1352e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000268118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000268100, 0xc0002199c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000268100, 0xc0002199c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002387e0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e150, 0xc0002199c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002199b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7f19a1352d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000268298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000268280, 0xc0003b4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000268280, 0xc0003b4000, 0x1000, 0x1000, 0x439c3c, 0xc000108c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a2070, 0xc0003b4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128d80, 0xc0003b4000, 0x1000, 0x1000, 0xc00007e4e0, 0xc000108d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000238f60) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000238f60, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128d80) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 16 [select]: net/http.(*persistConn).writeLoop(0xc000128d80) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-13T13:24:52.396Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T13:24:52.397Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T13:24:52.397Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T13:24:52.397Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T13:24:52.397Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T13:24:52.398Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000081000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000081000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00023a180) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa76453ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108800, 0xb134cf15bbe5d601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000af068, 0x62f7a62e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000af068, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b6000, 0xab76f0, 0xc0000af068, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000af068, 0xc0002b6000, 0x0, 0x0, 0xaaf020, 0xc0000c8dc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002b6000, 0x0, 0x0, 0xaaf020, 0xc0000c8dc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:97 compress/flate.(*compressor).init(0xc000600000, 0x7fa76455c758, 0xc0000c9310, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x51 compress/flate.NewWriter(0x7fa76455c758, 0xc0000c9310, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000dd130, 0xc000582000, 0xef, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c1e80, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c1e80, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dd130, 0xc000306410, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000306410, 0xc00020a990, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa76455aef8, 0xc0000c9310, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0002ac0e0, 0x7fa76455aef8, 0xc0000c9310, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa76455aef8, 0xc0000c9310, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002ae3f0, 0x7fa76455aef8, 0xc0000c9310, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002b60e0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002ae570, 0xab7900, 0xc0002b60e0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002b60e0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b6000, 0xab7900, 0xc0002b60e0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000167e00, 0xab8818, 0xc0000c1840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x7fa76453ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108880, 0xc0002ae821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108880, 0xc0002ae821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf980) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc430, 0xc0002ae821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002ae810) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 37 [IO wait]: internal/poll.runtime_pollWait(0x7fa76453ed48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108998, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108980, 0xc000236000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108980, 0xc000236000, 0x1000, 0x1000, 0x439c3c, 0xc0003a4c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00038a058, 0xc000236000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cb440, 0xc000236000, 0x1000, 0x1000, 0xc00039c060, 0xc0003a4d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200240) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200240, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cb440) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 38 [select]: net/http.(*persistConn).writeLoop(0xc0000cb440) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-13T16:24:52.623Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T16:24:52.624Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T16:24:52.624Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T16:24:52.624Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T16:24:52.624Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T16:24:52.625Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0001de180) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ff48f601f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000fa098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000fa080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000fa080, 0x3f38657d577a5f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009aaf8, 0x62f7d05e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009aaf8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fe000, 0xab76f0, 0xc00009aaf8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009aaf8, 0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fe000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:97 compress/flate.(*compressor).init(0xc000600000, 0x7ff48f3a2a18, 0xc0000d26e0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x51 compress/flate.NewWriter(0x7ff48f3a2a18, 0xc0000d26e0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00013b550, 0xc0005ba000, 0xf0, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000123d40, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000123d40, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00013b550, 0xc0002067d0, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002067d0, 0xc00009b638, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff48f646b78, 0xc0000d26e0, 0xc0000a6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000cb1f0, 0x7ff48f646b78, 0xc0000d26e0, 0xc0000a6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff48f646b78, 0xc0000d26e0, 0xc0000a6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a9590, 0x7ff48f646b78, 0xc0000d26e0, 0xc0000a6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fe0e0, 0xc0000a6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a9710, 0xab7900, 0xc0000fe0e0, 0xc0000a6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fe0e0, 0xc0000a6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fe000, 0xab7900, 0xc0000fe0e0, 0xc0000a6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000b6aa0, 0xab8818, 0xc0000b0440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7ff48f601e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000fa118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000fa100, 0xc0000a99c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000fa100, 0xc0000a99c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c8840) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d0140, 0xc0000a99c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a99b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7ff48f601d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000fa298, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000fa280, 0xc00042e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000fa280, 0xc00042e000, 0x1000, 0x1000, 0x439c3c, 0xc000386c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d0188, 0xc00042e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001286c0, 0xc00042e000, 0x1000, 0x1000, 0xc00007e300, 0xc000386d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000c9080) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000c9080, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc0001286c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-13T19:24:57.491Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T19:24:57.491Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T19:24:57.491Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T19:24:57.491Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T19:24:57.491Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T19:24:57.492Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000097f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7db9fc8f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x754aec2a77684b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62f7fa8e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000200900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200900, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000d0c30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000d0c30, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc0000d0c30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7db9f44278, 0xc000206550, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7f7db9f44278, 0xc000206550, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7db9f44278, 0xc000206550, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7f7db9f44278, 0xc000206550, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002500e0, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000380000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000380000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002182c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7f7db9fc8e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002120a8, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [runnable]: runtime/debug.readGCStats(0xc000324028) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000324000) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc000204840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002081c0, 0xc000204840, 0xc0002048a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 45 [runnable]: io.(*LimitedReader).Read(0xc000200948, 0xc0003a0900, 0x300, 0x300, 0x901, 0xc0003a0000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000200948, 0x0, 0x0, 0xc0002120b8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000208280, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xf5bf, 0xc000208210, 0xf, 0xd9c178, 0x1, 0x1, 0xf5be, 0xf5be, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc000204840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc000204840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc00031a000, 0xc000320000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 22 [runnable]: net/http.(*Client).do(0xc000210570, 0xc00016a300, 0xa04fba, 0x3, 0x7fffe5f51ef8) /usr/local/go/src/net/http/client.go:590 +0x13cc net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00021e000, 0xc000204840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00021e000, 0xc000204840) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-13T22:24:53.544Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T22:24:53.544Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T22:24:53.544Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T22:24:53.544Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T22:24:53.545Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T22:24:53.545Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005cc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005cc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00031ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe0b1b9e018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180518, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180500, 0xba19307f8084ab01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000ae840, 0x62f824be, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000ae840, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000302000, 0xab76f0, 0xc0000ae840, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000ae840, 0xc000302000, 0x0, 0x0, 0xaaf020, 0xc0001083c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000302000, 0x0, 0x0, 0xaaf020, 0xc0001083c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x7fe0b1b9df30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180598, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180580, 0xc0001ed181, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180580, 0xc0001ed181, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc318, 0xc0001ed181, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001ed170) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 24 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe0b1bb4cf8, 0xc0000c8f50, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001fa150, 0x7fe0b1bb4cf8, 0xc0000c8f50, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe0b1bb4cf8, 0xc0000c8f50, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ecd50, 0x7fe0b1bb4cf8, 0xc0000c8f50, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003020e0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001eced0, 0xab7900, 0xc0003020e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003020e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000302000, 0xab7900, 0xc0003020e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001df540, 0xab8818, 0xc0000c1500) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 20 [chan receive]: main.main.func1(0xaaf020, 0xc0001083c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime/debug.readGCStats(0xc000145fa8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000145f80) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000214000, 0xc0000bf500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 27 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8ed0, 0xc0000bf500, 0xc0000bf560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 28 [runnable]: io.(*LimitedReader).Read(0xc0000ae888, 0xc000330900, 0x300, 0x300, 0x901, 0xc000330000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000ae888, 0x0, 0x0, 0xc0000bc328, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b8f80, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x63bf5, 0xc0000b8f20, 0xf, 0xd9c178, 0x1, 0x1, 0x63bf4, 0x63bf4, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0000bf500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 34 [runnable]: net/url.getscheme(0x7ffc2afc4ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffc2afc4ef8, 0x28, 0x100, 0x7ffc2afc4ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffc2afc4ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000b8058, 0xa04fba, 0x3, 0x7ffc2afc4ef8, 0x28, 0x0, 0x0, 0x400, 0x400, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc000158870, 0xc0000bf500, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000158870, 0xc0000bf500) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 59 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000214000, 0xc00029e000, 0xc00015a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-14T01:24:52.791Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T01:24:52.793Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T01:24:52.793Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T01:24:52.793Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T01:24:52.793Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T01:24:52.794Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000093f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8c0c4d7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0xf73f7b7d93d66101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208930, 0x62f84eee, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208930, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000208930, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208930, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [runnable]: github.com/prometheus/client_golang/prometheus.(*constSummary).Write(0xc0001235c0, 0xc0000a40e0, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/summary.go:673 +0xa5 github.com/prometheus/client_golang/prometheus.processMetric(0xab2718, 0xc0001235c0, 0xc00026d5f8, 0xc00026d628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:598 +0xa2 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f8c0c497278, 0xc000212550, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000218a10, 0x7f8c0c497278, 0xc000212550, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8c0c497278, 0xc000212550, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021e9f0, 0x7f8c0c497278, 0xc000212550, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021eb70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [runnable]: net/http.(*connReader).backgroundRead(0xc00021ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc0002008a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002161c0, 0xc0002008a0, 0xc000200900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 45 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f8c331a1a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000226000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000226110, 0xc000108660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000226000, 0xc000278100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000226000, 0xc000278100, 0xc000226000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000278100, 0xaaf4e0, 0xc000226000, 0x0, 0x0, 0x0, 0xc00020a0b8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021e570, 0xc000278100, 0x0, 0x0, 0x0, 0xc00020a0b8, 0x0, 0x1, 0xc000278100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021e570, 0xc000278100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00022a000, 0xc0002008a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00022a000, 0xc0002008a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [waiting]: runtime.ReadMemStats(0xc0001c7800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001c7800, 0xc00007e300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-14T04:24:49.887Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T04:24:49.888Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T04:24:49.888Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T04:24:49.888Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T04:24:49.888Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T04:24:49.889Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000083500) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8075389f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000176598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000176580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000176580, 0x9426e6ad09e86b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000124d50, 0x62f8791e, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000124d50, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f0000, 0xab76f0, 0xc000124d50, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000124d50, 0xc0001f0000, 0x0, 0x0, 0xaaf020, 0xc00009a230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001f0000, 0x0, 0x0, 0xaaf020, 0xc00009a230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc00009a230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f80753cd6d8, 0xc000109040, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f80753cd6d8, 0xc000109040, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000c4dc0, 0xc00052c000, 0xef, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00021ed00, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00021ed00, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000c4dc0, 0xc000109360, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000109360, 0xc000094c48, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f80753a0c38, 0xc000109040, 0xc0001dc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001e6310, 0x7f80753a0c38, 0xc000109040, 0xc0001dc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f80753a0c38, 0xc000109040, 0xc0001dc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001e4840, 0x7f80753a0c38, 0xc000109040, 0xc0001dc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f00e0, 0xc0001dc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001e49c0, 0xab7900, 0xc0001f00e0, 0xc0001dc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f00e0, 0xc0001dc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f0000, 0xab7900, 0xc0001f00e0, 0xc0001dc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001d8aa0, 0xab8818, 0xc000139440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x7f8075389e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000176618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000176600, 0xc0001e4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000176600, 0xc0001e4c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0001352c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001322b8, 0xc0001e4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001e4c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 54 [IO wait]: internal/poll.runtime_pollWait(0x7f8075389d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000da318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000da300, 0xc0002e8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000da300, 0xc0002e8000, 0x1000, 0x1000, 0x439c3c, 0xc000110c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e108, 0xc0002e8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000222480, 0xc0002e8000, 0x1000, 0x1000, 0xc00010a480, 0xc000110d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001359e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001359e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000222480) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 55 [select]: net/http.(*persistConn).writeLoop(0xc000222480) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T05:19:38.864Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T05:19:38.865Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T05:19:38.865Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T05:19:38.865Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T05:19:38.865Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T05:19:38.866Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008aa80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f96ec7d6f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x2c643d5a3133ab01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008e8, 0x62f88602, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002008e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008e8, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000bc370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000bc370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [syscall]: compress/flate.NewWriter(0x7f96ec572380, 0xc000206500, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc000320580, 0xc000464000, 0xef, 0x1000, 0x0, 0xc00026d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000218b40, 0xc00026d6d0, 0xc00026d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000218b40, 0xc00026d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000320580, 0xc0000bc910, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000bc910, 0xc0002013f8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f96ec796278, 0xc000206500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7f96ec796278, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f96ec796278, 0xc000206500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7f96ec796278, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002182c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7f96ec7d6e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002045a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002120a0, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f96ec7d6d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0380, 0xc0002d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0380, 0xc0002d0000, 0x1000, 0x1000, 0x439c3c, 0xc000100c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e308, 0xc0002d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120c60, 0xc0002d0000, 0x1000, 0x1000, 0xc00024e1e0, 0xc000100d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204d80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204d80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 29 [select]: net/http.(*persistConn).writeLoop(0xc000120c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T07:24:51.551Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T07:24:51.552Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T07:24:51.552Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T07:24:51.552Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T07:24:51.552Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T07:24:51.552Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00026a780) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ffa27e52f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c4098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002c4080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002c4080, 0x34435c941b4ce101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62f8a34e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc00020a280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc00020a280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall, 1 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00020a280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ffa27c6e378, 0xc00007c410, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7ffa27c6e378, 0xc00007c410, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffa27c6e378, 0xc00007c410, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7ffa27c6e378, 0xc00007c410, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c82a0, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002c82a0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c82a0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc0002c82a0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7ffa27e52e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c4118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002c4100, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c4100, 0xc00028ee21, 0x1, 0x1, 0xc00007a1e0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 47 [semacquire]: sync.runtime_Semacquire(0xc000234078) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000234070) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000234070, 0xc00028a060, 0xc00028a240) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: strings.genSplit(0xc000492000, 0x30d2e, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc00020d1d0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00029c000, 0xc00028a060, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00029c000, 0xc00028a060) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 99 [IO wait]: internal/poll.runtime_pollWait(0x7ffa27e52d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc000079000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc000079000, 0x1000, 0x1000, 0x439c3c, 0xc000278c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8018, 0xc000079000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002b8480, 0xc000079000, 0x1000, 0x1000, 0xc00007e180, 0xc000278d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200180) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200180, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002b8480) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 100 [select]: net/http.(*persistConn).writeLoop(0xc0002b8480) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T10:27:13.271Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T10:27:13.273Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T10:27:13.273Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T10:27:13.273Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T10:27:13.273Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T10:27:13.276Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0000ce000) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fd468d70f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001c6318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0001c6300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001c6300, 0x104f9d9ec3fdda01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000182a50, 0x62f8ce32, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000182a50, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc000182a50, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000182a50, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc000188280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000288000, 0x0, 0x0, 0xaaf020, 0xc000188280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc000188280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000600000, 0x7fd468b57ad8, 0xc0001887d0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fd468b57ad8, 0xc0001887d0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0001b2210, 0xc000592000, 0xf0, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0001bd400, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0001bd400, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001b2210, 0xc0002c4410, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002c4410, 0xc0001835c0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fd468d305e8, 0xc0001887d0, 0xc0001d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000286000, 0x7fd468d305e8, 0xc0001887d0, 0xc0001d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd468d305e8, 0xc0001887d0, 0xc0001d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018b9e0, 0x7fd468d305e8, 0xc0001887d0, 0xc0001d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc0001d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018bb60, 0xab7900, 0xc0002880e0, 0xc0001d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc0001d8100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc0001d8100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001948c0, 0xab8818, 0xc0001bc540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 44 [IO wait]: internal/poll.runtime_pollWait(0x7fd468d70e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001c6398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0001c6380, 0xc00018be11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001c6380, 0xc00018be11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000186ba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001ba158, 0xc00018be11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00018be00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7fd468d70d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001c6498, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0001c6480, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001c6480, 0xc0002ea000, 0x1000, 0x1000, 0x439c3c, 0xc000108c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001ba1a0, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128c60, 0xc0002ea000, 0x1000, 0x1000, 0xc0001d0540, 0xc000108d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002be360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002be360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 52 [select]: net/http.(*persistConn).writeLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T13:24:52.860Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T13:24:52.861Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T13:24:52.861Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T13:24:52.861Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T13:24:52.861Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T13:24:52.861Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000630000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000630000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000082f00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f7ed75d2f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8380, 0x355992ced1a6fc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000972a8, 0x62f8f7ae, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000972a8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc0000972a8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000972a8, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0000b4370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0000b4370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [syscall]: compress/flate.NewWriter(0x7f7ed759ed58, 0xc0000b48c0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc00013b550, 0xc00061e000, 0xef, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000df240, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000df240, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00013b550, 0xc000408280, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000408280, 0xc00000cf60, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7ed76123b8, 0xc0000b48c0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000e4c40, 0x7f7ed76123b8, 0xc0000b48c0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7ed76123b8, 0xc0000b48c0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a3a10, 0x7f7ed76123b8, 0xc0000b48c0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc0000f4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a3b90, 0xab7900, 0xc00029e0e0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc0000f4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bc960, 0xab8818, 0xc0000de540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x7f7ed75d2e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8400, 0xc0000a3e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8400, 0xc0000a3e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000b2c60) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a0150, 0xc0000a3e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a3e30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 54 [IO wait]: internal/poll.runtime_pollWait(0x7f7ed75d2d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8518, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8500, 0xc000480000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8500, 0xc000480000, 0x1000, 0x1000, 0x439c3c, 0xc00010fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e260, 0xc000480000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001287e0, 0xc000480000, 0x1000, 0x1000, 0xc00007e2a0, 0xc00010fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002d8360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002d8360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 55 [select]: net/http.(*persistConn).writeLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T16:24:50.577Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T16:24:50.578Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T16:24:50.578Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T16:24:50.578Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T16:24:50.578Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T16:24:50.580Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005cc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005cc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000327f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f619e66e018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000108600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108600, 0xa10f0c1f762a5101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000af518, 0x62f921de, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000af518, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000308000, 0xab76f0, 0xc0000af518, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000af518, 0xc000308000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000308000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000c8910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:486 +0x6ed github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f619e680cf8, 0xc0000c8fa0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000172f50, 0x7f619e680cf8, 0xc0000c8fa0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f619e680cf8, 0xc0000c8fa0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017a870, 0x7f619e680cf8, 0xc0000c8fa0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003080e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017a9f0, 0xab7900, 0xc0003080e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003080e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000308000, 0xab7900, 0xc0003080e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166aa0, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7f619e66df30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108680, 0xc00017aca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108680, 0xc00017aca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2c8, 0xc00017aca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017ac90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000108500, 0xc0000bf4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8f10, 0xc0000bf4a0, 0xc0000bf500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: syscall.Syscall(0x3, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.Close(0x8, 0x10, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:285 +0x45 internal/poll.(*FD).destroy(0xc000582000, 0xc000584000, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:83 +0x43 internal/poll.(*FD).decref(0xc000582000, 0xd9c001, 0xc000586000) /usr/local/go/src/internal/poll/fd_mutex.go:213 +0x5d internal/poll.(*FD).Close(0xc000582000, 0xc000580000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_unix.go:106 +0x4f os.(*file).close(0xc000582000, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:251 +0x38 os.(*File).Close(0xc000580000, 0xffffffffffffffff, 0xc000608000) /usr/local/go/src/os/file_posix.go:25 +0x33 github.com/prometheus/procfs.Proc.fileDescriptors(0x6409f, 0xa05a30, 0x5, 0xc000608000, 0x9, 0x10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:284 +0x296 github.com/prometheus/procfs.Proc.FileDescriptorsLen(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:240 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0000bf4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:53 +0x439 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000108500, 0xc000398000, 0xc0002501e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-14T19:24:54.651Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T19:24:54.652Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T19:24:54.652Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T19:24:54.652Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T19:24:54.652Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T19:24:54.652Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc0002b4300) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ffba1bc2018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000194380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000194380, 0x48470459e6083401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000183260, 0x62f94c0e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000183260, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00031e000, 0xab76f0, 0xc000183260, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000183260, 0xc00031e000, 0x0, 0x0, 0xaaf020, 0xc0001a0320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00031e000, 0x0, 0x0, 0xaaf020, 0xc0001a0320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 6 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [chan receive]: main.main.func1(0xaaf020, 0xc0001a0320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7ffba195abc0, 0xc0001a0870, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7ffba195abc0, 0xc0001a0870, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0003960b0, 0xc000548000, 0xef, 0x1000, 0x0, 0xc000339610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000398700, 0xc0003396d0, 0xc000339620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000398700, 0xc0003397c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0003960b0, 0xc0000c8e60, 0xef, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000c8e60, 0xc000394ac8, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ffba1a193b8, 0xc0001a0870, 0xc0001e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001d0c40, 0x7ffba1a193b8, 0xc0001a0870, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffba1a193b8, 0xc0001a0870, 0xc0001e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018fa10, 0x7ffba1a193b8, 0xc0001a0870, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00031e0e0, 0xc0001e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018fb90, 0xab7900, 0xc00031e0e0, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00031e0e0, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00031e000, 0xab7900, 0xc00031e0e0, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001a88c0, 0xab8818, 0xc0001ca540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 46 [IO wait]: internal/poll.runtime_pollWait(0x7ffba1bc1f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000194400, 0xc00018fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000194400, 0xc00018fe41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00019ec00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c150, 0xc00018fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00018fe30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 53 [IO wait]: internal/poll.runtime_pollWait(0x7ffba1bc1e48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108580, 0xc00037e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108580, 0xc00037e000, 0x1000, 0x1000, 0x439c3c, 0xc000096c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e050, 0xc00037e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cab40, 0xc00037e000, 0x1000, 0x1000, 0xc0001da540, 0xc000096d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000356360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000356360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cab40) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 54 [select]: net/http.(*persistConn).writeLoop(0xc0000cab40) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T22:24:51.587Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T22:24:51.588Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T22:24:51.588Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T22:24:51.588Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T22:24:51.588Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T22:24:51.589Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000266c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ff359988f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a600, 0x7503734886853d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd68, 0x62f9763e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd68, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc00000cd68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd68, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000680000, 0x7ff359889150, 0xc00007cfa0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7ff359889150, 0xc00007cfa0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00040e0b0, 0xc00047e000, 0xee, 0x1000, 0x0, 0xc0001fd610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00023a3c0, 0xc0001fd6d0, 0xc0001fd620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00023a3c0, 0xc0001fd7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00040e0b0, 0xc000476280, 0xee, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000476280, 0xc00040c960, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff35999bc38, 0xc00007cfa0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001d0310, 0x7ff35999bc38, 0xc00007cfa0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff35999bc38, 0xc00007cfa0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce840, 0x7ff35999bc38, 0xc00007cfa0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da0e0, 0xc0001bc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9c0, 0xab7900, 0xc0001da0e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da0e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da0e0, 0xc0001bc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b6be0, 0xab8818, 0xc000123440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7ff359988e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001cec71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b380) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 55 [IO wait]: internal/poll.runtime_pollWait(0x7ff359988d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8100, 0xc0002bc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8100, 0xc0002bc000, 0x1000, 0x1000, 0x439c3c, 0xc000407c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00f8, 0xc0002bc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128b40, 0xc0002bc000, 0x1000, 0x1000, 0xc000408000, 0xc000407d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002049c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002049c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128b40) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 56 [select]: net/http.(*persistConn).writeLoop(0xc000128b40) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-15T01:24:56.082Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T01:24:56.083Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T01:24:56.083Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T01:24:56.083Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T01:24:56.083Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T01:24:56.084Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000097f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f77b4325f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0100, 0x351b80d849862601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f098, 0x62f9a06e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f098, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fa000, 0xab76f0, 0xc00009f098, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f098, 0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc000240500, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc000240500, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [chan receive]: main.main.func1(0xaaf020, 0xc000240500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f77b4365278, 0xc0000bc500, 0xc0002a8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f77b4365278, 0xc0000bc500, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f77b4365278, 0xc0000bc500, 0xc0002a8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7f77b4365278, 0xc0000bc500, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fa0e0, 0xc0002a8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000fa0e0, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fa0e0, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fa000, 0xab7900, 0xc0000fa0e0, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000ca2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 25 [runnable]: net/http.(*connReader).backgroundRead(0xc0000aae40) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 26 [runnable]: io.(*LimitedReader).Read(0xc00000c420, 0xc0001ca900, 0x300, 0x300, 0x901, 0xc0001ca000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000c420, 0x0, 0x0, 0xc00000e230, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022e60, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x474c6, 0xc000022df0, 0xf, 0xd9c178, 0x1, 0x1, 0x474c5, 0x474c5, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000ba7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000ba7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 27 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c61c0, 0xc0000ba7e0, 0xc0000ba840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 28 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f77dafef5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000cc000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000cc110, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000cc000, 0xc0002a8100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000cc000, 0xc0002a8100, 0xc0000cc000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002a8100, 0xaaf4e0, 0xc0000cc000, 0x0, 0x0, 0x0, 0xc0000a80b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000aa5a0, 0xc0002a8100, 0x0, 0x0, 0x0, 0xc0000a80b0, 0x0, 0x1, 0xc0002a8100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000aa5a0, 0xc0002a8100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000ce000, 0xc0000ba7e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000ce000, 0xc0000ba7e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 42 [runnable]: runtime/debug.readGCStats(0xc000380028) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000380000) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000ba7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc00027a000, 0xc00026c1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-15T04:24:52.893Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T04:24:52.894Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T04:24:52.894Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T04:24:52.894Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T04:24:52.894Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T04:24:52.895Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00029a400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00029a400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000033801) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.newproc.func1() /usr/local/go/src/runtime/proc.go:4029 +0x97 runtime.systemstack(0x0) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 49 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:339 fp=0xc00005a5e0 sp=0xc00005a5d8 pc=0x46b0a0 runtime.newproc(0x18, 0xa30a68) /usr/local/go/src/runtime/proc.go:4022 +0x6e fp=0xc00005a628 sp=0xc00005a5e0 pc=0x4420ee github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0001a8000, 0xc0002349c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 fp=0xc00005a720 sp=0xc00005a628 pc=0x801a49 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b fp=0xc00005a7e0 sp=0xc00005a720 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x46cda1 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fcee2483f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000268098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000268080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000268080, 0x3c4f7f007bca3f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206ac8, 0x62f9ca9e, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206ac8, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00026c000, 0xab76f0, 0xc000206ac8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206ac8, 0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fcee2444ab8, 0xc00023e640, 0xc000212100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002371f0, 0x7fcee2444ab8, 0xc00023e640, 0xc000212100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcee2444ab8, 0xc00023e640, 0xc000212100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000215590, 0x7fcee2444ab8, 0xc00023e640, 0xc000212100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00026c0e0, 0xc000212100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000215710, 0xab7900, 0xc00026c0e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00026c0e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00026c000, 0xab7900, 0xc00026c0e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000222aa0, 0xab8818, 0xc00021c440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7fcee2483e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000268118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000268100, 0xc0002159c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000268100, 0xc0002159c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000234780) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c148, 0xc0002159c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002159b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: fmt.(*readRune).ReadRune(0xc0003384b0, 0x37, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:330 +0x40b fmt.(*ss).ReadRune(0xc000234e40, 0x37, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc000234e40, 0x37) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).consume(0xc000234e40, 0xa0a93c, 0xb, 0x1, 0xc00030cc01) /usr/local/go/src/fmt/scan.go:480 +0x2f fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc000234e40, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc000234e40, 0x66, 0x92c700, 0xc000252ec8) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc000234e40, 0xa172b2, 0x20, 0xc00030cfc0, 0xb, 0xb, 0x4, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc00021af80, 0xa172b2, 0x20, 0xc00030cfc0, 0xb, 0xb, 0xc00035e303, 0x753, 0xcfd) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc000252e10, 0x4b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:89 +0x228 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0x9e144, 0xc0002188c0, 0xf, 0xd9c178, 0x1, 0x1, 0x9e143, 0x9e143, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0002349c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002349c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 43 [semacquire]: sync.runtime_Semacquire(0xc000218288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000218280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000218280, 0xc0002349c0, 0xc000234a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: net/http.(*persistConn).roundTrip(0xc000224a20, 0xc00021c5c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc000240280, 0xc000212200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc000240280, 0xc000212200, 0xc000240280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000212200, 0xaaf4e0, 0xc000240280, 0x0, 0x0, 0x0, 0xc00023c158, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000215110, 0xc000212200, 0x0, 0x0, 0x0, 0xc00023c158, 0x0, 0x1, 0xc000212200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000215110, 0xc000212200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000242690, 0xc0002349c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000242690, 0xc0002349c0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 14 [runnable]: internal/poll.(*FD).Read(0xc000268200, 0xc00011f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:142 +0x385 net.(*netFD).Read(0xc000268200, 0xc00011f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc00011f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000224a20, 0xc00011f000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007b380) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007b380, 0x1, 0xc00007e3c0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000224a20) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 15 [select]: net/http.(*persistConn).writeLoop(0xc000224a20) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0001a8000, 0xc0002b4000, 0xc0002ba000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-15T05:17:40.987Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T05:17:40.988Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T05:17:40.988Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T05:17:40.988Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T05:17:40.988Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T05:17:40.989Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000254480) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f2113459f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x4b353da99eea5501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce88, 0x62f9d70a, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce88, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e6000, 0xab76f0, 0xc00000ce88, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce88, 0xc0001e6000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e6000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 13 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 16 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 52 [syscall]: compress/flate.NewWriter(0x7f21134a1c98, 0xc00007d2c0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:670 +0x31 compress/gzip.(*Writer).Write(0xc0001336b0, 0xc00047a000, 0xed, 0x1000, 0x0, 0xc000287610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c2b80, 0xc0002876d0, 0xc000287620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c2b80, 0xc0002877c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001336b0, 0xc000476190, 0xed, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc000476190, 0xc00000dad0, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f2113472e78, 0xc00007d2c0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c38f0, 0x7f2113472e78, 0xc00007d2c0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2113472e78, 0xc00007d2c0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c1830, 0x7f2113472e78, 0xc00007d2c0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e60e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c19b0, 0xab7900, 0xc0001e60e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e60e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e6000, 0xab7900, 0xc0001e60e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1400, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 53 [IO wait]: internal/poll.runtime_pollWait(0x7f2113459e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001c1c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001c1c61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b860) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc0001c1c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c1c50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 60 [IO wait]: internal/poll.runtime_pollWait(0x7f2113459d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc0002d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc0002d2000, 0x1000, 0x1000, 0x439c3c, 0xc000265c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e3c0, 0xc0002d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000121200, 0xc0002d2000, 0x1000, 0x1000, 0xc000266000, 0xc000265d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba480) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba480, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 61 [select]: net/http.(*persistConn).writeLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-15T07:24:55.557Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T07:24:55.557Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T07:24:55.557Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T07:24:55.557Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T07:24:55.557Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T07:24:55.558Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001f1f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f9800b9af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000268098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000268080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000268080, 0x536bbbca21d69b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020aaf8, 0x62f9f4ce, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020aaf8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00026c000, 0xab76f0, 0xc00020aaf8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020aaf8, 0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00026c000, 0x0, 0x0, 0xaaf020, 0xc00007cdc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9800b5fbb8, 0xc000240640, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f9800b5fbb8, 0xc000240640, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9800b5fbb8, 0xc000240640, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021d590, 0x7f9800b5fbb8, 0xc000240640, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00026c0e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021d710, 0xab7900, 0xc00026c0e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00026c0e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00026c000, 0xab7900, 0xc00026c0e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc00021d9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000242280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000242390, 0xc00010d660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000242280, 0xc0001bc300, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000242280, 0xc0001bc300, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc300, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc00000e2e0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021d110, 0xc0001bc300, 0x0, 0x0, 0x0, 0xc00000e2e0, 0x0, 0x1, 0xc0001bc300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021d110, 0xc0001bc300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244690, 0xc000200a20, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244690, 0xc000200a20) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000220280, 0xc000200a20, 0xc000200a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: os.newFile(0x8, 0xc000238168, 0x11, 0x1, 0xc000000000) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc000238168, 0x11, 0x0, 0xc000000000, 0x3, 0x3, 0xc000238168) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000238168, 0x11, 0x0, 0x0, 0x3, 0xc00021e2e0, 0xc00021db30) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000238168, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.Proc.Stat(0xe0910, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xfd github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000200a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 18 [runnable]: runtime/debug.readGCStats(0xc00009ad48) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00009ad20) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc000200a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 19 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000a8000, 0xc0000ab800, 0xc0000d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-15T10:24:52.279Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T10:24:52.281Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T10:24:52.281Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T10:24:52.281Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T10:24:52.281Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-15T10:24:52.281Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000231f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ff76d48ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000f8300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f8300, 0x8f74ea42f7feca01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009ccc0, 0x62fa1efe, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009ccc0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc00009ccc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009ccc0, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000d4460, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000d4460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc0000cd080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 25 [chan receive]: main.main.func1(0xaaf020, 0xc0000d4460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff76d4d1438, 0xc0000d49b0, 0xc0000aa200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7ff76d4d1438, 0xc0000d49b0, 0xc0000aa200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff76d4d1438, 0xc0000d49b0, 0xc0000aa200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7ff76d4d1438, 0xc0000d49b0, 0xc0000aa200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc0000aa200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002a60e0, 0xc0000aa200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc0000aa200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc0000aa200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bb4a0, 0xab8818, 0xc0000b46c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 30 [runnable]: net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [runnable]: bytes.Index(0xc00023a000, 0x12b, 0x200, 0xc000237657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x4f4ee, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:125 +0x22c github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000cd080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000cd080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 32 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b0870, 0xc0000cd080, 0xc0000cd0e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 49 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7ff7941585b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000d68c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000d69d0, 0xc0002bc660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000d68c0, 0xc0000aa300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000d68c0, 0xc0000aa300, 0xc0000d68c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000aa300, 0xaaf4e0, 0xc0000d68c0, 0x0, 0x0, 0x0, 0xc00009e218, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000294120, 0xc0000aa300, 0x0, 0x0, 0x0, 0xc00009e218, 0x0, 0x1, 0xc0000aa300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000294120, 0xc0000aa300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000d8f00, 0xc0000cd080, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d8f00, 0xc0000cd080) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [waiting]: runtime.ReadMemStats(0xc0001c9800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001c9800, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-15T13:24:54.354Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T13:24:54.355Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T13:24:54.356Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T13:24:54.356Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T13:24:54.356Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T13:24:54.356Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000252c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f6808bfef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b0380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b0380, 0x8c2c67129faee401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f200, 0x62fa492e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f200, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002ae000, 0xab76f0, 0xc00009f200, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f200, 0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc0000bc280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc0000bc280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f6808b053d8, 0xc0000bc7d0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f6808b053d8, 0xc0000bc7d0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000133130, 0xc000564000, 0xf0, 0x1000, 0x0, 0xc000097610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000e7180, 0xc0000976d0, 0xc000097620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000e7180, 0xc0000977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000133130, 0xc0002405f0, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0002405f0, 0xc00035ca80, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f6808c3e3b8, 0xc0000bc7d0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000ecc40, 0x7f6808c3e3b8, 0xc0000bc7d0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6808c3e3b8, 0xc0000bc7d0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aba10, 0x7f6808c3e3b8, 0xc0000bc7d0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ae0e0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000abb90, 0xab7900, 0xc0002ae0e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ae0e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002ae000, 0xab7900, 0xc0002ae0e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c48c0, 0xab8818, 0xc0000e6540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f6808bfee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0400, 0xc0000abe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0400, 0xc0000abe41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bab40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8150, 0xc0000abe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000abe30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7f6808bfed48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0598, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0580, 0xc0003a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0580, 0xc0003a0000, 0x1000, 0x1000, 0x439c3c, 0xc00027ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e0f8, 0xc0003a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120900, 0xc0003a0000, 0x1000, 0x1000, 0xc0000f65a0, 0xc00027ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002007e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002007e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc000120900) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-15T16:24:57.191Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T16:24:57.191Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T16:24:57.191Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T16:24:57.191Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T16:24:57.191Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T16:24:57.192Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000256780) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f0af52d2f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x1dc3b10dd7129a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce28, 0x62fa735e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce28, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000ce28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce28, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f0af51d2398, 0xc00007d220, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f0af51d2398, 0xc00007d220, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0003080b0, 0xc00052e000, 0xf0, 0x1000, 0x0, 0xc000097610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0002228c0, 0xc0000976d0, 0xc000097620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002228c0, 0xc0000977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0003080b0, 0xc0000bc410, 0xf0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:269 +0x122a github.com/prometheus/common/expfmt.NewEncoder.func7(0xc0000bc410, 0xc00020cd50, 0xa30c88) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:144 +0x3d github.com/prometheus/common/expfmt.encoderCloser.Encode(...) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:50 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f0af52ebe38, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c18f0, 0x7f0af52ebe38, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0af52ebe38, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bf830, 0x7f0af52ebe38, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bf9b0, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1400, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f0af52d2e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001bfc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b800) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e368, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bfc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x7f0af52d2d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0100, 0xc0003a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc0003a0000, 0x1000, 0x1000, 0x439c3c, 0xc000106c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8048, 0xc0003a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120ea0, 0xc0003a0000, 0x1000, 0x1000, 0xc000306000, 0xc000106d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba600, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120ea0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 40 [select]: net/http.(*persistConn).writeLoop(0xc000120ea0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c