[ OK ] level=info ts=2022-08-02T14:54:12.872Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T14:54:12.872Z 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-02T14:54:12.872Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T14:54:12.872Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T14:54:12.872Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=error ts=2022-08-02T14:54:12.873Z caller=apache_exporter.go:636 msg="Listening error" reason="listen tcp :9117: bind: address already in use" [ OK ] level=info ts=2022-08-02T15:54:57.944Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T15:54:57.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-02T15:54:57.944Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T15:54:57.944Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T15:54:57.944Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T15:54:57.945Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 15 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, 0xc000045000, 0xe) /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(0xc000270780) /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, 32 minutes]: internal/poll.runtime_pollWait(0x7fd317381f18, 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, 0x8fa40b58226b2f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd38, 0x62e948ee, 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, 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(0xc0001ca000, 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, 32 minutes]: 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 13 [chan receive, 32 minutes]: main.main.func1(0xaaf020, 0xc0000bc280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [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(0x7fd317394c38, 0xc0000bc050, 0xc0000fc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c0310, 0x7fd317394c38, 0xc0000bc050, 0xc0000fc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd317394c38, 0xc0000bc050, 0xc0000fc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001be840, 0x7fd317394c38, 0xc0000bc050, 0xc0000fc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0000fc000) /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, 0xc0000fc000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0000fc000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0000fc000) /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 436 [runnable]: sort.quickSort_func(0xc000103df8, 0xc000202000, 0x0, 0x1d, 0xa) /usr/local/go/src/sort/zfuncversion.go:136 sort.Slice(0x93d280, 0xc00000c030, 0xc000103df8) /usr/local/go/src/sort/slice.go:20 +0xe8 runtime/debug.ReadGCStats(0xc000154380) /usr/local/go/src/runtime/debug/garbage.go:74 +0x46f github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0005b4240) /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 393 [runnable]: net.setDefaultSockopts(0x8, 0x2, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/sockopt_linux.go:12 +0x1b4 net.socket(0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0x2, 0x1, 0x0, 0x0, 0xabb9b0, 0x0, ...) /usr/local/go/src/net/sock_posix.go:23 +0xa9 net.internetSocket(0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xabb9b0, 0x0, 0xabb9b0, 0xc0000d0000, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x145 net.(*sysDialer).doDialTCP(0xc000216000, 0xab87a8, 0xc0000220b0, 0x0, 0xc0000d0000, 0xc00020e018, 0x0, 0x2) /usr/local/go/src/net/tcpsock_posix.go:65 +0xc5 net.(*sysDialer).dialTCP(0xc000216000, 0xab87a8, 0xc0000220b0, 0x0, 0xc0000d0000, 0xc00021f1f0, 0xc000303768, 0x40db52) /usr/local/go/src/net/tcpsock_posix.go:61 +0xd7 net.(*sysDialer).dialSingle(0xc000216000, 0xab87a8, 0xc0000220b0, 0xab3258, 0xc0000d0000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:580 +0x5e8 net.(*sysDialer).dialSerial(0xc000216000, 0xab87a8, 0xc0000220b0, 0xc0003b8020, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:548 +0x15e net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc00021f1f0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:425 +0x6e5 net/http.(*Transport).dial(0xc0001ba500, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc00021f1f0, 0xc, 0x0, 0xc00020e018, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc0001ba500, 0xab87a8, 0xc0000220b0, 0x0, 0x7ffef6e3aef8, 0x4, 0xc00021f1f0, 0xc, 0x0, 0xc000120c60, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc0001ba500, 0xc0000e2370) /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 437 [waiting]: runtime.ReadMemStats(0xc0000b3800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc000190000) /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 452 [IO wait]: internal/poll.runtime_pollWait(0x7fd317381e30, 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, 0xc00007baa0, 0x0, 0x101000000000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 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 453 [select]: net/http.(*Transport).getConn(0xc0001ba500, 0xc00011a800, 0x0, 0x7ffef6e3aef8, 0x4, 0xc00021f1f0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0001ba500, 0xc0000fc300, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0001ba500, 0xc0000fc300, 0xc0001ba500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000fc300, 0xaaf4e0, 0xc0001ba500, 0x0, 0x0, 0x0, 0xc0002b60e0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001be3c0, 0xc0000fc300, 0x0, 0x0, 0x0, 0xc0002b60e0, 0x0, 0x1, 0xc0000fc300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001be3c0, 0xc0000fc300, 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(0xc0001a20f0, 0xc0005b4240, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a20f0, 0xc0005b4240) /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 454 [semacquire]: sync.runtime_Semacquire(0xc0000220c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000220c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000220c0, 0xc0005b4240, 0xc0005b4480) /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 455 [runnable]: fmt.newScanState(0xaaefe0, 0xc0000a4080, 0x0, 0x8, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscanf(0xaaefe0, 0xc0000a4080, 0xa172b2, 0x20, 0xc0002e6fc0, 0xb, 0xb, 0x8, 0x46cee7, 0x41faf3) /usr/local/go/src/fmt/scan.go:142 +0x54 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0000cc000, 0x4a, 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(0x3cf88, 0xc0000221e0, 0xf, 0xd9c178, 0x1, 0x1, 0x3cf87, 0x3cf87, 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, 0xc0005b4240) /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, 0xc0005b4240) /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-02T17:19:14.853Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T17:19:14.854Z 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-02T17:19:14.854Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T17:19:14.854Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T17:19:14.854Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T17:19:14.854Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 15 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, 0xc000042800, 0xe) /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, 37 minutes]: internal/poll.runtime_pollWait(0x7f26ceb06018, 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, 0x8d40932f7a6af4b2, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002968a0, 0x62e98926, 0xc000325b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002968a0, 0xc000325b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d8000, 0xab76f0, 0xc0002968a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002968a0, 0xc0002d8000, 0x0, 0x0, 0xaaf020, 0xc000210320, 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, 0xc000210320, 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, 225 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, 225 minutes]: main.main.func1(0xaaf020, 0xc000210320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 2056 [IO wait]: internal/poll.runtime_pollWait(0x7f26ceb05f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000102118, 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(0xc000102100, 0xc0002f4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000102100, 0xc0002f4000, 0x1000, 0x1000, 0x7f26ceaf9968, 0x800, 0x1) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c1b8, 0xc0002f4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).Read(0xc000186ae0, 0xc0002f4000, 0x1000, 0x1000, 0xffffffffffffffff, 0x0, 0x7f26ceaf9968) /usr/local/go/src/net/http/server.go:780 +0x1b9 bufio.(*Reader).fill(0xc00029a720) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadSlice(0xc00029a720, 0xc0001c200a, 0x10000018e, 0xc00005d000, 0x7f26ce95a5a8, 0xc0002fd810, 0x5) /usr/local/go/src/bufio/bufio.go:360 +0x3d bufio.(*Reader).ReadLine(0xc00029a720, 0x203000, 0x203000, 0x7f26ce95a5a8, 0x1, 0x7f26ce95b6a8, 0xc0003b21b0) /usr/local/go/src/bufio/bufio.go:389 +0x34 net/textproto.(*Reader).readLineSlice(0xc0003b21b0, 0xc00010a100, 0xc0002fd9e8, 0x4ddfd3, 0xc000102100, 0xc0002f5000) /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(0xc00029a720, 0x0, 0xc00010a100, 0x0, 0x0) /usr/local/go/src/net/http/request.go:1027 +0xaa net/http.(*conn).readRequest(0xc00021a000, 0xab8770, 0xc0000c6580, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:966 +0x19d net/http.(*conn).serve(0xc00021a000, 0xab8818, 0xc0000c6580) /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 2450 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f26ceb05d60, 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, 0xc00031b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc00031b000, 0x1000, 0x1000, 0x439c3c, 0xc0000a4c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42e8, 0xc00031b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002c8000, 0xc00031b000, 0x1000, 0x1000, 0xc0001aa120, 0xc0000a4d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00029b260) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00029b260, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002c8000) /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 2451 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002c8000) /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-02T23:19:11.466Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T23:19:11.469Z 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-02T23:19:11.469Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T23:19:11.469Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T23:19:11.469Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T23:19:11.470Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 14 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(0xc00025ec00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00025ec00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040000, 0xd) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000393f01) /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(0xc00030e000) /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, 12 minutes]: internal/poll.runtime_pollWait(0x7fc72c824f18, 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, 0x5b6941a7427edd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000af5a8, 0x62e9b0fe, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000af5a8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000af5a8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000af5a8, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00007c280, 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, 0xc00007c280, 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 [chan receive, 13 minutes]: main.main.func1(0xaaf020, 0xc00007c280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 35 [syscall, 13 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 29 [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(0x7fc72c837bf8, 0xc00007c3c0, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000174f50, 0x7fc72c837bf8, 0xc00007c3c0, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc72c837bf8, 0xc00007c3c0, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017c870, 0x7fc72c837bf8, 0xc00007c3c0, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002881c0, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017c9f0, 0xab7900, 0xc0002881c0, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002881c0, 0xc000216100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002881c0, 0xc000216100) /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 219 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fc72c824e30, 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, 0xc0002382a0, 0x0, 0xc0000c1518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2d8, 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 221 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc00021d168) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021d160) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021d160, 0xc0000be180, 0xc0000be240) /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 172 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001be000) /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 171 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0001be000) /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 220 [runnable]: internal/poll.(*FD).readUnlock(0xc000108180) /usr/local/go/src/internal/poll/fd_mutex.go:230 +0x58 internal/poll.(*FD).Read(0xc000108180, 0xc00029d000, 0x1000, 0x1000, 0x1000, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:172 +0x23c net.(*netFD).Read(0xc000108180, 0xc00029d000, 0x1000, 0x1000, 0x55454b, 0xc00029d000, 0x662728) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e150, 0xc00029d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001be000, 0xc00029d000, 0x1000, 0x1000, 0x3ae2, 0x1, 0x2b) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).Read(0xc0000be480, 0xc000132ffa, 0x6, 0x6, 0xffa, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:227 +0x222 net/http/internal.(*chunkedReader).Read(0xc0004775f0, 0xc000132ffa, 0x6, 0x6, 0xc000022920, 0xc00026b848, 0x6bcb73) /usr/local/go/src/net/http/internal/chunked.go:104 +0x1da net/http.(*body).readLocked(0xc0000c11c0, 0xc000132000, 0x1000, 0x1000, 0xc0000c11ec, 0xa326d8, 0xc00026b8c0) /usr/local/go/src/net/http/transfer.go:842 +0x5f net/http.(*body).Read(0xc0000c11c0, 0xc000132000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transfer.go:834 +0xf9 net/http.(*bodyEOFSignal).Read(0xc0000c1240, 0xc000132000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2764 +0xe2 bufio.(*Reader).fill(0xc000316660) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadByte(0xc000316660, 0xc00026b996, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:253 +0x39 compress/flate.(*decompressor).huffSym(0xc0001ac000, 0xc0001ac028, 0x2d, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc0001ac000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc0001ac000, 0xc000378000, 0x2000, 0x2000, 0x3580, 0x361695aa, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00018eb00, 0xc000378000, 0x2000, 0x2000, 0x1580, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00043a160, 0xc000378000, 0x2000, 0x2000, 0x1580, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fc72c6f6d38, 0xc00043a160, 0xc00043a160, 0x7fc72c6f6d38, 0xc00043a160, 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(0xc0001560f0, 0xc0000be180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001560f0, 0xc0000be180) /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-03T02:19:26.240Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T02:19:26.240Z 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-03T02:19:26.240Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T02:19:26.240Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T02:19:26.240Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T02:19:26.240Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 14 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, 0xc000040000, 0xd) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0x426601) /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(0xc000208600) /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(0x7fb1d351cf18, 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, 0x8ad66409203b2e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d7a0, 0x62e9db2e, 0xc00016db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d7a0, 0xc00016db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f0000, 0xab76f0, 0xc00000d7a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d7a0, 0xc0001f0000, 0x0, 0x0, 0xaaf020, 0xc00009e230, 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, 0xc00009e230, 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, 0xc00009e230) /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 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000108960, 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(0x7fb1d3535d38, 0xc00009e910, 0xc0001c2700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001cd730, 0x7fb1d3535d38, 0xc00009e910, 0xc0001c2700) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb1d3535d38, 0xc00009e910, 0xc0001c2700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d5410, 0x7fb1d3535d38, 0xc00009e910, 0xc0001c2700) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003000e0, 0xc0001c2700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d5590, 0xab7900, 0xc0003000e0, 0xc0001c2700) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003000e0, 0xc0001c2700) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f0000, 0xab7900, 0xc0003000e0, 0xc0001c2700) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001bf540, 0xab8818, 0xc0001295c0) /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(0x7fb1d351ce30, 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, 0xc0001d5841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001d5841, 0x1, 0x1, 0xc000098000, 0x0, 0xc000129698) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e390, 0xc0001d5841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d5830) /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 [runnable]: github.com/prometheus/client_golang/prometheus.NewConstMetric(0xc0001c1a40, 0x2, 0x3ff0000000000000, 0x0, 0x0, 0x0, 0x0, 0xab2718, 0xc000129780, 0x0) /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, 0xc000204660) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:309 +0x5b9 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 28 [select]: net/http.(*persistConn).roundTrip(0xc00012f320, 0xc0000d0a00, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc0001c6780, 0xc0001c2800, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc0001c6780, 0xc0001c2800, 0xc0001c6780, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c2800, 0xaaf4e0, 0xc0001c6780, 0x0, 0x0, 0x0, 0xc0000ce150, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001d4f90, 0xc0001c2800, 0x0, 0x0, 0x0, 0xc0000ce150, 0x0, 0x1, 0xc0001c2800) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001d4f90, 0xc0001c2800, 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(0xc0001ae780, 0xc000204660, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001ae780, 0xc000204660) /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 29 [semacquire]: sync.runtime_Semacquire(0xc0000cb098) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000cb090) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000cb090, 0xc000204660, 0xc0002046c0) /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 30 [runnable]: fmt.(*ss).advance(0xc000098840, 0xa172b2, 0x20, 0x46cf27) /usr/local/go/src/fmt/scan.go:1100 +0x673 fmt.(*ss).doScanf(0xc000098840, 0xa172b2, 0x20, 0xc0002befc0, 0xb, 0xb, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc0001e2980, 0xa172b2, 0x20, 0xc0002befc0, 0xb, 0xb, 0xc000438194, 0x819, 0x40) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0000f0300, 0x3f, 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(0x4f296, 0xc000023280, 0xf, 0xd9c178, 0x1, 0x1, 0x4f295, 0x4f295, 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(0xc0001089b0, 0xc000204660) /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(0xc0001089b0, 0xc000204660) /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 97 [IO wait]: internal/poll.runtime_pollWait(0x7fb1d351cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000dc818, 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(0xc0000dc800, 0xc000339000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000dc800, 0xc000339000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000ce178, 0xc000339000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00012f320, 0xc000339000, 0x1000, 0x1000, 0x4055fd, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204ae0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204ae0, 0x1, 0xc00010a720, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00012f320) /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 98 [runnable]: net/http.Header.sortedKeyValues(0xc0002210b0, 0xc000114ab0, 0xc0000d0ac0, 0x7fb1d32f4ae0, 0xc0000d0ac0, 0xc0001bf601) /usr/local/go/src/net/http/header.go:169 +0x149 net/http.Header.writeSubset(0xc0002210b0, 0xaaed00, 0xc0000d0ac0, 0xc000114ab0, 0x0, 0x0, 0x1) /usr/local/go/src/net/http/header.go:191 +0x9c net/http.(*Request).write(0xc0001c2800, 0xaaed00, 0xc0000d0ac0, 0x0, 0xc0002d2c30, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/request.go:650 +0x64e net/http.(*persistConn).writeLoop(0xc00012f320) /usr/local/go/src/net/http/transport.go:2385 +0x1a7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T05:41:13.418Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T05:41:13.419Z 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:41:13.419Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T05:41:13.419Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T05:41:13.419Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T05:41:13.421Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 14 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, 0xc000040000, 0xd) /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(0xc00026ac00) /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(0x7fe8ca9d0f18, 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, 0x44bb7b4cf5f9c001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f140, 0x62ea0a86, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f140, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fa000, 0xab76f0, 0xc00009f140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f140, 0xc0000fa000, 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(0xc0000fa000, 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 20 [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 23 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc00020e280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: hash/crc32.Update(0x7fe800000000, 0xc000138000, 0xc0001fc000, 0xee, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc000234dc0, 0xc0001fc000, 0xee, 0x1000, 0x0, 0xc000297610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc0000d2b00, 0xc0002976d0, 0xc000297620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000d2b00, 0xc0002977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000234dc0, 0xc00020e2d0, 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(0xc00020e2d0, 0xc00031a9c0, 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(0x7fe8caa143b8, 0xc0002c4190, 0xc0002f6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7fe8caa143b8, 0xc0002c4190, 0xc0002f6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe8caa143b8, 0xc0002c4190, 0xc0002f6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7fe8caa143b8, 0xc0002c4190, 0xc0002f6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003b61c0, 0xc0002f6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0003b61c0, 0xc0002f6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003b61c0, 0xc0002f6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fa000, 0xab7900, 0xc0003b61c0, 0xc0002f6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000d22c0) /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 129 [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 goroutine 112 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fe8ca9d0c60, 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, 0xc000330000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000330000, 0x1000, 0x1000, 0x439c3c, 0xc000106c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc000330000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120360, 0xc000330000, 0x1000, 0x1000, 0xc000254360, 0xc000106d40, 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(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 60 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fe8ca9d0e30, 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, 0x0, 0x0, 0x0) /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 [ OK ] level=info ts=2022-08-03T08:19:14.435Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T08:19:14.439Z 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-03T08:19:14.439Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T08:19:14.439Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T08:19:14.439Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T08:19:14.440Z 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(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, 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(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, 1 minutes]: internal/poll.runtime_pollWait(0x7fa96837cf18, 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, 0x1c7de72390c801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020aa08, 0x62ea2f8e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020aa08, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc00020aa08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020aa08, 0xc000290000, 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(0xc000290000, 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 21 [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 38 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00020e230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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(0x7fa96833c4b8, 0xc0000c8140, 0xc00025c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7fa96833c4b8, 0xc0000c8140, 0xc00025c000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa96833c4b8, 0xc0000c8140, 0xc00025c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002139e0, 0x7fa96833c4b8, 0xc0000c8140, 0xc00025c000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002901c0, 0xc00025c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000213b60, 0xab7900, 0xc0002901c0, 0xc00025c000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002901c0, 0xc00025c000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002901c0, 0xc00025c000) /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 22 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fa96837ce30, 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, 0xc000213e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024a380, 0xc000213e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c150, 0xc000213e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000213e00) /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 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000382098) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000382090) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000382090, 0xc00038e0c0, 0xc00038e120) /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 25 [runnable]: net/http.(*gzipReader).Read(0xc000449380, 0xc0004a9000, 0x1a80, 0x1a80, 0x5001, 0xc0004a4000, 0x5000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fa968095028, 0xc000449380, 0xc000449380, 0x7fa968095028, 0xc000449380, 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(0xc000252870, 0xc00038e0c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000252870, 0xc00038e0c0) /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 84 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc00025a000) /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 83 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc00025a000) /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 [level=info ts=2022-08-03T11:19:08.007Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" OK ]level=info ts=2022-08-03T11:19:08.013Z 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-03T11:19:08.013Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T11:19:08.013Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T11:19:08.013Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T11:19:08.014Z 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(0xc0002f0c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002f0c00) /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(0xc000083200) /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, 3 minutes]: internal/poll.runtime_pollWait(0x7f3e7301af18, 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, 0xaffff1d0ee886901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c930, 0x62ea59be, 0xc0001f7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c930, 0xc0001f7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00014a000, 0xab76f0, 0xc00000c930, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c930, 0xc00014a000, 0x0, 0x0, 0xaaf020, 0xc0002a02d0, 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(0xc00014a000, 0x0, 0x0, 0xaaf020, 0xc0002a02d0, 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 131 [semacquire]: sync.runtime_Semacquire(0xc0000a5178) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000a5170) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000a5170, 0xc000098180, 0xc000098240) /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 5 [syscall, 3 minutes]: os/signal.signal_recv(0xc0000587ae) /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 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc0002a02d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 12 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc00037e0c0, 0xc00008f5f8, 0xc00008f628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:601 +0x195 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0001a0910, 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(0x7f3e72e36278, 0xc0001083c0, 0xc0002e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000128a10, 0x7f3e72e36278, 0xc0001083c0, 0xc0002e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3e72e36278, 0xc0001083c0, 0xc0002e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000114b40, 0x7f3e72e36278, 0xc0001083c0, 0xc0002e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000b00e0, 0xc0002e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000114cc0, 0xab7900, 0xc0000b00e0, 0xc0002e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000b00e0, 0xc0002e0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00014a000, 0xab7900, 0xc0000b00e0, 0xc0002e0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000201e0, 0xab8818, 0xc00012a2c0) /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 130 [runnable]: github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0001a0960, 0xc000098180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:41 +0xc33 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0001a0960, 0xc000098180) /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 63 [semacquire]: runtime.ReadMemStats(0xc000309800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000294000, 0xc000309800, 0xc0002da300) /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 129 [IO wait]: internal/poll.runtime_pollWait(0x7f3e7301ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 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(0xc00002a180, 0xc000114f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc000114f71, 0x1, 0x1, 0x0, 0x0, 0x100000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b0, 0xc000114f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000114f60) /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 62 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000294000, 0xc000098180) /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 133 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc00019c048, 0xa051b5, 0x3, 0xc0000a5180, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc00019c048, 0xa051b5, 0x3, 0xc0000a5180, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc00019c048, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc0000a5180, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc00019c048, 0xa051b5, 0x3, 0xc0000a5180, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc00012c000, 0xab87a8, 0xc00019c048, 0xa051b5, 0x3, 0xc0000a5180, 0xc, 0x0, 0xc000110a98, 0x441c0a, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc00012c000, 0xab87a8, 0xc00019c048, 0x0, 0x7ffc121a5ef8, 0x4, 0xc0000a5180, 0xc, 0x0, 0xc0002deb40, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc00012c000, 0xc0001be9a0) /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 132 [select]: net/http.(*Transport).getConn(0xc00012c000, 0xc000190840, 0x0, 0x7ffc121a5ef8, 0x4, 0xc0000a5180, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc00012c000, 0xc0002e0200, 0x30, 0x9db900, 0x540) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc00012c000, 0xc0002e0200, 0xc00012c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002e0200, 0xaaf4e0, 0xc00012c000, 0x0, 0x0, 0x0, 0xc00028c170, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001146c0, 0xc0002e0200, 0x0, 0x0, 0x0, 0xc00028c170, 0x0, 0x1, 0xc0002e0200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001146c0, 0xc0002e0200, 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(0xc00012e000, 0xc000098180, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00012e000, 0xc000098180) /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 134 [runnable]: syscall.anyToSockaddr(0xc000302ea0, 0xc000302ea0, 0xc000302e9c, 0x0, 0x0) /usr/local/go/src/syscall/syscall_linux.go:477 +0x2fc syscall.Getsockname(0x8, 0xab87a8, 0xc00019c048, 0x0, 0x0) /usr/local/go/src/syscall/syscall_linux.go:589 +0xd0 net.(*netFD).dial(0xc000294180, 0xab87a8, 0xc00019c048, 0xabb9f8, 0x0, 0xabb9f8, 0xc000478c00, 0x0, 0xb, 0xc0006bc010) /usr/local/go/src/net/sock_posix.go:164 +0x151 net.socket(0xab87a8, 0xc00019c048, 0xa051be, 0x3, 0x2, 0x2, 0x0, 0x0, 0xabb9f8, 0x0, ...) /usr/local/go/src/net/sock_posix.go:70 +0x1c5 net.internetSocket(0xab87a8, 0xc00019c048, 0xa051be, 0x3, 0xabb9f8, 0x0, 0xabb9f8, 0xc000478c00, 0x2, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x145 net.(*sysDialer).dialUDP(0xc000303268, 0xab87a8, 0xc00019c048, 0x0, 0xc000478c00, 0xc0002940a8, 0x0, 0x0) /usr/local/go/src/net/udpsock_posix.go:98 +0xc5 net.DialUDP(0xa051be, 0x3, 0x0, 0xc000478c00, 0xc000182020, 0x0, 0x0) /usr/local/go/src/net/udpsock.go:212 +0x246 net.srcAddrs(0xc0001085a0, 0x2, 0x2, 0x2, 0xc0001085a0, 0x10) /usr/local/go/src/net/addrselect.go:47 +0x125 net.sortByRFC6724(0xc0001085a0, 0x2, 0x2) /usr/local/go/src/net/addrselect.go:17 +0x4f net.goLookupIPFiles(0xc0000a5180, 0x9, 0xc000190840, 0x40, 0x38) /usr/local/go/src/net/dnsclient_unix.go:553 +0x238 net.(*Resolver).goLookupIPCNAMEOrder(0xddffe0, 0xab8770, 0xc000190880, 0xc0000a5180, 0x9, 0x1, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dnsclient_unix.go:567 +0x12dd net.(*Resolver).lookupIP(0xddffe0, 0xab8770, 0xc000190880, 0xa051b5, 0x3, 0xc0000a5180, 0x9, 0x2, 0x80cddb, 0x0, ...) /usr/local/go/src/net/lookup_unix.go:102 +0xe5 net.glob..func1(0xab8770, 0xc000190880, 0xc0001938f0, 0xa051b5, 0x3, 0xc0000a5180, 0x9, 0xc00019c048, 0x0, 0x7ffc121a5ef8, ...) /usr/local/go/src/net/hook.go:23 +0x72 net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/lookup.go:293 +0xba internal/singleflight.(*Group).doCall(0xddfff0, 0xc000108410, 0xc0000a5190, 0xd, 0xc0001908c0) /usr/local/go/src/internal/singleflight/singleflight.go:95 +0x2e created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc [ OK ] level=info ts=2022-08-03T14:19:31.405Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T14:19:31.407Z 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-03T14:19:31.407Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T14:19:31.407Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T14:19:31.408Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T14:19:31.409Z 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(0xc000089800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000089800) /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(0xc00038ad80) /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(0x7fc8627f7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a418, 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(0xc00002a400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a400, 0x16d9eaacd432d501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d230, 0x62ea842a, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d230, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000d230, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d230, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007c320, 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, 0xc00007c320, 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, 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 13 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [select, 1 minutes]: 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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc86276f3b8, 0xc00007c0f0, 0xc0001c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001b8c40, 0x7fc86276f3b8, 0xc00007c0f0, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc86276f3b8, 0xc00007c0f0, 0xc0001c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000185a10, 0x7fc86276f3b8, 0xc00007c0f0, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000312000, 0xc0001c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000185b90, 0xab7900, 0xc000312000, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000312000, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc000312000, 0xc0001c6000) /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 113 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc00022a000) /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 77 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fc8627f7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a498, 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(0xc00002a480, 0xc000185e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a480, 0xc000185e41, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc0002aefa8) /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 79 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc00031e118) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00031e110) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00031e110, 0xc0000c6180, 0xc0000c6240) /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 80 [runnable]: net/http.(*gzipReader).Read(0xc000278040, 0xc0003c3500, 0x580, 0x580, 0x1501, 0xc0003c2000, 0x1500) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fc862773cb8, 0xc000278040, 0xc000278040, 0x7fc862773cb8, 0xc000278040, 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(0xc0001be870, 0xc0000c6180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001be870, 0xc0000c6180) /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 32 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc00022a000) /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 [ OK ] level=info ts=2022-08-03T17:19:11.454Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T17:19:11.455Z 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-03T17:19:11.455Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T17:19:11.455Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T17:19:11.455Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T17:19:11.455Z 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(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, 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(0xc0002f8900) /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(0x7ff2e42e0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024e318, 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(0xc00024e300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024e300, 0x2f5300607325e801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002089f0, 0x62eaae1e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002089f0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc0002089f0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002089f0, 0xc000298000, 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(0xc000298000, 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 21 [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 54 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00020e230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 58 [select, 1 minutes]: 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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff2e40fc4b8, 0xc00007c0f0, 0xc000198100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7ff2e40fc4b8, 0xc00007c0f0, 0xc000198100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff2e40fc4b8, 0xc00007c0f0, 0xc000198100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002119e0, 0x7ff2e40fc4b8, 0xc00007c0f0, 0xc000198100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002981c0, 0xc000198100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000211b60, 0xab7900, 0xc0002981c0, 0xc000198100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002981c0, 0xc000198100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002981c0, 0xc000198100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021a8c0, 0xab8818, 0xc000242540) /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 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ff2e42e0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024e398, 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(0xc00024e380, 0xc000211e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024e380, 0xc000211e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000240148, 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 16 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000022148) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022140) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022140, 0xc00007a0c0, 0xc00007a120) /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 97 [runnable]: net/http.(*gzipReader).Read(0xc00001e1c0, 0xc0005eea80, 0x3580, 0x3580, 0x6a81, 0xc0005e8000, 0x6a80) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7ff2e429e9c8, 0xc00001e1c0, 0xc00001e1c0, 0x7ff2e429e9c8, 0xc00001e1c0, 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(0xc000256870, 0xc00007a0c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000256870, 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 100 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0000d2360) /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 101 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000d2360) /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 [level=info ts=2022-08-03T20:19:08.895Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" OK level=info ts=2022-08-03T20:19:08.910Z 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-03T20:19:08.910Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T20:19:08.910Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto ] level=info ts=2022-08-03T20:19:08.910Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T20:19:08.911Z 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(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, 0xc00003d800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00060bf01) /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(0x7f5055f1bf18, 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, 0xc5f13134ca55e601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020ca38, 0x62ead84e, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020ca38, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc00020ca38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020ca38, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000210280, 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, 0xc000210280, 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, 0xc000210280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7f5055d773b8, 0xc00009b2c0, 0xc000164600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f5055d773b8, 0xc00009b2c0, 0xc000164600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5055d773b8, 0xc00009b2c0, 0xc000164600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002139e0, 0x7f5055d773b8, 0xc00009b2c0, 0xc000164600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00037a000, 0xc000164600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000213b60, 0xab7900, 0xc00037a000, 0xc000164600) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00037a000, 0xc000164600) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc00037a000, 0xc000164600) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021a960, 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 28 [IO wait]: internal/poll.runtime_pollWait(0x7f5055f1be30, 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, 0xc000213e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024a380, 0xc000213e11, 0x1, 0x1, 0xc0000990e0, 0x0, 0xc00023e618) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c158, 0xc000213e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000213e00) /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 [select]: net/http.(*persistConn).readLoop(0xc0000cd200) /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 30 [semacquire]: sync.runtime_Semacquire(0xc0002371b8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002371b0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002371b0, 0xc000201560, 0xc0002015c0) /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]: net/http.(*gzipReader).Read(0xc00001e080, 0xc000730000, 0x6000, 0x6000, 0x18001, 0xc000718000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f5055cb0078, 0xc00001e080, 0xc00001e080, 0x7f5055cb0078, 0xc00001e080, 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(0xc000252870, 0xc000201560, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000252870, 0xc000201560) /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 [select]: net/http.(*persistConn).writeLoop(0xc0000cd200) /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-03T23:19:20.350Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T23:19:20.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-03T23:19:20.356Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T23:19:20.356Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T23:19:20.356Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T23:19:20.357Z 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(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, 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, 3 minutes]: internal/poll.runtime_pollWait(0x7f3eaa1b4f18, 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, 0xbf541324cc83c401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0003068b8, 0x62eb027e, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0003068b8, 0xc00010db98, 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, 0xc0002082d0, 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, 0xc0002082d0, 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 5 [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 51 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc0002082d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000580000, 0x7f3eaa0fc798, 0xc000208050, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f3eaa0fc798, 0xc000208050, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0001a4370, 0xc000322000, 0xf0, 0x1000, 0x0, 0xc00036d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0003165c0, 0xc00036d6d0, 0xc00036d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0003165c0, 0xc00036d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001a4370, 0xc000192500, 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(0xc000192500, 0xc000306b10, 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(0x7f3eaa0ec278, 0xc000208050, 0xc0001f8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000302a10, 0x7f3eaa0ec278, 0xc000208050, 0xc0001f8200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3eaa0ec278, 0xc000208050, 0xc0001f8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00030e9f0, 0x7f3eaa0ec278, 0xc000208050, 0xc0001f8200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003481c0, 0xc0001f8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00030eb70, 0xab7900, 0xc0003481c0, 0xc0001f8200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003481c0, 0xc0001f8200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000348000, 0xab7900, 0xc0003481c0, 0xc0001f8200) /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 136 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f3eaa1b4c60, 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, 0xc0000e8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc0000e8000, 0x1000, 0x1000, 0x439c3c, 0xc0000a2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003101f8, 0xc0000e8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001a2000, 0xc0000e8000, 0x1000, 0x1000, 0xc000346300, 0xc0000a2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00030a2a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00030a2a0, 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 137 [select, 1 minutes]: 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 goroutine 118 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f3eaa1b4e30, 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, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003100a0, 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 [ OK ] level=info ts=2022-08-04T02:19:10.118Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T02:19:10.119Z 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-04T02:19:10.119Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T02:19:10.119Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T02:19:10.119Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T02:19:10.120Z 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(0xc000201000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000201000) /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(0xc000001c80) /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(0x7fce525e7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002dc098, 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(0xc0002dc080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002dc080, 0xf2483f833d7f2901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000288b88, 0x62eb2cae, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000288b88, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002f4000, 0xab76f0, 0xc000288b88, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000288b88, 0xc0002f4000, 0x0, 0x0, 0xaaf020, 0xc00021c230, 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(0xc0002f4000, 0x0, 0x0, 0xaaf020, 0xc00021c230, 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, 0xc00021c230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [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(0x7fce52564ab8, 0xc00007c0f0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002bb1f0, 0x7fce52564ab8, 0xc00007c0f0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fce52564ab8, 0xc00007c0f0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000299590, 0x7fce52564ab8, 0xc00007c0f0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002f41c0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000299710, 0xab7900, 0xc0002f41c0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002f41c0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002f4000, 0xab7900, 0xc0002f41c0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002a6aa0, 0xab8818, 0xc0002a0440) /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(0x7fce525e7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002dc118, 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(0xc0002dc100, 0xc0002999c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002dc100, 0xc0002999c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00028e168, 0xc0002999c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002999b0) /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 97 [semacquire]: sync.runtime_Semacquire(0xc000244078) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000244070) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000244070, 0xc00021a000, 0xc00021a0c0) /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 98 [runnable]: compress/flate.(*decompressor).huffSym(0xc00016c000, 0xc00016c028, 0x61, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc00016c000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc00016c000, 0xc00037a000, 0x2000, 0x2000, 0x3580, 0x571b2df5, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00022a580, 0xc00037a000, 0x2000, 0x2000, 0x1580, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0000bf6c0, 0xc00037a000, 0x2000, 0x2000, 0x1580, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fce52387278, 0xc0000bf6c0, 0xc0000bf6c0, 0x7fce52387278, 0xc0000bf6c0, 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(0xc0002c4690, 0xc00021a000, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0002c4690, 0xc00021a000) /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 89 [select]: net/http.(*persistConn).readLoop(0xc0002a8000) /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 90 [select]: net/http.(*persistConn).writeLoop(0xc0002a8000) /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:15:28.128Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T05:15:28.130Z 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:15:28.130Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T05:15:28.130Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T05:15:28.130Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T05:15:28.259Z 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(0xc000278800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000278800) /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, 0xc000605f01) /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(0x7fcd7faf0f18, 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, 0x243b34e4f5149201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd68, 0x62eb562a, 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, 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(0xc0001d2000, 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 23 [runnable]: compress/flate.(*decompressor).huffSym(0xc000177900, 0xc000177928, 0x3, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000177900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000177900, 0xc0005e8000, 0x2000, 0x2000, 0x4000, 0x8464bf57, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0001338c0, 0xc0005e8000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0004dd420, 0xc0005e8000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fcd7fb2d028, 0xc0004dd420, 0xc0004dd420, 0x7fcd7fb2d028, 0xc0004dd420, 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(0xc0001a80f0, 0xc0000b2240, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a80f0, 0xc0000b2240) /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, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [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(0x7fcd7faaea38, 0xc000240870, 0xc0000c8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c8310, 0x7fcd7faaea38, 0xc000240870, 0xc0000c8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcd7faaea38, 0xc000240870, 0xc0000c8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c6840, 0x7fcd7faaea38, 0xc000240870, 0xc0000c8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d20e0, 0xc0000c8100) /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, 0xc0000c8100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d20e0, 0xc0000c8100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d20e0, 0xc0000c8100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8b40, 0xab8818, 0xc000220440) /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 20 [IO wait]: internal/poll.runtime_pollWait(0x7fcd7faf0e30, 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, 0xc000217c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc000217c61, 0x1, 0x1, 0xc00007a000, 0x0, 0xc000220518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2e0, 0xc000217c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000217c50) /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 22 [semacquire]: sync.runtime_Semacquire(0xc00021d908) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021d900) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021d900, 0xc0000b2240, 0xc0000b22a0) /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 43 [select]: net/http.(*persistConn).readLoop(0xc000128b40) /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 44 [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-04T05:19:05.110Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T05:19:05.110Z 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:19:05.111Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T05:19:05.111Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T05:19:05.111Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T05:19:05.111Z 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(0xc000178c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000178c00) /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(0xc0002aec00) /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(0x7f7f77227018, 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, 0x923e220f44c3f901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d110, 0x62eb56de, 0xc000193b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d110, 0xc000193b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000234000, 0xab76f0, 0xc00000d110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d110, 0xc000234000, 0x0, 0x0, 0xaaf020, 0xc000142460, 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(0xc000234000, 0x0, 0x0, 0xaaf020, 0xc000142460, 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 [runnable]: internal/singleflight.(*Group).doCall(0xddfff0, 0xc0000cd1d0, 0xc0002c2140, 0xd, 0xc0001085c0) /usr/local/go/src/internal/singleflight/singleflight.go:94 created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc 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, 0xc000142460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000cc910, 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(0x7f7f7703e278, 0xc0000cd130, 0xc000258400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000203650, 0x7f7f7703e278, 0xc0000cd130, 0xc000258400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7f7703e278, 0xc0000cd130, 0xc000258400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000204a20, 0x7f7f7703e278, 0xc0000cd130, 0xc000258400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00047a000, 0xc000258400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000204ba0, 0xab7900, 0xc00047a000, 0xc000258400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00047a000, 0xc000258400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000234000, 0xab7900, 0xc00047a000, 0xc000258400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc0002162c0) /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 55 [IO wait]: internal/poll.runtime_pollWait(0x7f7f77226f30, 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, 0xc000204e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000204e51, 0x1, 0x1, 0xc000104ae0, 0x0, 0xc000216398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b8, 0xc000204e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000204e40) /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 [semacquire]: sync.runtime_Semacquire(0xc000478028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000478020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000478020, 0xc0000c5200, 0xc0000c5260) /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 56 [select]: net/http.(*Transport).getConn(0xc000218000, 0xc0000e1580, 0x0, 0x7ffec1dedef8, 0x4, 0xc000478040, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc000218000, 0xc00011c200, 0x30, 0x30, 0x1) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc000218000, 0xc00011c200, 0xc000218000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00011c200, 0xaaf4e0, 0xc000218000, 0x0, 0x0, 0x0, 0xc0000c2388, 0xc0000a4a38, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0002045a0, 0xc00011c200, 0x0, 0x0, 0x0, 0xc0000c2388, 0x0, 0x1, 0x0) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0002045a0, 0xc00011c200, 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(0xc00021a000, 0xc0000c5200, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00021a000, 0xc0000c5200) /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 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc0000c5200) /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 65 [runnable]: github.com/prometheus/procfs.Proc.path(0xdc99, 0xa05a30, 0x5, 0xc00048b6a8, 0x1, 0x1, 0xc0000224d0, 0xc000122ed8) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x239 github.com/prometheus/procfs.Proc.Stat(0xdc99, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xe5 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000cc960, 0xc0000c5200) /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(0xc0000cc960, 0xc0000c5200) /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 84 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc000478040, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc000478040, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000c0058, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc000478040, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc000478040, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc000218000, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc000478040, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc000218000, 0xab87a8, 0xc0000c0058, 0x0, 0x7ffec1dedef8, 0x4, 0xc000478040, 0xc, 0x0, 0xc0000d06c0, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc000218000, 0xc0000e4bb0) /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-04T08:19:08.727Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T08:19:08.727Z 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-04T08:19:08.727Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T08:19:08.727Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T08:19:08.728Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T08:19:08.728Z 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(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, 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(0xc000000180) /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(0x7efcafbfbf18, 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, 0xba188e9670af1d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d728, 0x62eb810e, 0xc0001d5b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d728, 0xc0001d5b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000254000, 0xab76f0, 0xc00000d728, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d728, 0xc000254000, 0x0, 0x0, 0xaaf020, 0xc00010c2d0, 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(0xc000254000, 0x0, 0x0, 0xaaf020, 0xc00010c2d0, 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 13 [chan receive]: main.main.func1(0xaaf020, 0xc00010c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000184910, 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(0x7efcafbb41e8, 0xc0000a27d0, 0xc000174500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000231730, 0x7efcafbb41e8, 0xc0000a27d0, 0xc000174500) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7efcafbb41e8, 0xc0000a27d0, 0xc000174500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002392c0, 0x7efcafbb41e8, 0xc0000a27d0, 0xc000174500) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002542a0, 0xc000174500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000239440, 0xab7900, 0xc0002542a0, 0xc000174500) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002542a0, 0xc000174500) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000254000, 0xab7900, 0xc0002542a0, 0xc000174500) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000225400, 0xab8818, 0xc0001582c0) /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 54 [IO wait]: internal/poll.runtime_pollWait(0x7efcafbfbe30, 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, 0xc00011b211, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc00011b211, 0x1, 0x1, 0xc0000a0120, 0x0, 0xc000158398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc00011b211, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00011b200) /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 [select]: net/http.(*persistConn).writeLoop(0xc0001726c0) /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 55 [runnable]: net/http.(*gzipReader).Read(0xc00001eee0, 0xc00037ca80, 0x3580, 0x3580, 0x6a81, 0xc000376000, 0x6a80) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7efcafc143b8, 0xc00001eee0, 0xc00001eee0, 0x7efcafc143b8, 0xc00001eee0, 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(0xc000216780, 0xc00007bc20, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000216780, 0xc00007bc20) /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 56 [semacquire]: sync.runtime_Semacquire(0xc00053e058) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00053e050) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00053e050, 0xc00007bc20, 0xc00007bc80) /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 22 [select]: net/http.(*persistConn).readLoop(0xc0001726c0) /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 [ OK ] level=info ts=2022-08-04T11:19:06.369Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T11:19:06.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-04T11:19:06.369Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T11:19:06.369Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T11:19:06.370Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T11:19:06.370Z 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(0xc0005a2000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0005a2000) /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, 0xc00009bf01) /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(0x7fbe4c41ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a418, 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(0xc00002a400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a400, 0x9fc878c479c2901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d458, 0x62ebab3e, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d458, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001fc000, 0xab76f0, 0xc00000d458, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d458, 0xc0001fc000, 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(0xc0001fc000, 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 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, 0xc00007c4b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [runnable]: net/url.getscheme(0xc0002cc004, 0x8, 0xc0002cc004, 0x11, 0x40da20, 0x8, 0x0, 0xc000000000) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0xc0002cc004, 0x8, 0x1, 0xaa3f70, 0x1, 0xaa1906) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.ParseRequestURI(0xc0002cc004, 0x8, 0x1, 0x1, 0xffffffffffffff01) /usr/local/go/src/net/url/url.go:497 +0x3e net/http.readRequest(0xc00007b020, 0x0, 0xc0004e0000, 0x0, 0x0) /usr/local/go/src/net/http/request.go:1064 +0x2f6 net/http.(*conn).readRequest(0xc000021400, 0xab8770, 0xc00019e6c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:966 +0x19d net/http.(*conn).serve(0xc000021400, 0xab8818, 0xc00019e6c0) /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 [ OK ] level=info ts=2022-08-04T14:19:15.328Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T14:19:15.329Z 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-04T14:19:15.329Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T14:19:15.329Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T14:19:15.329Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T14:19:15.330Z 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, 0xc00059bf01) /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(0x7f2eacf10f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f0318, 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(0xc0000f0300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f0300, 0xc9fe7ab5f202e701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009ec48, 0x62ebd56e, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009ec48, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc00009ec48, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009ec48, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000cc3c0, 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, 0xc0000cc3c0, 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 [runnable]: compress/flate.(*decompressor).huffSym(0xc00019d900, 0xc00019d928, 0x6f, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc00019d900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc00019d900, 0xc000698000, 0x6000, 0x6000, 0x0, 0x6dd89aff, 0x101000000000000) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0001558c0, 0xc000698000, 0x6000, 0x6000, 0x18000, 0x1e000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00044d3a0, 0xc000698000, 0x6000, 0x6000, 0x18001, 0xc000680000, 0x18000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f2eacca9078, 0xc00044d3a0, 0xc00044d3a0, 0x7f2eacca9078, 0xc00044d3a0, 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(0xc0000d0f00, 0xc00007a5a0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000d0f00, 0xc00007a5a0) /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 [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, 0xc0000cc3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 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(0x7f2eacf53438, 0xc00024c3c0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7f2eacf53438, 0xc00024c3c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2eacf53438, 0xc00024c3c0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7f2eacf53438, 0xc00024c3c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002281c0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002281c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002281c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002281c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000b5540, 0xab8818, 0xc0000ae6c0) /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 9 [IO wait]: internal/poll.runtime_pollWait(0x7f2eacf10e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f0398, 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(0xc0000f0380, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f0380, 0xc0002949d1, 0x1, 0x1, 0xc00013ed80, 0x0, 0xc0000ae798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a2208, 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 11 [semacquire]: sync.runtime_Semacquire(0xc000460048) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000460040) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000460040, 0xc00007a5a0, 0xc00007a600) /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 54 [select]: net/http.(*persistConn).readLoop(0xc00014a6c0) /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 55 [select]: net/http.(*persistConn).writeLoop(0xc00014a6c0) /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-04T17:19:08.888Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T17:19:08.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-04T17:19:08.888Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T17:19:08.888Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T17:19:08.888Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T17:19:08.889Z 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(0xc00026a400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00026a400) /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(0xc00030a300) /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(0x7fa00a1f2f18, 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, 0x92c9a7cb2ed07901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf30, 0x62ebff9e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf30, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc00000cf30, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf30, 0xc0001e2000, 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(0xc0001e2000, 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 11 [chan receive]: main.main.func1(0xaaf020, 0xc00020e230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [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(0x7fa00a208c78, 0xc00020e6e0, 0xc0004dc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ccaf0, 0x7fa00a208c78, 0xc00020e6e0, 0xc0004dc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa00a208c78, 0xc00020e6e0, 0xc0004dc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bf3e0, 0x7fa00a208c78, 0xc00020e6e0, 0xc0004dc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0004de000, 0xc0004dc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bf560, 0xab7900, 0xc0004de000, 0xc0004dc000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0004de000, 0xc0004dc000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0004de000, 0xc0004dc000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b15e0, 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 65 [IO wait]: internal/poll.runtime_pollWait(0x7fa00a1f2e30, 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, 0xc0001bf811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bf811, 0x1, 0x1, 0xc000200660, 0x0, 0xc00011b698) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e390, 0xc0001bf811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bf800) /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 [semacquire]: sync.runtime_Semacquire(0xc00031d148) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00031d140) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00031d140, 0xc000200780, 0xc0002007e0) /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 56 [runnable]: compress/flate.(*decompressor).huffSym(0xc00016f900, 0xc00016f928, 0x3, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc00016f900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc00016f900, 0xc0002e6000, 0x2000, 0x2000, 0x4000, 0x29cfd44c, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00012bb80, 0xc0002e6000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00001eec0, 0xc0002e6000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fa00a22f078, 0xc00001eec0, 0xc00001eec0, 0x7fa00a22f078, 0xc00001eec0, 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(0xc0001a0780, 0xc000200780, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a0780, 0xc000200780) /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 81 [select]: net/http.(*persistConn).readLoop(0xc0001210e0) /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 82 [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-04T20:19:07.782Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T20:19:07.782Z 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-04T20:19:07.782Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T20:19:07.782Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T20:19:07.782Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T20:19:07.782Z 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(0xc000380400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380400) /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.goexit0(0xc00022b380) /usr/local/go/src/runtime/proc.go:3478 +0x1de runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 6 minutes]: internal/poll.runtime_pollWait(0x7faeccc4cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214118, 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(0xc000214100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000214100, 0xc58d549a0a33bd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000203110, 0x62ec29ce, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000203110, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000258000, 0xab76f0, 0xc000203110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000203110, 0xc000258000, 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(0xc000258000, 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 38 [chan receive, 6 minutes]: main.main.func1(0xaaf020, 0xc0000c8dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 7 [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 42 [runnable]: hash/crc32.Update(0x7fae00000000, 0xc0000e2000, 0xc000244000, 0xee, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc0000dc8f0, 0xc000244000, 0xee, 0x1000, 0x0, 0xc000275610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc0000c0840, 0xc0002756d0, 0xc000275620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c0840, 0xc0002757c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dc8f0, 0xc0000c9270, 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(0xc0000c9270, 0xc00000ca68, 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(0x7faeccc08278, 0xc0002200a0, 0xc0002c2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000207650, 0x7faeccc08278, 0xc0002200a0, 0xc0002c2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7faeccc08278, 0xc0002200a0, 0xc0002c2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020ea20, 0x7faeccc08278, 0xc0002200a0, 0xc0002c2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002581c0, 0xc0002c2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020eba0, 0xab7900, 0xc0002581c0, 0xc0002c2200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002581c0, 0xc0002c2200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000258000, 0xab7900, 0xc0002581c0, 0xc0002c2200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026a000, 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 150 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000242000) /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 162 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7faeccc4ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214198, 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(0xc000214180, 0xc00020ee51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214180, 0xc00020ee51, 0x1, 0x1, 0xc00039a2a0, 0x0, 0xc000226398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c0a8, 0xc00020ee51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020ee40) /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 149 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7faeccc4cc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180198, 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(0xc000180180, 0xc000397000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180180, 0xc000397000, 0x1000, 0x1000, 0x439c3c, 0xc0003e2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c240, 0xc000397000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000242000, 0xc000397000, 0x1000, 0x1000, 0xc000094420, 0xc0003e2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00039a4e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00039a4e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000242000) /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-04T23:19:09.992Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T23:19:09.992Z 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-04T23:19:09.992Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T23:19:09.992Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T23:19:09.992Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T23:19:09.993Z 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(0xc000300400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300400) /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, 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(0x7f3ac3b72f18, 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, 0xa247696ad0bd4801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc78, 0x62ec53fe, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc78, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028e000, 0xab76f0, 0xc00000cc78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc78, 0xc00028e000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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, 0xc00022e3c0, 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(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 9 [chan receive]: main.main.func1(0xaaf020, 0xc00022e3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7f3ac398d438, 0xc000312550, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00027a7e0, 0x7f3ac398d438, 0xc000312550, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3ac398d438, 0xc000312550, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00027c5a0, 0x7f3ac398d438, 0xc000312550, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028e380, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00027c720, 0xab7900, 0xc00028e380, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028e380, 0xc000164300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028e000, 0xab7900, 0xc00028e380, 0xc000164300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000021540, 0xab8818, 0xc0002186c0) /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 23 [IO wait]: internal/poll.runtime_pollWait(0x7f3ac3b72e30, 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, 0xc00027c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc00027c9d1, 0x1, 0x1, 0xc00019e1e0, 0x0, 0xc000218798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e220, 0xc00027c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00027c9c0) /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]: net/http.(*gzipReader).Read(0xc000384040, 0xc000692000, 0x6000, 0x6000, 0x12001, 0xc000680000, 0x12000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f3ac3b80a68, 0xc000384040, 0xc000384040, 0x7f3ac3b80a68, 0xc000384040, 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(0xc000232f00, 0xc000201440, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000232f00, 0xc000201440) /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 25 [semacquire]: sync.runtime_Semacquire(0xc000502508) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000502500) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000502500, 0xc000201440, 0xc0002014a0) /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 [select]: net/http.(*persistConn).readLoop(0xc00021cc60) /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 68 [select]: net/http.(*persistConn).writeLoop(0xc00021cc60) /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-05T02:19:07.886Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T02:19:07.886Z 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-05T02:19:07.886Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T02:19:07.886Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T02:19:07.886Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T02:19:07.887Z 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(0xc000288c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000288c00) /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, 0xc0005a9f01) /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(0x7fc747b72f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000102598, 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(0xc000102580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000102580, 0xae9dd9bdef3a5401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6d50, 0x62ec7e2e, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6d50, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00017a000, 0xab76f0, 0xc0000b6d50, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6d50, 0xc00017a000, 0x0, 0x0, 0xaaf020, 0xc0001a0410, 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(0xc00017a000, 0x0, 0x0, 0xaaf020, 0xc0001a0410, 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 [IO wait]: internal/poll.runtime_pollWait(0x7fc747b72e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000102618, 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(0xc000102600, 0xc00016cc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000102600, 0xc00016cc71, 0x1, 0x1, 0x0, 0x0, 0x100010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42d0, 0xc00016cc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00016cc60) /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 [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, 0xc0001a0410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7fc747b88538, 0xc00009b310, 0xc0001b0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00016e310, 0x7fc747b88538, 0xc00009b310, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc747b88538, 0xc00009b310, 0xc0001b0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00016c840, 0x7fc747b88538, 0xc00009b310, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00017a2a0, 0xc0001b0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00016c9c0, 0xab7900, 0xc00017a2a0, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00017a2a0, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00017a000, 0xab7900, 0xc00017a2a0, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000160a00, 0xab8818, 0xc0000c7440) /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]: net/http.(*persistConn).readLoop(0xc0000ccea0) /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 11 [semacquire]: sync.runtime_Semacquire(0xc0000c17f4) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c17f4) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c17f4, 0xc000099da0, 0xc000099e00) /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 12 [runnable]: compress/flate.(*huffmanDecoder).init(0xc000120150, 0xc00032e8b8, 0x13, 0x25, 0x1) /usr/local/go/src/compress/flate/inflate.go:116 +0x539 compress/flate.(*decompressor).readHuffman(0xc00011f900, 0x65c0, 0xc00011f900) /usr/local/go/src/compress/flate/inflate.go:459 +0x5ea compress/flate.(*decompressor).nextBlock(0xc00011f900) /usr/local/go/src/compress/flate/inflate.go:322 +0x119 compress/flate.(*decompressor).Read(0xc00011f900, 0xc000592000, 0x2000, 0x2000, 0x4000, 0xdea71e1e, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0000d78c0, 0xc000592000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00001e1c0, 0xc000592000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fc74790c960, 0xc00001e1c0, 0xc00001e1c0, 0x7fc74790c960, 0xc00001e1c0, 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(0xc0001500f0, 0xc000099da0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001500f0, 0xc000099da0) /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 [select]: net/http.(*persistConn).writeLoop(0xc0000ccea0) /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-05T05:14:46.963Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T05:14:46.966Z 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:14:46.966Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T05:14:46.966Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T05:14:46.966Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T05:14:46.967Z 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(0xc000380400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380400) /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(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(0x7f625c557f18, 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, 0x6a97f2cebf7a3a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020cb40, 0x62eca76e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020cb40, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc00020cb40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020cb40, 0xc000274000, 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(0xc000274000, 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 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, 0xc0000b42d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [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(0x7f625c518ab8, 0xc000240af0, 0xc000218300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f625c518ab8, 0xc000240af0, 0xc000218300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f625c518ab8, 0xc000240af0, 0xc000218300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f625c518ab8, 0xc000240af0, 0xc000218300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d60e0, 0xc000218300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc0001d60e0, 0xc000218300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d60e0, 0xc000218300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0001d60e0, 0xc000218300) /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 81 [IO wait]: internal/poll.runtime_pollWait(0x7f625c557e30, 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, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00025c100, 0xc00021b9c1, 0x1, 0x1, 0xc000416060, 0x0, 0xc000222518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e150, 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 82 [runnable]: net/http.(*gzipReader).Read(0xc00001ed40, 0xc0002be000, 0x6000, 0x6000, 0x18001, 0xc0002a6000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f625c410028, 0xc00001ed40, 0xc00001ed40, 0x7f625c410028, 0xc00001ed40, 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(0xc000244690, 0xc000200d20, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000244690, 0xc000200d20) /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 [semacquire]: sync.runtime_Semacquire(0xc0004072b8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0004072b0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0004072b0, 0xc000200d20, 0xc000200d80) /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 68 [select]: net/http.(*persistConn).readLoop(0xc00022ab40) /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 69 [select]: net/http.(*persistConn).writeLoop(0xc00022ab40) /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-05T05:19:08.994Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T05:19:08.994Z 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:19:08.994Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T05:19:08.994Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T05:19:08.994Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T05:19:08.995Z 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(0xc000308800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308800) /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, 0xc00060ff01) /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(0x7f68a6944f18, 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, 0x91ddcfaba819801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002808d0, 0x62eca85e, 0xc00016db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002808d0, 0xc00016db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc0002808d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002808d0, 0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc0001ac4b0, 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, 0xc0001ac4b0, 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 52 [chan receive]: main.main.func1(0xaaf020, 0xc0001ac4b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 5 [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 56 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000108960, 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(0x7f68a6904278, 0xc000394050, 0xc0002f0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028aa10, 0x7f68a6904278, 0xc000394050, 0xc0002f0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f68a6904278, 0xc000394050, 0xc0002f0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002909f0, 0x7f68a6904278, 0xc000394050, 0xc0002f0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000398000, 0xc0002f0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000290b70, 0xab7900, 0xc000398000, 0xc0002f0200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000398000, 0xc0002f0200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc000398000, 0xc0002f0200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002982c0) /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 [select]: net/http.(*persistConn).readLoop(0xc0001c66c0) /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 46 [select]: net/http.(*persistConn).writeLoop(0xc0001c66c0) /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 65 [semacquire]: sync.runtime_Semacquire(0xc000396028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000396020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000396020, 0xc000184cc0, 0xc000184d20) /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 64 [runnable]: compress/flate.(*decompressor).nextBlock(0xc00017d900) /usr/local/go/src/compress/flate/inflate.go:301 +0x205 compress/flate.(*decompressor).Read(0xc00017d900, 0xc0005c8000, 0x2000, 0x2000, 0x4000, 0x993933a3, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0001378c0, 0xc0005c8000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0004c7720, 0xc0005c8000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f68a6889120, 0xc0004c7720, 0xc0004c7720, 0x7f68a6889120, 0xc0004c7720, 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(0xc00029e000, 0xc000184cc0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00029e000, 0xc000184cc0) /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 63 [IO wait]: internal/poll.runtime_pollWait(0x7f68a6944e30, 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, 0xc000290e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c4100, 0xc000290e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002920a0, 0xc000290e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000290e10) /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-05T08:19:08.426Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T08:19:08.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-05T08:19:08.426Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T08:19:08.426Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T08:19:08.426Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T08:19:08.427Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000411f01) /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(0x7ff764c7bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001cc098, 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(0xc0001cc080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001cc080, 0x4fc753df79cfdc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00018c888, 0x62ecd28e, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00018c888, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d0000, 0xab76f0, 0xc00018c888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00018c888, 0xc0001d0000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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(0xc0001d0000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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 [chan receive]: main.main.func1(0xaaf020, 0xc00022e3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [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 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7ff764c37278, 0xc0001a2a00, 0xc0001f0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000188a10, 0x7ff764c37278, 0xc0001a2a00, 0xc0001f0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff764c37278, 0xc0001a2a00, 0xc0001f0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001929f0, 0x7ff764c37278, 0xc0001a2a00, 0xc0001f0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002941c0, 0xc0001f0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000192b70, 0xab7900, 0xc0002941c0, 0xc0001f0200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002941c0, 0xc0001f0200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d0000, 0xab7900, 0xc0002941c0, 0xc0001f0200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001e2000, 0xab8818, 0xc00019a2c0) /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(0x7ff764c7be30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001cc118, 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(0xc0001cc100, 0xc000192e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001cc100, 0xc000192e21, 0x1, 0x1, 0xc0002288a0, 0x0, 0xc00019a398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001940a0, 0xc000192e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000192e10) /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]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 io.ReadAll(0x7ff764c38af8, 0xc0005b72a0, 0xc0005b72a0, 0x7ff764c38af8, 0xc0005b72a0, 0x0, 0xab26f0) /usr/local/go/src/io/io.go:631 +0x1d9 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 main.(*Exporter).collect(0xc0001a0000, 0xc000414180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a0000, 0xc000414180) /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 48 [semacquire]: sync.runtime_Semacquire(0xc000391208) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000391200) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000391200, 0xc000414180, 0xc0004141e0) /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 50 [select]: net/http.(*persistConn).readLoop(0xc0000cc7e0) /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 51 [select]: net/http.(*persistConn).writeLoop(0xc0000cc7e0) /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-05T11:19:09.294Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T11:19:09.294Z 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-05T11:19:09.294Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T11:19:09.294Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T11:19:09.294Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T11:19:09.295Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00006dd01) /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(0xc000001800) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000001800) /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(0x7fd09dec0f18, 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, 0x7506ae6a343cca01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cb10, 0x62ecfcbe, 0xc00018db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cb10, 0xc00018db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000156000, 0xab76f0, 0xc00000cb10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cb10, 0xc000156000, 0x0, 0x0, 0xaaf020, 0xc000220230, 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(0xc000156000, 0x0, 0x0, 0xaaf020, 0xc000220230, 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 [chan receive]: main.main.func1(0xaaf020, 0xc000220230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 25 [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 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7fd09de81ab8, 0xc000220780, 0xc000116300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00012b1f0, 0x7fd09de81ab8, 0xc000220780, 0xc000116300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd09de81ab8, 0xc000220780, 0xc000116300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000119590, 0x7fd09de81ab8, 0xc000220780, 0xc000116300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000156380, 0xc000116300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000119710, 0xab7900, 0xc000156380, 0xc000116300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000156380, 0xc000116300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000156000, 0xab7900, 0xc000156380, 0xc000116300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020b40, 0xab8818, 0xc000102480) /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(0x7fd09dec0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 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(0xc00002a180, 0xc0001199c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc0001199c1, 0x1, 0x1, 0xc00021e600, 0x0, 0xc000102558) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e180, 0xc0001199c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001199b0) /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]: compress/flate.(*decompressor).huffSym(0xc00019f900, 0xc00019f928, 0x65, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc00019f900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc00019f900, 0xc0006ca000, 0x2000, 0x2000, 0x4000, 0x9eae1cec, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00022cb00, 0xc0006ca000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000294060, 0xc0006ca000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fd09dc2c3a0, 0xc000294060, 0xc000294060, 0x7fd09dc2c3a0, 0xc000294060, 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(0xc000132690, 0xc000099020, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000132690, 0xc000099020) /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 28 [semacquire]: sync.runtime_Semacquire(0xc00029a498) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00029a490) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00029a490, 0xc000099020, 0xc000099080) /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 [select]: net/http.(*persistConn).readLoop(0xc0000c9320) /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 81 [select]: net/http.(*persistConn).writeLoop(0xc0000c9320) /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-05T14:19:21.593Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T14:19:21.596Z 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-05T14:19:21.596Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T14:19:21.596Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T14:19:21.596Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T14:19:21.596Z 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(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, 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(0xc000001800) /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(0x7f3c744eff18, 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, 0x39ebc7e5601a2c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002028d0, 0x62ed26ee, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002028d0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc0002028d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002028d0, 0xc00025a000, 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(0xc00025a000, 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 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, 0xc00007c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [select]: 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(0x7f3c744ab278, 0xc0003025a0, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000222a10, 0x7f3c744ab278, 0xc0003025a0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3c744ab278, 0xc0003025a0, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002289f0, 0x7f3c744ab278, 0xc0003025a0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003d60e0, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000228b70, 0xab7900, 0xc0003d60e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003d60e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc0003d60e0, 0xc0001c6400) /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 51 [IO wait]: internal/poll.runtime_pollWait(0x7f3c744efe30, 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, 0xc000228e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000256100, 0xc000228e21, 0x1, 0x1, 0xc0000bf080, 0x0, 0xc00022e398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002060a8, 0xc000228e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000228e10) /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 [runnable]: net/http.(*gzipReader).Read(0xc00001e480, 0xc0002ea000, 0x4000, 0x4000, 0xe001, 0xc0002dc000, 0xe000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f3c743ec9b8, 0xc00001e480, 0xc00001e480, 0x7f3c743ec9b8, 0xc00001e480, 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, 0xc000300720, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000232000, 0xc000300720) /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 53 [semacquire]: sync.runtime_Semacquire(0xc00030b9e8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00030b9e0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00030b9e0, 0xc000300720, 0xc000300780) /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 68 [select]: net/http.(*persistConn).readLoop(0xc0000caea0) /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 69 [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-05T17:19:22.904Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T17:19:22.904Z 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-05T17:19:22.904Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T17:19:22.904Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T17:19:22.905Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T17:19:22.906Z 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(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, 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(0xc0002e6f00) /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(0x7fb7192c9f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ba098, 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(0xc0000ba080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ba080, 0xd95f59ca4099ab01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a48b8, 0x62ed511e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a48b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000e2000, 0xab76f0, 0xc0000a48b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a48b8, 0xc0000e2000, 0x0, 0x0, 0xaaf020, 0xc000286230, 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, 0xc000286230, 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, 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 51 [chan receive, 6 minutes]: main.main.func1(0xaaf020, 0xc000286230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0003e6120, 0xc0002755f8, 0xc000275628, 0x0, 0x1, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:688 +0x47a 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(0x7fb7192878f8, 0xc0000b8280, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a0a10, 0x7fb7192878f8, 0xc0000b8280, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb7192878f8, 0xc0000b8280, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aa9f0, 0x7fb7192878f8, 0xc0000b8280, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003060e0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aab70, 0xab7900, 0xc0003060e0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003060e0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000e2000, 0xab7900, 0xc0003060e0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 0xab8818, 0xc0002341c0) /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 110 [runnable]: strings.Index(0xc00056163b, 0x30, 0xa04cc3, 0x1, 0x29) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00056163b, 0x30, 0xa04cc3, 0x1, 0x0, 0x1, 0xc0000bcbe0, 0x2, 0x2) /usr/local/go/src/strings/strings.go:251 +0xff strings.SplitN(...) /usr/local/go/src/strings/strings.go:273 main.splitkv(0xc00056163b, 0x30, 0xe, 0x0, 0xc000561639, 0x1) /app/apache_exporter.go:244 +0x6d main.(*Exporter).collect(0xc0000b6000, 0xc000284420, 0x0, 0x9691c0) /app/apache_exporter.go:322 +0x60d main.(*Exporter).Collect(0xc0000b6000, 0xc000284420) /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 109 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0002b2688) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002b2680) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002b2680, 0xc000284420, 0xc0002844e0) /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 107 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fb7192c9e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ba118, 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(0xc0000ba100, 0xc00020eca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ba100, 0xc00020eca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000ac0a0, 0xc00020eca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020ec90) /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 92 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc00023c120) /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 91 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fb7192c9c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214218, 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(0xc000214200, 0xc0000d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214200, 0xc0000d0000, 0x1000, 0x1000, 0x439c3c, 0xc000104c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000ac0e8, 0xc0000d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00023c120, 0xc0000d0000, 0x1000, 0x1000, 0xc00007e600, 0xc000104d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00009c240) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00009c240, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00023c120) /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-05T20:19:11.358Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T20:19:11.358Z 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-05T20:19:11.358Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T20:19:11.358Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T20:19:11.358Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T20:19:11.369Z 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, 0xc0005e5f01) /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(0x7f08b9f41f18, 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, 0xaf4b4668b04b0001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b7500, 0x62ed7b75, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b7500, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000b7500, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b7500, 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 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, 0xc0000c78c0, 0xc0000c7920) /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 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 25 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [select]: 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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f08b9f58cf8, 0xc0000d13b0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000174f50, 0x7f08b9f58cf8, 0xc0000d13b0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f08b9f58cf8, 0xc0000d13b0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017c870, 0x7f08b9f58cf8, 0xc0000d13b0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002882a0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017c9f0, 0xab7900, 0xc0002882a0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002882a0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002882a0, 0xc00016a400) /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 50 [IO wait]: internal/poll.runtime_pollWait(0x7f08b9f41e30, 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, 0xc00007a4e0, 0x0, 0xc0000c9518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42c0, 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 51 [chan receive]: net/http.(*persistConn).readLoop.func4(0xaaefc0, 0xc0000a6060, 0x1000, 0x1000) /usr/local/go/src/net/http/transport.go:2175 +0xf0 net/http.(*bodyEOFSignal).condfn(...) /usr/local/go/src/net/http/transport.go:2795 net/http.(*bodyEOFSignal).Read(0xc00023a340, 0xc0005ac000, 0x1000, 0x1000, 0xa93, 0xaaefc0, 0xc0000a6060) /usr/local/go/src/net/http/transport.go:2771 +0x1b8 bufio.(*Reader).fill(0xc00007a6c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadByte(0xc00007a6c0, 0xc0001ef974, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:253 +0x39 compress/flate.(*decompressor).huffSym(0xc000125900, 0xc000125928, 0x73, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc000125900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000125900, 0xc000718000, 0x6000, 0x6000, 0x0, 0x35aa7e35, 0x101000000000000) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000216b00, 0xc000718000, 0x6000, 0x6000, 0x18000, 0x1e000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000460040, 0xc000718000, 0x6000, 0x6000, 0x18001, 0xc000700000, 0x18000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f08b9f5a5c8, 0xc000460040, 0xc000460040, 0x7f08b9f5a5c8, 0xc000460040, 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(0xc0001560f0, 0xc0000c78c0, 0x0, 0x9691c0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001560f0, 0xc0000c78c0) /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]: net/http.(*persistConn).readLoop(0xc000256360) /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 81 [select]: net/http.(*persistConn).writeLoop(0xc000256360) /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-05T21:03:49.185Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T21:03:49.185Z 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:03:49.185Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T21:03:49.185Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T21:03:49.186Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T21:03:49.186Z 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(0xc0001c8c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0001c8c00) /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, 0xc0002bff01) /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(0x7f7400cf7018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ae118, 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(0xc0000ae100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ae100, 0xbc01c126beee3201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f140, 0x62ed85c5, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f140, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc00009f140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f140, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc000136dc0, 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, 0xc000136dc0, 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 25 [chan receive]: main.main.func1(0xaaf020, 0xc000136dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000136910, 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(0x7f7400d15778, 0xc000314410, 0xc000226100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f7400d15778, 0xc000314410, 0xc000226100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7400d15778, 0xc000314410, 0xc000226100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a8a20, 0x7f7400d15778, 0xc000314410, 0xc000226100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea1c0, 0xc000226100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a8ba0, 0xab7900, 0xc0000ea1c0, 0xc000226100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea1c0, 0xc000226100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea1c0, 0xc000226100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc00012f5c0) /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 5 [IO wait]: internal/poll.runtime_pollWait(0x7f7400cf6f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ae198, 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(0xc0000ae180, 0xc0001e5ab1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ae180, 0xc0001e5ab1, 0x1, 0x1, 0xc000098960, 0x0, 0xc00012f698) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a60b0, 0xc0001e5ab1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001e5aa0) /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 7 [semacquire]: sync.runtime_Semacquire(0xc0000237f8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000237f0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000237f0, 0xc000200300, 0xc000200360) /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 8 [runnable]: net/http.(*gzipReader).Read(0xc000475320, 0xc000628000, 0x6000, 0x6000, 0x18001, 0xc000610000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f7400b0b050, 0xc000475320, 0xc000475320, 0x7f7400b0b050, 0xc000475320, 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(0xc0000c8000, 0xc000200300, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000c8000, 0xc000200300) /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 54 [select]: net/http.(*persistConn).writeLoop(0xc000478240) /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 53 [select]: net/http.(*persistConn).readLoop(0xc000478240) /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 [ OK ] level=info ts=2022-08-05T23:19:11.156Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T23:19:11.156Z 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-05T23:19:11.156Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T23:19:11.156Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T23:19:11.156Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T23:19:11.157Z 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(0xc000180c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000180c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0x0, 0xc000033800, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc000033800, 0x462e00) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc000033800) /usr/local/go/src/runtime/proc.go:2417 +0x305 runtime.forEachP(0xa32498) /usr/local/go/src/runtime/proc.go:1520 +0x1cf runtime.gcMarkDone.func1() /usr/local/go/src/runtime/mgc.go:1524 +0x5e runtime.systemstack(0x0) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 80 [GC worker (idle)]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:339 fp=0xc000057708 sp=0xc000057700 pc=0x46b0a0 runtime.gcMarkDone() /usr/local/go/src/runtime/mgc.go:1517 +0x105 fp=0xc000057760 sp=0xc000057708 pc=0x41c9a5 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:2045 +0x2ab fp=0xc0000577e0 sp=0xc000057760 pc=0x41dc2b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0000577e8 sp=0xc0000577e0 pc=0x46cda1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1835 +0x37 goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f632d3e3f18, 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, 0x6a8ab46227098f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d6b0, 0x62eda5a5, 0xc00015db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d6b0, 0xc00015db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002e6000, 0xab76f0, 0xc00000d6b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d6b0, 0xc0002e6000, 0x0, 0x0, 0xaaf020, 0xc00010adc0, 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(0xc0002e6000, 0x0, 0x0, 0xaaf020, 0xc00010adc0, 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 16 [chan receive]: main.main.func1(0xaaf020, 0xc00010adc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 52 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00010a910, 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(0x7f632d3f6d38, 0xc00010bdb0, 0xc0004e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002d8540, 0x7f632d3f6d38, 0xc00010bdb0, 0xc0004e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f632d3f6d38, 0xc00010bdb0, 0xc0004e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002c1710, 0x7f632d3f6d38, 0xc00010bdb0, 0xc0004e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002e61c0, 0xc0004e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002c1890, 0xab7900, 0xc0002e61c0, 0xc0004e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002e61c0, 0xc0004e2000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002e6000, 0xab7900, 0xc0002e61c0, 0xc0004e2000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002ad360, 0xab8818, 0xc000123680) /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 70 [runnable]: github.com/prometheus/procfs.parseCPUStat(0xc00011ae00, 0x40, 0x3, 0x1, 0xb, 0x413769b14f5c28f6, 0x40f50074cccccccd, 0x0, 0x405568f5c28f5c29, 0x4060570a3d70a3d7, ...) /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(0x603fd, 0xc0003fa0d0, 0xf, 0xd9c178, 0x1, 0x1, 0x603fc, 0x603fc, 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(0xc00010a960, 0xc0001b4360) /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(0xc00010a960, 0xc0001b4360) /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 71 [semacquire]: sync.runtime_Semacquire(0xc0003fa028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0003fa020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0003fa020, 0xc0001b4360, 0xc0001b43c0) /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 69 [IO wait]: internal/poll.runtime_pollWait(0x7f632d3e3e30, 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, 0xc0002c1b41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0002c1b41, 0x1, 0x1, 0xc000103bc0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc0002c1b41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002c1b30) /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]: net/http.(*persistConn).roundTrip(0xc00010cea0, 0xc000123f40, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2526 +0x71 net/http.(*Transport).roundTrip(0xc0002b4b40, 0xc0000ac200, 0x30, 0x9db900, 0x7f632d5d1700) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc0002b4b40, 0xc0000ac200, 0xc0002b4b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000ac200, 0xaaf4e0, 0xc0002b4b40, 0x0, 0x0, 0x0, 0xc00000e4a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0002c1290, 0xc0000ac200, 0x0, 0x0, 0x0, 0xc00000e4a8, 0x0, 0x1, 0xc0000ac200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0002c1290, 0xc0000ac200, 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(0xc00029e960, 0xc0001b4360, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029e960, 0xc0001b4360) /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 113 [runnable]: net/http.(*persistConn).readLoop(0xc00010cea0) /usr/local/go/src/net/http/transport.go:2048 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 114 [runnable]: net/http.(*persistConn).writeLoop(0xc00010cea0) /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-06T02:19:28.009Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T02:19:28.012Z 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-06T02:19:28.012Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T02:19:28.012Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T02:19:28.012Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T02:19:28.924Z 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(0xc000680000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000680000) /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, 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(0x7efe800e6f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b2098, 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(0xc0000b2080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000b2080, 0x4dc83968fa2dc801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000968e8, 0x62edcfd5, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000968e8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000da000, 0xab76f0, 0xc0000968e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000968e8, 0xc0000da000, 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(0xc0000da000, 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 [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, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [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(0x7efe80126278, 0xc00009ab40, 0xc0001bc600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009ea10, 0x7efe80126278, 0xc00009ab40, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7efe80126278, 0xc00009ab40, 0xc0001bc600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a49f0, 0x7efe80126278, 0xc00009ab40, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0004f2000, 0xc0001bc600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a4b70, 0xab7900, 0xc0004f2000, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0004f2000, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000da000, 0xab7900, 0xc0004f2000, 0xc0001bc600) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000ec000, 0xab8818, 0xc0000ac2c0) /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 23 [IO wait]: internal/poll.runtime_pollWait(0x7efe800e6e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b2118, 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(0xc0000b2100, 0xc0000a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b2100, 0xc0000a4e21, 0x1, 0x1, 0xc0002003c0, 0x0, 0xc0000ac398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a6098, 0xc0000a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a4e10) /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(0xc00021fa10, 0xc000094f60, 0xc000094fc0) /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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc000094f60) /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 30 [waiting]: runtime.ReadMemStats(0xc0001c9800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001c9800, 0xc00007e600) /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-06T05:26:15.282Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T05:26:15.283Z 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:26:15.283Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T05:26:15.283Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T05:26:15.283Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T05:26:15.285Z 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(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, 0xc000038800, 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(0xc0001f9200) /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(0x7f3fa139cf18, 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, 0xe44d2889829bb201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd38, 0x62edfba9, 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, 0xc000220410, 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, 0xc000220410, 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, 0xc000220410) /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 compress/flate.(*compressor).initDeflate(...) /usr/local/go/src/compress/flate/deflate.go:372 compress/flate.(*compressor).init(0xc000780000, 0x7f3fa135dcd8, 0xc000220820, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:602 +0x5c5 compress/flate.NewWriter(0x7f3fa135dcd8, 0xc000220820, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00013a630, 0xc0000be000, 0xee, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0002fcb00, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002fcb00, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00013a630, 0xc00007c2d0, 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(0xc00007c2d0, 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(0x7f3fa13ae3f8, 0xc000220820, 0xc000434000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7f3fa13ae3f8, 0xc000220820, 0xc000434000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3fa13ae3f8, 0xc000220820, 0xc000434000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7f3fa13ae3f8, 0xc000220820, 0xc000434000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000438000, 0xc000434000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc000438000, 0xc000434000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000438000, 0xc000434000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc000438000, 0xc000434000) /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 22 [IO wait]: internal/poll.runtime_pollWait(0x7f3fa139ce30, 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, 0xc000094000, 0x0, 0xc000123518) /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 46 [IO wait]: internal/poll.runtime_pollWait(0x7f3fa139cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a118, 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(0xc00002a100, 0xc000401000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a100, 0xc000401000, 0x1000, 0x1000, 0x439c3c, 0xc00010ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000702020, 0xc000401000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00023d320, 0xc000401000, 0x1000, 0x1000, 0xc000274240, 0xc00010ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000094060) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000094060, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00023d320) /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 47 [select]: net/http.(*persistConn).writeLoop(0xc00023d320) /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-06T08:19:18.174Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T08:19:18.178Z 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-06T08:19:18.178Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T08:19:18.178Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T08:19:18.178Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T08:19:18.183Z 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(0xc000300400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 0xb) /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, 4 minutes]: internal/poll.runtime_pollWait(0x7fe9bfb19f18, 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, 0x24a4bd65eabd2001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208b28, 0x62ee2435, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208b28, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc000208b28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208b28, 0xc000274000, 0x0, 0x0, 0xaaf020, 0xc00007c320, 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, 0xc00007c320, 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 130 [IO wait]: internal/poll.runtime_pollWait(0x7fe9bfb19e30, 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, 0xc0000a1f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00025c100, 0xc0000a1f01, 0x1, 0x1, 0xc000326180, 0x0, 0xc0000c1298) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a158, 0xc0000a1f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a1ef0) /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 35 [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 38 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [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(0x7fe9bfb29a78, 0xc0004fc500, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7fe9bfb29a78, 0xc0004fc500, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe9bfb29a78, 0xc0004fc500, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7fe9bfb29a78, 0xc0004fc500, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002740e0, 0xc000218200) /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, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002740e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0002740e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228b40, 0xab8818, 0xc0000c11c0) /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 54 [runnable]: internal/testlog.Stat(0xa05a30, 0x5) /usr/local/go/src/internal/testlog/log.go:65 +0xcd os.Stat(0xa05a30, 0x5, 0x36, 0x8, 0x6, 0x4) /usr/local/go/src/os/stat.go:12 +0x35 github.com/prometheus/procfs/internal/fs.NewFS(0xa05a30, 0x5, 0x4, 0x0, 0x0, 0xf00000000) /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(0x42c4c, 0x0, 0x0, 0xf, 0xc0003138a8, 0x4305b5) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:54 +0x3a github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0003801e0) /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(0xc0000c8960, 0xc0003801e0) /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 131 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc0003801e0) /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 108 [waiting]: runtime.ReadMemStats(0xc000186000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000186000, 0xc000094180) /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 133 [select]: net/http.(*Transport).getConn(0xc000242280, 0xc0001b2200, 0x0, 0x7fff0681fef8, 0x4, 0xc000022270, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc000242280, 0xc000218300, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc000242280, 0xc000218300, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218300, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc0004fe160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021b110, 0xc000218300, 0x0, 0x0, 0x0, 0xc0004fe160, 0x0, 0x1, 0xc000218300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021b110, 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(0xc000244690, 0xc0003801e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244690, 0xc0003801e0) /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 132 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022260, 0xc0003801e0, 0xc0003804e0) /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 121 [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 goroutine 134 [runnable]: net/http.(*Transport).dialConn(0xc000242280, 0xab87a8, 0xc0000b8058, 0x0, 0x7fff0681fef8, 0x4, 0xc000022270, 0xc, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1560 +0xbe net/http.(*Transport).dialConnFor(0xc000242280, 0xc0000dcc60) /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-06T11:19:05.696Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T11:19:05.696Z 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-06T11:19:05.696Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T11:19:05.696Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T11:19:05.696Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T11:19:05.696Z 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(0xc000089400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000089400) /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, 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(0x7f5cb5654f18, 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, 0x9e2c8078c0415f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d140, 0x62ee4e29, 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(0xc0001bc000, 0xab76f0, 0xc00000d140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d140, 0xc0001bc000, 0x0, 0x0, 0xaaf020, 0xc0000d0e10, 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, 0xc0000d0e10, 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, 0xc0000d0e10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [select]: 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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f5cb55cc278, 0xc0000d1310, 0xc0001d8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7f5cb55cc278, 0xc0000d1310, 0xc0001d8200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5cb55cc278, 0xc0000d1310, 0xc0001d8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7f5cb55cc278, 0xc0000d1310, 0xc0001d8200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001bc2a0, 0xc0001d8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001bc2a0, 0xc0001d8200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001bc2a0, 0xc0001d8200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001bc000, 0xab7900, 0xc0001bc2a0, 0xc0001d8200) /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 52 [IO wait]: internal/poll.runtime_pollWait(0x7f5cb5654e30, 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, 0xc000200120, 0x0, 0xc000196398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b8, 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 [semacquire]: sync.runtime_Semacquire(0xc000317718) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000317710) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000317710, 0xc0000c7860, 0xc0000c78c0) /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 [select]: net/http.(*Transport).getConn(0xc000198000, 0xc00023e040, 0x0, 0x7ffd7587eef8, 0x4, 0xc000234070, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc000198000, 0xc000242000, 0x30, 0x9db900, 0x540) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc000198000, 0xc000242000, 0xc000198000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000242000, 0xaaf4e0, 0xc000198000, 0x0, 0x0, 0x0, 0xc00023a020, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001845a0, 0xc000242000, 0x0, 0x0, 0x0, 0xc00023a020, 0x0, 0x1, 0xc000242000) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001845a0, 0xc000242000, 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(0xc00019a000, 0xc0000c7860, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00019a000, 0xc0000c7860) /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 55 [runnable]: os.(*File).readdir(0xc0000c44c8, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0xc0002b5768, 0x4e6065, 0xc000317d00, 0xf, 0x0, ...) /usr/local/go/src/os/dir_unix.go:35 +0xec9 os.(*File).Readdirnames(0xc0000c44c8, 0xffffffffffffffff, 0x0, 0xc000000000, 0xc0000c44c8, 0x0, 0x0) /usr/local/go/src/os/dir.go:70 +0x51 github.com/prometheus/procfs.Proc.fileDescriptors(0x8d565, 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(0xc0000d0960, 0xc0000c7860) /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(0xc0000d0960, 0xc0000c7860) /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 [semacquire]: syscall.anyToSockaddr(0xc00030f188, 0xc00030f188, 0xc00030f184, 0x0, 0x0) /usr/local/go/src/syscall/syscall_linux.go:528 +0x56 syscall.Getpeername(0x8, 0x1, 0x4, 0x0, 0x0) /usr/local/go/src/syscall/syscall_unix.go:271 +0xd0 net.(*netFD).connect(0xc000240200, 0xab87a8, 0xc0000c0058, 0x0, 0x0, 0xaaf8e0, 0xc0002500c0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_unix.go:161 +0x3bd net.(*netFD).dial(0xc000240200, 0xab87a8, 0xc0000c0058, 0xabb9b0, 0x0, 0xabb9b0, 0xc000236480, 0x0, 0x7f5cb5609558, 0x20) /usr/local/go/src/net/sock_posix.go:149 +0x10b net.socket(0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0x2, 0x1, 0x0, 0x0, 0xabb9b0, 0x0, ...) /usr/local/go/src/net/sock_posix.go:70 +0x1c5 net.internetSocket(0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xabb9b0, 0x0, 0xabb9b0, 0xc000236480, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x145 net.(*sysDialer).doDialTCP(0xc000240180, 0xab87a8, 0xc0000c0058, 0x0, 0xc000236480, 0x0, 0x0, 0x2) /usr/local/go/src/net/tcpsock_posix.go:65 +0xc5 net.(*sysDialer).dialTCP(0xc000240180, 0xab87a8, 0xc0000c0058, 0x0, 0xc000236480, 0xc000234070, 0xc00030f768, 0x40d91b) /usr/local/go/src/net/tcpsock_posix.go:61 +0xd7 net.(*sysDialer).dialSingle(0xc000240180, 0xab87a8, 0xc0000c0058, 0xab3258, 0xc000236480, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:580 +0x5e8 net.(*sysDialer).dialSerial(0xc000240180, 0xab87a8, 0xc0000c0058, 0xc00023c0a0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:548 +0x15e net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc000234070, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:425 +0x6e5 net/http.(*Transport).dial(0xc000198000, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc000234070, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc000198000, 0xab87a8, 0xc0000c0058, 0x0, 0x7ffd7587eef8, 0x4, 0xc000234070, 0xc, 0x0, 0xc00024e000, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc000198000, 0xc00024c000) /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-06T14:19:17.002Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T14:19:17.004Z 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-06T14:19:17.004Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T14:19:17.004Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T14:19:17.004Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T14:19:17.006Z 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(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, 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(0xc000001b00) /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(0x7fedb027cf18, 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, 0x9cbd25fc1ae3cd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f0f8, 0x62ee7895, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f0f8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc00009f0f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f0f8, 0xc0000f2000, 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(0xc0000f2000, 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 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc000240460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 39 [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 25 [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(0x7fedb02bc278, 0xc00041a500, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7fedb02bc278, 0xc00041a500, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fedb02bc278, 0xc00041a500, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7fedb02bc278, 0xc00041a500, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f21c0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000f21c0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f21c0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f21c0, 0xc00021a100) /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 16 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fedb027ce30, 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, 0xc0000baf00, 0x0, 0xc0000c2398) /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 114 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0002213d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002213d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002213d0, 0xc000200060, 0xc0002000c0) /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 115 [runnable]: net/http.(*gzipReader).Read(0xc00001e200, 0xc00042d000, 0x1000, 0x1000, 0x3001, 0xc00042a000, 0x3000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fedb02bdb20, 0xc00001e200, 0xc00001e200, 0x7fedb02bdb20, 0xc00001e200, 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(0xc0000c6000, 0xc000200060, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000c6000, 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 goroutine 56 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0000dc000) /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 57 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000dc000) /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-06T17:19:06.929Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T17:19:06.929Z 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-06T17:19:06.929Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T17:19:06.929Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T17:19:06.929Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T17:19:06.930Z 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(0xc000248c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000248c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 0xb) /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, 3 minutes]: internal/poll.runtime_pollWait(0x7ff274295118, 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, 0xa233668991f96201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097170, 0x62eea2c5, 0xc0001f9b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097170, 0xc0001f9b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc000097170, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097170, 0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc0001b6dc0, 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, 0xc0001b6dc0, 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, 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 40 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc0001b6dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: compress/flate.(*compressor).initDeflate(...) /usr/local/go/src/compress/flate/deflate.go:374 compress/flate.(*compressor).init(0xc0004ea000, 0x7ff27443a8c0, 0xc0001040a0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:602 +0x629 compress/flate.NewWriter(0x7ff27443a8c0, 0xc0001040a0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000122d10, 0xc000121000, 0xf0, 0x1000, 0x0, 0xc000317610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000134880, 0xc0003176d0, 0xc000317620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000134880, 0xc0003177c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000122d10, 0xc0001427d0, 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(0xc0001427d0, 0xc0003b0a80, 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(0x7ff2744303b8, 0xc0001040a0, 0xc000320000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00009b650, 0x7ff2744303b8, 0xc0001040a0, 0xc000320000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff2744303b8, 0xc0001040a0, 0xc000320000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a2a20, 0x7ff2744303b8, 0xc0001040a0, 0xc000320000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f21c0, 0xc000320000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a2ba0, 0xab7900, 0xc0000f21c0, 0xc000320000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f21c0, 0xc000320000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f21c0, 0xc000320000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 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 104 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ff274294f48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8418, 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(0xc0000a8400, 0xc00034a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8400, 0xc00034a000, 0x1000, 0x1000, 0x439c3c, 0xc00020fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a00c0, 0xc00034a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001b8360, 0xc00034a000, 0x1000, 0x1000, 0xc0000f0240, 0xc00020fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000b27e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000b27e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001b8360) /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 84 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ff274295030, 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, 0xa3, 0xc0003941e0, 0xde73e0) /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 105 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001b8360) /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-06T20:19:18.532Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T20:19:18.534Z 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-06T20:19:18.534Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T20:19:18.534Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T20:19:18.534Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T20:19:18.535Z 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, 0xc0002a7f01) /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(0x7fbf29e18f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214118, 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(0xc000214100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000214100, 0x9f47efbc77308301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000203128, 0x62eeccf5, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000203128, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000262000, 0xab76f0, 0xc000203128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000203128, 0xc000262000, 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(0xc000262000, 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 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 26 [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(0x7fbf29dd8278, 0xc0000b05f0, 0xc000308200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000207650, 0x7fbf29dd8278, 0xc0000b05f0, 0xc000308200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbf29dd8278, 0xc0000b05f0, 0xc000308200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020ea20, 0x7fbf29dd8278, 0xc0000b05f0, 0xc000308200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0004f4000, 0xc000308200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020eba0, 0xab7900, 0xc0004f4000, 0xc000308200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0004f4000, 0xc000308200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000262000, 0xab7900, 0xc0004f4000, 0xc000308200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000274000, 0xab8818, 0xc0002322c0) /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(0x7fbf29e18e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214198, 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(0xc000214180, 0xc00020ee51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214180, 0xc00020ee51, 0x1, 0x1, 0xc00021ea20, 0x0, 0xc000232398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c0b8, 0xc00020ee51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020ee40) /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 [semacquire]: sync.runtime_Semacquire(0xc00028b9f8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00028b9f0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00028b9f0, 0xc00009c8a0, 0xc00009c900) /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 39 [select]: net/http.(*persistConn).writeLoop(0xc000121e60) /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 56 [runnable]: net/http.(*gzipReader).Read(0xc0004e5700, 0xc0003be000, 0x6000, 0x6000, 0x18001, 0xc0003a6000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fbf29d12878, 0xc0004e5700, 0xc0004e5700, 0x7fbf29d12878, 0xc0004e5700, 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(0xc000236000, 0xc00009c8a0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000236000, 0xc00009c8a0) /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]: net/http.(*persistConn).readLoop(0xc000121e60) /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 [ OK ] level=info ts=2022-08-06T23:19:06.553Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T23:19:06.553Z 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-06T23:19:06.553Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T23:19:06.553Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T23:19:06.554Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T23:19:06.554Z 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, 0xc00003d800, 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(0xc00012ca80) /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, 18 minutes]: internal/poll.runtime_pollWait(0x7fdc9f1f2018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002b8098, 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(0xc0002b8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002b8080, 0x59e439a0b3519701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00029e8a0, 0x62eef725, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00029e8a0, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002e0000, 0xab76f0, 0xc00029e8a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00029e8a0, 0xc0002e0000, 0x0, 0x0, 0xaaf020, 0xc00009a2d0, 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(0xc0002e0000, 0x0, 0x0, 0xaaf020, 0xc00009a2d0, 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, 18 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, 18 minutes]: main.main.func1(0xaaf020, 0xc00009a2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: hash/crc32.Update(0x7fdc00000000, 0xc000150000, 0xc0002fa000, 0xee, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc0000ce370, 0xc0002fa000, 0xee, 0x1000, 0xc000291610, 0xc000291610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc0002ae0c0, 0xc0002916d0, 0xc000291620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002ae0c0, 0xc0002917c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000ce370, 0xc00009a7d0, 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(0xc00009a7d0, 0xc0002701f8, 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(0x7fdc9f049478, 0xc00009a140, 0xc000094100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00029aa10, 0x7fdc9f049478, 0xc00009a140, 0xc000094100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fdc9f049478, 0xc00009a140, 0xc000094100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a69f0, 0x7fdc9f049478, 0xc00009a140, 0xc000094100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002e02a0, 0xc000094100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a6b70, 0xab7900, 0xc0002e02a0, 0xc000094100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002e02a0, 0xc000094100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002e0000, 0xab7900, 0xc0002e02a0, 0xc000094100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002f2000, 0xab8818, 0xc0002ae2c0) /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 290 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fdc9f1f1e48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000de298, 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(0xc0000de280, 0xc000192000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000de280, 0xc000192000, 0x1000, 0x1000, 0x439c3c, 0xc0001b1c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00041e0a0, 0xc000192000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000ec000, 0xc000192000, 0x1000, 0x1000, 0xc0002de2a0, 0xc0001b1d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000098900) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000098900, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000ec000) /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 291 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000ec000) /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 263 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fdc9f1f1f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002b8118, 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(0xc0002b8100, 0xc0002a6e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002b8100, 0xc0002a6e21, 0x1, 0x1, 0xc000210000, 0x0, 0xc0002ae398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002a80a0, 0xc0002a6e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002a6e10) /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-07T02:19:22.576Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T02:19:22.577Z 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-07T02:19:22.577Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T02:19:22.577Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T02:19:22.578Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T02:19:22.586Z 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, 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(0xc000001980) /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(0x7f3e6db42f18, 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, 0xede47b05ea668801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d578, 0x62ef2155, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d578, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc00000d578, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d578, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc0000dc370, 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, 0xc0000dc370, 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, 2 minutes]: main.main.func1(0xaaf020, 0xc0000dc370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 34 [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 50 [select, 2 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(0x7f3e6db55bf8, 0xc0000dc500, 0xc0000b2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001bef50, 0x7f3e6db55bf8, 0xc0000dc500, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3e6db55bf8, 0xc0000dc500, 0xc0000b2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce870, 0x7f3e6db55bf8, 0xc0000dc500, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da540, 0xc0000b2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9f0, 0xab7900, 0xc0001da540, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da540, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da540, 0xc0000b2200) /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 57 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f3e6db42e30, 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, 0xc0003ae600, 0x0, 0xc00011b518) /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 60 [runnable]: strings.genSplit(0xc0007e6000, 0x22d0a, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000232f00, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001a00f0, 0xc00007a3c0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001a00f0, 0xc00007a3c0) /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 [semacquire, 2 minutes]: sync.runtime_Semacquire(0xc0004397b8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0004397b0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0004397b0, 0xc00007a3c0, 0xc00007a420) /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 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f3e6db42d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000280498, 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(0xc000280480, 0xc0003fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000280480, 0xc0003fe000, 0x1000, 0x1000, 0x439c3c, 0xc0001f8c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a1d8, 0xc0003fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000c47e0, 0xc0003fe000, 0x1000, 0x1000, 0xc00007e420, 0xc0001f8d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000d4000) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000d4000, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000c47e0) /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 75 [select, 2 minutes]: net/http.(*persistConn).writeLoop(0xc0000c47e0) /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:40.663Z 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:40.664Z 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:40.664Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T05:19:40.664Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T05:19:40.665Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T05:19:40.666Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0005b1f01) /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(0x7fac4a951f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001a8118, 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(0xc0001a8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001a8100, 0x898d4997a3529e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000197308, 0x62ef4b85, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000197308, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc000197308, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000197308, 0xc00028c000, 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(0xc00028c000, 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 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, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [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(0x7fac4a8ceab8, 0xc0001b4af0, 0xc0001c4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00019be30, 0x7fac4a8ceab8, 0xc0001b4af0, 0xc0001c4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fac4a8ceab8, 0xc0001b4af0, 0xc0001c4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001a35c0, 0x7fac4a8ceab8, 0xc0001b4af0, 0xc0001c4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028c380, 0xc0001c4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001a3740, 0xab7900, 0xc00028c380, 0xc0001c4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028c380, 0xc0001c4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc00028c380, 0xc0001c4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001ceaa0, 0xab8818, 0xc0001c8440) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fac4a951e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001a8198, 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(0xc0001a8180, 0xc0001a39f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001a8180, 0xc0001a39f1, 0x1, 0x1, 0xc00007a000, 0x0, 0xc0001c8518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001a0158, 0xc0001a39f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001a39e0) /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 [semacquire]: sync.runtime_Semacquire(0xc000472b48) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000472b40) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000472b40, 0xc00007b500, 0xc00007b560) /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 14 [select]: net/http.(*persistConn).roundTrip(0xc0001d1440, 0xc0001c9180, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc0001de280, 0xc0001c4400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc0001de280, 0xc0001c4400, 0xc0001de280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c4400, 0xaaf4e0, 0xc0001de280, 0x0, 0x0, 0x0, 0xc0001a0298, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001a3140, 0xc0001c4400, 0x0, 0x0, 0x0, 0xc0001a0298, 0x0, 0x1, 0xc0001c4400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001a3140, 0xc0001c4400, 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(0xc0001e0690, 0xc00007b500, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001e0690, 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 54 [runnable]: fmt.(*ss).advance(0xc000200360, 0xa172b4, 0x1e, 0xc00019cd30) /usr/local/go/src/fmt/scan.go:1100 +0x673 fmt.(*ss).doScanf(0xc000200360, 0xa172b2, 0x20, 0xc0002acfc0, 0xb, 0xb, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc00019cd40, 0xa172b2, 0x20, 0xc0002acfc0, 0xb, 0xb, 0xc0005bc0d1, 0x8eb, 0x40) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001346e0, 0x41, 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(0x50c87, 0xc00030a8a0, 0xf, 0xd9c178, 0x1, 0x1, 0x50c86, 0x50c86, 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 goroutine 81 [IO wait]: internal/poll.runtime_pollWait(0x7fac4a951c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002ab18, 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(0xc00002ab00, 0xc00048b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002ab00, 0xc00048b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e3f8, 0xc00048b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001d1440, 0xc00048b000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007b860) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007b860, 0x1, 0xc00007e600, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001d1440) /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 82 [select]: net/http.(*persistConn).writeLoop(0xc0001d1440) /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-07T08:19:25.647Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T08:19:25.647Z 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-07T08:19:25.647Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T08:19:25.647Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T08:19:25.647Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T08:19:25.648Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000341d01) /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(0xc000304780) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000304780) /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(0x7fc38e9aff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000174318, 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(0xc000174300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000174300, 0x18f66a7ab2057901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00011ac60, 0x62ef75b5, 0xc0001efb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00011ac60, 0xc0001efb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00032a000, 0xab76f0, 0xc00011ac60, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00011ac60, 0xc00032a000, 0x0, 0x0, 0xaaf020, 0xc0001503c0, 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(0xc00032a000, 0x0, 0x0, 0xaaf020, 0xc0001503c0, 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 39 [chan receive]: main.main.func1(0xaaf020, 0xc0001503c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000198910, 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(0x7fc38e96fc78, 0xc0000aa370, 0xc0004fc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0003107e0, 0x7fc38e96fc78, 0xc0000aa370, 0xc0004fc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc38e96fc78, 0xc0000aa370, 0xc0004fc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0003126f0, 0x7fc38e96fc78, 0xc0000aa370, 0xc0004fc000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00037e000, 0xc0004fc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000312870, 0xab7900, 0xc00037e000, 0xc0004fc000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00037e000, 0xc0004fc000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00032a000, 0xab7900, 0xc00037e000, 0xc0004fc000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00011f4a0, 0xab8818, 0xc0001346c0) /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(0x7fc38e9afe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000174398, 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(0xc000174380, 0xc000312b21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000174380, 0xc000312b21, 0x1, 0x1, 0x0, 0x0, 0x100010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00012c200, 0xc000312b21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000312b10) /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 [runnable]: compress/flate.(*decompressor).huffSym(0xc000203900, 0xc000204150, 0x113, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000203900) /usr/local/go/src/compress/flate/inflate.go:564 +0x56b compress/flate.(*decompressor).Read(0xc000203900, 0xc0003b8000, 0x2000, 0x2000, 0x4000, 0x936f7fcc, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0001ad8c0, 0xc0003b8000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000132680, 0xc0003b8000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fc38e7c0a38, 0xc000132680, 0xc000132680, 0x7fc38e7c0a38, 0xc000132680, 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(0xc000154f00, 0xc000149680, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000154f00, 0xc000149680) /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 54 [semacquire]: sync.runtime_Semacquire(0xc000125168) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000125160) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000125160, 0xc000149680, 0xc0001496e0) /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 24 [select]: net/http.(*persistConn).readLoop(0xc00019b560) /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 25 [select]: net/http.(*persistConn).writeLoop(0xc00019b560) /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-07T11:19:10.569Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T11:19:10.569Z 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-07T11:19:10.569Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T11:19:10.569Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T11:19:10.569Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T11:19:10.570Z 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(0xc000280800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000280800) /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, 0xc0003adf01) /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(0x7f6e49eaaf18, 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, 0x5d4f3708e3140401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d140, 0x62ef9fe5, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d140, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001c4000, 0xab76f0, 0xc00000d140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d140, 0xc0001c4000, 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(0xc0001c4000, 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 6 [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 9 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7f6e49e22278, 0xc0002c23c0, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000185650, 0x7f6e49e22278, 0xc0002c23c0, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6e49e22278, 0xc0002c23c0, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000186a20, 0x7f6e49e22278, 0xc0002c23c0, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001c41c0, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000186ba0, 0xab7900, 0xc0001c41c0, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001c41c0, 0xc000164300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001c4000, 0xab7900, 0xc0001c41c0, 0xc000164300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc00019c2c0) /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 38 [IO wait]: internal/poll.runtime_pollWait(0x7f6e49eaae30, 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, 0xc000186e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000186e51, 0x1, 0x1, 0xc0002004e0, 0x0, 0xc00019c398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0c0, 0xc000186e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000186e40) /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 40 [semacquire]: sync.runtime_Semacquire(0xc00021fea8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021fea0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021fea0, 0xc000099080, 0xc0000990e0) /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 41 [runnable]: compress/flate.(*decompressor).huffSym(0xc00011f900, 0xc00011f928, 0x3, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc00011f900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).nextBlock(0xc00011f900) /usr/local/go/src/compress/flate/inflate.go:327 +0x174 compress/flate.(*decompressor).Read(0xc00011f900, 0xc000610000, 0x2000, 0x2000, 0x4000, 0x1b7f78b7, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0000d78c0, 0xc000610000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00001e840, 0xc000610000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f6e49e68b00, 0xc00001e840, 0xc00001e840, 0x7f6e49e68b00, 0xc00001e840, 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(0xc0001a0000, 0xc000099080, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a0000, 0xc000099080) /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 45 [select]: net/http.(*persistConn).readLoop(0xc00022a6c0) /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 46 [select]: net/http.(*persistConn).writeLoop(0xc00022a6c0) /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-07T14:19:19.231Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T14:19:19.231Z 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-07T14:19:19.231Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T14:19:19.231Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T14:19:19.232Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T14:19:19.232Z 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(0xc0002e4400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002e4400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 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(0xc0002a2300) /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, 17 minutes]: internal/poll.runtime_pollWait(0x7fcd8b97ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a8098, 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(0xc0002a8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002a8080, 0x1a24ee0d2bd42a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00028e8d0, 0x62efca15, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00028e8d0, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc00028e8d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00028e8d0, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc000192410, 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, 0xc000192410, 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, 17 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, 17 minutes]: main.main.func1(0xaaf020, 0xc000192410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7fcd8b795a38, 0xc000306c80, 0xc0001a2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028aa10, 0x7fcd8b795a38, 0xc000306c80, 0xc0001a2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcd8b795a38, 0xc000306c80, 0xc0001a2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002969f0, 0x7fcd8b795a38, 0xc000306c80, 0xc0001a2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d02a0, 0xc0001a2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000296b70, 0xab7900, 0xc0002d02a0, 0xc0001a2200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d02a0, 0xc0001a2200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d02a0, 0xc0001a2200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0001a4440) /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 246 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fcd8b97fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a8118, 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(0xc0002a8100, 0xc000187c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a8100, 0xc000187c91, 0x1, 0x1, 0xc0000987e0, 0x0, 0xc0001a4518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002980b8, 0xc000187c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000187c80) /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 248 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000c16d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c16d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c16d0, 0xc0001902a0, 0xc000190300) /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 247 [runnable]: strings.genSplit(0xc000526000, 0x22d01, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0001879b0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0002a4000, 0xc0001902a0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0002a4000, 0xc0001902a0) /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 261 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fcd8b97fc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000102198, 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(0xc000102180, 0xc00012f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000102180, 0xc00012f000, 0x1000, 0x1000, 0x439c3c, 0xc0000a2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c4170, 0xc00012f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002c2000, 0xc00012f000, 0x1000, 0x1000, 0xc00009c3c0, 0xc0000a2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002008a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002008a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002c2000) /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 262 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002c2000) /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-07T17:19:05.646Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T17:19:05.646Z 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-07T17:19:05.646Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T17:19:05.646Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T17:19:05.646Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T17:19:05.647Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000427f01) /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, 1 minutes]: internal/poll.runtime_pollWait(0x7f06fdb23018, 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, 0x662bf15671b38801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0003068a0, 0x62eff409, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0003068a0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000348000, 0xab76f0, 0xc0003068a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0003068a0, 0xc000348000, 0x0, 0x0, 0xaaf020, 0xc000286230, 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, 0xc000286230, 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, 1 minutes]: internal/poll.runtime_pollWait(0x7f06fdb22f30, 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, 0xc00030a060, 0x0, 0xc000316398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003100a0, 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 8 [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, 2 minutes]: main.main.func1(0xaaf020, 0xc000286230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [select, 2 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(0x7f06fd936278, 0xc0000c8500, 0xc000378200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000302a10, 0x7f06fd936278, 0xc0000c8500, 0xc000378200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f06fd936278, 0xc0000c8500, 0xc000378200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00030e9f0, 0x7f06fd936278, 0xc0000c8500, 0xc000378200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000348460, 0xc000378200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00030eb70, 0xab7900, 0xc000348460, 0xc000378200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000348460, 0xc000378200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000348000, 0xab7900, 0xc000348460, 0xc000378200) /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 63 [runnable]: net/http.(*gzipReader).Read(0xc00015b860, 0xc00073c000, 0x8000, 0x8000, 0x1e001, 0xc00071e000, 0x1e000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f06fd977168, 0xc00015b860, 0xc00015b860, 0x7f06fd977168, 0xc00015b860, 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(0xc00031c000, 0xc0002843c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00031c000, 0xc0002843c0) /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 13 [semacquire, 2 minutes]: sync.runtime_Semacquire(0xc000023828) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023820) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023820, 0xc0002843c0, 0xc000284420) /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 98 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f06fdb22d60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000320298, 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(0xc000320280, 0xc0004f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000320280, 0xc0004f8000, 0x1000, 0x1000, 0x439c3c, 0xc0003c6c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2f8, 0xc0004f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000ca5a0, 0xc0004f8000, 0x1000, 0x1000, 0xc000094660, 0xc0003c6d40, 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(0xc0000ca5a0) /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 99 [select, 2 minutes]: net/http.(*persistConn).writeLoop(0xc0000ca5a0) /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-07T20:19:08.160Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T20:19:08.161Z 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-07T20:19:08.161Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T20:19:08.161Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T20:19:08.161Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T20:19:08.161Z 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(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(0x0, 0xc000031000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc000031000, 0xc000031000) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc000031000) /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 29 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0xde8401) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc000275030 sp=0xc000275000 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc000275058 sp=0xc000275030 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc0002750d0 sp=0xc000275058 pc=0x41c30a runtime.mallocgc(0x48, 0x9c8780, 0x203001, 0x49) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc000275158 sp=0xc0002750d0 pc=0x40da55 runtime.newobject(0x9c8780, 0x203000) /usr/local/go/src/runtime/malloc.go:1177 +0x38 fp=0xc000275188 sp=0xc000275158 pc=0x40e078 github.com/prometheus/client_golang/prometheus.(*constSummary).Write(0xc000326040, 0xc000416000, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/summary.go:670 +0x3f fp=0xc000275288 sp=0xc000275188 pc=0x80a11f github.com/prometheus/client_golang/prometheus.processMetric(0xab2718, 0xc000326040, 0xc0002755f8, 0xc000275628, 0x0, 0x1, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:598 +0xa2 fp=0xc0002753b0 sp=0xc000275288 pc=0x807002 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:519 +0xd25 fp=0xc000275810 sp=0xc0002753b0 pc=0x806d05 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9917bc8a38, 0xc00022f2c0, 0xc000214600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 fp=0xc0002759c0 sp=0xc000275810 pc=0x816ef9 net/http.HandlerFunc.ServeHTTP(0xc0001e0f50, 0x7f9917bc8a38, 0xc00022f2c0, 0xc000214600) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc0002759e8 sp=0xc0002759c0 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9917bc8a38, 0xc00022f2c0, 0xc000214600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab fp=0xc000275a50 sp=0xc0002759e8 pc=0x817b4b net/http.HandlerFunc.ServeHTTP(0xc0001e8720, 0x7f9917bc8a38, 0xc00022f2c0, 0xc000214600) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc000275a78 sp=0xc000275a50 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f60e0, 0xc000214600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf fp=0xc000275ae8 sp=0xc000275a78 pc=0x817c7f net/http.HandlerFunc.ServeHTTP(0xc0001e88a0, 0xab7900, 0xc0001f60e0, 0xc000214600) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc000275b10 sp=0xc000275ae8 pc=0x6ae744 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f60e0, 0xc000214600) /usr/local/go/src/net/http/server.go:2428 +0x1ad fp=0xc000275b70 sp=0xc000275b10 pc=0x6b05cd net/http.serverHandler.ServeHTTP(0xc0001f6000, 0xab7900, 0xc0001f60e0, 0xc000214600) /usr/local/go/src/net/http/server.go:2867 +0xa3 fp=0xc000275ba0 sp=0xc000275b70 pc=0x6b1d03 net/http.(*conn).serve(0xc0001d4a00, 0xab8818, 0xc000218440) /usr/local/go/src/net/http/server.go:1932 +0x8cd fp=0xc000275fc8 sp=0xc000275ba0 pc=0x6ad22d runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000275fd0 sp=0xc000275fc8 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(0x7f9917d72f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8618, 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(0xc0000f8600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f8600, 0xce69cbca4f765301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000ad4d0, 0x62f01e75, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000ad4d0, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f6000, 0xab76f0, 0xc0000ad4d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000ad4d0, 0xc0001f6000, 0x0, 0x0, 0xaaf020, 0xc00022e460, 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, 0xc00022e460, 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 [chan receive]: main.main.func1(0xaaf020, 0xc00022e460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 34 [syscall]: os/signal.signal_recv(0xc0000587ae) /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 32 [IO wait]: internal/poll.runtime_pollWait(0x7f9917d72e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8698, 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(0xc0000f8680, 0xc000217c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f8680, 0xc000217c61, 0x1, 0x1, 0xc000098cc0, 0x0, 0xc000218518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00009e2c8, 0xc000217c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000217c50) /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 [select]: net/http.(*Transport).getConn(0xc0001dc500, 0xc0000a1980, 0x0, 0x7ffff1a3aef8, 0x4, 0xc0000ab610, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0001dc500, 0xc0001d8300, 0x30, 0x9db900, 0x7f9917ee0a00) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0001dc500, 0xc0001d8300, 0xc0001dc500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001d8300, 0xaaf4e0, 0xc0001dc500, 0x0, 0x0, 0x0, 0xc00009e340, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001e82a0, 0xc0001d8300, 0x0, 0x0, 0x0, 0xc00009e340, 0x0, 0x1, 0xc0001d8300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001e82a0, 0xc0001d8300, 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(0xc0001c60f0, 0xc000099740, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001c60f0, 0xc000099740) /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 66 [semacquire]: sync.runtime_Semacquire(0xc0003ba238) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0003ba230) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0003ba230, 0xc000099740, 0xc0000997a0) /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]: fmt.(*ss).getRune(0xc0000998c0, 0x0) /usr/local/go/src/fmt/scan.go:210 +0xf8 fmt.(*ss).advance(0xc0000998c0, 0xa172c9, 0x9, 0xc00020e990) /usr/local/go/src/fmt/scan.go:1133 +0x225 fmt.(*ss).doScanf(0xc0000998c0, 0xa172b2, 0x20, 0xc000276fc0, 0xb, 0xb, 0x8, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc00031c590, 0xa172b2, 0x20, 0xc000276fc0, 0xb, 0xb, 0xc0003d53e8, 0x5d5, 0xc18) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc00020e8c0, 0x41, 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(0xb7ed2, 0xc0003ba280, 0xf, 0xd9c178, 0x1, 0x1, 0xb7ed1, 0xb7ed1, 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(0xc00009a9b0, 0xc000099740) /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(0xc00009a9b0, 0xc000099740) /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]: internal/singleflight.(*Group).doCall(0xddfff0, 0xc00031a280, 0xc0000ab620, 0xd, 0xc0000a1a00) /usr/local/go/src/internal/singleflight/singleflight.go:99 +0xdb created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc goroutine 15 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000aa048, 0xa051b5, 0x3, 0xc0000ab610, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000aa048, 0xa051b5, 0x3, 0xc0000ab610, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000aa048, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc0000ab610, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000aa048, 0xa051b5, 0x3, 0xc0000ab610, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc0001dc500, 0xab87a8, 0xc0000aa048, 0xa051b5, 0x3, 0xc0000ab610, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc0001dc500, 0xab87a8, 0xc0000aa048, 0x0, 0x7ffff1a3aef8, 0x4, 0xc0000ab610, 0xc, 0x0, 0xc0000aea20, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc0001dc500, 0xc00024ee70) /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-07T23:19:08.498Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T23:19:08.498Z 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-07T23:19:08.498Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T23:19:08.498Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T23:19:08.498Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T23:19:08.499Z 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(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, 0xc00003d800, 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(0xc000082780) /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, 3 minutes]: internal/poll.runtime_pollWait(0x7f123b623f18, 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, 0x26ff6309761a9201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c930, 0x62f048a5, 0xc0001efb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c930, 0xc0001efb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00014a000, 0xab76f0, 0xc00000c930, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c930, 0xc00014a000, 0x0, 0x0, 0xaaf020, 0xc000198e60, 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(0xc00014a000, 0x0, 0x0, 0xaaf020, 0xc000198e60, 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, 3 minutes]: main.main.func1(0xaaf020, 0xc000198e60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 34 [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 13 [runnable]: compress/flate.(*compressor).findMatch(0xc000722000, 0x1ba, 0x20, 0x3, 0x11d, 0xe, 0x9b, 0xc00013c001) /usr/local/go/src/compress/flate/deflate.go:233 +0x37e compress/flate.(*compressor).deflate(0xc000722000) /usr/local/go/src/compress/flate/deflate.go:443 +0x826 compress/flate.(*compressor).write(0xc000722000, 0xc00013c000, 0x97, 0x1000, 0x1000, 0xe1d2ebb8, 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(0xc0001b73f0, 0xc00013c000, 0x97, 0x1000, 0xc00008f610, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc0005c0840, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0005c0840, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001b73f0, 0xc0004782d0, 0x97, 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(0xc0004782d0, 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(0x7f123b5df278, 0xc000198140, 0xc000246100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00012ca10, 0x7f123b5df278, 0xc000198140, 0xc000246100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f123b5df278, 0xc000198140, 0xc000246100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000110b40, 0x7f123b5df278, 0xc000198140, 0xc000246100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00014a1c0, 0xc000246100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000110cc0, 0xab7900, 0xc00014a1c0, 0xc000246100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00014a1c0, 0xc000246100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00014a000, 0xab7900, 0xc00014a1c0, 0xc000246100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000201e0, 0xab8818, 0xc00012e2c0) /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 131 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc00013e360) /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 130 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f123b623d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000d6218, 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(0xc0000d6200, 0xc0003d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000d6200, 0xc0003d2000, 0x1000, 0x1000, 0x439c3c, 0xc00010ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc020, 0xc0003d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00013e360, 0xc0003d2000, 0x1000, 0x1000, 0xc0001061e0, 0xc00010ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000102180) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000102180, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00013e360) /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 104 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f123b623e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a198, 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(0xc00002a180, 0xc000110f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc000110f71, 0x1, 0x1, 0xc000102180, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b0, 0xc000110f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000110f60) /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-08T02:19:10.766Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T02:19:10.766Z 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-08T02:19:10.766Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T02:19:10.766Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T02:19:10.766Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T02:19:10.768Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000067d01) /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(0xc000001800) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000001800) /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(0x7f1a08f86f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00027a098, 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(0xc00027a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00027a080, 0xcbed4e7ee8bcc201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020cb40, 0x62f072d5, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020cb40, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc00020cb40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020cb40, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc0000c8cd0, 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(0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc0000c8cd0, 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, 0xc0000c8cd0) /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 41 [select]: 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(0x7f1a08f43ab8, 0xc0000c93b0, 0xc00016c500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f1a08f43ab8, 0xc0000c93b0, 0xc00016c500) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1a08f43ab8, 0xc0000c93b0, 0xc00016c500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f1a08f43ab8, 0xc0000c93b0, 0xc00016c500) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e2a0, 0xc00016c500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc00027e2a0, 0xc00016c500) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e2a0, 0xc00016c500) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e2a0, 0xc00016c500) /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 14 [IO wait]: internal/poll.runtime_pollWait(0x7f1a08f86e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00027a118, 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(0xc00027a100, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00027a100, 0xc00021b9c1, 0x1, 0x1, 0xc0000bf260, 0x0, 0xc000222518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e168, 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 15 [runnable]: compress/flate.(*decompressor).huffSym(0xc000125900, 0xc000125928, 0x3, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:735 +0x199 compress/flate.(*decompressor).huffmanBlock(0xc000125900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000125900, 0xc000674000, 0x2000, 0x2000, 0x4000, 0xdada9bdb, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000232dc0, 0xc000674000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000418020, 0xc000674000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f1a08cdc878, 0xc000418020, 0xc000418020, 0x7f1a08cdc878, 0xc000418020, 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(0xc000244690, 0xc0002012c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000244690, 0xc0002012c0) /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 [semacquire]: sync.runtime_Semacquire(0xc00021fc78) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021fc70) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021fc70, 0xc0002012c0, 0xc000201320) /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 [select]: net/http.(*persistConn).readLoop(0xc00022a7e0) /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 65 [select]: net/http.(*persistConn).writeLoop(0xc00022a7e0) /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:16:02.904Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T05:16:02.906Z 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:16:02.906Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T05:16:02.906Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T05:16:02.906Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T05:16:02.908Z 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, 0x426601) /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(0xc000083c80) /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(0x7f52d974e018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000176818, 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(0xc000176800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000176800, 0xa62bbc661ec5e901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000125020, 0x62f09c15, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000125020, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a0000, 0xab76f0, 0xc000125020, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000125020, 0xc0002a0000, 0x0, 0x0, 0xaaf020, 0xc000108e10, 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(0xc0002a0000, 0x0, 0x0, 0xaaf020, 0xc000108e10, 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, 0xc000108e10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000108960, 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(0x7f52d976e1f8, 0xc0000b4320, 0xc0001da700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002960e0, 0x7f52d976e1f8, 0xc0000b4320, 0xc0001da700) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f52d976e1f8, 0xc0000b4320, 0xc0001da700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002983f0, 0x7f52d976e1f8, 0xc0000b4320, 0xc0001da700) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a02a0, 0xc0001da700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000298570, 0xab7900, 0xc0002a02a0, 0xc0001da700) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a02a0, 0xc0001da700) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a0000, 0xab7900, 0xc0002a02a0, 0xc0001da700) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001d7e00, 0xab8818, 0xc000139840) /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 66 [IO wait]: internal/poll.runtime_pollWait(0x7f52d974df30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000176898, 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(0xc000176880, 0xc000298821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000176880, 0xc000298821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000132410, 0xc000298821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000298810) /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 [runnable]: fmt.(*ss).doScanf(0xc00007a4e0, 0xa172b2, 0x20, 0xc000392fc0, 0xb, 0xb, 0x0, 0x0, 0x10) /usr/local/go/src/fmt/scan.go:1181 +0x5c6 fmt.Fscanf(0xaaefe0, 0xc00041f250, 0xa172b2, 0x20, 0xc000392fc0, 0xb, 0xb, 0xc0004370d1, 0x8ec, 0x40) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001d39a0, 0x41, 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(0x979ab, 0xc000023bb0, 0xf, 0xd9c178, 0x1, 0x1, 0x979aa, 0x979aa, 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(0xc0001089b0, 0xc000135d40) /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(0xc0001089b0, 0xc000135d40) /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 68 [semacquire]: sync.runtime_Semacquire(0xc00012f6e8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00012f6e0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00012f6e0, 0xc000135d40, 0xc000135da0) /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 69 [runnable]: net/http.(*Transport).getConn(0xc0001dedc0, 0xc000214180, 0x0, 0x7ffcfd00cef8, 0x4, 0xc00012f6f0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0001dedc0, 0xc0005d6100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0001dedc0, 0xc0005d6100, 0xc0001dedc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0005d6100, 0xaaf4e0, 0xc0001dedc0, 0x0, 0x0, 0x0, 0xc000132440, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001e5f50, 0xc0005d6100, 0x0, 0x0, 0x0, 0xc000132440, 0x0, 0x1, 0xc0005d6100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001e5f50, 0xc0005d6100, 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(0xc0001c4ff0, 0xc000135d40, 0x0, 0x9691c0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001c4ff0, 0xc000135d40) /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 53 [runnable]: net/http.(*persistConn).readLoop(0xc0005ec000) /usr/local/go/src/net/http/transport.go:2048 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 54 [runnable]: net/http.(*persistConn).writeLoop(0xc0005ec000) /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-08T05:19:04.039Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T05:19:04.039Z 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:19:04.039Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T05:19:04.039Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T05:19:04.039Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T05:19:04.039Z 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, 0xc00003d800, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000177f01) /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(0x7fbb91a23f18, 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, 0xbe96e7b8fdfe7f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0003068a0, 0x62f09cc9, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0003068a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000348000, 0xab76f0, 0xc0003068a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0003068a0, 0xc000348000, 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(0xc000348000, 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 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, 0xc0000bc410) /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(0x7fbb9199f278, 0xc000240050, 0xc000370100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000302a10, 0x7fbb9199f278, 0xc000240050, 0xc000370100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbb9199f278, 0xc000240050, 0xc000370100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00030e9f0, 0x7fbb9199f278, 0xc000240050, 0xc000370100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003481c0, 0xc000370100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00030eb70, 0xab7900, 0xc0003481c0, 0xc000370100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003481c0, 0xc000370100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000348000, 0xab7900, 0xc0003481c0, 0xc000370100) /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 74 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000d8000) /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 73 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fbb91a23c60, 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, 0xc0004eb000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc0004eb000, 0x1000, 0x1000, 0x439c3c, 0xc000104c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8090, 0xc0004eb000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d8000, 0xc0004eb000, 0x1000, 0x1000, 0xc000346240, 0xc000104d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d8000) /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 43 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fbb91a23e30, 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, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003100a0, 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 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues(0xc000310030, 0xc0002425a0, 0x1, 0x1, 0xc0000b8858, 0xc0000d0401) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:214 +0x105 main.(*Exporter).updateScoreboard(0xc00031c000, 0xc000468297, 0x400) /app/apache_exporter.go:279 +0x16b main.(*Exporter).collect(0xc00031c000, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:507 +0x2073 main.(*Exporter).Collect(0xc00031c000, 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 45 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000ce078) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ce070) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce070, 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 [ OK ] level=info ts=2022-08-08T08:19:08.063Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T08:19:08.063Z 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-08T08:19:08.063Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T08:19:08.063Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T08:19:08.063Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T08:19:08.064Z 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(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(0x0, 0xc00002e800, 0xb) /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 31 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0xc0002a3260) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc0002a3208 sp=0xc0002a31d8 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc0002a3230 sp=0xc0002a3208 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc0002a32a8 sp=0xc0002a3230 pc=0x41c30a runtime.mallocgc(0x10, 0x985580, 0x971c01, 0xc00019f260) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc0002a3330 sp=0xc0002a32a8 pc=0x40da55 runtime.newobject(0x985580, 0x1) /usr/local/go/src/runtime/malloc.go:1177 +0x38 fp=0xc0002a3360 sp=0xc0002a3330 pc=0x40e078 net/http.(*Transport).getConn(0xc000318000, 0xc0000c78c0, 0x0, 0x7fff9d385ef8, 0x4, 0xc0001b3040, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1362 +0x425 fp=0xc0002a3530 sp=0xc0002a3360 pc=0x6c3dc5 net/http.(*Transport).roundTrip(0xc000318000, 0xc0001b0500, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb fp=0xc0002a3798 sp=0xc0002a3530 pc=0x6bf5cb net/http.(*Transport).RoundTrip(0xc000318000, 0xc0001b0500, 0xc000318000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 fp=0xc0002a37d0 sp=0xc0002a3798 pc=0x6a4f35 net/http.send(0xc0001b0500, 0xaaf4e0, 0xc000318000, 0x0, 0x0, 0x0, 0xc00018c1c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 fp=0xc0002a3988 sp=0xc0002a37d0 pc=0x665f74 net/http.(*Client).send(0xc00030e570, 0xc0001b0500, 0x0, 0x0, 0x0, 0xc00018c1c0, 0x0, 0x1, 0xc0001b0500) /usr/local/go/src/net/http/client.go:175 +0xff fp=0xc0002a3a08 sp=0xc0002a3988 pc=0x66595f net/http.(*Client).do(0xc00030e570, 0xc0001b0500, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f fp=0xc0002a3bf8 sp=0xc0002a3a08 pc=0x6679df net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00031c000, 0xc00019f140, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 fp=0xc0002a3e78 sp=0xc0002a3bf8 pc=0x8f6337 main.(*Exporter).Collect(0xc00031c000, 0xc00019f140) /app/apache_exporter.go:578 +0x9a fp=0xc0002a3f20 sp=0xc0002a3e78 pc=0x8fab3a 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=0xc0002a3fe0 sp=0xc0002a3f20 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0002a3fe8 sp=0xc0002a3fe0 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(0x7fce33152f18, 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, 0x1cfe0fe991ced601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000306888, 0x62f0c735, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000306888, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000348000, 0xab76f0, 0xc000306888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000306888, 0xc000348000, 0x0, 0x0, 0xaaf020, 0xc0001a0410, 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, 0xc0001a0410, 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 5 [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, 0xc0001a0410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [semacquire]: github.com/prometheus/client_golang/prometheus.processMetric(0xab2740, 0xc00030a300, 0xc0002a55f8, 0xc0002a5628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:688 +0x47a github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7fce33114b50, 0xc00009ae60, 0xc000366100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000302a10, 0x7fce33114b50, 0xc00009ae60, 0xc000366100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fce33114b50, 0xc00009ae60, 0xc000366100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00030e9f0, 0x7fce33114b50, 0xc00009ae60, 0xc000366100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003480e0, 0xc000366100) /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, 0xc000366100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003480e0, 0xc000366100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000348000, 0xab7900, 0xc0003480e0, 0xc000366100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00035a000, 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 28 [IO wait]: internal/poll.runtime_pollWait(0x7fce33152e30, 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, 0xc00018fc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000320100, 0xc00018fc91, 0x1, 0x1, 0x0, 0x0, 0x1000000000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000310098, 0xc00018fc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00018fc80) /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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000194000, 0xc00019f140) /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 57 [semacquire]: 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(0xe11d4, 0xc000301360, 0xf, 0xd9c178, 0x1, 0x1, 0xe11d3, 0xe11d3, 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(0xc00009a9b0, 0xc00019f140) /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(0xc00009a9b0, 0xc00019f140) /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 30 [semacquire]: sync.runtime_Semacquire(0xc0001b3038) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001b3030) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001b3030, 0xc00019f140, 0xc00019f1a0) /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 43 [semacquire]: runtime.ReadMemStats(0xc000175800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000194000, 0xc000175800, 0xc0001f4360) /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-08T11:19:06.632Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T11:19:06.632Z 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-08T11:19:06.632Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T11:19:06.632Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T11:19:06.632Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T11:19:06.632Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000391d01) /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(0xc000382c00) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000382c00) /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, 5 minutes]: internal/poll.runtime_pollWait(0x7fbdb9b75f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ec598, 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(0xc0001ec580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001ec580, 0xa2306364450d0001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00019ecc0, 0x62f0f165, 0xc0001f7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00019ecc0, 0xc0001f7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000264000, 0xab76f0, 0xc00019ecc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00019ecc0, 0xc000264000, 0x0, 0x0, 0xaaf020, 0xc0000b64b0, 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(0xc000264000, 0x0, 0x0, 0xaaf020, 0xc0000b64b0, 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, 5 minutes]: main.main.func1(0xaaf020, 0xc0000b64b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [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 42 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc000572000, 0x7fbdb99d8258, 0xc000108ff0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7fbdb99d8258, 0xc000108ff0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0001be580, 0xc00031e000, 0xf0, 0x1000, 0x0, 0xc00008d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000190500, 0xc00008d6d0, 0xc00008d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000190500, 0xc00008d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001be580, 0xc00041a2d0, 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(0xc00041a2d0, 0xc00009c9a8, 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(0x7fbdb9b8dcb8, 0xc000108ff0, 0xc0000c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000258310, 0x7fbdb9b8dcb8, 0xc000108ff0, 0xc0000c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbdb9b8dcb8, 0xc000108ff0, 0xc0000c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002566f0, 0x7fbdb9b8dcb8, 0xc000108ff0, 0xc0000c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000264380, 0xc0000c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000256870, 0xab7900, 0xc000264380, 0xc0000c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000264380, 0xc0000c6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000264000, 0xab7900, 0xc000264380, 0xc0000c6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00024a8c0, 0xab8818, 0xc000191440) /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 129 [IO wait]: internal/poll.runtime_pollWait(0x7fbdb9b75d48, 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, 0xc000230000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc000230000, 0x1000, 0x1000, 0x439c3c, 0xc00022dc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e020, 0xc000230000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d26c0, 0xc000230000, 0x1000, 0x1000, 0xc000288240, 0xc00022dd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000098120) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000098120, 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 102 [IO wait]: internal/poll.runtime_pollWait(0x7fbdb9b75e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ec618, 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(0xc0001ec600, 0xc000256b21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001ec600, 0xc000256b21, 0x1, 0x1, 0xc0003947e0, 0x0, 0xc000191518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001822c0, 0xc000256b21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000256b10) /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 130 [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-08T14:19:23.139Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T14:19:23.140Z 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-08T14:19:23.140Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T14:19:23.140Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T14:19:23.141Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T14:19:23.158Z 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(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, 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(0xc00008a900) /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(0x7ff8b98f7f18, 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, 0x2f3d05c04d2c8401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f2c0, 0x62f11b95, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f2c0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000294000, 0xab76f0, 0xc00009f2c0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f2c0, 0xc000294000, 0x0, 0x0, 0xaaf020, 0xc000210280, 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(0xc000294000, 0x0, 0x0, 0xaaf020, 0xc000210280, 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 21 [chan receive]: main.main.func1(0xaaf020, 0xc000210280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 25 [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(0x7ff8b993cb78, 0xc0001d6550, 0xc0000cc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3e30, 0x7ff8b993cb78, 0xc0001d6550, 0xc0000cc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff8b993cb78, 0xc0001d6550, 0xc0000cc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000ab5c0, 0x7ff8b993cb78, 0xc0001d6550, 0xc0000cc400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00040c0e0, 0xc0000cc400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000ab740, 0xab7900, 0xc00040c0e0, 0xc0000cc400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00040c0e0, 0xc0000cc400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000294000, 0xab7900, 0xc00040c0e0, 0xc0000cc400) /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 15 [IO wait]: internal/poll.runtime_pollWait(0x7ff8b98f7e30, 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, 0xc0000bac60, 0x0, 0xc0000d0518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8158, 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 49 [semacquire]: sync.runtime_Semacquire(0xc0001cb9d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001cb9d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001cb9d0, 0xc0001d0720, 0xc0001d0780) /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 16 [select]: net/http.(*Transport).getConn(0xc0000e6280, 0xc00023e2c0, 0x0, 0x7ffc5ec3bef8, 0x4, 0xc0000ce500, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0000e6280, 0xc0000cc500, 0x30, 0x30, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0000e6280, 0xc0000cc500, 0xc0000e6280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000cc500, 0xaaf4e0, 0xc0000e6280, 0x0, 0x0, 0x0, 0xc00000e350, 0x4182f3, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ab140, 0xc0000cc500, 0x0, 0x0, 0x0, 0xc00000e350, 0x0, 0x1, 0x7ff8e05ce040) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ab140, 0xc0000cc500, 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, 0xc0001d0720, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e8690, 0xc0001d0720) /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 84 [runnable]: net/http.(*Transport).dialConnFor(0xc0000e6280, 0xc0001334a0) /usr/local/go/src/net/http/transport.go:1439 created by net/http.(*Transport).queueForDial /usr/local/go/src/net/http/transport.go:1411 +0x40f [ OK ] level=info ts=2022-08-08T17:19:07.532Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T17:19:07.532Z 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-08T17:19:07.532Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T17:19:07.532Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T17:19:07.532Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T17:19:07.554Z 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(0xc000282400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000282400) /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, 0xc000295f01) /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(0x7f3c2a5e8f18, 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, 0x9bbf36d747b43301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000202900, 0x62f145c5, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000202900, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc000202900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000202900, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc000192410, 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, 0xc000192410, 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, 0xc000192410) /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 41 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7f3c2a444460, 0xc00029c5f0, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7f3c2a444460, 0xc00029c5f0, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3c2a444460, 0xc00029c5f0, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7f3c2a444460, 0xc00029c5f0, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a2a0, 0xc000164300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021cb70, 0xab7900, 0xc00025a2a0, 0xc000164300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a2a0, 0xc000164300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a2a0, 0xc000164300) /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 50 [IO wait]: internal/poll.runtime_pollWait(0x7f3c2a5e8e30, 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, 0xc000098000, 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 51 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 io.ReadAll(0x7f3c2a33d078, 0xc0005b6020, 0xc0005b6020, 0x7f3c2a33d078, 0xc0005b6020, 0x0, 0xab26f0) /usr/local/go/src/io/io.go:631 +0x1d9 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 main.(*Exporter).collect(0xc000228000, 0xc000099080, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000228000, 0xc000099080) /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(0xc0002fc548) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002fc540) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002fc540, 0xc000099080, 0xc0000990e0) /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 54 [select]: net/http.(*persistConn).readLoop(0xc0002425a0) /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 55 [select]: net/http.(*persistConn).writeLoop(0xc0002425a0) /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-08T20:19:18.222Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T20:19:18.224Z 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-08T20:19:18.224Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T20:19:18.224Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T20:19:18.224Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T20:19:18.230Z 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(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, 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(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, 1 minutes]: internal/poll.runtime_pollWait(0x7f1ae5606f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000120398, 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(0xc000120380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000120380, 0x38592966b80ec501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00010f200, 0x62f17121, 0xc0001dfb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00010f200, 0xc0001dfb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000326000, 0xab76f0, 0xc00010f200, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00010f200, 0xc000326000, 0x0, 0x0, 0xaaf020, 0xc00012c280, 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(0xc000326000, 0x0, 0x0, 0xaaf020, 0xc00012c280, 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, 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 23 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00012c280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [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(0x7f1ae55863b8, 0xc00007c460, 0xc000298300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00015cc40, 0x7f1ae55863b8, 0xc00007c460, 0xc000298300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1ae55863b8, 0xc00007c460, 0xc000298300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00011ba10, 0x7f1ae55863b8, 0xc00007c460, 0xc000298300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000258000, 0xc000298300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00011bb90, 0xab7900, 0xc000258000, 0xc000298300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000258000, 0xc000298300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000326000, 0xab7900, 0xc000258000, 0xc000298300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000132960, 0xab8818, 0xc000156540) /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 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f1ae5606e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000120418, 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(0xc000120400, 0xc00011be41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000120400, 0xc00011be41, 0x1, 0x1, 0xc0002ec000, 0x0, 0xc000156618) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000118148, 0xc00011be41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00011be30) /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 59 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f1ae5606d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000120298, 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(0xc000120280, 0xc00037c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000120280, 0xc00037c000, 0x1000, 0x1000, 0x439c3c, 0xc000186c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e330, 0xc00037c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002aa000, 0xc00037c000, 0x1000, 0x1000, 0xc000248180, 0xc000186d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002ec300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002ec300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002aa000) /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 [runnable]: strings.Index(0xc000744000, 0x22d88, 0xa30880, 0x1, 0x871) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc000744000, 0x22d88, 0xa30880, 0x1, 0x0, 0x871, 0x0, 0xc000189680, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000164870, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000164870, 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 16 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc00046b418) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00046b410) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00046b410, 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 60 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002aa000) /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-08T23:19:09.774Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T23:19:09.774Z 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-08T23:19:09.774Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T23:19:09.774Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T23:19:09.774Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T23:19:09.795Z 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, 0xc000507f01) /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(0x7f7ecb2f0f18, 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, 0x884ed92f7bdc7c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc78, 0x62f19a25, 0xc000177b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc78, 0xc000177b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc00000cc78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc78, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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(0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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(0xc0000587ae) /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 9 [chan receive]: main.main.func1(0xaaf020, 0xc00022e3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000120910, 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(0x7f7ecb2af438, 0xc00022fbd0, 0xc000212600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00026a7e0, 0x7f7ecb2af438, 0xc00022fbd0, 0xc000212600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7ecb2af438, 0xc00022fbd0, 0xc000212600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00026c5a0, 0x7f7ecb2af438, 0xc00022fbd0, 0xc000212600) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e2a0, 0xc000212600) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00026c720, 0xab7900, 0xc00027e2a0, 0xc000212600) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e2a0, 0xc000212600) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e2a0, 0xc000212600) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000214a0, 0xab8818, 0xc0002166c0) /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 55 [IO wait]: internal/poll.runtime_pollWait(0x7f7ecb2f0e30, 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, 0xc00026c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc00026c9d1, 0x1, 0x1, 0xc000229920, 0x0, 0xc000216798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e218, 0xc00026c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00026c9c0) /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 [runnable]: compress/flate.(*decompressor).huffSym(0xc000189900, 0xc00018a150, 0x101, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000189900) /usr/local/go/src/compress/flate/inflate.go:564 +0x56b compress/flate.(*decompressor).nextBlock(0xc000189900) /usr/local/go/src/compress/flate/inflate.go:327 +0x174 compress/flate.(*decompressor).Read(0xc000189900, 0xc0006a0000, 0x2000, 0x2000, 0x4000, 0x90edd1f0, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000135340, 0xc0006a0000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0004e2020, 0xc0006a0000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f7ecb32d028, 0xc0004e2020, 0xc0004e2020, 0x7f7ecb32d028, 0xc0004e2020, 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(0xc000232f00, 0xc000229a40, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000232f00, 0xc000229a40) /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 57 [semacquire]: sync.runtime_Semacquire(0xc00011d8f8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00011d8f0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00011d8f0, 0xc000229a40, 0xc000229aa0) /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 40 [select]: net/http.(*persistConn).readLoop(0xc0001227e0) /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 41 [select]: net/http.(*persistConn).writeLoop(0xc0001227e0) /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-09T02:19:24.504Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T02:19:24.506Z 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-09T02:19:24.506Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T02:19:24.506Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T02:19:24.507Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T02:19:24.508Z 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, 0xc00002e800, 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.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(0x7f241d925f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000226098, 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(0xc000226080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000226080, 0x946f22eec4144501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206960, 0x62f1c455, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206960, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000248000, 0xab76f0, 0xc000206960, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206960, 0xc000248000, 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(0xc000248000, 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 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, 0xc00007ce10) /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.(*constMetric).Write(0xc0002975f0, 0xc000470070, 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, 0xc0002975f0, 0xc00018d5f8, 0xc00018d628, 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(0x7f241d8e5278, 0xc00007dd60, 0xc000538000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000214a10, 0x7f241d8e5278, 0xc00007dd60, 0xc000538000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f241d8e5278, 0xc00007dd60, 0xc000538000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7f241d8e5278, 0xc00007dd60, 0xc000538000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00053a000, 0xc000538000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc00053a000, 0xc000538000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00053a000, 0xc000538000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000248000, 0xab7900, 0xc00053a000, 0xc000538000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00025a000, 0xab8818, 0xc0002202c0) /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 65 [IO wait]: internal/poll.runtime_pollWait(0x7f241d925e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000226118, 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(0xc000226100, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000226100, 0xc00021ae21, 0x1, 0x1, 0xc00007a000, 0x0, 0xc000220398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e0a8, 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 66 [runnable]: fmt.(*ss).getRune(0xc000386120, 0x30) /usr/local/go/src/fmt/scan.go:210 +0xf8 fmt.(*ss).consume(0xc000386120, 0xa04e82, 0x2, 0x1, 0xc00038ec01) /usr/local/go/src/fmt/scan.go:480 +0x2f fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc000386120, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:716 +0x2af fmt.(*ss).scanOne(0xc000386120, 0x66, 0x92c700, 0xc00020d858) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc000386120, 0xa172b2, 0x20, 0xc00038efc0, 0xb, 0xb, 0xa, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc000474cf0, 0xa172b2, 0x20, 0xc00038efc0, 0xb, 0xb, 0xc0005070d3, 0x8eb, 0x40) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc00020d770, 0x42, 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(0xd3119, 0xc0002126f0, 0xf, 0xd9c178, 0x1, 0x1, 0xd3118, 0xd3118, 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:457 +0x5ce goroutine 67 [semacquire]: sync.runtime_Semacquire(0xc000212508) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000212500) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000212500, 0xc000200ae0, 0xc000200b40) /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 68 [select]: net/http.(*Transport).getConn(0xc000222000, 0xc0001c2140, 0x0, 0x7fffc17c7ef8, 0x4, 0xc000023b50, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc000222000, 0xc000270200, 0x30, 0x30, 0x540) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc000222000, 0xc000270200, 0xc000222000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000270200, 0xaaf4e0, 0xc000222000, 0x0, 0x0, 0x0, 0xc00000e508, 0x4182f3, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021a570, 0xc000270200, 0x0, 0x0, 0x0, 0xc00000e508, 0x0, 0x1, 0x7f241d92b8f8) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021a570, 0xc000270200, 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(0xc000224000, 0xc000200ae0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000224000, 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 97 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000023b50, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000023b50, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc000023b50, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000023b50, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc000222000, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc000023b50, 0xc, 0x0, 0xc0001a0050, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc000222000, 0xab87a8, 0xc0000220b0, 0x0, 0x7fffc17c7ef8, 0x4, 0xc000023b50, 0xc, 0x0, 0xc00023a900, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc000222000, 0xc0000bb600) /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 98 [runnable]: syscall.Getsockname(0x9, 0xab87a8, 0xc0000220b0, 0x0, 0x0) /usr/local/go/src/syscall/syscall_linux.go:583 +0x119 net.(*netFD).dial(0xc00002a900, 0xab87a8, 0xc0000220b0, 0xabb9f8, 0x0, 0xabb9f8, 0xc0003a4060, 0x0, 0xb, 0xc0001da010) /usr/local/go/src/net/sock_posix.go:164 +0x151 net.socket(0xab87a8, 0xc0000220b0, 0xa051be, 0x3, 0x2, 0x2, 0x0, 0x0, 0xabb9f8, 0x0, ...) /usr/local/go/src/net/sock_posix.go:70 +0x1c5 net.internetSocket(0xab87a8, 0xc0000220b0, 0xa051be, 0x3, 0xabb9f8, 0x0, 0xabb9f8, 0xc0003a4060, 0x2, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x145 net.(*sysDialer).dialUDP(0xc00038b268, 0xab87a8, 0xc0000220b0, 0x0, 0xc0003a4060, 0x203000, 0x203000, 0x40d42a) /usr/local/go/src/net/udpsock_posix.go:98 +0xc5 net.DialUDP(0xa051be, 0x3, 0x0, 0xc0003a4060, 0x18, 0xc00038b388, 0x44ec65) /usr/local/go/src/net/udpsock.go:212 +0x246 net.srcAddrs(0xc0003a6000, 0x2, 0x2, 0x28, 0xc0003a6000, 0x10) /usr/local/go/src/net/addrselect.go:47 +0x125 net.sortByRFC6724(0xc0003a6000, 0x2, 0x2) /usr/local/go/src/net/addrselect.go:17 +0x4f net.goLookupIPFiles(0xc000023b50, 0x9, 0x7f24445b0878, 0xc, 0x0) /usr/local/go/src/net/dnsclient_unix.go:553 +0x238 net.(*Resolver).goLookupIPCNAMEOrder(0xddffe0, 0xab8770, 0xc0001c2180, 0xc000023b50, 0x9, 0x1, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dnsclient_unix.go:567 +0x12dd net.(*Resolver).lookupIP(0xddffe0, 0xab8770, 0xc0001c2180, 0xa051b5, 0x3, 0xc000023b50, 0x9, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/lookup_unix.go:102 +0xe5 net.glob..func1(0xab8770, 0xc0001c2180, 0xc000208940, 0xa051b5, 0x3, 0xc000023b50, 0x9, 0xc0000220b0, 0x0, 0x7fffc17c7ef8, ...) /usr/local/go/src/net/hook.go:23 +0x72 net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/lookup.go:293 +0xba internal/singleflight.(*Group).doCall(0xddfff0, 0xc00020a7d0, 0xc000023b60, 0xd, 0xc0001c21c0) /usr/local/go/src/internal/singleflight/singleflight.go:95 +0x2e created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc [ OK ] level=info ts=2022-08-09T05:20:53.318Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T05:20:53.319Z 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:20:53.319Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T05:20:53.319Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T05:20:53.320Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T05:20:53.321Z 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(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, 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(0xc000215080) /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, 10 minutes]: internal/poll.runtime_pollWait(0x7f940d2ebf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108518, 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(0xc000108500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108500, 0xd3174e22b13e201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000ae8a0, 0x62f1eec1, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000ae8a0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028a000, 0xab76f0, 0xc0000ae8a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000ae8a0, 0xc00028a000, 0x0, 0x0, 0xaaf020, 0xc00007c320, 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(0xc00028a000, 0x0, 0x0, 0xaaf020, 0xc00007c320, 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, 10 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 [chan receive, 10 minutes]: main.main.func1(0xaaf020, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: hash/crc32.Update(0x7f9400000000, 0xc0000e2000, 0xc000284000, 0xee, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc0000dca50, 0xc000284000, 0xee, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc000244780, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000244780, 0xc0000937c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dca50, 0xc0003124b0, 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(0xc0003124b0, 0xc00000cbb8, 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(0x7f940d302cf8, 0xc0000c80a0, 0xc00016a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000282150, 0x7f940d302cf8, 0xc0000c80a0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f940d302cf8, 0xc0000c80a0, 0xc00016a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000174d50, 0x7f940d302cf8, 0xc0000c80a0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fa000, 0xc00016a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000174ed0, 0xab7900, 0xc0001fa000, 0xc00016a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fa000, 0xc00016a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028a000, 0xab7900, 0xc0001fa000, 0xc00016a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000167680, 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 195 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f940d2ebc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000356218, 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(0xc000356200, 0xc000336000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000356200, 0xc000336000, 0x1000, 0x1000, 0x439c3c, 0xc00025bc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000318000, 0xc000336000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000202120, 0xc000336000, 0x1000, 0x1000, 0xc00039c120, 0xc00025bd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200060) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200060, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000202120) /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 143 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f940d2ebe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108598, 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(0xc000108580, 0xc000175181, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108580, 0xc000175181, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc0002b37a8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc328, 0xc000175181, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000175170) /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 196 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000202120) /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-09T08:19:17.722Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T08:19:17.727Z 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-09T08:19:17.727Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T08:19:17.727Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T08:19:17.728Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T08:19:17.731Z 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(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, 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(0xc000001800) /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(0x7f853d1baf18, 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, 0xa30c48a83e209e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6cc0, 0x62f218b5, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6cc0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000280000, 0xab76f0, 0xc0000b6cc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6cc0, 0xc000280000, 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(0xc000280000, 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 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 37 [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 [select]: 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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f853d1d04b8, 0xc00007d180, 0xc000240400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000176310, 0x7f853d1d04b8, 0xc00007d180, 0xc000240400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f853d1d04b8, 0xc00007d180, 0xc000240400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000174840, 0x7f853d1d04b8, 0xc00007d180, 0xc000240400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000280380, 0xc000240400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001749c0, 0xab7900, 0xc000280380, 0xc000240400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000280380, 0xc000240400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000280000, 0xab7900, 0xc000280380, 0xc000240400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000168a00, 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 69 [IO wait]: internal/poll.runtime_pollWait(0x7f853d1bae30, 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, 0xc0003a6000, 0x0, 0xc0000c9518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42b8, 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 71 [semacquire]: sync.runtime_Semacquire(0xc00047c1e8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00047c1e0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00047c1e0, 0xc0000c7c80, 0xc0000c7ce0) /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 50 [select]: net/http.(*persistConn).readLoop(0xc0000d2d80) /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 31 [runnable]: net/http.(*gzipReader).Read(0xc0002c20a0, 0xc0002eea80, 0x3580, 0x3580, 0x6a81, 0xc0002e8000, 0x6a80) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f853cf4ba38, 0xc0002c20a0, 0xc0002c20a0, 0x7f853cf4ba38, 0xc0002c20a0, 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(0xc0001580f0, 0xc0000c7c80, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001580f0, 0xc0000c7c80) /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 [select]: net/http.(*persistConn).writeLoop(0xc0000d2d80) /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-09T11:19:08.292Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T11:19:08.292Z 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-09T11:19:08.292Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T11:19:08.292Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T11:19:08.292Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T11:19:08.292Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0x7ffe98c72c01) /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.exitsyscall0(0xc000252780) /usr/local/go/src/runtime/proc.go:3884 +0xee runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f200d10cf18, 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, 0xc76bc655b236b801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020cb10, 0x62f242e5, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020cb10, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc00020cb10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020cb10, 0xc000274000, 0x0, 0x0, 0xaaf020, 0xc00007c3c0, 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, 0xc00007c3c0, 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 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007c3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [select]: 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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f200d0c9ab8, 0xc00041a550, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f200d0c9ab8, 0xc00041a550, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f200d0c9ab8, 0xc00041a550, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f200d0c9ab8, 0xc00041a550, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e81c0, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc0001e81c0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e81c0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0001e81c0, 0xc00016a300) /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 23 [IO wait]: internal/poll.runtime_pollWait(0x7f200d10ce30, 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, 0xc000200c60, 0x0, 0xc000222518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e168, 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 26 [runnable]: compress/flate.(*huffmanDecoder).init(0xc000125928, 0xc000572000, 0x117, 0x13c, 0x0) /usr/local/go/src/compress/flate/inflate.go:187 +0x3fc compress/flate.(*decompressor).readHuffman(0xc000125900, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:459 +0x56e compress/flate.(*decompressor).nextBlock(0xc000125900) /usr/local/go/src/compress/flate/inflate.go:322 +0x119 compress/flate.(*decompressor).Read(0xc000125900, 0xc000664000, 0x2000, 0x2000, 0x4000, 0x8cc1c85, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000232580, 0xc000664000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000537ee0, 0xc000664000, 0x2000, 0x2000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f200cfda5c8, 0xc000537ee0, 0xc000537ee0, 0x7f200cfda5c8, 0xc000537ee0, 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(0xc000244690, 0xc0000c70e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000244690, 0xc0000c70e0) /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 [semacquire]: sync.runtime_Semacquire(0xc00021f9d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021f9d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021f9d0, 0xc0000c70e0, 0xc0000c7140) /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 [select]: net/http.(*persistConn).writeLoop(0xc00022a7e0) /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 52 [select]: net/http.(*persistConn).readLoop(0xc00022a7e0) /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 [ OK ] level=info ts=2022-08-09T14:19:24.831Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T14:19:24.838Z 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-09T14:19:24.838Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T14:19:24.838Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T14:19:24.838Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T14:19:24.852Z 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(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, 0xc00003d800, 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(0xc000001800) /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(0x7f44315f3f18, 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, 0x7c880e72ac4f1701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aee40, 0x62f26d15, 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(0xc00029e000, 0xab76f0, 0xc0000aee40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aee40, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0000c8cd0, 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, 0xc0000c8cd0, 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 26 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8cd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [select]: 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(0x7f443160f720, 0xc0002d8320, 0xc0001b0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001778f0, 0x7f443160f720, 0xc0002d8320, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f443160f720, 0xc0002d8320, 0xc0001b0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000175830, 0x7f443160f720, 0xc0002d8320, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000404000, 0xc0001b0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001759b0, 0xab7900, 0xc000404000, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000404000, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc000404000, 0xc0001b0200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000167400, 0xab8818, 0xc0000c16c0) /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(0x7f44315f3e30, 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, 0xc000175c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108880, 0xc000175c61, 0x1, 0x1, 0xc0000bfa40, 0x0, 0x100010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc360, 0xc000175c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000175c50) /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 [runnable]: internal/poll.(*FD).SetsockoptInt(0xc000194180, 0x6, 0x5, 0xf, 0x9, 0x1) /usr/local/go/src/internal/poll/sockopt.go:12 +0x19a net.setKeepAlivePeriod(0xc000194180, 0x37e11d600, 0x0, 0x0) /usr/local/go/src/net/tcpsockopt_unix.go:18 +0x75 net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000b8058, 0xa051b5, 0x3, 0xc0003fcce0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:437 +0x674 net/http.(*Transport).dial(0xc00016eb40, 0xab87a8, 0xc0000b8058, 0xa051b5, 0x3, 0xc0003fcce0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc00016eb40, 0xab87a8, 0xc0000b8058, 0x0, 0x7ffd8d0ecef8, 0x4, 0xc0003fcce0, 0xc, 0x0, 0xc0001bd0e0, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc00016eb40, 0xc0000dd8c0) /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 57 [select]: net/http.(*Transport).getConn(0xc00016eb40, 0xc0003fa400, 0x0, 0x7ffd8d0ecef8, 0x4, 0xc0003fcce0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc00016eb40, 0xc0001b0300, 0x30, 0x9db900, 0x7f4431768000) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc00016eb40, 0xc0001b0300, 0xc00016eb40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b0300, 0xaaf4e0, 0xc00016eb40, 0x0, 0x0, 0x0, 0xc00018c1f8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001753b0, 0xc0001b0300, 0x0, 0x0, 0x0, 0xc00018c1f8, 0x0, 0x1, 0xc0001b0300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001753b0, 0xc0001b0300, 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(0xc000156960, 0xc00019e9c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000156960, 0xc00019e9c0) /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(0xc0002d08d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002d08d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002d08d0, 0xc00019e9c0, 0xc00019ea20) /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 59 [runnable]: bufio.(*Scanner).Text(...) /usr/local/go/src/bufio/scan.go:113 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 +0x32f github.com/prometheus/procfs.ProcStat.StartTime(0x2161a, 0xc0002d0920, 0xf, 0xd9c178, 0x1, 0x1, 0x21619, 0x21619, 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, 0xc00019e9c0) /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, 0xc00019e9c0) /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-09T17:19:22.817Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T17:19:22.834Z 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-09T17:19:22.834Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T17:19:22.834Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T17:19:22.834Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T17:19:22.836Z 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(0xc000224800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000224800) /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(0xc000396480) /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(0x7f0f64deaf18, 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, 0x6a31c2c1708fdd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f1b8, 0x62f29745, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f1b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc00009f1b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f1b8, 0xc0000f2000, 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(0xc0000f2000, 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 [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 26 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: compress/flate.(*compressor).initDeflate(...) /usr/local/go/src/compress/flate/deflate.go:374 compress/flate.(*compressor).init(0xc0007a2000, 0x7f0f64d31358, 0xc0000bc140, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:602 +0x629 compress/flate.NewWriter(0x7f0f64d31358, 0xc0000bc140, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000de0b0, 0xc0001da000, 0xef, 0x1000, 0x0, 0xc000095610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000ca640, 0xc0000956d0, 0xc000095620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000ca640, 0xc0000957c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000de0b0, 0xc00020d540, 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(0xc00020d540, 0xc00017ea80, 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(0x7f0f64e2a278, 0xc0000bc140, 0xc00023a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f0f64e2a278, 0xc0000bc140, 0xc00023a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0f64e2a278, 0xc0000bc140, 0xc00023a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7f0f64e2a278, 0xc0000bc140, 0xc00023a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0005d2000, 0xc00023a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0005d2000, 0xc00023a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0005d2000, 0xc00023a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0005d2000, 0xc00023a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 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 77 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f0f64deae30, 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, 0x0, 0x0, 0x0) /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 126 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f0f64dead48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0005fa198, 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(0xc0005fa180, 0xc000239000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0005fa180, 0xc000239000, 0x1000, 0x1000, 0x439c3c, 0xc000103c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8098, 0xc000239000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120360, 0xc000239000, 0x1000, 0x1000, 0xc0000f01e0, 0xc000103d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000244540) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000244540, 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 127 [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-09T20:19:13.221Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T20:19:13.379Z 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-09T20:19:13.379Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T20:19:13.379Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T20:19:13.379Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T20:19:13.381Z 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(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, 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.goexit0(0xc000001c80) /usr/local/go/src/runtime/proc.go:3478 +0x1de runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f6de1c9bf18, 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, 0xfa0e17aa83c1ad01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd38, 0x62f2c175, 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, 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(0xc0001d2000, 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 49 [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, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [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(0x7f6de1caebf8, 0xc000240910, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7f6de1caebf8, 0xc000240910, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6de1caebf8, 0xc000240910, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7f6de1caebf8, 0xc000240910, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d2380, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc0001d2380, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d2380, 0xc000216200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d2380, 0xc000216200) /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 20 [IO wait]: internal/poll.runtime_pollWait(0x7f6de1c9be30, 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, 0xc0003a2000, 0x0, 0xc000123518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2e0, 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 25 [select]: net/http.(*persistConn).readLoop(0xc00022b560) /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 22 [semacquire]: sync.runtime_Semacquire(0xc00021f898) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021f890) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021f890, 0xc0000b2240, 0xc0000b22a0) /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 26 [select]: net/http.(*persistConn).writeLoop(0xc00022b560) /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 68 [runnable]: compress/flate.(*decompressor).huffSym(0xc000177900, 0xc000177928, 0x34, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000177900) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000177900, 0xc000716000, 0x2000, 0x2000, 0x3580, 0xb6d63452, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000233600, 0xc000716000, 0x2000, 0x2000, 0x1580, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00009e080, 0xc000716000, 0x2000, 0x2000, 0x1580, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f6de1cd8028, 0xc00009e080, 0xc00009e080, 0x7f6de1cd8028, 0xc00009e080, 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(0xc0001a80f0, 0xc0000b2240, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a80f0, 0xc0000b2240) /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-09T23:19:09.687Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T23:19:09.687Z 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-09T23:19:09.687Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T23:19:09.687Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T23:19:09.688Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T23:19:09.688Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xdf8a01) /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(0xc00029a000) /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(0x7fc52d89af18, 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, 0xb150f8dbaf2e0901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d680, 0x62f2eba5, 0xc000165b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d680, 0xc000165b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f4000, 0xab76f0, 0xc00000d680, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d680, 0xc0001f4000, 0x0, 0x0, 0xaaf020, 0xc000100dc0, 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(0xc0001f4000, 0x0, 0x0, 0xaaf020, 0xc000100dc0, 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 14 [chan receive]: main.main.func1(0xaaf020, 0xc000100dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000100960, 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(0x7fc52d8b2638, 0xc000101900, 0xc0001ba700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ea540, 0x7fc52d8b2638, 0xc000101900, 0xc0001ba700) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc52d8b2638, 0xc000101900, 0xc0001ba700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cd860, 0x7fc52d8b2638, 0xc000101900, 0xc0001ba700) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f42a0, 0xc0001ba700) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cd9e0, 0xab7900, 0xc0001f42a0, 0xc0001ba700) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f42a0, 0xc0001ba700) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f4000, 0xab7900, 0xc0001f42a0, 0xc0001ba700) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b5540, 0xab8818, 0xc0001216c0) /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 65 [IO wait]: internal/poll.runtime_pollWait(0x7fc52d89ae30, 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, 0xc0001cdc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0001cdc91, 0x1, 0x1, 0xc000098480, 0x0, 0xc000121798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc0001cdc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cdc80) /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 [semacquire]: sync.runtime_Semacquire(0xc0000b58d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000b58d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b58d0, 0xc000204300, 0xc000204360) /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 81 [select]: net/http.(*persistConn).readLoop(0xc0000c0480) /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 23 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 io.ReadAll(0x7fc52d754878, 0xc000096740, 0xc000096740, 0x7fc52d754878, 0xc000096740, 0x0, 0xab26f0) /usr/local/go/src/io/io.go:631 +0x1d9 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 main.(*Exporter).collect(0xc0001a6960, 0xc000204300, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a6960, 0xc000204300) /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 82 [select]: net/http.(*persistConn).writeLoop(0xc0000c0480) /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-10T02:19:19.060Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T02:19:19.084Z 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-10T02:19:19.084Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T02:19:19.084Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T02:19:19.084Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T02:19:19.110Z 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(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, 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(0xc00020c600) /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(0x7f6bc8c91f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000234098, 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(0xc000234080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000234080, 0xe2d823a9c42be901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008b8, 0x62f315d5, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008b8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc0002008b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008b8, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc0000c8d20, 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, 0xc0000c8d20, 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(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 37 [chan receive]: main.main.func1(0xaaf020, 0xc0000c8d20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: compress/flate.(*compressor).deflate(0xc000780000) /usr/local/go/src/compress/flate/deflate.go:429 +0x251 compress/flate.(*compressor).write(0xc000780000, 0xc000128000, 0x14e, 0x1000, 0x1000, 0x25b94876, 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(0xc0002aa210, 0xc000128000, 0x14e, 0x1000, 0xc00008f610, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc000312440, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000312440, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0002aa210, 0xc0000c8ff0, 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(0xc0000c8ff0, 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(0x7f6bc8c0d278, 0xc000208690, 0xc00027e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000218a10, 0x7f6bc8c0d278, 0xc000208690, 0xc00027e100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6bc8c0d278, 0xc000208690, 0xc00027e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021e9f0, 0x7f6bc8c0d278, 0xc000208690, 0xc00027e100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a2a0, 0xc00027e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021eb70, 0xab7900, 0xc00025a2a0, 0xc00027e100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a2a0, 0xc00027e100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a2a0, 0xc00027e100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026c000, 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 9 [IO wait]: internal/poll.runtime_pollWait(0x7f6bc8c91e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000234118, 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(0xc000234100, 0xc00021ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000234100, 0xc00021ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000220098, 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 73 [IO wait]: internal/poll.runtime_pollWait(0x7f6bc8c91d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a398, 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(0xc00002a380, 0xc000686000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a380, 0xc000686000, 0x1000, 0x1000, 0x439c3c, 0xc000098c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000684000, 0xc000686000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cb7a0, 0xc000686000, 0x1000, 0x1000, 0xc000094540, 0xc000098d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00031e060) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00031e060, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cb7a0) /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 74 [select]: net/http.(*persistConn).writeLoop(0xc0000cb7a0) /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-10T05:18:18.239Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T05:18:18.242Z 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:18:18.242Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T05:18:18.242Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T05:18:18.242Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T05:18:18.243Z 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(0xc000280800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000280800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003d800, 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(0xc000001b00) /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(0x7f2fc058ff18, 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, 0x92232169d2970601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d140, 0x62f33fc9, 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, 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(0xc0001b4000, 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 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, 0xc00023e3c0) /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, 0xc000185f50, 0xc0000695f8, 0xc000069628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:597 +0x7e 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(0x7f2fc0507278, 0xc00049c320, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7f2fc0507278, 0xc00049c320, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2fc0507278, 0xc00049c320, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7f2fc0507278, 0xc00049c320, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001b4380, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001b4380, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001b4380, 0xc000214200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001b4000, 0xab7900, 0xc0001b4380, 0xc000214200) /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 51 [IO wait]: internal/poll.runtime_pollWait(0x7f2fc058fe30, 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, 0xc0000bed20, 0x0, 0xc00018e398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b8, 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 53 [semacquire]: sync.runtime_Semacquire(0xc0001f9198) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001f9190) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001f9190, 0xc0003820c0, 0xc000382120) /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]: fmt.(*readRune).ReadRune(0xc000308570, 0xa055e2, 0xa0a93c, 0xc0001eed98, 0x4fb36a) /usr/local/go/src/fmt/scan.go:330 +0x40b fmt.(*ss).ReadRune(0xc00007ad20, 0x30, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc00007ad20, 0x0) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).advance(0xc00007ad20, 0xa172c6, 0xc, 0xc0004ac118) /usr/local/go/src/fmt/scan.go:1133 +0x225 fmt.(*ss).doScanf(0xc00007ad20, 0xa172b2, 0x20, 0xc0001eefc0, 0xb, 0xb, 0x7, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc00048a880, 0xa172b2, 0x20, 0xc0001eefc0, 0xb, 0xb, 0x6, 0x9ca, 0x40) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0004ac050, 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(0xd3773, 0xc0001f91c0, 0xf, 0xd9c178, 0x1, 0x1, 0xd3772, 0xd3772, 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, 0xc0003820c0) /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, 0xc0003820c0) /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 54 [select]: net/http.(*Transport).getConn(0xc000190000, 0xc00021ec00, 0x0, 0x7ffdeca0aef8, 0x4, 0xc0001f91a0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc000190000, 0xc000214300, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc000190000, 0xc000214300, 0xc000190000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000214300, 0xaaf4e0, 0xc000190000, 0x0, 0x0, 0x0, 0xc0003fa108, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001845a0, 0xc000214300, 0x0, 0x0, 0x0, 0xc0003fa108, 0x0, 0x1, 0xc000214300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001845a0, 0xc000214300, 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, 0xc0003820c0, 0x0, 0x9691c0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000192000, 0xc0003820c0) /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 55 [runnable]: syscall.Getpeername(0x8, 0x1, 0x4, 0x0, 0x0) /usr/local/go/src/syscall/syscall_unix.go:265 +0x119 net.(*netFD).connect(0xc00026e480, 0xab87a8, 0xc0000b8058, 0x0, 0x0, 0xaaf8e0, 0xc000116920, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_unix.go:161 +0x3bd net.(*netFD).dial(0xc00026e480, 0xab87a8, 0xc0000b8058, 0xabb9b0, 0x0, 0xabb9b0, 0xc0001c6c30, 0x0, 0x7f2fc0584090, 0x20) /usr/local/go/src/net/sock_posix.go:149 +0x10b net.socket(0xab87a8, 0xc0000b8058, 0xa051b5, 0x3, 0x2, 0x1, 0x0, 0x0, 0xabb9b0, 0x0, ...) /usr/local/go/src/net/sock_posix.go:70 +0x1c5 net.internetSocket(0xab87a8, 0xc0000b8058, 0xa051b5, 0x3, 0xabb9b0, 0x0, 0xabb9b0, 0xc0001c6c30, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x145 net.(*sysDialer).doDialTCP(0xc00026e400, 0xab87a8, 0xc0000b8058, 0x0, 0xc0001c6c30, 0x0, 0x0, 0x2) /usr/local/go/src/net/tcpsock_posix.go:65 +0xc5 net.(*sysDialer).dialTCP(0xc00026e400, 0xab87a8, 0xc0000b8058, 0x0, 0xc0001c6c30, 0xc0001f91a0, 0xc0002b3768, 0x40db52) /usr/local/go/src/net/tcpsock_posix.go:61 +0xd7 net.(*sysDialer).dialSingle(0xc00026e400, 0xab87a8, 0xc0000b8058, 0xab3258, 0xc0001c6c30, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:580 +0x5e8 net.(*sysDialer).dialSerial(0xc00026e400, 0xab87a8, 0xc0000b8058, 0xc0000c2ba0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:548 +0x15e net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000b8058, 0xa051b5, 0x3, 0xc0001f91a0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:425 +0x6e5 net/http.(*Transport).dial(0xc000190000, 0xab87a8, 0xc0000b8058, 0xa051b5, 0x3, 0xc0001f91a0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc000190000, 0xab87a8, 0xc0000b8058, 0x0, 0x7ffdeca0aef8, 0x4, 0xc0001f91a0, 0xc, 0x0, 0xc0000cb680, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc000190000, 0xc0001fa370) /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-10T08:19:07.128Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T08:19:07.128Z 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-10T08:19:07.128Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T08:19:07.128Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T08:19:07.128Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T08:19:07.129Z 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(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, 0xc00003b000, 0xb) /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(0x7f8a0811df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f0098, 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(0xc0000f0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f0080, 0x70fff6257fec2a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a6b58, 0x62f36a35, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a6b58, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028e000, 0xab76f0, 0xc0000a6b58, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a6b58, 0xc00028e000, 0x0, 0x0, 0xaaf020, 0xc000136c30, 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, 0xc000136c30, 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 25 [chan receive]: main.main.func1(0xaaf020, 0xc000136c30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000136910, 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(0x7f8a0815eab8, 0xc0002fa3c0, 0xc0000b2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000d31f0, 0x7f8a0815eab8, 0xc0002fa3c0, 0xc0000b2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8a0815eab8, 0xc0002fa3c0, 0xc0000b2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b5590, 0x7f8a0815eab8, 0xc0002fa3c0, 0xc0000b2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028e2a0, 0xc0000b2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b5710, 0xab7900, 0xc00028e2a0, 0xc0000b2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028e2a0, 0xc0000b2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028e000, 0xab7900, 0xc00028e2a0, 0xc0000b2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c0aa0, 0xab8818, 0xc0000ba440) /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(0x7f8a0811de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f0118, 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(0xc0000f0100, 0xc0000b59c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f0100, 0xc0000b59c1, 0x1, 0x1, 0xc000098d20, 0x0, 0xc0000ba518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8160, 0xc0000b59c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b59b0) /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 [semacquire]: sync.runtime_Semacquire(0xc000023858) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023850) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023850, 0xc00012b440, 0xc00012b4a0) /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]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 io.ReadAll(0x7f8a07f41a88, 0xc00050f3e0, 0xc00050f3e0, 0x7f8a07f41a88, 0xc00050f3e0, 0x0, 0xab26f0) /usr/local/go/src/io/io.go:631 +0x1d9 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 main.(*Exporter).collect(0xc0000da690, 0xc00012b440, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000da690, 0xc00012b440) /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 81 [select]: net/http.(*persistConn).readLoop(0xc0001397a0) /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 82 [select]: net/http.(*persistConn).writeLoop(0xc0001397a0) /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-10T11:19:07.373Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T11:19:07.373Z 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-10T11:19:07.373Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T11:19:07.373Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T11:19:07.373Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T11:19:07.373Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000343f01) /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(0x7f4198715f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ee318, 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(0xc0000ee300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ee300, 0x31c1bf1ed9f42c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6ac8, 0x62f39465, 0xc000177b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6ac8, 0xc000177b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002aa000, 0xab76f0, 0xc0000b6ac8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6ac8, 0xc0002aa000, 0x0, 0x0, 0xaaf020, 0xc00009a3c0, 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(0xc0002aa000, 0x0, 0x0, 0xaaf020, 0xc00009a3c0, 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 4 [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 [chan receive]: main.main.func1(0xaaf020, 0xc00009a3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 32 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000120910, 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(0x7f419875abf8, 0xc000120e60, 0xc0000fc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002a8000, 0x7f419875abf8, 0xc000120e60, 0xc0000fc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f419875abf8, 0xc000120e60, 0xc0000fc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a9b30, 0x7f419875abf8, 0xc000120e60, 0xc0000fc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0005b6000, 0xc0000fc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a9cb0, 0xab7900, 0xc0005b6000, 0xc0000fc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0005b6000, 0xc0000fc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002aa000, 0xab7900, 0xc0005b6000, 0xc0000fc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000baa00, 0xab8818, 0xc0000e2540) /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 5 [IO wait]: internal/poll.runtime_pollWait(0x7f4198715e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ee398, 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(0xc0000ee380, 0xc0000a9f61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ee380, 0xc0000a9f61, 0x1, 0x1, 0xc000300180, 0x0, 0xc0000e2618) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000e0148, 0xc0000a9f61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a9f50) /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 6 [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(0x6ddac, 0xc00011d640, 0xf, 0xd9c178, 0x1, 0x1, 0x6ddab, 0x6ddab, 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(0xc000120960, 0xc0000991a0) /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(0xc000120960, 0xc0000991a0) /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 7 [semacquire]: sync.runtime_Semacquire(0xc0000c0f38) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c0f30) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c0f30, 0xc0000991a0, 0xc000099200) /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 8 [select]: net/http.(*Transport).getConn(0xc0000c8640, 0xc0000e2bc0, 0x0, 0x7fff625b0ef8, 0x4, 0xc0000c0f40, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0000c8640, 0xc0000fc400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0000c8640, 0xc0000fc400, 0xc0000c8640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000fc400, 0xaaf4e0, 0xc0000c8640, 0x0, 0x0, 0x0, 0xc000102290, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a96b0, 0xc0000fc400, 0x0, 0x0, 0x0, 0xc000102290, 0x0, 0x1, 0xc0000fc400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a96b0, 0xc0000fc400, 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(0xc0000f4870, 0xc0000991a0, 0x6, 0xc) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000f4870, 0xc0000991a0) /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 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc00011c048, 0xa051b5, 0x3, 0xc0000c0f40, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc00011c048, 0xa051b5, 0x3, 0xc0000c0f40, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc00011c048, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc0000c0f40, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc00011c048, 0xa051b5, 0x3, 0xc0000c0f40, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc0000c8640, 0xab87a8, 0xc00011c048, 0xa051b5, 0x3, 0xc0000c0f40, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc0000c8640, 0xab87a8, 0xc00011c048, 0x0, 0x7fff625b0ef8, 0x4, 0xc0000c0f40, 0xc, 0x0, 0xc000122b40, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc0000c8640, 0xc0000dcfd0) /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 10 [runnable]: syscall.Getpeername(0x9, 0xaaf8e0, 0xc0000ec340, 0x0, 0x0) /usr/local/go/src/syscall/syscall_unix.go:265 +0x119 net.(*netFD).dial(0xc00002a100, 0xab87a8, 0xc00011c048, 0xabb9f8, 0x0, 0xabb9f8, 0xc0002cce10, 0x0, 0xb, 0xc0000c0fa0) /usr/local/go/src/net/sock_posix.go:167 +0x2bc net.socket(0xab87a8, 0xc00011c048, 0xa051be, 0x3, 0x2, 0x2, 0x0, 0x0, 0xabb9f8, 0x0, ...) /usr/local/go/src/net/sock_posix.go:70 +0x1c5 net.internetSocket(0xab87a8, 0xc00011c048, 0xa051be, 0x3, 0xabb9f8, 0x0, 0xabb9f8, 0xc0002cce10, 0x2, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x145 net.(*sysDialer).dialUDP(0xc000341268, 0xab87a8, 0xc00011c048, 0x0, 0xc0002cce10, 0x203000, 0x203000, 0x0) /usr/local/go/src/net/udpsock_posix.go:98 +0xc5 net.DialUDP(0xa051be, 0x3, 0x0, 0xc0002cce10, 0x0, 0xc000341388, 0x44ec65) /usr/local/go/src/net/udpsock.go:212 +0x246 net.srcAddrs(0xc000120f00, 0x2, 0x2, 0x2, 0xc000120f00, 0x10) /usr/local/go/src/net/addrselect.go:47 +0x125 net.sortByRFC6724(0xc000120f00, 0x2, 0x2) /usr/local/go/src/net/addrselect.go:17 +0x4f net.goLookupIPFiles(0xc0000c0f40, 0x9, 0xc0000e2bc0, 0x40, 0x38) /usr/local/go/src/net/dnsclient_unix.go:553 +0x238 net.(*Resolver).goLookupIPCNAMEOrder(0xddffe0, 0xab8770, 0xc0000e2c00, 0xc0000c0f40, 0x9, 0x1, 0x7f41bf3dff18, 0x20305b, 0x7f419871a908, 0x0, ...) /usr/local/go/src/net/dnsclient_unix.go:567 +0x12dd net.(*Resolver).lookupIP(0xddffe0, 0xab8770, 0xc0000e2c00, 0xa051b5, 0x3, 0xc0000c0f40, 0x9, 0x2, 0xc000055710, 0x0, ...) /usr/local/go/src/net/lookup_unix.go:102 +0xe5 net.glob..func1(0xab8770, 0xc0000e2c00, 0xc0000a73f0, 0xa051b5, 0x3, 0xc0000c0f40, 0x9, 0xc00011c048, 0x0, 0x7fff625b0ef8, ...) /usr/local/go/src/net/hook.go:23 +0x72 net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/lookup.go:293 +0xba internal/singleflight.(*Group).doCall(0xddfff0, 0xc000120eb0, 0xc0000c0f50, 0xd, 0xc0000e2c40) /usr/local/go/src/internal/singleflight/singleflight.go:95 +0x2e created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc [ OK ] level=info ts=2022-08-10T14:19:19.357Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T14:19:19.357Z 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-10T14:19:19.357Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T14:19:19.357Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T14:19:19.357Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T14:19:19.357Z 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(0xc000380400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380400) /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, 0xc0005aff01) /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(0x7fb990657f18, 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, 0x5e0124bd6b724001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001832a8, 0x62f3be95, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001832a8, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001fa000, 0xab76f0, 0xc0001832a8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001832a8, 0xc0001fa000, 0x0, 0x0, 0xaaf020, 0xc00009ad70, 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, 0xc00009ad70, 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, 0xc00009ad70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 4 [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 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7fb9904b4ab8, 0xc0001a0a50, 0xc0004fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000187e30, 0x7fb9904b4ab8, 0xc0001a0a50, 0xc0004fe000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb9904b4ab8, 0xc0001a0a50, 0xc0004fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018f5c0, 0x7fb9904b4ab8, 0xc0001a0a50, 0xc0004fe000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fa380, 0xc0004fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018f740, 0xab7900, 0xc0001fa380, 0xc0004fe000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fa380, 0xc0004fe000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001fa000, 0xab7900, 0xc0001fa380, 0xc0004fe000) /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 46 [IO wait]: internal/poll.runtime_pollWait(0x7fb990657e30, 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, 0xc000099380, 0x0, 0xc0001b4518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c158, 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 goroutine 48 [semacquire]: sync.runtime_Semacquire(0xc00038f258) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00038f250) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00038f250, 0xc000338060, 0xc0003380c0) /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 47 [runnable]: os.newFile(0x8, 0xc0000228d0, 0xf, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc0000228d0, 0xf, 0x0, 0x0, 0x5, 0xc0000228c0, 0x6) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc0000228d0, 0xf, 0x0, 0xc000000000, 0x1, 0x1, 0xc0000228d0) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs.Proc.fileDescriptors(0xd3483, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:273 +0xe8 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(0xc00009a9b0, 0xc000338060) /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(0xc00009a9b0, 0xc000338060) /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 65 [select]: net/http.(*Transport).getConn(0xc0001ca280, 0xc0001b4d40, 0x0, 0x7ffdcddf3ef8, 0x4, 0xc00038f260, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc0001ca280, 0xc0004fe100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0001ca280, 0xc0004fe100, 0xc0001ca280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0004fe100, 0xaaf4e0, 0xc0001ca280, 0x0, 0x0, 0x0, 0xc000396138, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00018f140, 0xc0004fe100, 0x0, 0x0, 0x0, 0xc000396138, 0x0, 0x1, 0xc0004fe100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00018f140, 0xc0004fe100, 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(0xc0001cc690, 0xc000338060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001cc690, 0xc000338060) /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 66 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc00038f260, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc00038f260, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000c0058, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc00038f260, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc00038f260, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc0001ca280, 0xab87a8, 0xc0000c0058, 0xa051b5, 0x3, 0xc00038f260, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc0001ca280, 0xab87a8, 0xc0000c0058, 0x0, 0x7ffdcddf3ef8, 0x4, 0xc00038f260, 0xc, 0x0, 0xc0001bd560, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc0001ca280, 0xc000334370) /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 67 [runnable]: net.DialUDP(0xa051be, 0x3, 0x0, 0xc0003905d0, 0xc000396150, 0x0, 0x0) /usr/local/go/src/net/udpsock.go:202 +0x5cb net.srcAddrs(0xc00020abe0, 0x2, 0x2, 0x28, 0xc00020abe0, 0x10) /usr/local/go/src/net/addrselect.go:47 +0x125 net.sortByRFC6724(0xc00020abe0, 0x2, 0x2) /usr/local/go/src/net/addrselect.go:17 +0x4f net.goLookupIPFiles(0xc00038f260, 0x9, 0xc0001b4d40, 0x40, 0x38) /usr/local/go/src/net/dnsclient_unix.go:553 +0x238 net.(*Resolver).goLookupIPCNAMEOrder(0xddffe0, 0xab8770, 0xc0001b4d80, 0xc00038f260, 0x9, 0x1, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dnsclient_unix.go:567 +0x12dd net.(*Resolver).lookupIP(0xddffe0, 0xab8770, 0xc0001b4d80, 0xa051b5, 0x3, 0xc00038f260, 0x9, 0x2, 0x0, 0x0, ...) /usr/local/go/src/net/lookup_unix.go:102 +0xe5 net.glob..func1(0xab8770, 0xc0001b4d80, 0xc000312910, 0xa051b5, 0x3, 0xc00038f260, 0x9, 0xc0000c0058, 0x0, 0x7ffdcddf3ef8, ...) /usr/local/go/src/net/hook.go:23 +0x72 net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/lookup.go:293 +0xba internal/singleflight.(*Group).doCall(0xddfff0, 0xc0001a0aa0, 0xc00038f270, 0xd, 0xc0001b4dc0) /usr/local/go/src/internal/singleflight/singleflight.go:95 +0x2e created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc [ OK ] level=info ts=2022-08-10T17:19:08.647Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T17:19:08.647Z 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-10T17:19:08.647Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T17:19:08.647Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T17:19:08.647Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T17:19:08.648Z 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(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(0x0, 0xc00002e800, 0xb) /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 52 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0xc0001e7c58) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc0001e7c00 sp=0xc0001e7bd0 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc0001e7c28 sp=0xc0001e7c00 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0xc000000000) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc0001e7ca0 sp=0xc0001e7c28 pc=0x41c30a runtime.mallocgc(0x1018, 0x9be240, 0x7fae1ef49c01, 0x3f) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc0001e7d28 sp=0xc0001e7ca0 pc=0x40da55 runtime.makeslice(0x9be240, 0x203, 0x203, 0xc0001cdb90) /usr/local/go/src/runtime/slice.go:98 +0x6c fp=0xc0001e7d58 sp=0xc0001e7d28 pc=0x44ea2c runtime/debug.ReadGCStats(0xc0001cdb90) /usr/local/go/src/runtime/debug/garbage.go:39 +0x647 fp=0xc0001e7e28 sp=0xc0001e7d58 pc=0x7eb387 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc000104f60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f fp=0xc0001e7f20 sp=0xc0001e7e28 pc=0x801c3f 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=0xc0001e7fe0 sp=0xc0001e7f20 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0001e7fe8 sp=0xc0001e7fe0 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(0x7fae1ef47018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f0098, 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(0xc0000f0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f0080, 0xe6ea3c0bcc964301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b6900, 0x62f3e8c5, 0xc000177b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b6900, 0xc000177b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc0000b6900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b6900, 0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc000212410, 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, 0xc000212410, 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, 0xc000212410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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 27 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000120910, 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(0x7fae1ef823b8, 0xc000213040, 0xc0001ce300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000cea10, 0x7fae1ef823b8, 0xc000213040, 0xc0001ce300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fae1ef823b8, 0xc000213040, 0xc0001ce300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a8b40, 0x7fae1ef823b8, 0xc000213040, 0xc0001ce300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f21c0, 0xc0001ce300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a8cc0, 0xab7900, 0xc0000f21c0, 0xc0001ce300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f21c0, 0xc0001ce300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f21c0, 0xc0001ce300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000ba140, 0xab8818, 0xc0000d62c0) /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 9 [IO wait]: internal/poll.runtime_pollWait(0x7fae1ef46f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f0118, 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(0xc0000f0100, 0xc0000a8f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f0100, 0xc0000a8f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d0098, 0xc0000a8f71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a8f60) /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 10 [semacquire]: io.LimitReader(...) /usr/local/go/src/io/io.go:455 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000d2198, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:36 +0xbb github.com/prometheus/procfs.Proc.Stat(0x2ce30, 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(0xc000120960, 0xc000104f60) /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(0xc000120960, 0xc000104f60) /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 11 [semacquire]: sync.runtime_Semacquire(0xc000022ad8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022ad0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022ad0, 0xc000104f60, 0xc000104fc0) /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 12 [semacquire]: net/http.(*Transport).getConn(0xc0000d8000, 0xc0003860c0, 0x0, 0x7ffedae75ef8, 0x4, 0xc000022ae0, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1332 +0x165 net/http.(*Transport).roundTrip(0xc0000d8000, 0xc00039a000, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0000d8000, 0xc00039a000, 0xc0000d8000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00039a000, 0xaaf4e0, 0xc0000d8000, 0x0, 0x0, 0x0, 0xc00000e2c0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a86c0, 0xc00039a000, 0x0, 0x0, 0x0, 0xc00000e2c0, 0x0, 0x1, 0xc00039a000) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a86c0, 0xc00039a000, 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(0xc0000da000, 0xc000104f60, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000da000, 0xc000104f60) /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 53 [semacquire]: runtime.ReadMemStats(0xc000209800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000209800, 0xc00009c3c0) /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-10T20:19:06.276Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T20:19:06.277Z 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-10T20:19:06.277Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T20:19:06.277Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T20:19:06.277Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T20:19:06.277Z 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(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, 0xc00003b000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000343f01) /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(0x7f8561ff5f18, 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, 0x381bfd10ec975601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc48, 0x62f412f5, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc48, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000306000, 0xab76f0, 0xc00000cc48, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc48, 0xc000306000, 0x0, 0x0, 0xaaf020, 0xc0001303c0, 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(0xc000306000, 0x0, 0x0, 0xaaf020, 0xc0001303c0, 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 11 [chan receive]: main.main.func1(0xaaf020, 0xc0001303c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000094960, 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(0x7f8561fb4438, 0xc0002323c0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001727e0, 0x7f8561fb4438, 0xc0002323c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8561fb4438, 0xc0002323c0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001745a0, 0x7f8561fb4438, 0xc0002323c0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000306380, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000174720, 0xab7900, 0xc000306380, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000306380, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000306000, 0xab7900, 0xc000306380, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000214a0, 0xab8818, 0xc00011a6c0) /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(0x7f8561ff5e30, 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, 0xc0001749d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc0001749d1, 0x1, 0x1, 0xc000102960, 0x0, 0xc00011a798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e208, 0xc0001749d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001749c0) /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 [semacquire]: sync.runtime_Semacquire(0xc0004aa538) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0004aa530) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0004aa530, 0xc0001033e0, 0xc000103440) /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 38 [runnable]: net/http.(*gzipReader).Read(0xc0004bd7c0, 0xc000612000, 0x6000, 0x6000, 0x12001, 0xc000600000, 0x12000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f8561f6e078, 0xc0004bd7c0, 0xc0004bd7c0, 0x7f8561f6e078, 0xc0004bd7c0, 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(0xc000134f00, 0xc0001033e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000134f00, 0xc0001033e0) /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 [select]: net/http.(*persistConn).readLoop(0xc0000cb440) /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 66 [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-10T21:41:19.830Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T21:41:19.830Z 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:41:19.830Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T21:41:19.830Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T21:41:19.831Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T21:41:19.831Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" 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(0xc000612000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000612000) /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, 0xc000367f01) /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(0x7f75dd40ff18, 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, 0xb4a6627d35a4b601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc48, 0x62f42613, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc48, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc00000cc48, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc48, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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(0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc00022e3c0, 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 9 [chan receive]: main.main.func1(0xaaf020, 0xc00022e3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 65 [select]: net/http.(*persistConn).readLoop(0xc0000af7a0) /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 24 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7f75dd41f1b8, 0xc000128460, 0xc0001d8400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00026a7e0, 0x7f75dd41f1b8, 0xc000128460, 0xc0001d8400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f75dd41f1b8, 0xc000128460, 0xc0001d8400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00026c5a0, 0x7f75dd41f1b8, 0xc000128460, 0xc0001d8400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e1c0, 0xc0001d8400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00026c720, 0xab7900, 0xc00027e1c0, 0xc0001d8400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e1c0, 0xc0001d8400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e1c0, 0xc0001d8400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001d4960, 0xab8818, 0xc0000a1180) /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(0x7f75dd40fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8598, 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(0xc0000f8580, 0xc0000a9de1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f8580, 0xc0000a9de1, 0x1, 0x1, 0xc000201440, 0x0, 0xc0000a1258) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00009e220, 0xc0000a9de1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a9dd0) /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 14 [runnable]: net/http.(*gzipReader).Read(0xc00058e020, 0xc00060e000, 0x4000, 0x4000, 0xe001, 0xc000600000, 0xe000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f75dd3c8b98, 0xc00058e020, 0xc00058e020, 0x7f75dd3c8b98, 0xc00058e020, 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(0xc000232f00, 0xc000099320, 0x0, 0x4) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000232f00, 0xc000099320) /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 15 [semacquire]: sync.runtime_Semacquire(0xc0002fc548) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002fc540) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002fc540, 0xc000099320, 0xc000099380) /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 66 [select]: net/http.(*persistConn).writeLoop(0xc0000af7a0) /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:19:08.272Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T23:19:08.272Z 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:19:08.272Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T23:19:08.272Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T23:19:08.272Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T23:19:08.272Z 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(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, 0xc00003d800, 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(0xc000083200) /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(0x7fd38328bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214398, 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(0xc000214380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000214380, 0xc61a24c0ea018e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000203248, 0x62f43d0b, 0xc000165b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000203248, 0xc000165b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc000203248, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000203248, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002202d0, 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, 0xc0002202d0, 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 [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 41 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc0002202d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000100960, 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(0x7fd38324f4b8, 0xc0000a2050, 0xc000260000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000250c40, 0x7fd38324f4b8, 0xc0000a2050, 0xc000260000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd38324f4b8, 0xc0000a2050, 0xc000260000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020fa10, 0x7fd38324f4b8, 0xc0000a2050, 0xc000260000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002961c0, 0xc000260000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020fb90, 0xab7900, 0xc0002961c0, 0xc000260000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002961c0, 0xc000260000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc0002961c0, 0xc000260000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000226960, 0xab8818, 0xc00024a540) /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 58 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fd38328be30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214418, 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(0xc000214400, 0xc00020fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214400, 0xc00020fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c160, 0xc00020fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020fe30) /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 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000b6028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000b6020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b6020, 0xc0000980c0, 0xc000098120) /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 61 [runnable]: net/http.(*gzipReader).Read(0xc00009c040, 0xc000452000, 0x6000, 0x6000, 0x18001, 0xc00043a000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fd38329a1b8, 0xc00009c040, 0xc00009c040, 0x7fd38329a1b8, 0xc00009c040, 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(0xc000258870, 0xc0000980c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000258870, 0xc0000980c0) /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 64 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc000126360) /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 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000126360) /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:59:34.166Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T23:59:34.167Z 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:59:34.167Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T23:59:34.167Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T23:59:34.167Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T23:59:34.167Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" 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(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(0x0, 0xc000031000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc000031000, 0xc000031000) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc000031000) /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 32 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0xc000055401) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc000055400 sp=0xc0000553d0 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc000055428 sp=0xc000055400 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0xc000000000) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc0000554a0 sp=0xc000055428 pc=0x41c30a runtime.mallocgc(0x1018, 0x9be240, 0xc000055601, 0x10) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc000055528 sp=0xc0000554a0 pc=0x40da55 runtime.makeslice(0x9be240, 0x203, 0x203, 0xc00042e2a0) /usr/local/go/src/runtime/slice.go:98 +0x6c fp=0xc000055558 sp=0xc000055528 pc=0x44ea2c runtime/debug.ReadGCStats(0xc00042e2a0) /usr/local/go/src/runtime/debug/garbage.go:39 +0x647 fp=0xc000055628 sp=0xc000055558 pc=0x7eb387 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000214000, 0xc00009c720) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f fp=0xc000055720 sp=0xc000055628 pc=0x801c3f 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=0xc0000557e0 sp=0xc000055720 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0000557e8 sp=0xc0000557e0 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(0x7f72eb63cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214118, 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(0xc000214100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000214100, 0x448fc1dcaa999701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000203140, 0x62f446a7, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000203140, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc000203140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000203140, 0xc00025a000, 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(0xc00025a000, 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 35 [semacquire]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0000b7dd0, 0xc00009b5f8, 0xc00009b628, 0x0, 0x1, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:597 +0x7e 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(0x7f72eb67a8f8, 0xc0000dc820, 0xc0000b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000207650, 0x7f72eb67a8f8, 0xc0000dc820, 0xc0000b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f72eb67a8f8, 0xc0000dc820, 0xc0000b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020ea20, 0x7f72eb67a8f8, 0xc0000dc820, 0xc0000b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025a0e0, 0xc0000b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020eba0, 0xab7900, 0xc00025a0e0, 0xc0000b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025a0e0, 0xc0000b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc00025a0e0, 0xc0000b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c4aa0, 0xab8818, 0xc0000be180) /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 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, 0xc00007cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f72eb63ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ee018, 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(0xc0000ee000, 0xc0000b6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ee000, 0xc0000b6c71, 0x1, 0x1, 0xc00009c5a0, 0x0, 0xc0000be258) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000ac0c0, 0xc0000b6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b6c60) /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 [semacquire]: sync.runtime_Semacquire(0xc0000bb328) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000bb320) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000bb320, 0xc00009c720, 0xc00009c780) /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 [semacquire]: io.ReadAll(0xaaf2e0, 0xc00000c780, 0x0, 0x0, 0xc00000e408, 0x0, 0x0) /usr/local/go/src/io/io.go:631 +0x1d9 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000023cf0, 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(0xe5d6f, 0xc000023ca0, 0xf, 0xd9c178, 0x1, 0x1, 0xe5d6e, 0xe5d6e, 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, 0xc00009c720) /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, 0xc00009c720) /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 53 [select]: net/http.(*Transport).getConn(0xc000234000, 0xc000232a40, 0x0, 0x7ffc3528cef8, 0x4, 0xc0000bb330, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc000234000, 0xc0000b4400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc000234000, 0xc0000b4400, 0xc000234000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000b4400, 0xaaf4e0, 0xc000234000, 0x0, 0x0, 0x0, 0xc00020c1e8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00020e5a0, 0xc0000b4400, 0x0, 0x0, 0x0, 0xc00020c1e8, 0x0, 0x1, 0xc0000b4400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00020e5a0, 0xc0000b4400, 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(0xc000236000, 0xc00009c720, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000236000, 0xc00009c720) /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 54 [runnable]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc0000bb330, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc0000bb330, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc0000220b0, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc0000bb330, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc0000bb330, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc000234000, 0xab87a8, 0xc0000220b0, 0xa051b5, 0x3, 0xc0000bb330, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc000234000, 0xab87a8, 0xc0000220b0, 0x0, 0x7ffc3528cef8, 0x4, 0xc0000bb330, 0xc, 0x0, 0xc0000c7200, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc000234000, 0xc000312370) /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 65 [semacquire]: runtime.ReadMemStats(0xc00029f800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000214000, 0xc00029f800, 0xc00007e5a0) /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-11T02:19:10.440Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T02:19:10.441Z 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-11T02:19:10.441Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T02:19:10.441Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T02:19:10.441Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T02:19:10.471Z 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(0xc00026c400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00026c400) /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, 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(0x7f3622edbf18, 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, 0x11933ea5bd539e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020aa20, 0x62f4673b, 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, 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(0xc000288000, 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 39 [chan receive]: main.main.func1(0xaaf020, 0xc00020e280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000104960, 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(0x7f3622e9b3b8, 0xc000312410, 0xc00025c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000286000, 0x7f3622e9b3b8, 0xc000312410, 0xc00025c300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3622e9b3b8, 0xc000312410, 0xc00025c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002119e0, 0x7f3622e9b3b8, 0xc000312410, 0xc00025c300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002882a0, 0xc00025c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000211b60, 0xab7900, 0xc0002882a0, 0xc00025c300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002882a0, 0xc00025c300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002882a0, 0xc00025c300) /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 10 [IO wait]: internal/poll.runtime_pollWait(0x7f3622edbe30, 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, 0xc0000b2180, 0x0, 0xc00023e618) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c150, 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 12 [semacquire]: sync.runtime_Semacquire(0xc000474618) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000474610) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000474610, 0xc0001032c0, 0xc000103320) /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 [runnable]: net/http.(*gzipReader).Read(0xc000487e20, 0xc00063a000, 0x6000, 0x6000, 0x12001, 0xc000628000, 0x12000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f3622eea208, 0xc000487e20, 0xc000487e20, 0x7f3622eea208, 0xc000487e20, 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(0xc000252870, 0xc0001032c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000252870, 0xc0001032c0) /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 [select]: net/http.(*persistConn).readLoop(0xc00025b7a0) /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 25 [select]: net/http.(*persistConn).writeLoop(0xc00025b7a0) /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-11T05:15:32.370Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T05:15:32.371Z 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:15:32.371Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T05:15:32.372Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T05:15:32.372Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T05:15:32.373Z 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(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, 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(0xc000212480) /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(0x7f309d885f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000234098, 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(0xc000234080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000234080, 0x8f7f80d9ad534301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002088e8, 0x62f4907b, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002088e8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc0002088e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002088e8, 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 23 [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(0x7f309d6e5378, 0xc000412780, 0xc000272400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021ea10, 0x7f309d6e5378, 0xc000412780, 0xc000272400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f309d6e5378, 0xc000412780, 0xc000272400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002269f0, 0x7f309d6e5378, 0xc000412780, 0xc000272400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fe1c0, 0xc000272400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000226b70, 0xab7900, 0xc0001fe1c0, 0xc000272400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fe1c0, 0xc000272400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0001fe1c0, 0xc000272400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc00022c2c0) /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 54 [IO wait]: internal/poll.runtime_pollWait(0x7f309d885e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000234118, 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(0xc000234100, 0xc000226e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000234100, 0xc000226e21, 0x1, 0x1, 0xc00007b860, 0x0, 0xc00022c398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a0b0, 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 goroutine 56 [semacquire]: sync.runtime_Semacquire(0xc00040faa8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00040faa0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00040faa0, 0xc000201080, 0xc0002010e0) /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 57 [runnable]: net/http.(*gzipReader).Read(0xc00001f0a0, 0xc0003d6000, 0x4000, 0x4000, 0xe001, 0xc0003c8000, 0xe000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f309d6a50b8, 0xc00001f0a0, 0xc00001f0a0, 0x7f309d6a50b8, 0xc00001f0a0, 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(0xc000230000, 0xc000201080, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000230000, 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 37 [select]: net/http.(*persistConn).writeLoop(0xc000244480) /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 36 [select]: net/http.(*persistConn).readLoop(0xc000244480) /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 [ OK ] level=info ts=2022-08-11T05:19:09.356Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T05:19:09.357Z 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:19:09.357Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T05:19:09.357Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T05:19:09.357Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T05:19:09.357Z 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(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, 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.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(0x7fc182f5df18, 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, 0xe496d35729c24501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000183110, 0x62f4916b, 0xc00010db48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000183110, 0xc00010db98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc000183110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000183110, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc00009acd0, 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, 0xc00009acd0, 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(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 39 [chan receive]: main.main.func1(0xaaf020, 0xc00009acd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009a960, 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(0x7fc182f76578, 0xc00022e730, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000187650, 0x7fc182f76578, 0xc00022e730, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc182f76578, 0xc00022e730, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018ea20, 0x7fc182f76578, 0xc00022e730, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e21c0, 0xc000214200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018eba0, 0xab7900, 0xc0001e21c0, 0xc000214200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e21c0, 0xc000214200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e21c0, 0xc000214200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001f4000, 0xab8818, 0xc0000c7440) /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(0x7fc182f5de30, 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, 0xc000170f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000194180, 0xc000170f11, 0x1, 0x1, 0xc000200420, 0x0, 0xc0000c7518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c0a8, 0xc000170f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000170f00) /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 48 [semacquire]: sync.runtime_Semacquire(0xc000023b28) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023b20) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023b20, 0xc00019ea80, 0xc00019eae0) /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 [select]: net/http.(*persistConn).readLoop(0xc0000cd0e0) /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 49 [runnable]: net/http.(*gzipReader).Read(0xc000096f40, 0xc000730000, 0x6000, 0x6000, 0x18001, 0xc000718000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fc182cf48b8, 0xc000096f40, 0xc000096f40, 0x7fc182cf48b8, 0xc000096f40, 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(0xc0001b6000, 0xc00019ea80, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001b6000, 0xc00019ea80) /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 54 [select]: net/http.(*persistConn).writeLoop(0xc0000cd0e0) /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-11T08:19:09.451Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T08:19:09.452Z 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-11T08:19:09.452Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T08:19:09.452Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T08:19:09.452Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T08:19:09.452Z caller=tls_config.go:195 msg="TLS is disabled." http2=false [ OK ] level=info ts=2022-08-15T14:19:09.259Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T14:19:09.265Z 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-15T14:19:09.265Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T14:19:09.265Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T14:19:09.265Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T14:19:09.275Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 15 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(0xc00022f800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00022f800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000042800, 0xe) /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(0xc0002f0780) /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, 87 minutes]: internal/poll.runtime_pollWait(0x7f8b3fdbcf18, 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, 0x2105acbb91ce8201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f488, 0x62fa55fb, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f488, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b4000, 0xab76f0, 0xc00009f488, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f488, 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 34 [syscall, 87 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, 87 minutes]: main.main.func1(0xaaf020, 0xc0000bc4b0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: hash/crc32.Update(0x7f8b00000000, 0xc000138000, 0xc0002ae000, 0xef, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc0006fce70, 0xc0002ae000, 0xef, 0x1000, 0x0, 0xc000095610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc000312880, 0xc0000956d0, 0xc000095620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000312880, 0xc0000957c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0006fce70, 0xc000222500, 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(0xc000222500, 0xc00009e9a8, 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(0x7f8b3fe03538, 0xc0002ee410, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000289420, 0x7f8b3fe03538, 0xc0002ee410, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8b3fe03538, 0xc0002ee410, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a25d0, 0x7f8b3fe03538, 0xc0002ee410, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027c0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a2750, 0xab7900, 0xc00027c0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027c0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b4000, 0xab7900, 0xc00027c0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d7400, 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 980 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000d8000) /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 956 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f8b3fdbce30, 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, 0xc0002a2a01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0400, 0xc0002a2a01, 0x1, 0x1, 0x9, 0xc0002ea4e0, 0xde4d60) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8210, 0xc0002a2a01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002a29f0) /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 979 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f8b3fdbcd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0498, 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(0xc0000b0480, 0xc000405000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0480, 0xc000405000, 0x1000, 0x1000, 0x439c3c, 0xc00022cc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a018, 0xc000405000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d8000, 0xc000405000, 0x1000, 0x1000, 0xc0002060c0, 0xc00022cd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002ea7e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002ea7e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d8000) /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-15T17:19:22.530Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T17:19:22.530Z 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-15T17:19:22.530Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T17:19:22.530Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T17:19:22.530Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T17:19:22.531Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 14 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, 0xc000040000, 0xd) /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(0xc00020cf00) /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, 25 minutes]: internal/poll.runtime_pollWait(0x7f930f23af18, 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, 0x96b94b7358d00d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f338, 0x62fa802b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f338, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc00009f338, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f338, 0xc00028c000, 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(0xc00028c000, 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 22 [chan receive, 25 minutes]: main.main.func1(0xaaf020, 0xc00007cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 36 [syscall, 25 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 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc0006ce000, 0x7f930f24ab80, 0xc000286050, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f930f24ab80, 0xc000286050, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0001f62c0, 0xc0002fe000, 0xee, 0x1000, 0x0, 0xc00009b610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000250800, 0xc00009b6d0, 0xc00009b620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000250800, 0xc00009b7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0001f62c0, 0xc0003924b0, 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(0xc0003924b0, 0xc00027eb10, 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(0x7f930f27fcb8, 0xc000286050, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a3e30, 0x7f930f27fcb8, 0xc000286050, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f930f27fcb8, 0xc000286050, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000ab5c0, 0x7f930f27fcb8, 0xc000286050, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fe0e0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000ab740, 0xab7900, 0xc0000fe0e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fe0e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc0000fe0e0, 0xc0000cc200) /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 312 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000d8000) /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 311 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f930f23ac60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a298, 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(0xc00002a280, 0xc0001c2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a280, 0xc0001c2000, 0x1000, 0x1000, 0x439c3c, 0xc0001f1c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8018, 0xc0001c2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d8000, 0xc0001c2000, 0x1000, 0x1000, 0xc00028a0c0, 0xc0001f1d40, 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(0xc0000d8000) /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 329 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f930f23ae30, 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, 0xc000204120, 0x0, 0xc0000d0518) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8168, 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