/
var
/
log
/
Upload File
HOME
[ OK ] level=info ts=2022-08-02T14:52:25.066Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T14:52:25.066Z 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:52:25.066Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T14:52:25.066Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T14:52:25.066Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=error ts=2022-08-02T14:52:25.067Z caller=apache_exporter.go:636 msg="Listening error" reason="listen tcp :9117: bind: address already in use" [ OK ] level=info ts=2022-08-02T15:17:02.586Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T15:17:02.588Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T15:17:02.588Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T15:17:02.588Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T15:17:02.589Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T15:17:02.589Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 16 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, 0xc000045000, 0xf) /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(0xc00008bb00) /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(0x7fa84c8bbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f6098, 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(0xc0000f6080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f6080, 0x552c31e5c207e501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aab58, 0x62e93fef, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aab58, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000396000, 0xab76f0, 0xc0000aab58, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aab58, 0xc000396000, 0x0, 0x0, 0xaaf020, 0xc0003221e0, 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(0xc000396000, 0x0, 0x0, 0xaaf020, 0xc0003221e0, 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, 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 23 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc0003221e0) /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(0x7fa84c8fcab8, 0xc00007c0f0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000d71f0, 0x7fa84c8fcab8, 0xc00007c0f0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa84c8fcab8, 0xc00007c0f0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b7590, 0x7fa84c8fcab8, 0xc00007c0f0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003962a0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b7710, 0xab7900, 0xc0003962a0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003962a0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000396000, 0xab7900, 0xc0003962a0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c4aa0, 0xab8818, 0xc0000be440) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fa84c8bbd48, 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, 0xc000196000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a280, 0xc000196000, 0x1000, 0x1000, 0x439c3c, 0xc0003afc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00029a070, 0xc000196000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000c6240, 0xc000196000, 0x1000, 0x1000, 0xc0003643c0, 0xc0003afd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000290360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000290360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000c6240) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 69 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fa84c8bbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f6118, 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(0xc0000f6100, 0xc0000b79c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f6100, 0xc0000b79c1, 0x1, 0x1, 0xe0f860, 0xa32700, 0x1000000010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000b0158, 0xc0000b79c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b79b0) /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 70 [runnable]: strings.genSplit(0xc0006e4000, 0x5e5dd, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000108d20, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000e0690, 0xc00009c0c0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000e0690, 0xc00009c0c0) /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 71 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000022248) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022240) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022240, 0xc00009c0c0, 0xc00009c360) /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 131 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000c6240) /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-02T15:59:17.187Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T15:59:17.188Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T15:59:17.188Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T15:59:17.188Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T15:59:17.189Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-02T15:59:17.188Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" 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(0xc00022e400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00022e400) /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, 0xc0002adf01) /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(0xc0002f6a80) /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, 16 minutes]: internal/poll.runtime_pollWait(0x7f22a6d76f18, 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, 0x16d225530e000c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc30, 0x62e94a03, 0xc000189b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc30, 0xc000189b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000282000, 0xab76f0, 0xc00000cc30, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc30, 0xc000282000, 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(0xc000282000, 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 35 [syscall, 16 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive, 16 minutes]: main.main.func1(0xaaf020, 0xc00007c3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 36 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000b2910, 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(0x7f22a6cf2c78, 0xc0000b20a0, 0xc0002e8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001707e0, 0x7f22a6cf2c78, 0xc0000b20a0, 0xc0002e8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f22a6cf2c78, 0xc0000b20a0, 0xc0002e8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001726f0, 0x7f22a6cf2c78, 0xc0000b20a0, 0xc0002e8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002821c0, 0xc0002e8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000172870, 0xab7900, 0xc0002821c0, 0xc0002e8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002821c0, 0xc0002e8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000282000, 0xab7900, 0xc0002821c0, 0xc0002e8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00022c000, 0xab8818, 0xc0001246c0) /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 224 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000220d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000220d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000220d0, 0xc00030a240, 0xc00030a2a0) /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 232 [select]: net/http.(*persistConn).writeLoop(0xc0000b4360) /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 231 [select]: net/http.(*persistConn).readLoop(0xc0000b4360) /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 223 [runnable]: bufio.(*Reader).ReadByte(0xc0002401e0, 0xc0001029a1, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:247 +0xd5 compress/flate.(*decompressor).huffSym(0xc00011c000, 0xc00011c028, 0x62, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc00011c000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc00011c000, 0xc000562000, 0x10000, 0x10000, 0x14000, 0x48b70a79, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0000c6840, 0xc000562000, 0x10000, 0x10000, 0x4000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000208020, 0xc000562000, 0x10000, 0x10000, 0x4000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f22a6d2f028, 0xc000208020, 0xc000208020, 0x7f22a6d2f028, 0xc000208020, 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(0xc00013cf00, 0xc00030a240, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00013cf00, 0xc00030a240) /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 222 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f22a6d76e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228018, 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(0xc000228000, 0xc000172a91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000228000, 0xc000172a91, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc0001a17a8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00022a000, 0xc000172a91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000172a80) /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-02T18:17:09.577Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T18:17:09.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-02T18:17:09.577Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T18:17:09.577Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T18:17:09.577Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T18:17:09.578Z 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(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, 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(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, 3 minutes]: internal/poll.runtime_pollWait(0x7f93d2d0df18, 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, 0xf1bdb40cc9c9be01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cb10, 0x62e96a5b, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cb10, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00024e000, 0xab76f0, 0xc00000cb10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cb10, 0xc00024e000, 0x0, 0x0, 0xaaf020, 0xc00018c320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00024e000, 0x0, 0x0, 0xaaf020, 0xc00018c320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc00018c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 21 [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 12 [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(0x7f93d2b26ab8, 0xc00007c0a0, 0xc00016a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002271f0, 0x7f93d2b26ab8, 0xc00007c0a0, 0xc00016a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f93d2b26ab8, 0xc00007c0a0, 0xc00016a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000213590, 0x7f93d2b26ab8, 0xc00007c0a0, 0xc00016a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00024e1c0, 0xc00016a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000213710, 0xab7900, 0xc00024e1c0, 0xc00016a100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00024e1c0, 0xc00016a100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00024e000, 0xab7900, 0xc00024e1c0, 0xc00016a100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020b40, 0xab8818, 0xc000214440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7f93d2d0de30, 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, 0xc0002139c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a180, 0xc0002139c1, 0x1, 0x1, 0x0, 0x0, 0x100000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e168, 0xc0002139c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002139b0) /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 [runnable]: net/http.(*gzipReader).Read(0xc00001e280, 0xc000588000, 0xa000, 0xa000, 0x26001, 0xc000562000, 0x26000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f93d2b29b78, 0xc00001e280, 0xc00001e280, 0x7f93d2b29b78, 0xc00001e280, 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(0xc00022c690, 0xc0000c6180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00022c690, 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 44 [semacquire]: sync.runtime_Semacquire(0xc000310028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000310020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000310020, 0xc0000c6180, 0xc0000c62a0) /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 100 [select]: 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]: 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 [ OK ] level=info ts=2022-08-02T20:30:20.424Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T20:30:20.425Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T20:30:20.425Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T20:30:20.425Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T20:30:20.425Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T20:30:20.426Z 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(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, 0xc000042800, 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(0xc00031c600) /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, 13 minutes]: internal/poll.runtime_pollWait(0x7f01a75cff18, 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, 0x5643aff03db4b701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b7548, 0x62e98987, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b7548, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000388000, 0xab76f0, 0xc0000b7548, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b7548, 0xc000388000, 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(0xc000388000, 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 7 [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 24 [chan receive, 13 minutes]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(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(0x7f01a75e6cf8, 0xc0000d0280, 0xc00016c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000174f50, 0x7f01a75e6cf8, 0xc0000d0280, 0xc00016c000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f01a75e6cf8, 0xc0000d0280, 0xc00016c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017c870, 0x7f01a75e6cf8, 0xc0000d0280, 0xc00016c000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003881c0, 0xc00016c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017c9f0, 0xab7900, 0xc0003881c0, 0xc00016c000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003881c0, 0xc00016c000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000388000, 0xab7900, 0xc0003881c0, 0xc00016c000) /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 225 [select]: net/http.(*persistConn).readLoop(0xc000226360) /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 226 [select]: net/http.(*persistConn).writeLoop(0xc000226360) /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 214 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f01a75cfe30, 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, 0xc0003082a0, 0x0, 0x100010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42c8, 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 216 [semacquire]: sync.runtime_Semacquire(0xc000022318) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022310) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022310, 0xc00007a1e0, 0xc00007a300) /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 217 [runnable]: compress/flate.(*decompressor).huffmanBlock(0xc00010c000) /usr/local/go/src/compress/flate/inflate.go:495 +0xed compress/flate.(*decompressor).Read(0xc00010c000, 0xc000590000, 0x8000, 0x8000, 0x10000, 0x7f91ee9d, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00022e2c0, 0xc000590000, 0x8000, 0x8000, 0x8000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00021a060, 0xc000590000, 0x8000, 0x8000, 0x8000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f01a73c3dc8, 0xc00021a060, 0xc00021a060, 0x7f01a73c3dc8, 0xc00021a060, 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, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001580f0, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-02T21:17:06.466Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T21:17:06.467Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T21:17:06.467Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T21:17:06.467Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T21:17:06.468Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-02T21:17:06.467Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" 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(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, 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(0xc000103080) /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(0x7f10d37eef18, 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, 0x718f26b70f9c6801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d140, 0x62e9948b, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d140, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000234000, 0xab76f0, 0xc00000d140, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d140, 0xc000234000, 0x0, 0x0, 0xaaf020, 0xc0002c03c0, 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, 0xc0002c03c0, 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, 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 11 [chan receive, 6 minutes]: main.main.func1(0xaaf020, 0xc0002c03c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: compress/flate.(*compressor).fillDeflate(0xc000528000, 0xc000247000, 0x90, 0x1000, 0xc0e3b9491d) /usr/local/go/src/compress/flate/deflate.go:123 +0x245 compress/flate.(*compressor).write(0xc000528000, 0xc000247000, 0x90, 0x1000, 0x1000, 0xe3b9491d, 0x7) /usr/local/go/src/compress/flate/deflate.go:555 +0xb5 compress/flate.(*Writer).Write(...) /usr/local/go/src/compress/flate/deflate.go:712 compress/gzip.(*Writer).Write(0xc0002e0160, 0xc000247000, 0x90, 0x1000, 0xc000069610, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc0000ae700, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000ae700, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0002e0160, 0xc0001402d0, 0x90, 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(0xc0001402d0, 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(0x7f10d376a278, 0xc0001404b0, 0xc000298100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000203650, 0x7f10d376a278, 0xc0001404b0, 0xc000298100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f10d376a278, 0xc0001404b0, 0xc000298100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000204a20, 0x7f10d376a278, 0xc0001404b0, 0xc000298100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002340e0, 0xc000298100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000204ba0, 0xab7900, 0xc0002340e0, 0xc000298100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002340e0, 0xc000298100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000234000, 0xab7900, 0xc0002340e0, 0xc000298100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc00020e2c0) /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 162 [select]: 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 goroutine 161 [IO wait]: internal/poll.runtime_pollWait(0x7f10d37eec60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a418, 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(0xc00002a400, 0xc0000ff000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc0000ff000, 0x1000, 0x1000, 0x439c3c, 0xc000110c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000398038, 0xc0000ff000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002aa000, 0xc0000ff000, 0x1000, 0x1000, 0xc0002ec1e0, 0xc000110d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000136480) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000136480, 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 146 [IO wait]: internal/poll.runtime_pollWait(0x7f10d37eee30, 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, 0xc000136180, 0x0, 0x0) /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 [ OK ] level=info ts=2022-08-03T00:17:00.829Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T00:17:00.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-03T00:17:00.830Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T00:17:00.830Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T00:17:00.830Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T00:17:00.831Z 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(0xc000308400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308400) /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, 0xc00039df01) /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(0x7f544ece2f18, 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, 0x189bcc499d151a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aef18, 0x62e9be7f, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aef18, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000212000, 0xab76f0, 0xc0000aef18, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aef18, 0xc000212000, 0x0, 0x0, 0xaaf020, 0xc0001a0230, 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(0xc000212000, 0x0, 0x0, 0xaaf020, 0xc0001a0230, 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, 0xc0001a0230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 27 [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(0x7f544ecfe5b8, 0xc0000c9090, 0xc00016c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000202af0, 0x7f544ecfe5b8, 0xc0000c9090, 0xc00016c300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f544ecfe5b8, 0xc0000c9090, 0xc00016c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001753e0, 0x7f544ecfe5b8, 0xc0000c9090, 0xc00016c300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002120e0, 0xc00016c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000175560, 0xab7900, 0xc0002120e0, 0xc00016c300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002120e0, 0xc00016c300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000212000, 0xab7900, 0xc0002120e0, 0xc00016c300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000169680, 0xab8818, 0xc0000c15c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x7f544ece2e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000175811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000175811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf4a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc370, 0xc000175811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000175800) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [semacquire]: sync.runtime_Semacquire(0xc0000b8fd8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000b8fd0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8fd0, 0xc0000bf6e0, 0xc0000bf740) /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]: strings.genSplit(0xc0005dc000, 0x5e60e, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0003842d0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000156780, 0xc0000bf6e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000156780, 0xc0000bf6e0) /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 50 [IO wait]: internal/poll.runtime_pollWait(0x7f544ece2d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108898, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108880, 0xc00025a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108880, 0xc00025a000, 0x1000, 0x1000, 0x439c3c, 0xc00009ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc3c0, 0xc00025a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cb560, 0xc00025a000, 0x1000, 0x1000, 0xc000094420, 0xc00009ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00019ea80) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00019ea80, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cb560) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 51 [select]: net/http.(*persistConn).writeLoop(0xc0000cb560) /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-03T03:17:08.855Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T03:17:08.857Z 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-03T03:17:08.857Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T03:17:08.857Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T03:17:08.857Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T03:17:08.857Z 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(0xc000668400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000668400) /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(0xc000666900) /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(0x7f067969bf18, 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, 0xb1f06bffcba56b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d650, 0x62e9e8eb, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d650, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000300000, 0xab76f0, 0xc00000d650, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d650, 0xc000300000, 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(0xc000300000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [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 14 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00007cd20) /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(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(0x7f06796b8e38, 0xc00072cb40, 0xc00013c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000174540, 0x7f06796b8e38, 0xc00072cb40, 0xc00013c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f06796b8e38, 0xc00072cb40, 0xc00013c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00014f860, 0x7f06796b8e38, 0xc00072cb40, 0xc00013c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003002a0, 0xc00013c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00014f9e0, 0xab7900, 0xc0003002a0, 0xc00013c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003002a0, 0xc00013c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000300000, 0xab7900, 0xc0003002a0, 0xc00013c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000139360, 0xab8818, 0xc0000a36c0) /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 82 [IO wait]: internal/poll.runtime_pollWait(0x7f067969be30, 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, 0xc00014fc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc00014fc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc00014fc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00014fc80) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [select]: net/http.(*persistConn).readLoop(0xc0000a8b40) /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 40 [select]: net/http.(*persistConn).writeLoop(0xc0000a8b40) /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 [runnable]: net/http.(*gzipReader).Read(0xc000150180, 0xc000390500, 0xb00, 0xb00, 0x2501, 0xc00038e000, 0x2500) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f0679558028, 0xc000150180, 0xc000150180, 0x7f0679558028, 0xc000150180, 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(0xc000128960, 0xc000208000, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000128960, 0xc000208000) /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 [semacquire]: sync.runtime_Semacquire(0xc0003a0024) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0003a0024) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0003a0024, 0xc000208000, 0xc0002080c0) /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-03T06:17:00.698Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T06:17:00.699Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T06:17:00.699Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T06:17:00.699Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T06:17:00.699Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T06:17:00.700Z 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(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, 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(0xc000083b00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f09170f2f18, 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, 0x9c76b735758eb501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000af710, 0x62ea12df, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000af710, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000216000, 0xab76f0, 0xc0000af710, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000af710, 0xc000216000, 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(0xc000216000, 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]: 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, 0xc000286230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: compress/flate.(*compressor).initDeflate(...) /usr/local/go/src/compress/flate/deflate.go:372 compress/flate.(*compressor).init(0xc000760000, 0x7f0916de7118, 0xc0002863c0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:602 +0x5d2 compress/flate.NewWriter(0x7f0916de7118, 0xc0002863c0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000dca50, 0xc0006f4000, 0xf0, 0x1000, 0x0, 0xc000093610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0002baac0, 0xc0000936d0, 0xc000093620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0002baac0, 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, 0xc00010cd20, 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(0xc00010cd20, 0xc00000c9d8, 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(0x7f091710a4f8, 0xc0002863c0, 0xc00016a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000173730, 0x7f091710a4f8, 0xc0002863c0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f091710a4f8, 0xc0002863c0, 0xc00016a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017d410, 0x7f091710a4f8, 0xc0002863c0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002161c0, 0xc00016a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017d590, 0xab7900, 0xc0002161c0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002161c0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000216000, 0xab7900, 0xc0002161c0, 0xc00016a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000167540, 0xab8818, 0xc0000c15c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x7f09170f2e30, 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, 0xc00017d841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108680, 0xc00017d841, 0x1, 0x1, 0xc0000bf800, 0x0, 0xc0000c1698) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc370, 0xc00017d841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017d830) /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 87 [select]: net/http.(*persistConn).writeLoop(0xc00069c480) /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 86 [IO wait]: internal/poll.runtime_pollWait(0x7f09170f2d48, 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, 0xc00022b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a280, 0xc00022b000, 0x1000, 0x1000, 0x439c3c, 0xc000098c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000694078, 0xc00022b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00069c480, 0xc00022b000, 0x1000, 0x1000, 0xc00033a000, 0xc000098d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000be300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000be300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00069c480) /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-03T06:38:09.485Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T06:38:09.488Z 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-03T06:38:09.488Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T06:38:09.488Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T06:38:09.488Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T06:38:09.489Z 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(0xc0001ef680) /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(0x7fd483671f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000194380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000194380, 0x7cd421a4456fc801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000183200, 0x62ea1807, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000183200, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc000183200, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000183200, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0001a0280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0001a0280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [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 39 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc0001a0280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: compress/flate.(*compressor).findMatch(0xc000680000, 0x106, 0x1e, 0x3, 0x1d2, 0xe, 0xef, 0xc000251001) /usr/local/go/src/compress/flate/deflate.go:233 +0x37e compress/flate.(*compressor).deflate(0xc000680000) /usr/local/go/src/compress/flate/deflate.go:443 +0x826 compress/flate.(*compressor).write(0xc000680000, 0xc000251000, 0x9b, 0x1000, 0x1000, 0xd829b87, 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(0xc0000e48f0, 0xc000251000, 0x9b, 0x1000, 0xc000097610, 0xc000097610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc000214700, 0xc0000976d0, 0xc000097620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000214700, 0xc0000977c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000e48f0, 0xc0000d00a0, 0x9b, 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(0xc0000d00a0, 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(0x7fd48362d3b8, 0xc0000d0280, 0xc000210200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001d0c40, 0x7fd48362d3b8, 0xc0000d0280, 0xc000210200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd48362d3b8, 0xc0000d0280, 0xc000210200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018fa10, 0x7fd48362d3b8, 0xc0000d0280, 0xc000210200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002962a0, 0xc000210200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018fb90, 0xab7900, 0xc0002962a0, 0xc000210200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002962a0, 0xc000210200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc0002962a0, 0xc000210200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001a6960, 0xab8818, 0xc0001ca540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 94 [IO wait]: internal/poll.runtime_pollWait(0x7fd483671c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108218, 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(0xc000108200, 0xc0002f4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108200, 0xc0002f4000, 0x1000, 0x1000, 0x439c3c, 0xc0000a1c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c218, 0xc0002f4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002186c0, 0xc0002f4000, 0x1000, 0x1000, 0xc00009c4e0, 0xc0000a1d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000c65a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000c65a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002186c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 90 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fd483671e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000194400, 0xc00018fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000194400, 0xc00018fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c150, 0xc00018fe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00018fe30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 95 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002186c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T09:17:00.847Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T09:17:00.848Z 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-03T09:17:00.848Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T09:17:00.848Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T09:17:00.848Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T09:17:00.848Z 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, 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(0xc00012ea80) /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(0x7fb156e0d058, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0x39ef1e2b34dedc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002009d8, 0x62ea3d0f, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002009d8, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc0002009d8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002009d8, 0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 52 [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 55 [chan receive, 10 minutes]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 59 [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(0x7fb156c685b8, 0xc000206c80, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7fb156c685b8, 0xc000206c80, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb156c685b8, 0xc000206c80, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7fb156c685b8, 0xc000206c80, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002981c0, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000209b60, 0xab7900, 0xc0002981c0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002981c0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002981c0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000212960, 0xab8818, 0xc00023a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 185 [runnable]: net/http.(*gzipReader).Read(0xc0001aa140, 0xc0006a4000, 0xa000, 0xa000, 0x26001, 0xc00067e000, 0x26000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fb156bf9460, 0xc0001aa140, 0xc0001aa140, 0x7fb156bf9460, 0xc0001aa140, 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(0xc00024e870, 0xc0002040c0, 0xc000269f3c, 0x2) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00024e870, 0xc0002040c0) /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 182 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fb156e0cf70, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0xc0004000c0, 0x0, 0xc00023a618) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238140, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000209e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 184 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0001264d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001264d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001264d0, 0xc0002040c0, 0xc000204240) /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 190 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0002565a0) /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 191 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002565a0) /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-03T12:17:04.036Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T12:17:04.037Z 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-03T12:17:04.037Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T12:17:04.037Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T12:17:04.038Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-03T12:17:04.037Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 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(0xc0001f8d80) /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(0x7f2f6fd4df18, 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, 0x34188f17aa8ced01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccc0, 0x62ea677b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccc0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000ccc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccc0, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000bc550, 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, 0xc0000bc550, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc550) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [runnable]: compress/flate.(*compressor).deflate(0xc000726000) /usr/local/go/src/compress/flate/deflate.go:429 +0x251 compress/flate.(*compressor).write(0xc000726000, 0xc00047e000, 0x9b, 0x1000, 0x1000, 0x6a839fd4, 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(0xc000132630, 0xc00047e000, 0x9b, 0x1000, 0xc000095610, 0xc000095610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc00011a480, 0xc0000956d0, 0xc000095620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00011a480, 0xc0000957c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000132630, 0xc000324050, 0x9b, 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(0xc000324050, 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(0x7f2f6fd5f3b8, 0xc0002820f0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001c8310, 0x7f2f6fd5f3b8, 0xc0002820f0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2f6fd5f3b8, 0xc0002820f0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c6840, 0x7f2f6fd5f3b8, 0xc0002820f0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d21c0, 0xc0001b6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c69c0, 0xab7900, 0xc0001d21c0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d21c0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d21c0, 0xc0001b6000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b2b40, 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 44 [IO wait]: internal/poll.runtime_pollWait(0x7f2f6fd4de30, 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, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c6c71, 0x1, 0x1, 0x14, 0xc00031c000, 0xde5020) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c6c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [IO wait]: internal/poll.runtime_pollWait(0x7f2f6fd4dd48, 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, 0xc000396000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000396000, 0x1000, 0x1000, 0x439c3c, 0xc000106c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00032a058, 0xc000396000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001210e0, 0xc000396000, 0x1000, 0x1000, 0xc000210480, 0xc000106d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba600, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001210e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 58 [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-03T15:17:07.745Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T15:17:07.745Z 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-03T15:17:07.745Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T15:17:07.745Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T15:17:07.745Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T15:17:07.746Z 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(0xc000371000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000371000) /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(0xc000366c00) /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(0x7f5aa69bc018, 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, 0xab5aae6a3262dc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d0f8, 0x62ea91ab, 0xc000193b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d0f8, 0xc000193b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000234000, 0xab76f0, 0xc00000d0f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d0f8, 0xc000234000, 0x0, 0x0, 0xaaf020, 0xc000306280, 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, 0xc000306280, 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(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, 0xc000306280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [runnable]: compress/flate.newHuffmanEncoder(...) /usr/local/go/src/compress/flate/huffman_code.go:60 compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:101 compress/flate.(*compressor).init(0xc0006d0000, 0x7f5aa69ce3d8, 0xc0000d00a0, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x15f compress/flate.NewWriter(0x7f5aa69ce3d8, 0xc0000d00a0, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc000330160, 0xc0002a5000, 0xf1, 0x1000, 0x0, 0xc000069610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0000c8e40, 0xc0000696d0, 0xc000069620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c8e40, 0xc0000697c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc000330160, 0xc0000d0e60, 0xf1, 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(0xc0000d0e60, 0xc0000b6af8, 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(0x7f5aa67cf278, 0xc0000d00a0, 0xc0001ea000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc000201650, 0x7f5aa67cf278, 0xc0000d00a0, 0xc0001ea000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5aa67cf278, 0xc0000d00a0, 0xc0001ea000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000202a20, 0x7f5aa67cf278, 0xc0000d00a0, 0xc0001ea000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002341c0, 0xc0001ea000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000202ba0, 0xab7900, 0xc0002341c0, 0xc0001ea000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002341c0, 0xc0001ea000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000234000, 0xab7900, 0xc0002341c0, 0xc0001ea000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc00020e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 32 [select]: net/http.(*persistConn).writeLoop(0xc000226a20) /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 59 [IO wait]: internal/poll.runtime_pollWait(0x7f5aa69bbf30, 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, 0xc000202e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc000202e51, 0x1, 0x1, 0x62, 0xc00007a9c0, 0xde63a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0c0, 0xc000202e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000202e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x7f5aa69bbe48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000188198, 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(0xc000188180, 0xc0002ec000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000188180, 0xc0002ec000, 0x1000, 0x1000, 0x439c3c, 0xc0000a3c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003380f8, 0xc0002ec000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000226a20, 0xc0002ec000, 0x1000, 0x1000, 0xc000232120, 0xc0000a3d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000304300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000304300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000226a20) /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-03T18:17:01.489Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T18:17:01.491Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T18:17:01.491Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T18:17:01.491Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T18:17:01.492Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-03T18:17:01.491Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc) /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(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, 3 minutes]: internal/poll.runtime_pollWait(0x7f851cfd4f18, 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, 0xd0ef8e01ec94fe01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002034a0, 0x62eabb9f, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002034a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029c000, 0xab76f0, 0xc0002034a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002034a0, 0xc00029c000, 0x0, 0x0, 0xaaf020, 0xc000220460, 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(0xc00029c000, 0x0, 0x0, 0xaaf020, 0xc000220460, 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, 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 26 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc000220460) /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(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(0x7f851d0110a8, 0xc000220370, 0xc000230300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00026d420, 0x7f851d0110a8, 0xc000220370, 0xc000230300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f851d0110a8, 0xc000220370, 0xc000230300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028a5d0, 0x7f851d0110a8, 0xc000220370, 0xc000230300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029c2a0, 0xc000230300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028a750, 0xab7900, 0xc00029c2a0, 0xc000230300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029c2a0, 0xc000230300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029c000, 0xab7900, 0xc00029c2a0, 0xc000230300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00023b4a0, 0xab8818, 0xc0000bc040) /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]: net/http.(*persistConn).roundTrip(0xc0001207e0, 0xc0000bc000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc00024a8c0, 0xc0001b4100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc00024a8c0, 0xc0001b4100, 0xc00024a8c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4100, 0xaaf4e0, 0xc00024a8c0, 0x0, 0x0, 0x0, 0xc0000fa010, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028a150, 0xc0001b4100, 0x0, 0x0, 0x0, 0xc0000fa010, 0x0, 0x1, 0xc0001b4100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028a150, 0xc0001b4100, 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(0xc00024cf00, 0xc00009c2a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024cf00, 0xc00009c2a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 99 [IO wait]: internal/poll.runtime_pollWait(0x7f851cfd4d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214318, 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(0xc000214300, 0xc0000b9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214300, 0xc0000b9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e4c8, 0xc0000b9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001207e0, 0xc0000b9000, 0x1000, 0x1000, 0x4055fd, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00021e0c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00021e0c0, 0x1, 0xc000274300, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 100 [select]: net/http.(*persistConn).writeLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 95 [IO wait]: internal/poll.runtime_pollWait(0x7f851cfd4e30, 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, 0xc0000b40d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000214400, 0xc0000b40d1, 0x1, 0x1, 0xc00007a6c0, 0x0, 0xc0000bc118) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c210, 0xc0000b40d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b40c0) /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(0xc0001d4778) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001d4770) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001d4770, 0xc00009c2a0, 0xc00009c300) /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-03T21:16:56.255Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T21:16:56.256Z 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-03T21:16:56.256Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T21:16:56.256Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T21:16:56.257Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-03T21:16:56.257Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000613f01) /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(0x7f0974dc1f18, 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, 0x3f65aa7fe776b101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b7128, 0x62eae5cf, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b7128, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00022e000, 0xab76f0, 0xc0000b7128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b7128, 0xc00022e000, 0x0, 0x0, 0xaaf020, 0xc0000d0f00, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00022e000, 0x0, 0x0, 0xaaf020, 0xc0000d0f00, 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 30 [chan receive]: main.main.func1(0xaaf020, 0xc0000d0f00) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 34 [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(0x7f0974dddef8, 0xc0000d14a0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002240e0, 0x7f0974dddef8, 0xc0000d14a0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0974dddef8, 0xc0000d14a0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002263f0, 0x7f0974dddef8, 0xc0000d14a0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00022e0e0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000226570, 0xab7900, 0xc00022e0e0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00022e0e0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00022e000, 0xab7900, 0xc00022e0e0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000167f40, 0xab8818, 0xc0000c9840) /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(0x7f0974dc1e30, 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, 0xc000226851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108880, 0xc000226851, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c7b00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c4430, 0xc000226851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000226840) /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(0xc0000c15d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c15d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c15d0, 0xc0000c7da0, 0xc0000c7e00) /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]: strings.genSplit(0xc00059e000, 0x5e656, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000227050, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000156ff0, 0xc0000c7da0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000156ff0, 0xc0000c7da0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f0974dc1d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108b18, 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(0xc000108b00, 0xc0001f6000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108b00, 0xc0001f6000, 0x1000, 0x1000, 0x439c3c, 0xc0000a3c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000298070, 0xc0001f6000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d3320, 0xc0001f6000, 0x1000, 0x1000, 0xc00009c600, 0xc0000a3d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002a4540) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002a4540, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d3320) /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 10 [select]: net/http.(*persistConn).writeLoop(0xc0000d3320) /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-04T00:16:55.116Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T00:16:55.118Z 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-04T00:16:55.118Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T00:16:55.118Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T00:16:55.118Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T00:16:55.118Z 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(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, 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(0xc00008b800) /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, 8 minutes]: internal/poll.runtime_pollWait(0x7f1eef157f18, 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, 0xfc87fd8e970bb601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f1e8, 0x62eb0fff, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f1e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc00009f1e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f1e8, 0xc0002a6000, 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(0xc0002a6000, 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 21 [syscall, 8 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [chan receive, 8 minutes]: main.main.func1(0xaaf020, 0xc0000bc280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [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(0x7f1eef1973b8, 0xc0001fa0f0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000ecc40, 0x7f1eef1973b8, 0xc0001fa0f0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1eef1973b8, 0xc0001fa0f0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aba10, 0x7f1eef1973b8, 0xc0001fa0f0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000abb90, 0xab7900, 0xc0002a60e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c4960, 0xab8818, 0xc0000e6540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 111 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000022218) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022210) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022210, 0xc0001940c0, 0xc000194120) /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 124 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0001206c0) /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 125 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001206c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 110 [runnable]: compress/flate.(*decompressor).huffSym(0xc000158000, 0xc000158850, 0x111, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000158000) /usr/local/go/src/compress/flate/inflate.go:564 +0x56b compress/flate.(*decompressor).Read(0xc000158000, 0xc0004f4000, 0xc000, 0xc000, 0x10000, 0x717e742a, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00012a840, 0xc0004f4000, 0xc000, 0xc000, 0x4000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0000a61a0, 0xc0004f4000, 0xc000, 0xc000, 0x4000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f1eef0a4c08, 0xc0000a61a0, 0xc0000a61a0, 0x7f1eef0a4c08, 0xc0000a61a0, 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(0xc0000f4870, 0xc0001940c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000f4870, 0xc0001940c0) /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 109 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f1eef157e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0400, 0xc0000abe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0400, 0xc0000abe41, 0x1, 0x1, 0x6d, 0xc00007a5a0, 0xde6660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8148, 0xc0000abe41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000abe30) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 [ OK ] level=info ts=2022-08-04T03:16:59.101Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T03:16:59.101Z 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-04T03:16:59.101Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T03:16:59.101Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T03:16:59.101Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T03:16:59.102Z 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, 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(0xc00029ad80) /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(0x7fe030358f18, 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, 0x330efe8f19583101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62eb3a2f, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 34 [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 51 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc00007cd70) /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(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(0x7fe0303168f8, 0xc00007c0f0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7fe0303168f8, 0xc00007c0f0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe0303168f8, 0xc00007c0f0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7fe0303168f8, 0xc00007c0f0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d01c0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002d01c0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d01c0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d01c0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0002221c0) /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 133 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc00021e078) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021e070) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e070, 0xc00028a120, 0xc00028a180) /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 119 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000120a20) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 132 [runnable]: bufio.(*Reader).ReadByte(0xc000200360, 0xc0001f195c, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:247 +0xd5 compress/flate.(*decompressor).huffSym(0xc0001cc000, 0xc0001cc028, 0x27, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc0001cc000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc0001cc000, 0xc000590000, 0x8000, 0x8000, 0x10000, 0xe21a7ac1, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00012a840, 0xc000590000, 0x8000, 0x8000, 0x8000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00021c080, 0xc000590000, 0x8000, 0x8000, 0x8000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7fe03036bbf8, 0xc00021c080, 0xc00021c080, 0x7fe03036bbf8, 0xc00021c080, 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(0xc00029c000, 0xc00028a120, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00029c000, 0xc00028a120) /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 131 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fe030358e30, 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, 0xc00021ac71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a8100, 0xc00021ac71, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc0000cc7a8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00021ac71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ac60) /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 118 [IO wait]: internal/poll.runtime_pollWait(0x7fe030358c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a8298, 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(0xc0002a8280, 0xc00015a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a8280, 0xc00015a000, 0x1000, 0x1000, 0x439c3c, 0xc0001f5c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000216020, 0xc00015a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120a20, 0xc00015a000, 0x1000, 0x1000, 0xc00026a0c0, 0xc0001f5d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba240) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba240, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120a20) /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-04T06:16:57.325Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T06:16:57.327Z 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-04T06:16:57.327Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T06:16:57.327Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T06:16:57.327Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T06:16:57.328Z 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(0xc00027a400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00027a400) /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, 0xc0002f1f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f32f7c53f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002cc098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002cc080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002cc080, 0x714dd5679c00b601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002808d0, 0x62eb645f, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002808d0, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc0002808d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002808d0, 0xc0002d0000, 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(0xc0002d0000, 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 50 [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 53 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 57 [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(0x7f32f7c900a8, 0xc00007c190, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028aa10, 0x7f32f7c900a8, 0xc00007c190, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f32f7c900a8, 0xc00007c190, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002909f0, 0x7f32f7c900a8, 0xc00007c190, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d02a0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000290b70, 0xab7900, 0xc0002d02a0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d02a0, 0xc000216200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d02a0, 0xc000216200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0000ca040) /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 106 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f32f7c53e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002cc118, 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(0xc0002cc100, 0xc0000aa101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002cc100, 0xc0000aa101, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc000331fa8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002920a8, 0xc0000aa101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000aa0f0) /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 107 [runnable]: strings.genSplit(0xc0008ce000, 0x5e4da, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc00031eae0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x9 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00029e000, 0xc000238000, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00029e000, 0xc000238000) /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 108 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0002f4038) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002f4030) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002f4030, 0xc000238000, 0xc0002382a0) /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 112 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f32f7c53d48, 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, 0xc0001f7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc0001f7000, 0x1000, 0x1000, 0x439c3c, 0xc0001dec38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002fa040, 0xc0001f7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0002c0480, 0xc0001f7000, 0x1000, 0x1000, 0xc00007e120, 0xc0001ded40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002848a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002848a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0002c0480) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 113 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002c0480) /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-04T06:37:15.897Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T06:37:15.898Z 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-04T06:37:15.898Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T06:37:15.898Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T06:37:15.898Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-04T06:37:15.898Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000613f01) /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(0x7fc4fde3af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108898, 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(0xc000108880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000108880, 0xec2f148abd307e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b75d8, 0x62eb694b, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b75d8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000224000, 0xab76f0, 0xc0000b75d8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b75d8, 0xc000224000, 0x0, 0x0, 0xaaf020, 0xc0000d0c30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000224000, 0x0, 0x0, 0xaaf020, 0xc0000d0c30, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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 24 [chan receive]: main.main.func1(0xaaf020, 0xc0000d0c30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(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(0x7fc4fde54ef8, 0xc0000d1180, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021a540, 0x7fc4fde54ef8, 0xc0000d1180, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc4fde54ef8, 0xc0000d1180, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017d860, 0x7fc4fde54ef8, 0xc0000d1180, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002240e0, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017d9e0, 0xab7900, 0xc0002240e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002240e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000224000, 0xab7900, 0xc0002240e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000167360, 0xab8818, 0xc0000c96c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7fc4fde3ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108918, 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(0xc000108900, 0xc00017dc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108900, 0xc00017dc91, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c7740) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c4368, 0xc00017dc91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017dc80) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [semacquire]: sync.runtime_Semacquire(0xc0000c1508) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c1500) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c1500, 0xc0000c7980, 0xc0000c79e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: strings.Index(0xc0005c8a2f, 0x3daaf, 0xa30880, 0x1, 0x34) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc0005c8a2f, 0x3daaf, 0xa30880, 0x1, 0x0, 0x18dd, 0x0, 0xc000318900, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000156960, 0xc0000c7980, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000156960, 0xc0000c7980) /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 41 [IO wait]: internal/poll.runtime_pollWait(0x7fc4fde3ad48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108b98, 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(0xc000108b80, 0xc0003b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108b80, 0xc0003b2000, 0x1000, 0x1000, 0x439c3c, 0xc0000a2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00018c118, 0xc0003b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d30e0, 0xc0003b2000, 0x1000, 0x1000, 0xc0001f4240, 0xc0000a2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000180840) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000180840, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d30e0) /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 42 [select]: net/http.(*persistConn).writeLoop(0xc0000d30e0) /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-04T09:17:56.623Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T09:17:56.624Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T09:17:56.624Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T09:17:56.624Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T09:17:56.624Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T09:17:56.624Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 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(0xc000083800) /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(0x7fd04a9cff18, 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, 0x3fa34450114f7f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020ebe8, 0x62eb8ecb, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020ebe8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc00020ebe8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020ebe8, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc0000c8be0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc0000c8be0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 40 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc0000c8be0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 21 [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 44 [runnable]: compress/flate.(*compressor).deflate(0xc00073a000) /usr/local/go/src/compress/flate/deflate.go:428 +0x23b compress/flate.(*compressor).write(0xc00073a000, 0xc000275000, 0x14e, 0x1000, 0x1000, 0xd3bb6cf5, 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(0xc0000dc8f0, 0xc000275000, 0x14e, 0x1000, 0xc000321610, 0xc000321610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:196 +0xc5 bufio.(*Writer).Flush(0xc0000c04c0, 0xc0003216d0, 0xc000321620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0000c04c0, 0xc0003217c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000dc8f0, 0xc00007cb40, 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(0xc00007cb40, 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(0x7fd04a82cab8, 0xc0001aaaa0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7fd04a82cab8, 0xc0001aaaa0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd04a82cab8, 0xc0001aaaa0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7fd04a82cab8, 0xc0001aaaa0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e2a0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc00027e2a0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e2a0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e2a0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 115 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000cac60) /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 114 [IO wait]: internal/poll.runtime_pollWait(0x7fd04a9cfd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00027a298, 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(0xc00027a280, 0xc00012e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00027a280, 0xc00012e000, 0x1000, 0x1000, 0x439c3c, 0xc000096c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc338, 0xc00012e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000cac60, 0xc00012e000, 0x1000, 0x1000, 0xc00037c000, 0xc000096d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000be4e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000be4e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000cac60) /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 97 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fd04a9cfe30, 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, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000210168, 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 [ OK ] level=info ts=2022-08-04T12:17:06.863Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T12:17:06.865Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T12:17:06.865Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T12:17:06.865Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T12:17:06.865Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T12:17:06.865Z 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(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, 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(0xc000001e00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f0f08a58f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000188618, 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(0xc000188600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000188600, 0x52911fcd06a8bb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b9500, 0x62ebb8fb, 0xc000193b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b9500, 0xc000193b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc0000b9500, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b9500, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000210230, 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, 0xc000210230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc000210230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 52 [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 28 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00009c960, 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(0x7f0f08a6fbf8, 0xc0002102d0, 0xc000124200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001f4f50, 0x7f0f08a6fbf8, 0xc0002102d0, 0xc000124200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0f08a6fbf8, 0xc0002102d0, 0xc000124200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001fc870, 0x7f0f08a6fbf8, 0xc0002102d0, 0xc000124200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc000124200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001fc9f0, 0xab7900, 0xc0002900e0, 0xc000124200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc000124200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc000124200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001e8a00, 0xab8818, 0xc0000cb440) /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 85 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000d25a0) /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 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f0f08a58e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000188698, 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(0xc000188680, 0xc0001fcca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000188680, 0xc0001fcca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c62c0, 0xc0001fcca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001fcc90) /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 84 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0000d25a0) /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 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000c2378) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c2370) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c2370, 0xc00020e000, 0xc00020e0c0) /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 58 [runnable]: net/http.(*gzipReader).Read(0xc0000cc140, 0xc0004d0000, 0x10000, 0x10000, 0x3c001, 0xc000494000, 0x3c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f0f08a71478, 0xc0000cc140, 0xc0000cc140, 0x7f0f08a71478, 0xc0000cc140, 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(0xc0001d60f0, 0xc00020e000, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001d60f0, 0xc00020e000) /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-04T15:16:59.956Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T15:16:59.957Z 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-04T15:16:59.957Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T15:16:59.957Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T15:16:59.957Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T15:16:59.957Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00012f080) /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, 8 minutes]: internal/poll.runtime_pollWait(0x7f0a50648158, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000344098, 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(0xc000344080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000344080, 0x869b496b5b828201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0003068b8, 0x62ebe2ef, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0003068b8, 0xc000179b98, 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, 0xc0000da410, 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, 0xc0000da410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [syscall, 8 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive, 8 minutes]: main.main.func1(0xaaf020, 0xc0000da410) /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(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(0x7f0a505bc0a8, 0xc00031e050, 0xc000228100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000302a10, 0x7f0a505bc0a8, 0xc00031e050, 0xc000228100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0a505bc0a8, 0xc00031e050, 0xc000228100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00030e9f0, 0x7f0a505bc0a8, 0xc00031e050, 0xc000228100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003480e0, 0xc000228100) /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, 0xc000228100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003480e0, 0xc000228100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000348000, 0xab7900, 0xc0003480e0, 0xc000228100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00035a000, 0xab8818, 0xc000218040) /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 177 [select]: net/http.(*persistConn).writeLoop(0xc0000c05a0) /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 128 [IO wait]: internal/poll.runtime_pollWait(0x7f0a50648070, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000344118, 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(0xc000344100, 0xc000202101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000344100, 0xc000202101, 0x1, 0x1, 0x7f, 0xc00007a120, 0xde6ae0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003100a8, 0xc000202101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002020f0) /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 161 [runnable]: internal/poll.(*FD).readUnlock(0xc00002a280) /usr/local/go/src/internal/poll/fd_mutex.go:230 +0x58 internal/poll.(*FD).Read(0xc00002a280, 0xc000242000, 0x1000, 0x1000, 0xf50, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:172 +0x23c net.(*netFD).Read(0xc00002a280, 0xc000242000, 0x1000, 0x1000, 0x1000, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d8270, 0xc000242000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000c05a0, 0xc000242000, 0x1000, 0x1000, 0x80, 0x80c0003f8000, 0x40) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).Read(0xc0000d04e0, 0xc000436ff2, 0xe, 0xe, 0xff2, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:227 +0x222 net/http/internal.(*chunkedReader).Read(0xc000370930, 0xc000436ff2, 0xe, 0xe, 0xc0000a6120, 0x0, 0xc000088000) /usr/local/go/src/net/http/internal/chunked.go:104 +0x1da net/http.(*body).readLocked(0xc0000b83c0, 0xc000436000, 0x1000, 0x1000, 0x946320, 0x4, 0x4) /usr/local/go/src/net/http/transfer.go:842 +0x5f net/http.(*body).Read(0xc0000b83c0, 0xc000436000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transfer.go:834 +0xf9 net/http.(*bodyEOFSignal).Read(0xc0000b8400, 0xc000436000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2764 +0xe2 bufio.(*Reader).fill(0xc00007a540) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadByte(0xc00007a540, 0xc00036d98a, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:253 +0x39 compress/flate.(*decompressor).huffSym(0xc000438000, 0xc000438028, 0x6f, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc000438000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000438000, 0xc000418000, 0x6000, 0x6000, 0x8000, 0x9d24e2a9, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000142840, 0xc000418000, 0x6000, 0x6000, 0x2000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000498040, 0xc000418000, 0x6000, 0x6000, 0x2000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f0a50657378, 0xc000498040, 0xc000498040, 0x7f0a50657378, 0xc000498040, 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, 0xc00012c180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00031c000, 0xc00012c180) /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 162 [semacquire]: sync.runtime_Semacquire(0xc0003003e4) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0003003e4) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0003003e4, 0xc00012c180, 0xc00012c240) /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 160 [select]: net/http.(*persistConn).readLoop(0xc0000c05a0) /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-04T18:17:04.569Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T18:17:04.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-04T18:17:04.569Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T18:17:04.569Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T18:17:04.570Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-04T18:17:04.571Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00006df01) /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(0xc000300300) /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(0x7f1db9fb1018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0x629bebca4888901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002009f0, 0x62ec0d5b, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002009f0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc0002009f0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002009f0, 0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [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 38 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [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(0x7f1db9dc83b8, 0xc000206140, 0xc00019c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7f1db9dc83b8, 0xc000206140, 0xc00019c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1db9dc83b8, 0xc000206140, 0xc00019c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020b9e0, 0x7f1db9dc83b8, 0xc000206140, 0xc00019c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002980e0, 0xc00019c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020bb60, 0xab7900, 0xc0002980e0, 0xc00019c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002980e0, 0xc00019c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002980e0, 0xc00019c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002148c0, 0xab8818, 0xc00023c540) /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 87 [select]: 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 88 [select]: 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 goroutine 78 [IO wait]: internal/poll.runtime_pollWait(0x7f1db9fb0f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc00020be11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc00020be11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023a148, 0xc00020be11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020be00) /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 [runnable]: net/http.(*gzipReader).Read(0xc000148160, 0xc0004cc000, 0xa000, 0xa000, 0x26001, 0xc0004a6000, 0x26000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f1db9fbc338, 0xc000148160, 0xc000148160, 0x7f1db9fbc338, 0xc000148160, 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(0xc00024e870, 0xc0000c6360, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00024e870, 0xc0000c6360) /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 80 [semacquire]: sync.runtime_Semacquire(0xc0000c00a8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c00a0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c00a0, 0xc0000c6360, 0xc0000c64e0) /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-04T21:17:00.007Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T21:17:00.009Z 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-04T21:17:00.009Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T21:17:00.009Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T21:17:00.009Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T21:17:00.009Z 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(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, 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(0xc0001f6c00) /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(0x7f3a50125f18, 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, 0x743a1cdabc8d5801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d668, 0x62ec374f, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d668, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000300000, 0xab76f0, 0xc00000d668, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d668, 0xc000300000, 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(0xc000300000, 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 11 [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 14 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00007ccd0) /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(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(0x7f3a5009e0a8, 0xc00007c0f0, 0xc000212200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001f4540, 0x7f3a5009e0a8, 0xc00007c0f0, 0xc000212200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3a5009e0a8, 0xc00007c0f0, 0xc000212200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c9860, 0x7f3a5009e0a8, 0xc00007c0f0, 0xc000212200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002b40e0, 0xc000212200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c99e0, 0xab7900, 0xc0002b40e0, 0xc000212200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002b40e0, 0xc000212200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000300000, 0xab7900, 0xc0002b40e0, 0xc000212200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001af4a0, 0xab8818, 0xc000292040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 79 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f3a50125e30, 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, 0xc0002880d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0002880d1, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc0003957a8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0002880d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002880c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 80 [runnable]: net/http.(*gzipReader).Read(0xc0001c4040, 0xc000702000, 0x14000, 0x14000, 0x4c001, 0xc0006b6000, 0x4c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f3a50062028, 0xc0001c4040, 0xc0001c4040, 0x7f3a50062028, 0xc0001c4040, 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(0xc0001a0960, 0xc000280060, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a0960, 0xc000280060) /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 97 [semacquire, 1 minutes]: 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, 0xc000280060, 0xc000280180) /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 37 [select]: net/http.(*persistConn).readLoop(0xc000224000) /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 38 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000224000) /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-05T00:16:59.651Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T00:16:59.653Z 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-05T00:16:59.653Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T00:16:59.653Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T00:16:59.653Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T00:16:59.653Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00008b680) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 4 minutes]: internal/poll.runtime_pollWait(0x7f7c6927ff18, 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, 0xae3f63d24f91f201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc90, 0x62ec617f, 0xc0001efb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc90, 0xc0001efb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000282000, 0xab76f0, 0xc00000cc90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc90, 0xc000282000, 0x0, 0x0, 0xaaf020, 0xc00007c410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000282000, 0x0, 0x0, 0xaaf020, 0xc00007c410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [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 12 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc00007c410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 36 [select, 1 minutes]: 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(0x7f7c6923fc78, 0xc00035cb40, 0xc000122100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001707e0, 0x7f7c6923fc78, 0xc00035cb40, 0xc000122100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7c6923fc78, 0xc00035cb40, 0xc000122100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001726f0, 0x7f7c6923fc78, 0xc00035cb40, 0xc000122100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002820e0, 0xc000122100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000172870, 0xab7900, 0xc0002820e0, 0xc000122100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002820e0, 0xc000122100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000282000, 0xab7900, 0xc0002820e0, 0xc000122100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d2000, 0xab8818, 0xc000124680) /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 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001287e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 131 [runnable]: compress/flate.(*decompressor).moreBits(0xc0004f1300, 0xc0004f1b50, 0xd) /usr/local/go/src/compress/flate/inflate.go:695 +0xf4 compress/flate.(*decompressor).huffmanBlock(0xc0004f1300) /usr/local/go/src/compress/flate/inflate.go:578 +0x45b compress/flate.(*decompressor).Read(0xc0004f1300, 0xc0006b8000, 0xc000, 0xc000, 0x0, 0xb210472a, 0x101000000000000) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000130b00, 0xc0006b8000, 0xc000, 0xc000, 0x30000, 0x3c000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0000e8080, 0xc0006b8000, 0xc000, 0xc000, 0x30001, 0xc000688000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f7c691fc050, 0xc0000e8080, 0xc0000e8080, 0x7f7c691fc050, 0xc0000e8080, 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(0xc00013cf00, 0xc00007a0c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00013cf00, 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 135 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0001287e0) /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 130 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000194a08) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000194a00) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000194a00, 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 48 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f7c6927fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0118, 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(0xc0000b0100, 0xc0001729a1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0100, 0xc0001729a1, 0x1, 0x1, 0xc000184f00, 0x0, 0xc000124758) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8010, 0xc0001729a1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000172990) /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-05T03:16:58.117Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T03:16:58.118Z 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-05T03:16:58.118Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T03:16:58.118Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T03:16:58.118Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-05T03:16:58.118Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 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(0xc00008b200) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 7 minutes]: internal/poll.runtime_pollWait(0x7f5952f07f18, 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, 0xafe0b0a8a3440801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d6e0, 0x62ec8baf, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d6e0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000d6e0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d6e0, 0xc0001ee000, 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(0xc0001ee000, 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 34 [chan receive, 7 minutes]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [syscall, 7 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 [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(0x7f5952f20e78, 0xc00007c190, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e4540, 0x7f5952f20e78, 0xc00007c190, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5952f20e78, 0xc00007c190, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c9860, 0x7f5952f20e78, 0xc00007c190, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c99e0, 0xab7900, 0xc0001ee0e0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b14a0, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f5952f07e30, 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, 0xc0001c9c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0001c9c91, 0x1, 0x1, 0x2e, 0xc0003003c0, 0xde56a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc0001c9c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c9c80) /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 32 [runnable]: net/http.(*gzipReader).Read(0xc00001e240, 0xc00051e000, 0x14000, 0x14000, 0x4c001, 0xc0004d2000, 0x4c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f5952ec9980, 0xc00001e240, 0xc00001e240, 0x7f5952ec9980, 0xc00001e240, 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(0xc0001a0960, 0xc0002340c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a0960, 0xc0002340c0) /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 31 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000fa258) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000fa250) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000fa250, 0xc0002340c0, 0xc000234120) /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 96 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000224000) /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 95 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc000224000) /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-05T06:17:00.339Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T06:17:00.340Z 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-05T06:17:00.340Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T06:17:00.340Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T06:17:00.340Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T06:17:00.340Z 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(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, 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(0xc00008be00) /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(0x7f5ceb4f3f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ee098, 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(0xc0000ee080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ee080, 0xc61fb07acb120e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009c900, 0x62ecb5df, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009c900, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc00009c900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009c900, 0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 19 [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 [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(0x7f5ceb533278, 0xc0002241e0, 0xc0001b4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000aea10, 0x7f5ceb533278, 0xc0002241e0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5ceb533278, 0xc0002241e0, 0xc0001b4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b49f0, 0x7f5ceb533278, 0xc0002241e0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f20e0, 0xc0001b4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b4b70, 0xab7900, 0xc0000f20e0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f20e0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f20e0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 0xab8818, 0xc0000bc2c0) /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 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0001205a0) /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 103 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0001205a0) /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 100 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0003b4028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0003b4020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0003b4020, 0xc0003081e0, 0xc0003082a0) /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, 1 minutes]: internal/poll.runtime_pollWait(0x7f5ceb4f3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ee118, 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(0xc0000ee100, 0xc0000b4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ee100, 0xc0000b4e21, 0x1, 0x1, 0xab, 0xc000308060, 0xde75e0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000b60a0, 0xc0000b4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b4e10) /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 99 [runnable]: net/http.(*gzipReader).Read(0xc0000b2060, 0xc000504000, 0x10000, 0x10000, 0x3c001, 0xc0004c8000, 0x3c000) /usr/local/go/src/net/http/transport.go:2809 +0x9 io.ReadAll(0x7f5ceb53cc38, 0xc0000b2060, 0xc0000b2060, 0x7f5ceb53cc38, 0xc0000b2060, 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(0xc0000c0000, 0xc0003081e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000c0000, 0xc0003081e0) /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-05T06:37:57.290Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T06:37:57.295Z 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-05T06:37:57.295Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T06:37:57.295Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T06:37:57.295Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T06:37:57.296Z 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(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, 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(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, 7 minutes]: internal/poll.runtime_pollWait(0x7f7c5f034f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8380, 0xa694578010c84001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097518, 0x62ecbacb, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097518, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00022c000, 0xab76f0, 0xc000097518, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097518, 0xc00022c000, 0x0, 0x0, 0xaaf020, 0xc0000b4550, 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(0xc00022c000, 0x0, 0x0, 0xaaf020, 0xc0000b4550, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 26 [syscall, 7 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 [chan receive, 7 minutes]: main.main.func1(0xaaf020, 0xc0000b4550) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [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(0x7f7c5f043238, 0xc0000b4280, 0xc0000c4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000201420, 0x7f7c5f043238, 0xc0000b4280, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7c5f043238, 0xc0000b4280, 0xc0000c4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a5d0, 0x7f7c5f043238, 0xc0000b4280, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00022c2a0, 0xc0000c4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021a750, 0xab7900, 0xc00022c2a0, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00022c2a0, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00022c000, 0xab7900, 0xc00022c2a0, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000cf4a0, 0xab8818, 0xc0001231c0) /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 133 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f7c5f034e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8400, 0xc000111f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8400, 0xc000111f01, 0x1, 0x1, 0xc0000b2000, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a0208, 0xc000111f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000111ef0) /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 135 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000316048) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000316040) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000316040, 0xc000326120, 0xc0003263c0) /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 136 [runnable]: strings.Index(0xc00072c877, 0x53cda, 0xa30880, 0x1, 0x35) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00072c877, 0x53cda, 0xa30880, 0x1, 0x0, 0x18de, 0x0, 0xc0002a40f0, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000e0f00, 0xc000326120, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000e0f00, 0xc000326120) /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 139 [IO wait]: internal/poll.runtime_pollWait(0x7f7c5f034c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8498, 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(0xc0000a8480, 0xc00037c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8480, 0xc00037c000, 0x1000, 0x1000, 0x439c3c, 0xc00010ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002c00c0, 0xc00037c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d0000, 0xc00037c000, 0x1000, 0x1000, 0xc00007e480, 0xc00010ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a2a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a2a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d0000) /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 140 [select]: net/http.(*persistConn).writeLoop(0xc0000d0000) /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-05T09:17:20.128Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T09:17:20.129Z 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-05T09:17:20.129Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T09:17:20.129Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T09:17:20.129Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T09:17:20.129Z 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(0xc000108c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000108c00) /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, 0xc0000d9f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f45de177f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180598, 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(0xc000180580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180580, 0xe5c468fa84442301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012eed0, 0x62ece04b, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012eed0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000292000, 0xab76f0, 0xc00012eed0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012eed0, 0xc000292000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000292000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 52 [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, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:99 compress/flate.(*compressor).init(0xc00064c000, 0x7f45de1cf798, 0xc000206050, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0xa9 compress/flate.NewWriter(0x7f45de1cf798, 0xc000206050, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00015c8f0, 0xc0002dc000, 0xef, 0x1000, 0x0, 0xc00008f610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000140480, 0xc00008f6d0, 0xc00008f620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000140480, 0xc00008f7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00015c8f0, 0xc0000b4320, 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(0xc0000b4320, 0xc00012ea98, 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(0x7f45de1975b8, 0xc000206050, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001faaf0, 0x7f45de1975b8, 0xc000206050, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f45de1975b8, 0xc000206050, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ed3e0, 0x7f45de1975b8, 0xc000206050, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002921c0, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ed560, 0xab7900, 0xc0002921c0, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002921c0, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000292000, 0xab7900, 0xc0002921c0, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001df540, 0xab8818, 0xc0001415c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 97 [IO wait]: internal/poll.runtime_pollWait(0x7f45de177d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180118, 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(0xc000180100, 0xc0002a7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180100, 0xc0002a7000, 0x1000, 0x1000, 0x439c3c, 0xc0000d0c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a148, 0xc0002a7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000248000, 0xc0002a7000, 0x1000, 0x1000, 0xc0001143c0, 0xc0000d0d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204120) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204120, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000248000) /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 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000248000) /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 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f45de177e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180618, 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(0xc000180600, 0xc0001ed811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180600, 0xc0001ed811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c368, 0xc0001ed811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001ed800) /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-05T12:16:59.941Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T12:16:59.942Z 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-05T12:16:59.942Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T12:16:59.942Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T12:16:59.943Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T12:16:59.943Z 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(0xc000279000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000279000) /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(0xc0001fed80) /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(0x7fc85e16ff18, 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, 0x9ff4a4a157766301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f0b0, 0x62ed0a3f, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f0b0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc00009f0b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f0b0, 0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc000240500, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc000240500, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [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 21 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc000240500) /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.processMetric(0xab2808, 0xc0000d2080, 0xc00009b5f8, 0xc00009b628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:652 +0xb4c github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc85e1af278, 0xc0000bc000, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7fc85e1af278, 0xc0000bc000, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc85e1af278, 0xc0000bc000, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7fc85e1af278, 0xc0000bc000, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f21c0, 0xc0001b4000) /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, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f21c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f21c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 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 101 [IO wait]: internal/poll.runtime_pollWait(0x7fc85e16fe30, 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, 0x100000001) /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 103 [semacquire]: sync.runtime_Semacquire(0xc000194068) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000194060) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000194060, 0xc00007a1e0, 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 104 [runnable]: github.com/prometheus/procfs.Proc.path(0xfb937, 0xa05a30, 0x5, 0xc0002eb6a8, 0x1, 0x1, 0xc0002e2020, 0xc000216448) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x239 github.com/prometheus/procfs.Proc.Stat(0xfb937, 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(0xc00007c9b0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007a1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 67 [runnable]: internal/reflectlite.Value.Len(0x93d280, 0xc000202000, 0x97, 0xc000202000) /usr/local/go/src/internal/reflectlite/value.go:330 +0x1cb sort.Slice(0x93d280, 0xc000202000, 0xc000334df8) /usr/local/go/src/sort/slice.go:19 +0xab runtime/debug.ReadGCStats(0xc0001b33b0) /usr/local/go/src/runtime/debug/garbage.go:74 +0x46f github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007a1e0) /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 68 [waiting]: runtime.ReadMemStats(0xc0000b3800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc00007e0c0) /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 115 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc0000d4000, 0xc0000d2040, 0xa32200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:826 +0x107 net/http.(*Transport).roundTrip(0xc0000d4000, 0xc000218400, 0x30, 0x30, 0x0) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0000d4000, 0xc000218400, 0xc0000d4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218400, 0xaaf4e0, 0xc0000d4000, 0x0, 0x0, 0x0, 0xc000204028, 0x4182f3, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000aa5a0, 0xc000218400, 0x0, 0x0, 0x0, 0xc000204028, 0x0, 0x1, 0x7fc85e128b30) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000aa5a0, 0xc000218400, 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(0xc0000d6000, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d6000, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-05T15:17:09.139Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T15:17:09.139Z 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-05T15:17:09.139Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T15:17:09.139Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T15:17:09.140Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T15:17:09.140Z 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(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, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0005e9f01) /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(0x7faa8654cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002cc098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002cc080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002cc080, 0xb856e259497ef501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000280960, 0x62ed34ab, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000280960, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc000280960, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000280960, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc0000d0dc0, 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, 0xc0000d0dc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc0000d0dc0) /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 42 [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(0x7faa86567578, 0xc0000d0eb0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028aa10, 0x7faa86567578, 0xc0000d0eb0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7faa86567578, 0xc0000d0eb0, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002909f0, 0x7faa86567578, 0xc0000d0eb0, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00022a000, 0xc00016a400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000290b70, 0xab7900, 0xc00022a000, 0xc00016a400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00022a000, 0xc00016a400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc00022a000, 0xc00016a400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0000c9580) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 24 [IO wait]: internal/poll.runtime_pollWait(0x7faa8654ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002cc118, 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(0xc0002cc100, 0xc000175a21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002cc100, 0xc000175a21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000284600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002920a8, 0xc000175a21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000175a10) /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 [semacquire]: sync.runtime_Semacquire(0xc0000c1448) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c1440) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c1440, 0xc0000c7500, 0xc0000c7560) /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 27 [runnable]: strings.genSplit(0xc000586000, 0x5e5b1, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000386060, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00029e000, 0xc0000c7500, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00029e000, 0xc0000c7500) /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 30 [IO wait]: internal/poll.runtime_pollWait(0x7faa8654cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108998, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108980, 0xc000262000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108980, 0xc000262000, 0x1000, 0x1000, 0x439c3c, 0xc0000a2c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c43b8, 0xc000262000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d3200, 0xc000262000, 0x1000, 0x1000, 0xc00009c5a0, 0xc0000a2d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a840) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a840, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d3200) /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 31 [select]: net/http.(*persistConn).writeLoop(0xc0000d3200) /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-05T18:17:06.780Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T18:17:06.784Z 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-05T18:17:06.784Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T18:17:06.784Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T18:17:06.785Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T18:17:06.789Z 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(0xc0006ae000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0006ae000) /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(0x7fc48216ef18, 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, 0x39e0117be2591f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d200, 0x62ed769a, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d200, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000d200, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d200, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 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(0xc0001ee000, 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 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, 0xc00007c280) /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(0x7fc4820e63b8, 0xc00007c7d0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001b8c40, 0x7fc4820e63b8, 0xc00007c7d0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc4820e63b8, 0xc00007c7d0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000185a10, 0x7fc4820e63b8, 0xc00007c7d0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000185b90, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020960, 0xab8818, 0xc0001b2540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7fc48216ee30, 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, 0x461f80, 0x461f80, 0xc00007ab40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e160, 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 50 [semacquire]: sync.runtime_Semacquire(0xc000022818) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022810) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022810, 0xc00007ad80, 0xc00007ade0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues(0xc00000e0f0, 0xc00022f5a0, 0x1, 0x1, 0xc00018c418, 0xc00022c501) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:214 +0x105 main.(*Exporter).updateScoreboard(0xc0001be870, 0xc0006462a0, 0x800) /app/apache_exporter.go:279 +0x16b main.(*Exporter).collect(0xc0001be870, 0xc00007ad80, 0x0, 0x0) /app/apache_exporter.go:507 +0x2073 main.(*Exporter).Collect(0xc0001be870, 0xc00007ad80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 65 [IO wait]: internal/poll.runtime_pollWait(0x7fc48216ed48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108700, 0xc00040a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108700, 0xc00040a000, 0x1000, 0x1000, 0x439c3c, 0xc0000a5c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000406038, 0xc00040a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001c4900, 0xc00040a000, 0x1000, 0x1000, 0xc00040e0c0, 0xc0000a5d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000408000) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000408000, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001c4900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 66 [select]: net/http.(*persistConn).writeLoop(0xc0001c4900) /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:17:03.575Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T21:17:03.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-05T21:17:03.577Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T21:17:03.577Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T21:17:03.577Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T21:17:03.577Z 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(0xc00047a000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00047a000) /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(0xc00029b080) /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(0x7f7dc02ddf18, 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, 0xa69b4bc5f9714801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62ed88e2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc00007cf50, 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, 0xc00007cf50, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 35 [chan receive]: main.main.func1(0xaaf020, 0xc00007cf50) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 39 [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(0x7f7dc0259278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7f7dc0259278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7dc0259278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7f7dc0259278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d00e0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 40 [IO wait]: internal/poll.runtime_pollWait(0x7f7dc02dde30, 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, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a8100, 0xc00028ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [semacquire]: sync.runtime_Semacquire(0xc0002801c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002801c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*GaugeVec).GetMetricWithLabelValues(...) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:185 github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues(0xc000290030, 0xc0001d8720, 0x1, 0x1, 0xc000124c08, 0xc000296e01) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:215 +0xca main.(*Exporter).updateScoreboard(0xc00029c000, 0xc0005dc29d, 0x800) /app/apache_exporter.go:279 +0x16b main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:507 +0x2073 main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 47 [IO wait]: internal/poll.runtime_pollWait(0x7f7dc02ddd48, 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, 0xc000350000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc000350000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8050, 0xc000350000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001210e0, 0xc000350000, 0x1000, 0x1000, 0xc00007e480, 0xc000107d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0003203c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0003203c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001210e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 48 [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-05T21:20:36.043Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T21:20:36.043Z 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:20:36.043Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T21:20:36.043Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T21:20:36.043Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T21:20:36.043Z 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(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, 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(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, 11 minutes]: internal/poll.runtime_pollWait(0x7f9012c20f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002d6098, 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(0xc0002d6080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002d6080, 0x2c888dbb09567101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002928b8, 0x62ed89d2, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002928b8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002da000, 0xab76f0, 0xc0002928b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002928b8, 0xc0002da000, 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(0xc0002da000, 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 35 [chan receive, 11 minutes]: main.main.func1(0xaaf020, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 10 [syscall, 11 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [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(0x7f9012b9c278, 0xc0003d00f0, 0xc00023e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028ea10, 0x7f9012b9c278, 0xc0003d00f0, 0xc00023e000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9012b9c278, 0xc0003d00f0, 0xc00023e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029a9f0, 0x7f9012b9c278, 0xc0003d00f0, 0xc00023e000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002da2a0, 0xc00023e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029ab70, 0xab7900, 0xc0002da2a0, 0xc00023e000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002da2a0, 0xc00023e000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002da000, 0xab7900, 0xc0002da2a0, 0xc00023e000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002ec000, 0xab8818, 0xc0002a22c0) /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 88 [semacquire]: sync.runtime_Semacquire(0xc0000c0328) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c0320) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c0320, 0xc00007a1e0, 0xc00007a480) /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 86 [IO wait]: internal/poll.runtime_pollWait(0x7f9012c20e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002d6118, 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(0xc0002d6100, 0xc00029ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002d6100, 0xc00029ae21, 0x1, 0x1, 0xc0004067e0, 0x0, 0xc0002a2398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00029c0a0, 0xc00029ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00029ae10) /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 193 [IO wait]: internal/poll.runtime_pollWait(0x7f9012c20c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002d6298, 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(0xc0002d6280, 0xc0001d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002d6280, 0xc0001d2000, 0x1000, 0x1000, 0x1, 0x0, 0xc000469c88) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00029c1d0, 0xc0001d2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d2360, 0xc0001d2000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0004064e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0004064e0, 0x1, 0xc000236240, 0xc000469d90, 0x44912c, 0xc00007a478, 0x18) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d2360) /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 89 [select]: net/http.(*persistConn).roundTrip(0xc0000d2360, 0xc0002a2140, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc0002a4000, 0xc00016a300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc0002a4000, 0xc00016a300, 0xc0002a4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00016a300, 0xaaf4e0, 0xc0002a4000, 0x0, 0x0, 0x0, 0xc000466060, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00029a570, 0xc00016a300, 0x0, 0x0, 0x0, 0xc000466060, 0x0, 0x1, 0xc00016a300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00029a570, 0xc00016a300, 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(0xc0002a6000, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0002a6000, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 194 [select]: 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 [ OK ] level=info ts=2022-08-06T00:16:54.429Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T00:16:54.432Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T00:16:54.432Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T00:16:54.432Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T00:16:54.432Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T00:16:54.432Z 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, 0xc00030df01) /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(0x7f5743d66f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000274018, 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(0xc000274000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000274000, 0x171760f314dbea01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020eb10, 0x62edb312, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020eb10, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000272000, 0xab76f0, 0xc00020eb10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020eb10, 0xc000272000, 0x0, 0x0, 0xaaf020, 0xc00007cc30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000272000, 0x0, 0x0, 0xaaf020, 0xc00007cc30, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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 41 [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(0x7f5743d27ab8, 0xc000240690, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f5743d27ab8, 0xc000240690, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5743d27ab8, 0xc000240690, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f5743d27ab8, 0xc000240690, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002720e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc0002720e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002720e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000272000, 0xab7900, 0xc0002720e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7f5743d66e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000274098, 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(0xc000274080, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000274080, 0xc00021b9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200840) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000210150, 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 43 [runnable]: strings.Index(0xc00055c000, 0x5e5b9, 0xa30880, 0x1, 0x18e0) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00055c000, 0x5e5b9, 0xa30880, 0x1, 0x0, 0x18e0, 0x0, 0xc0002ba450, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000244690, 0xc000200a80, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000244690, 0xc000200a80) /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 44 [semacquire]: sync.runtime_Semacquire(0xc00021e288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021e280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e280, 0xc000200a80, 0xc000200ae0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f5743d66d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8318, 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(0xc0000a8300, 0xc0002de000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8300, 0xc0002de000, 0x1000, 0x1000, 0x439c3c, 0xc00010fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002101a0, 0xc0002de000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128c60, 0xc0002de000, 0x1000, 0x1000, 0xc000270300, 0xc00010fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000201080) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000201080, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 49 [select]: net/http.(*persistConn).writeLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T03:17:00.922Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T03:17:00.924Z 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-06T03:17:00.924Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T03:17:00.924Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T03:17:00.924Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T03:17:00.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, 0xc000593f01) /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(0x7f194a359f18, 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, 0xbfdebeeddeb46601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d740, 0x62eddd42, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d740, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ea000, 0xab76f0, 0xc00000d740, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d740, 0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc0000a22d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc0000a22d0, 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 [IO wait]: internal/poll.runtime_pollWait(0x7f194a359e30, 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, 0xc0002180d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0002180d1, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0002180d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002180c0) /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 [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, 0xc0000a22d0) /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(0x7f194a3160a8, 0xc0002060f0, 0xc000236000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001bd730, 0x7f194a3160a8, 0xc0002060f0, 0xc000236000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f194a3160a8, 0xc0002060f0, 0xc000236000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c7410, 0x7f194a3160a8, 0xc0002060f0, 0xc000236000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000242000, 0xc000236000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7590, 0xab7900, 0xc000242000, 0xc000236000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000242000, 0xc000236000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ea000, 0xab7900, 0xc000242000, 0xc000236000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b15e0, 0xab8818, 0xc000220040) /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 [runnable]: strings.Index(0xc000518ccb, 0x59797, 0xa30880, 0x1, 0x42) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc000518ccb, 0x59797, 0xa30880, 0x1, 0x0, 0x18da, 0x0, 0xc0002184b0, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001a0780, 0xc000204120, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001a0780, 0xc000204120) /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 36 [semacquire]: sync.runtime_Semacquire(0xc00021a058) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021a050) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021a050, 0xc000204120, 0xc000204180) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f194a359d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2498, 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(0xc0000e2480, 0xc0002c4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2480, 0xc0002c4000, 0x1000, 0x1000, 0x439c3c, 0xc000294c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d40f8, 0xc0002c4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120d80, 0xc0002c4000, 0x1000, 0x1000, 0xc0000ec420, 0xc000294d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000a0ba0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000a0ba0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 27 [select]: net/http.(*persistConn).writeLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T06:17:00.004Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T06:17:00.005Z 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-06T06:17:00.005Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T06:17:00.005Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T06:17:00.006Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T06:17:00.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(0xc00020c400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00020c400) /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, 0xc000613f01) /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(0x7fb6a5eebf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00022e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00022e080, 0x3999dd2a151c2e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002068e8, 0x62ee0772, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002068e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc0002068e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002068e8, 0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [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(0x7fb6a5eab278, 0xc00020a500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021aa10, 0x7fb6a5eab278, 0xc00020a500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb6a5eab278, 0xc00020a500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002209f0, 0x7fb6a5eab278, 0xc00020a500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002520e0, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000220b70, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc0002282c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7fb6a5eebe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00022e100, 0xc000220e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00022e100, 0xc000220e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002220b0, 0xc000220e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000220e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [semacquire]: sync.runtime_Semacquire(0xc0002181c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002181c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002181c0, 0xc000200840, 0xc0002008a0) /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 13 [runnable]: strings.genSplit(0xc000594000, 0x5e4fb, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000296120, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00022c000, 0xc000200840, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00022c000, 0xc000200840) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fb6a5eebd48, 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, 0xc0003a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc0003a4000, 0x1000, 0x1000, 0x439c3c, 0xc00029ec38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e4e0, 0xc0003a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120fc0, 0xc0003a4000, 0x1000, 0x1000, 0xc000250120, 0xc00029ed40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba840) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba840, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 49 [select]: net/http.(*persistConn).writeLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T06:40:14.801Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T06:40:14.802Z 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-06T06:40:14.802Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T06:40:14.802Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T06:40:14.802Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T06:40:14.803Z 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, 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(0xc0001ef500) /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(0x7f02ee6fcf18, 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, 0x1b59911fbb560901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccc0, 0x62ee0cd6, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccc0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000ccc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccc0, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc000220550, 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, 0xc000220550, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [syscall, 2 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 10 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc000220550) /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(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(0x7f02ee70fbf8, 0xc000392140, 0xc000230300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7f02ee70fbf8, 0xc000392140, 0xc000230300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f02ee70fbf8, 0xc000392140, 0xc000230300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7f02ee70fbf8, 0xc000392140, 0xc000230300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d22a0, 0xc000230300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc0001d22a0, 0xc000230300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d22a0, 0xc000230300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d22a0, 0xc000230300) /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 39 [select]: net/http.(*persistConn).writeLoop(0xc00023c240) /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 74 [IO wait]: internal/poll.runtime_pollWait(0x7f02ee6fce30, 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, 0x0, 0x0, 0x100000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 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 76 [semacquire]: sync.runtime_Semacquire(0xc000232128) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000232120) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000232120, 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 77 [runnable]: net/http.(*gzipReader).Read(0xc0002d8060, 0xc0003f2000, 0x6000, 0x6000, 0x18001, 0xc0003da000, 0x18000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f02ee456878, 0xc0002d8060, 0xc0002d8060, 0x7f02ee456878, 0xc0002d8060, 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(0xc0001a00f0, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [select]: net/http.(*persistConn).readLoop(0xc00023c240) /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-06T09:16:59.365Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T09:16:59.366Z 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-06T09:16:59.366Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T09:16:59.366Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T09:16:59.366Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T09:16:59.368Z 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(0xc0001fec00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0001fec00) /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, 0xc000635f01) /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(0x7fed38368f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000110618, 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(0xc000110600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000110600, 0x4b694819091e2101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b7548, 0x62ee31a2, 0xc00011bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b7548, 0xc00011bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00030a000, 0xab76f0, 0xc0000b7548, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b7548, 0xc00030a000, 0x0, 0x0, 0xaaf020, 0xc0001c63c0, 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(0xc00030a000, 0x0, 0x0, 0xaaf020, 0xc0001c63c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc0001c63c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [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 [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(0x7fed3837fd38, 0xc0000d0fa0, 0xc000172200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00017cf50, 0x7fed3837fd38, 0xc0000d0fa0, 0xc000172200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fed3837fd38, 0xc0000d0fa0, 0xc000172200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017e870, 0x7fed3837fd38, 0xc0000d0fa0, 0xc000172200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00030a0e0, 0xc000172200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017e9f0, 0xab7900, 0xc00030a0e0, 0xc000172200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00030a0e0, 0xc000172200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00030a000, 0xab7900, 0xc00030a0e0, 0xc000172200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00016ea00, 0xab8818, 0xc0000c9440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7fed38368e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000110698, 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(0xc000110680, 0xc00017eca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000110680, 0xc00017eca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c72c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c42d8, 0xc00017eca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017ec90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [semacquire]: sync.runtime_Semacquire(0xc0000c0f18) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000c0f10) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c0f10, 0xc0000c7500, 0xc0000c7560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: strings.Index(0xc0005d093c, 0x39bc0, 0xa30880, 0x1, 0x41) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc0005d093c, 0x39bc0, 0xa30880, 0x1, 0x0, 0x18dc, 0x0, 0xc000394120, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00015e0f0, 0xc0000c7500, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00015e0f0, 0xc0000c7500) /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 41 [IO wait]: internal/poll.runtime_pollWait(0x7fed38368d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a300, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a300, 0xc0002ea000, 0x1000, 0x1000, 0x439c3c, 0xc0000a4c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e170, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d2c60, 0xc0002ea000, 0x1000, 0x1000, 0xc0001f2240, 0xc0000a4d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a660) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a660, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d2c60) /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 42 [select]: net/http.(*persistConn).writeLoop(0xc0000d2c60) /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-06T12:16:57.738Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T12:16:57.739Z 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-06T12:16:57.739Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T12:16:57.739Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T12:16:57.739Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T12:16:57.740Z 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(0xc00008be00) /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, 8 minutes]: internal/poll.runtime_pollWait(0x7fb5e9677f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6318, 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(0xc0000e6300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6300, 0xd1527bdb8eaa3a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a89f0, 0x62ee5bd2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a89f0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a0000, 0xab76f0, 0xc0000a89f0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a89f0, 0xc0002a0000, 0x0, 0x0, 0xaaf020, 0xc0000ac230, 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, 0xc0000ac230, 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, 8 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive, 8 minutes]: main.main.func1(0xaaf020, 0xc0000ac230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [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(0x7fb5e96bb4f8, 0xc000240050, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029e000, 0x7fb5e96bb4f8, 0xc000240050, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb5e96bb4f8, 0xc000240050, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000af9e0, 0x7fb5e96bb4f8, 0xc000240050, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a02a0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000afb60, 0xab7900, 0xc0002a02a0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a02a0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a0000, 0xab7900, 0xc0002a02a0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000b4a00, 0xab8818, 0xc0000da540) /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 123 [IO wait]: internal/poll.runtime_pollWait(0x7fb5e9677d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6298, 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(0xc0000e6280, 0xc0001a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6280, 0xc0001a4000, 0x1000, 0x1000, 0x439c3c, 0xc000103c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00038a020, 0xc0001a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000228000, 0xc0001a4000, 0x1000, 0x1000, 0xc0001ac0c0, 0xc000103d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001620c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001620c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000228000) /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 155 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fb5e9677e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6398, 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(0xc0000e6380, 0xc0000afe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6380, 0xc0000afe11, 0x1, 0x1, 0xc00007a1e0, 0x0, 0x1000000000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d8148, 0xc0000afe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000afe00) /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 156 [runnable]: fmt.glob..func1(0xdccd00, 0x2) /usr/local/go/src/fmt/print.go:132 +0x52 sync.(*Pool).Get(0xdccd00, 0x10, 0x7fb610341a68) /usr/local/go/src/sync/pool.go:148 +0xaa fmt.newPrinter(0xc0006c4022) /usr/local/go/src/fmt/print.go:137 +0x31 fmt.Sprintf(0xa05242, 0x4, 0xc000101e28, 0x1, 0x1, 0x2, 0xc000216390) /usr/local/go/src/fmt/print.go:218 +0x26 main.(*Exporter).collect(0xc0000ee870, 0xc000314180, 0x0, 0x0) /app/apache_exporter.go:336 +0x4265 main.(*Exporter).Collect(0xc0000ee870, 0xc000314180) /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 157 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000382038) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000382030) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000382030, 0xc000314180, 0xc0003141e0) /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 124 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000228000) /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-06T15:17:03.559Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T15:17:03.560Z 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-06T15:17:03.560Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T15:17:03.560Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T15:17:03.561Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-06T15:17:03.561Z 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(0xc0006a0000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0006a0000) /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, 0xc00041df01) /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(0x7f5b606d2f18, 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, 0xad1eab746db31701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf18, 0x62ee8602, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf18, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e4000, 0xab76f0, 0xc00000cf18, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf18, 0xc0001e4000, 0x0, 0x0, 0xaaf020, 0xc0000bc320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e4000, 0x0, 0x0, 0xaaf020, 0xc0000bc320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc320) /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 14 [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(0x7f5b606ea4b8, 0xc00007d090, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ccaf0, 0x7f5b606ea4b8, 0xc00007d090, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5b606ea4b8, 0xc00007d090, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bf3e0, 0x7f5b606ea4b8, 0xc00007d090, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e40e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bf560, 0xab7900, 0xc0001e40e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e40e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e4000, 0xab7900, 0xc0001e40e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1540, 0xab8818, 0xc00011b5c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7f5b606d2e30, 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, 0x461f80, 0x461f80, 0xc00007b4a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 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 16 [runnable]: strings.Index(0xc00065ae9f, 0x436da, 0xa30880, 0x1, 0x32) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00065ae9f, 0x436da, 0xa30880, 0x1, 0x0, 0x18de, 0x0, 0xc000308930, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001a0780, 0xc00007b6e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001a0780, 0xc00007b6e0) /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 49 [semacquire]: sync.runtime_Semacquire(0xc000023028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc00007b6e0, 0xc00007b740) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f5b606d2d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0518, 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(0xc0000b0500, 0xc00024e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0500, 0xc00024e000, 0x1000, 0x1000, 0x439c3c, 0xc000218c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80f8, 0xc00024e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000121200, 0xc00024e000, 0x1000, 0x1000, 0xc0000f63c0, 0xc000218d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0003005a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0003005a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 39 [select]: net/http.(*persistConn).writeLoop(0xc000121200) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-06T18:17:00.600Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T18:17:00.600Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T18:17:00.601Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T18:17:00.601Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T18:17:00.601Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T18:17:00.602Z 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(0xc00020e400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00020e400) /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, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f41db5b6f18, 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, 0x328b2be99f97b401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000972d8, 0x62eeb032, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000972d8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc0000972d8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000972d8, 0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd70) /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 13 [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(0x7f41db5cccb8, 0xc00007ceb0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009be30, 0x7f41db5cccb8, 0xc00007ceb0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f41db5cccb8, 0xc00007ceb0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a35c0, 0x7f41db5cccb8, 0xc00007ceb0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ec000, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a3740, 0xab7900, 0xc0001ec000, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ec000, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc0001ec000, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b9400, 0xab8818, 0xc000123400) /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(0x7f41db5b6e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a818, 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(0xc00002a800, 0xc0001c8f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a800, 0xc0001c8f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001c8f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c8f00) /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]: sync.runtime_Semacquire(0xc0000233d8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000233d0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000233d0, 0xc00007b440, 0xc00007b4a0) /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 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 strings.genSplit(0xc000686000, 0x5e588, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0000a3f50, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000e0690, 0xc00007b440, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000e0690, 0xc00007b440) /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 29 [IO wait]: internal/poll.runtime_pollWait(0x7f41db5b6d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a8380, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8380, 0xc0002ea000, 0x1000, 0x1000, 0x439c3c, 0xc0002b7c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00040c070, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128fc0, 0xc0002ea000, 0x1000, 0x1000, 0xc00007e540, 0xc0002b7d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200600, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128fc0) /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 30 [select]: net/http.(*persistConn).writeLoop(0xc000128fc0) /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-06T21:17:01.296Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T21:17:01.297Z 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-06T21:17:01.297Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T21:17:01.297Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T21:17:01.298Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-06T21:17:01.297Z 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(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, 0xc00030bd01) /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(0xc000254480) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000254480) /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(0x7f4111d93f18, 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, 0xf5e046aaf449ed01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d668, 0x62eeda62, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d668, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000d668, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d668, 0xc0001ee000, 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(0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007cd20, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 66 [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(0x7f4111dace78, 0xc00007d270, 0xc0001b6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e4540, 0x7f4111dace78, 0xc00007d270, 0xc0001b6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4111dace78, 0xc00007d270, 0xc0001b6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c9860, 0x7f4111dace78, 0xc00007d270, 0xc0001b6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001b6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c99e0, 0xab7900, 0xc0001ee0e0, 0xc0001b6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001b6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001b6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b34a0, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 67 [IO wait]: internal/poll.runtime_pollWait(0x7f4111d93e30, 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, 0xc0001c9c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a980, 0xc0001c9c91, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b800) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001c9c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c9c80) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 68 [runnable]: strings.Index(0xc0005a7541, 0x4b0aa, 0xa30880, 0x1, 0x42) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc0005a7541, 0x4b0aa, 0xa30880, 0x1, 0x0, 0x18e0, 0x0, 0xc000218c60, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001a0960, 0xc00007ba40, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001a0960, 0xc00007ba40) /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 69 [semacquire]: sync.runtime_Semacquire(0xc000023558) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023550) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007ba40, 0xc00007baa0) /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 37 [IO wait]: internal/poll.runtime_pollWait(0x7f4111d93d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002ad18, 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(0xc00002ad00, 0xc0000f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002ad00, 0xc0000f8000, 0x1000, 0x1000, 0x439c3c, 0xc000101c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e4f8, 0xc0000f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120fc0, 0xc0000f8000, 0x1000, 0x1000, 0xc00007e780, 0xc000101d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00009c420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00009c420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 38 [select]: net/http.(*persistConn).writeLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-07T00:16:55.909Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T00:16:55.915Z 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-07T00:16:55.915Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T00:16:55.915Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T00:16:55.916Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-07T00:16:55.916Z 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(0xc00069e000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00069e000) /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, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f458b08cf18, 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, 0x1b3f39e856d3aa01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f458, 0x62ef0492, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f458, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b4000, 0xab76f0, 0xc00009f458, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f458, 0xc0002b4000, 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(0xc0002b4000, 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 9 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f458b0cf438, 0xc0000bc960, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000289420, 0x7f458b0cf438, 0xc0000bc960, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f458b0cf438, 0xc0000bc960, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a25d0, 0x7f458b0cf438, 0xc0000bc960, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002b40e0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a2750, 0xab7900, 0xc0002b40e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002b40e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b4000, 0xab7900, 0xc0002b40e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d7540, 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 29 [IO wait]: internal/poll.runtime_pollWait(0x7f458b08ce30, 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, 0x461f80, 0x461f80, 0xc0000bae40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8208, 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 31 [semacquire]: sync.runtime_Semacquire(0xc0000ce878) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ce870) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce870, 0xc0000bb080, 0xc0000bb0e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 strings.genSplit(0xc00063e000, 0x5e5f6, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0002a37a0, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000e8f00, 0xc0000bb080, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000e8f00, 0xc0000bb080) /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 52 [IO wait]: internal/poll.runtime_pollWait(0x7f458b08cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0698, 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(0xc0000b0680, 0xc0002fc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0680, 0xc0002fc000, 0x1000, 0x1000, 0x439c3c, 0xc0002cac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8260, 0xc0002fc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120900, 0xc0002fc000, 0x1000, 0x1000, 0xc000290540, 0xc0002cad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002f23c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002f23c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 53 [select]: net/http.(*persistConn).writeLoop(0xc000120900) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-07T03:16:57.641Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T03:16:57.644Z 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-07T03:16:57.644Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T03:16:57.644Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T03:16:57.644Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T03:16:57.645Z 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(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, 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(0xc000182d80) /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(0x7f5fefa31f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001b2098, 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(0xc0001b2080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001b2080, 0x560c4fed5adf4d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000194900, 0x62ef2ec2, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000194900, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc000194900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000194900, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007ceb0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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(0x7f5fef9ad278, 0xc000206370, 0xc00013c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00019ea10, 0x7f5fef9ad278, 0xc000206370, 0xc00013c000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5fef9ad278, 0xc000206370, 0xc00013c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001a49f0, 0x7f5fef9ad278, 0xc000206370, 0xc00013c000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da1c0, 0xc00013c000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001a4b70, 0xab7900, 0xc0001da1c0, 0xc00013c000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da1c0, 0xc00013c000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da1c0, 0xc00013c000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001ec000, 0xab8818, 0xc0001ac2c0) /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(0x7f5fefa31e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001b2118, 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(0xc0001b2100, 0xc0001a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001b2100, 0xc0001a4e21, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc000056fa8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001a60a0, 0xc0001a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001a4e10) /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]: sync.runtime_Semacquire(0xc0004162a8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0004162a0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0004162a0, 0xc000204000, 0xc000204060) /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]: compress/flate.(*decompressor).huffSym(0xc000344000, 0xc000344028, 0x21, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000344000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000344000, 0xc0005a8000, 0xc000, 0xc000, 0x7f5fef9ec208, 0xe060d088, 0x101000000000000) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0003a02c0, 0xc0005a8000, 0xc000, 0xc000, 0x30000, 0x3c000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00014c2e0, 0xc0005a8000, 0xc000, 0xc000, 0x30001, 0xc000578000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f5fefa4d4c8, 0xc00014c2e0, 0xc00014c2e0, 0x7f5fefa4d4c8, 0xc00014c2e0, 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(0xc0001b0000, 0xc000204000, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001b0000, 0xc000204000) /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]: net/http.(*persistConn).readLoop(0xc0001cc000) /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]: net/http.(*persistConn).writeLoop(0xc0001cc000) /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-07T06:16:58.048Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T06:16:58.049Z 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-07T06:16:58.049Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T06:16:58.049Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T06:16:58.050Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T06:16:58.053Z 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, 0xc000291f01) /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(0xc000276900) /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(0x7fabf54bbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00016e598, 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(0xc00016e580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00016e580, 0xe531ce29a3389d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00011acc0, 0x62ef58f2, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00011acc0, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e8000, 0xab76f0, 0xc00011acc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00011acc0, 0xc0001e8000, 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(0xc0001e8000, 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 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, 0xc000240460) /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(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(0x7fabf5319b18, 0xc0002405a0, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001de310, 0x7fabf5319b18, 0xc0002405a0, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fabf5319b18, 0xc0002405a0, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001dc840, 0x7fabf5319b18, 0xc0002405a0, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a6000, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001dc9c0, 0xab7900, 0xc0002a6000, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a6000, 0xc000218200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e8000, 0xab7900, 0xc0002a6000, 0xc000218200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001d0aa0, 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 55 [IO wait]: internal/poll.runtime_pollWait(0x7fabf54bbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00016e618, 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(0xc00016e600, 0xc00021bc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00016e600, 0xc00021bc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00012b200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001282b8, 0xc00021bc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021bc50) /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(0xc00021e708) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021e700) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e700, 0xc000200a20, 0xc000200a80) /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 58 [runnable]: strings.genSplit(0xc0005f4000, 0x5e49c, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000404060, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001bc0f0, 0xc000200a20, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001bc0f0, 0xc000200a20) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [IO wait]: internal/poll.runtime_pollWait(0x7fabf54bbd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0300, 0xc0000f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0300, 0xc0000f8000, 0x1000, 0x1000, 0x439c3c, 0xc000109c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000128318, 0xc0000f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000138900, 0xc0000f8000, 0x1000, 0x1000, 0xc00026c480, 0xc000109d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba660) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba660, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000138900) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 38 [select]: net/http.(*persistConn).writeLoop(0xc000138900) /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-07T06:39:40.112Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T06:39:40.113Z 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-07T06:39:40.113Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T06:39:40.113Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T06:39:40.113Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T06:39:40.114Z 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, 0xc000095f01) /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(0xc000102f00) /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(0x7fbe74bf9f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178598, 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(0xc000178580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000178580, 0x1b336fd5deb05a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000126f78, 0x62ef5e56, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000126f78, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00030a000, 0xab76f0, 0xc000126f78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000126f78, 0xc00030a000, 0x0, 0x0, 0xaaf020, 0xc00028a230, 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(0xc00030a000, 0x0, 0x0, 0xaaf020, 0xc00028a230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc00028a230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7fbe74c154b8, 0xc0001410e0, 0xc0001dc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001f2af0, 0x7fbe74c154b8, 0xc0001410e0, 0xc0001dc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbe74c154b8, 0xc0001410e0, 0xc0001dc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001e53e0, 0x7fbe74c154b8, 0xc0001410e0, 0xc0001dc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00030a0e0, 0xc0001dc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001e5560, 0xab7900, 0xc00030a0e0, 0xc0001dc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00030a0e0, 0xc0001dc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00030a000, 0xab7900, 0xc00030a0e0, 0xc0001dc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001d94a0, 0xab8818, 0xc0001395c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7fbe74bf9e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178618, 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(0xc000178600, 0xc0001e5811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178600, 0xc0001e5811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000137500) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000134380, 0xc0001e5811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001e5800) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [semacquire]: sync.runtime_Semacquire(0xc000130fd8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000130fd0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000130fd0, 0xc000137740, 0xc0001377a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: strings.genSplit(0xc000586000, 0x5e4a0, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0000a86c0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001c8780, 0xc000137740, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001c8780, 0xc000137740) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [IO wait]: internal/poll.runtime_pollWait(0x7fbe74bf9d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178898, 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(0xc000178880, 0xc00023c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178880, 0xc00023c000, 0x1000, 0x1000, 0x439c3c, 0xc00010fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e138, 0xc00023c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001430e0, 0xc00023c000, 0x1000, 0x1000, 0xc0002d0420, 0xc00010fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a780) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a780, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001430e0) /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 13 [select]: net/http.(*persistConn).writeLoop(0xc0001430e0) /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-07T09:17:06.211Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T09:17:06.211Z 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-07T09:17:06.211Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T09:17:06.211Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T09:17:06.211Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T09:17:06.214Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005dc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005dc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /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(0xc00021c780) /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(0x7fd095167f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000244098, 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(0xc000244080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000244080, 0x74c9cd941f1f4401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62ef8322, 0xc00016fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc00016fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000248000, 0xab76f0, 0xc0002008d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008d0, 0xc000248000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000248000, 0x0, 0x0, 0xaaf020, 0xc00007cd70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc00007cd70) /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(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(0x7fd09512b378, 0xc000206500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7fd09512b378, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd09512b378, 0xc000206500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7fd09512b378, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002480e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002480e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002480e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000248000, 0xab7900, 0xc0002480e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00025a000, 0xab8818, 0xc0002182c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7fd095167e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000244118, 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(0xc000244100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000244100, 0xc000210e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002120a0, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [semacquire]: sync.runtime_Semacquire(0xc0002081c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002081c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002081c0, 0xc000204780, 0xc0002047e0) /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 45 [runnable]: strings.genSplit(0xc0005f4000, 0x5e4a4, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0002116e0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00021e000, 0xc000204780, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00021e000, 0xc000204780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [IO wait]: internal/poll.runtime_pollWait(0x7fd095167d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000244398, 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(0xc000244380, 0xc0002ce000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000244380, 0xc0002ce000, 0x1000, 0x1000, 0x439c3c, 0xc000260c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00009e110, 0xc0002ce000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000130ea0, 0xc0002ce000, 0x1000, 0x1000, 0xc000246360, 0xc000260d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002a03c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002a03c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000130ea0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 50 [select]: net/http.(*persistConn).writeLoop(0xc000130ea0) /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-07T12:16:57.131Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T12:16:57.132Z 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-07T12:16:57.132Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T12:16:57.132Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T12:16:57.132Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T12:16:57.133Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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(0x0, 0xc000033800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc000033800, 0xc000033800) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc000033800) /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, 0xc001) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc000263aa0 sp=0xc000263a70 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc000263ac8 sp=0xc000263aa0 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0xc000000000) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc000263b40 sp=0xc000263ac8 pc=0x41c30a runtime.mallocgc(0x5e49f, 0x0, 0x0, 0x0) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc000263bc8 sp=0xc000263b40 pc=0x40da55 runtime.slicebytetostring(0x0, 0xc000626000, 0x5e49f, 0x0, 0x0) /usr/local/go/src/runtime/string.go:110 +0x90 fp=0xc000263bf8 sp=0xc000263bc8 pc=0x452cf0 main.(*Exporter).collect(0xc0001a0960, 0xc00007b9e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x46d fp=0xc000263e78 sp=0xc000263bf8 pc=0x8f662d main.(*Exporter).Collect(0xc0001a0960, 0xc00007b9e0) /app/apache_exporter.go:578 +0x9a fp=0xc000263f20 sp=0xc000263e78 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=0xc000263fe0 sp=0xc000263f20 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000263fe8 sp=0xc000263fe0 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:457 +0x5ce goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f97c63d4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0xdbf4dea6006e4c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce40, 0x62efad52, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce40, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000ce40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce40, 0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ee000, 0x0, 0x0, 0xaaf020, 0xc00007ccd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc00007ccd0) /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(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(0x7f97c63ec5f8, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c18f0, 0x7f97c63ec5f8, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f97c63ec5f8, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bf830, 0x7f97c63ec5f8, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bf9b0, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001af540, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7f97c63d4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001bfc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b7a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bfc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 53 [semacquire]: sync.runtime_Semacquire(0xc000023558) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023550) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007b9e0, 0xc00007ba40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go: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 [IO wait]: internal/poll.runtime_pollWait(0x7f97c63d4d48, 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, 0xc000482000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0280, 0xc000482000, 0x1000, 0x1000, 0x439c3c, 0xc000106c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8060, 0xc000482000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120fc0, 0xc000482000, 0x1000, 0x1000, 0xc0002a2000, 0xc000106d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000ba6c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000ba6c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 25 [select]: net/http.(*persistConn).writeLoop(0xc000120fc0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-07T15:16:56.944Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T15:16:56.945Z 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-07T15:16:56.945Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T15:16:56.945Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T15:16:56.947Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T15:16:56.947Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000388000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000388000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fdfeef79f18, 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, 0xdff4ddc4fc27c901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62efd782, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc000140f50, 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, 0xc000140f50, 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 51 [chan receive]: main.main.func1(0xaaf020, 0xc000140f50) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7fdfeedd53b8, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7fdfeedd53b8, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fdfeedd53b8, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7fdfeedd53b8, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c80e0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002c80e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c80e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc0002c80e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7fdfeef79e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c4118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002c4100, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c4100, 0xc00028ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: syscall.Syscall(0x0, 0x8, 0xc0000d4200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc0000d4200, 0x200, 0x200, 0x0, 0x4c01ec, 0x48) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc00009c1e0, 0xc0000d4200, 0x200, 0x200, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc0000d0008, 0xc0000d4200, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc0000d4200) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc0000d2018, 0xc0000d4200, 0x200, 0x200, 0xc0000d2018, 0xc0000cd008, 0xc000100000) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc0000d2018, 0x0, 0x0, 0xc0000d0008, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b20c0, 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(0xe47cc, 0xc0000b2050, 0xf, 0xd9c178, 0x1, 0x1, 0xe47cb, 0xe47cb, 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(0xc000140960, 0xc00028a780) /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(0xc000140960, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [semacquire]: sync.runtime_Semacquire(0xc0002801c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002801c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fe015c43f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000298000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000298110, 0xc0002e0660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000298000, 0xc0002f8100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000298000, 0xc0002f8100, 0xc000298000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002f8100, 0xaaf4e0, 0xc000298000, 0x0, 0x0, 0x0, 0xc0002900b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028e570, 0xc0002f8100, 0x0, 0x0, 0x0, 0xc0002900b0, 0x0, 0x1, 0xc0002f8100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028e570, 0xc0002f8100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000178500, 0xc00028a780) /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 29 [waiting]: runtime.ReadMemStats(0xc0001e5800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000178500, 0xc0001e5800, 0xc00010c300) /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-07T18:16:59.311Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T18:16:59.312Z 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-07T18:16:59.312Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T18:16:59.312Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T18:16:59.312Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T18:16:59.313Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000254800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000254800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 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(0xc00008b080) /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(0x7f01c78bdf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0098, 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(0xc0000c0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000c0080, 0x278eaa7c4f17e401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a28e8, 0x62f001b2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a28e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000e2000, 0xab76f0, 0xc0000a28e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a28e8, 0xc0000e2000, 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(0xc0000e2000, 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 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, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [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(0x7f01c7901378, 0xc0000a6550, 0xc00028a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000aca10, 0x7f01c7901378, 0xc0000a6550, 0xc00028a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f01c7901378, 0xc0000a6550, 0xc00028a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b29f0, 0x7f01c7901378, 0xc0000a6550, 0xc00028a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000e20e0, 0xc00028a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b2b70, 0xab7900, 0xc0000e20e0, 0xc00028a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000e20e0, 0xc00028a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000e2000, 0xab7900, 0xc0000e20e0, 0xc00028a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 0xab8818, 0xc0000ba2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7f01c78bde30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0118, 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(0xc0000c0100, 0xc0000b2e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000c0100, 0xc0000b2e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00009c660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000b40a0, 0xc0000b2e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b2e10) /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 45 [semacquire]: sync.runtime_Semacquire(0xc0000aa1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000aa1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000aa1c0, 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 46 [runnable]: strings.genSplit(0xc000574000, 0x5e4a1, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0002192c0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000be000, 0xc00009c8a0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000be000, 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 50 [IO wait]: internal/poll.runtime_pollWait(0x7f01c78bdd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0398, 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(0xc0000c0380, 0xc0002dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000c0380, 0xc0002dc000, 0x1000, 0x1000, 0x439c3c, 0xc0000fac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e328, 0xc0002dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120d80, 0xc0002dc000, 0x1000, 0x1000, 0xc0000e0360, 0xc0000fad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002b23c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002b23c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 51 [select]: net/http.(*persistConn).writeLoop(0xc000120d80) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-07T21:17:01.668Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T21:17:01.669Z 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-07T21:17:01.669Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T21:17:01.669Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T21:17:01.669Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T21:17:01.670Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000268c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000268c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 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(0xc0002d2600) /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(0x7f5e7050af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c4098, 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(0xc0000c4080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000c4080, 0xd756a26bf42c4301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009c9c0, 0x62f02be2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009c9c0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc00009c9c0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009c9c0, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc0002101e0, 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, 0xc0002101e0, 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, 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 25 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc0002101e0) /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(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(0x7f5e704c71e8, 0xc00007c190, 0xc000258000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000b2a10, 0x7f5e704c71e8, 0xc00007c190, 0xc000258000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5e704c71e8, 0xc00007c190, 0xc000258000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b89f0, 0x7f5e704c71e8, 0xc00007c190, 0xc000258000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea1c0, 0xc000258000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b8b70, 0xab7900, 0xc0000ea1c0, 0xc000258000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea1c0, 0xc000258000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea1c0, 0xc000258000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc00023a2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 47 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f5e7050ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c4118, 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(0xc0000c4100, 0xc0002050c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000c4100, 0xc0002050c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a60a8, 0xc0002050c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002050b0) /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, 1 minutes]: sync.runtime_Semacquire(0xc0002320f8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002320f0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002320f0, 0xc0003a61e0, 0xc0003a6360) /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]: strings.genSplit(0xc0006de000, 0x5e478, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0001c6270, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000c2000, 0xc0003a61e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000c2000, 0xc0003a61e0) /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 103 [IO wait]: internal/poll.runtime_pollWait(0x7f5e7050ad48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246300, 0xc0002e3000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246300, 0xc0002e3000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e008, 0xc0002e3000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000120c60, 0xc0002e3000, 0x1000, 0x1000, 0xc00007e1e0, 0xc000107d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000120c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 104 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000120c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-08T00:17:03.318Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T00:17:03.321Z 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-08T00:17:03.321Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T00:17:03.321Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T00:17:03.322Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T00:17:03.323Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc000038800, 0xa) /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(0xc000382600) /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(0x7f0c04419018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0x26198d4fddcbfb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200a08, 0x62f05612, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200a08, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000200a08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200a08, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc000206230) /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(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(0x7f0c042290a8, 0xc00007c230, 0xc000328000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f0c042290a8, 0xc00007c230, 0xc000328000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0c042290a8, 0xc00007c230, 0xc000328000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7f0c042290a8, 0xc00007c230, 0xc000328000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000332000, 0xc000328000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000209b60, 0xab7900, 0xc000332000, 0xc000328000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000332000, 0xc000328000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc000332000, 0xc000328000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002128c0, 0xab8818, 0xc00030c040) /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(0x7f0c04418f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc0003080d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc0003080d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204ae0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238150, 0xc0003080d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0003080c0) /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(0xc0000220a8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000220a0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000220a0, 0xc00007a360, 0xc00007a3c0) /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]: strings.Index(0xc0005de977, 0x3bb6f, 0xa30880, 0x1, 0x3c) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc0005de977, 0x3bb6f, 0xa30880, 0x1, 0x0, 0x18db, 0x0, 0xc00017d110, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00024e870, 0xc00007a360, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00024e870, 0xc00007a360) /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 52 [IO wait]: internal/poll.runtime_pollWait(0x7f0c04418e48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108818, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108800, 0xc0003c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108800, 0xc0003c8000, 0x1000, 0x1000, 0x439c3c, 0xc0002b4c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e140, 0xc0003c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000316360, 0xc0003c8000, 0x1000, 0x1000, 0xc00009c3c0, 0xc0002b4d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00007a960) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00007a960, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000316360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 53 [select]: net/http.(*persistConn).writeLoop(0xc000316360) /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-08T03:16:59.019Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T03:16:59.021Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T03:16:59.021Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T03:16:59.021Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T03:16:59.021Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T03:16:59.022Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000208400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000208400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 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(0xc000001380) /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(0x7ffa21f1ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6080, 0x25324f3c4be17501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009c918, 0x62f08042, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009c918, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc00009c918, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009c918, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc00007ceb0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 25 [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(0x7ffa21f5f278, 0xc0000a2550, 0xc000292000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000aea10, 0x7ffa21f5f278, 0xc0000a2550, 0xc000292000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffa21f5f278, 0xc0000a2550, 0xc000292000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000b49f0, 0x7ffa21f5f278, 0xc0000a2550, 0xc000292000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ea0e0, 0xc000292000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000b4b70, 0xab7900, 0xc0000ea0e0, 0xc000292000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ea0e0, 0xc000292000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc0000ea0e0, 0xc000292000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc0000bc2c0) /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(0x7ffa21f1fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6100, 0xc0000b4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6100, 0xc0000b4e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000a0600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000b60a0, 0xc0000b4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000b4e10) /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]: strings.Index(0xc00059e000, 0x5e4f0, 0xa30880, 0x1, 0x18db) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00059e000, 0x5e4f0, 0xa30880, 0x1, 0x0, 0x18db, 0x0, 0xc000310870, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000c0000, 0xc0000a0840, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000c0000, 0xc0000a0840) /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 28 [semacquire]: sync.runtime_Semacquire(0xc0000ac1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ac1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ac1c0, 0xc0000a0840, 0xc0000a08a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 65 [IO wait]: internal/poll.runtime_pollWait(0x7ffa21f1fd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6418, 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(0xc0000e6400, 0xc0003ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6400, 0xc0003ac000, 0x1000, 0x1000, 0x439c3c, 0xc000100c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000b6100, 0xc0003ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001210e0, 0xc0003ac000, 0x1000, 0x1000, 0xc000322000, 0xc000100d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001210e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 66 [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-08T06:17:04.228Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T06:17:04.229Z 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-08T06:17:04.229Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T06:17:04.229Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T06:17:04.229Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T06:17:04.230Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000400000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000400000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b000, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001dbf01) /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(0x7f9b8abc5f18, 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, 0x1c4716bf117b8901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00028e8b8, 0x62f0aa72, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00028e8b8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d8000, 0xab76f0, 0xc00028e8b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00028e8b8, 0xc0002d8000, 0x0, 0x0, 0xaaf020, 0xc00023e500, 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, 0xc00023e500, 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 41 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive]: main.main.func1(0xaaf020, 0xc00023e500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f9b8ab41278, 0xc0002a64b0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028aa10, 0x7f9b8ab41278, 0xc0002a64b0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9b8ab41278, 0xc0002a64b0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002969f0, 0x7f9b8ab41278, 0xc0002a64b0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d80e0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000296b70, 0xab7900, 0xc0002d80e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d80e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d8000, 0xab7900, 0xc0002d80e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002ea000, 0xab8818, 0xc00029e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [runnable]: net/http.(*connReader).backgroundRead(0xc000296e10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: fmt.(*readRune).UnreadRune(0xc0000a2360, 0x0, 0x25) /usr/local/go/src/fmt/scan.go:369 +0x87 fmt.(*ss).UnreadRune(...) /usr/local/go/src/fmt/scan.go:233 fmt.(*ss).advance(0xc0000b2240, 0xa172bd, 0x15, 0xc000098830) /usr/local/go/src/fmt/scan.go:1148 +0x297 fmt.(*ss).doScanf(0xc0000b2240, 0xa172b2, 0x20, 0xc0002f8fc0, 0xb, 0xb, 0x4, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc00009c310, 0xa172b2, 0x20, 0xc0002f8fc0, 0xb, 0xb, 0xc0000e4279, 0x7fb, 0xd87) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc000098780, 0x4d, 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(0x5e177, 0xc0000c4050, 0xf, 0xd9c178, 0x1, 0x1, 0x5e176, 0x5e176, 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, 0xc000292780) /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, 0xc000292780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [semacquire]: sync.runtime_Semacquire(0xc0002881c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002881c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002881c0, 0xc000292780, 0xc0002927e0) /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]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f9bb188ff18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0002a0000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002a0110, 0xc0002f0660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002a0000, 0xc000308100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002a0000, 0xc000308100, 0xc0002a0000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000308100, 0xaaf4e0, 0xc0002a0000, 0x0, 0x0, 0x0, 0xc0002980b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000296570, 0xc000308100, 0x0, 0x0, 0x0, 0xc0002980b0, 0x0, 0x1, 0xc000308100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000296570, 0xc000308100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0002a4000, 0xc000292780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0002a4000, 0xc000292780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 42 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000a8000, 0xc000292780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:282 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 65 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-08T06:41:52.060Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T06:41:52.061Z 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-08T06:41:52.061Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T06:41:52.062Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T06:41:52.062Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T06:41:52.062Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00021a400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00021a400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002e9f01) /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(0x7f1dfe785f18, 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, 0x39693645fe5e6501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f428, 0x62f0b04e, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f428, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002bc000, 0xab76f0, 0xc00009f428, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f428, 0xc0002bc000, 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(0xc0002bc000, 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 24 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1dfe7c8438, 0xc0000bc960, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000289420, 0x7f1dfe7c8438, 0xc0000bc960, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1dfe7c8438, 0xc0000bc960, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002aa5d0, 0x7f1dfe7c8438, 0xc0000bc960, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002bc0e0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002aa750, 0xab7900, 0xc0002bc0e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002bc0e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002bc000, 0xab7900, 0xc0002bc0e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000d7360, 0xab8818, 0xc0000d06c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7f1dfe785e30, 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, 0xc0002aaa01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0400, 0xc0002aaa01, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bad80) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8200, 0xc0002aaa01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002aa9f0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [semacquire]: sync.runtime_Semacquire(0xc0000ce878) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ce870) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce870, 0xc0000bafc0, 0xc0000bb020) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: strings.genSplit(0xc00053e000, 0x5e4dc, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc00022c6f0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000e8f00, 0xc0000bafc0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000e8f00, 0xc0000bafc0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f1dfe785d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0698, 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(0xc0000b0680, 0xc00032e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0680, 0xc00032e000, 0x1000, 0x1000, 0x439c3c, 0xc000254c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000204078, 0xc00032e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001206c0, 0xc00032e000, 0x1000, 0x1000, 0xc00007e300, 0xc000254d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00020c540) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00020c540, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001206c0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 52 [select]: net/http.(*persistConn).writeLoop(0xc0001206c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-08T09:17:00.074Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T09:17:00.075Z 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-08T09:17:00.075Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T09:17:00.075Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T09:17:00.075Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T09:17:00.076Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00021e400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00021e400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 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(0xc000220300) /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(0x7f945bd4cf18, 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, 0xfb944e69d7eaf201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000282990, 0x62f0d4a2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000282990, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d2000, 0xab76f0, 0xc000282990, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000282990, 0xc0002d2000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002d2000, 0x0, 0x0, 0xaaf020, 0xc00007ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [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(0x7f945bcc8278, 0xc00028e5a0, 0xc0002fa000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029ea10, 0x7f945bcc8278, 0xc00028e5a0, 0xc0002fa000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f945bcc8278, 0xc00028e5a0, 0xc0002fa000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a49f0, 0x7f945bcc8278, 0xc00028e5a0, 0xc0002fa000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d20e0, 0xc0002fa000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a4b70, 0xab7900, 0xc0002d20e0, 0xc0002fa000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d20e0, 0xc0002fa000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d2000, 0xab7900, 0xc0002d20e0, 0xc0002fa000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e4000, 0xab8818, 0xc0002aa2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7f945bd4ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002b0118, 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(0xc0002b0100, 0xc0002a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002b0100, 0xc0002a4e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028c660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002840c0, 0xc0002a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002a4e10) /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]: strings.genSplit(0xc0005a8000, 0x5e4ed, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000326540, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0002ae000, 0xc00028c8a0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0002ae000, 0xc00028c8a0) /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]: sync.runtime_Semacquire(0xc00029c1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00029c1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00029c1c0, 0xc00028c8a0, 0xc00028c900) /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 15 [IO wait]: internal/poll.runtime_pollWait(0x7f945bd4cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002b0398, 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(0xc0002b0380, 0xc0003b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002b0380, 0xc0003b2000, 0x1000, 0x1000, 0x439c3c, 0xc0002eac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001fa038, 0xc0003b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001210e0, 0xc0003b2000, 0x1000, 0x1000, 0xc00007e480, 0xc0002ead40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001fc480) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001fc480, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0001210e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 16 [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-08T12:17:00.182Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T12:17:00.183Z 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-08T12:17:00.183Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T12:17:00.183Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T12:17:00.183Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T12:17:00.185Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000097d01) /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(0xc000267380) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000267380) /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, 1 minutes]: internal/poll.runtime_pollWait(0x7ffa1d109f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0xdbd65ae7e43bc301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200ac8, 0x62f0fed2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200ac8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000200ac8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200ac8, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc000206370, 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, 0xc000206370, 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 [runnable]: compress/flate.(*decompressor).Read(0xc0000a2000, 0xc0006c0000, 0x14000, 0x14000, 0x7ffa1cf225e0, 0x6470532a, 0x101000000000000) /usr/local/go/src/compress/flate/inflate.go:334 +0x255 compress/gzip.(*Reader).Read(0xc00012a840, 0xc0006c0000, 0x14000, 0x14000, 0x4c000, 0x60000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00001e080, 0xc0006c0000, 0x14000, 0x14000, 0x4c001, 0xc000674000, 0x4c000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7ffa1cea48e0, 0xc00001e080, 0xc00001e080, 0x7ffa1cea48e0, 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(0xc00024e870, 0xc00007a1e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00024e870, 0xc00007a1e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 40 [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 43 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc000206370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 47 [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(0x7ffa1d0cd6b8, 0xc0000dc370, 0xc000258000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7ffa1d0cd6b8, 0xc0000dc370, 0xc000258000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffa1d0cd6b8, 0xc0000dc370, 0xc000258000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7ffa1d0cd6b8, 0xc0000dc370, 0xc000258000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002902a0, 0xc000258000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000209b60, 0xab7900, 0xc0002902a0, 0xc000258000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002902a0, 0xc000258000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002902a0, 0xc000258000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002128c0, 0xab8818, 0xc00023a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [semacquire]: sync.runtime_Semacquire(0xc0000bc198) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000bc190) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000bc190, 0xc00007a1e0, 0xc00007a3c0) /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(0xc0000c66c0) /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 13 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7ffa1d109e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0xc00009c120, 0x0, 0xc00023a618) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238150, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000209e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 25 [select]: net/http.(*persistConn).readLoop(0xc0000c66c0) /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-08T15:17:09.840Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T15:17:09.841Z 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-08T15:17:09.841Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T15:17:09.841Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T15:17:09.841Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T15:17:09.842Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000311f01) /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(0x7f4f34c16f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000246300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000246300, 0x281516d59ad2b501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000202a50, 0x62f12902, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000202a50, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000202a50, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000202a50, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0002062d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0002062d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc000200e40) /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 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002062d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4f34bd63b8, 0xc000206820, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f4f34bd63b8, 0xc000206820, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4f34bd63b8, 0xc000206820, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7f4f34bd63b8, 0xc000206820, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000209b60, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002128c0, 0xab8818, 0xc00023a540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7f4f34c16e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc000209e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200c00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000238148, 0xc000209e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000209e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 46 [runnable]: strings.Fields(0xc0001ac2d0, 0x4d, 0x4d, 0xc0001ac2d0, 0x4d) /usr/local/go/src/strings/strings.go:340 +0x8f github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:179 +0x347 github.com/prometheus/procfs.ProcStat.StartTime(0x75689, 0xc000022eb0, 0xf, 0xd9c178, 0x1, 0x1, 0x75688, 0x75688, 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, 0xc000200e40) /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, 0xc000200e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 47 [semacquire]: sync.runtime_Semacquire(0xc0002327c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002327c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002327c0, 0xc000200e40, 0xc000200ea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f4f5b8e0a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000214640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000214750, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000214640, 0xc000258200, 0x20300000000000, 0x7f4f34faefff, 0x7f4f34bd1fd8) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000214640, 0xc000258200, 0xc000214640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000258200, 0xaaf4e0, 0xc000214640, 0x0, 0x0, 0x0, 0xc000238158, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000209560, 0xc000258200, 0x0, 0x0, 0x0, 0xc000238158, 0x0, 0x1, 0xc000258200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000209560, 0xc000258200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00024e870, 0xc000200e40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024e870, 0xc000200e40) /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 19 [waiting]: runtime.ReadMemStats(0xc0000b3800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000ce000) /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-08T18:17:04.523Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T18:17:04.524Z 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-08T18:17:04.524Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T18:17:04.524Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T18:17:04.524Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T18:17:04.525Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xa) /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(0xc00026a900) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait, 5 minutes]: internal/poll.runtime_pollWait(0x7f45e249df18, 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, 0xcc7388f90ebefd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020c9a8, 0x62f1729a, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020c9a8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc00020c9a8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020c9a8, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc0002181e0, 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, 0xc0002181e0, 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, 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 38 [chan receive, 5 minutes]: main.main.func1(0xaaf020, 0xc0002181e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 42 [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(0x7f45e24de188, 0xc0003924b0, 0xc0001b4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000286000, 0x7f45e24de188, 0xc0003924b0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f45e24de188, 0xc0003924b0, 0xc0001b4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002119e0, 0x7f45e24de188, 0xc0003924b0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002881c0, 0xc0001b4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000211b60, 0xab7900, 0xc0002881c0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002881c0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002881c0, 0xc0001b4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021a8c0, 0xab8818, 0xc0000ca040) /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 151 [IO wait]: internal/poll.runtime_pollWait(0x7f45e249de30, 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, 0xc0000aa101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024a380, 0xc0000aa101, 0x1, 0x1, 0xe0f860, 0xa32700, 0xc0003057a8) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c140, 0xc0000aa101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000aa0f0) /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 139 [select]: net/http.(*persistConn).writeLoop(0xc000120b40) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 153 [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, 0xc000200120, 0xc000200420) /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 138 [select]: net/http.(*persistConn).readLoop(0xc000120b40) /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 152 [runnable]: net/http.(*gzipReader).Read(0xc0003440c0, 0xc00054e000, 0x10000, 0x10000, 0x3c001, 0xc000512000, 0x3c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f45e22b5bc8, 0xc0003440c0, 0xc0003440c0, 0x7f45e22b5bc8, 0xc0003440c0, 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, 0xc000200120, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000252870, 0xc000200120) /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-08T21:17:07.744Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T21:17:07.745Z 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-08T21:17:07.745Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T21:17:07.746Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T21:17:07.748Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T21:17:07.747Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 11 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005dc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005dc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000038800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000191d01) /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(0xc0002b6480) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc0002b6480) /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(0x7f33231aaf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0xdd698baa628e3b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cdf8, 0x62f17d62, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cdf8, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00016c000, 0xab76f0, 0xc00000cdf8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cdf8, 0xc00016c000, 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(0xc00016c000, 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 13 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 49 [runnable]: hash/crc32.Update(0x7f3300000000, 0xc0000c0000, 0xc000296000, 0xf1, 0x1000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Writer).Write(0xc00027a160, 0xc000296000, 0xf1, 0x1000, 0x0, 0xc00018d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:195 +0x85 bufio.(*Writer).Flush(0xc0001c2100, 0xc00018d6d0, 0xc00018d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0001c2100, 0xc00018d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00027a160, 0xc00007c460, 0xf1, 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(0xc00007c460, 0xc0002c29d8, 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(0x7f33231230a8, 0xc00007c140, 0xc000218300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0001498f0, 0x7f33231230a8, 0xc00007c140, 0xc000218300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f33231230a8, 0xc00007c140, 0xc000218300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000147830, 0x7f33231230a8, 0xc00007c140, 0xc000218300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00016c0e0, 0xc000218300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001479b0, 0xab7900, 0xc00016c0e0, 0xc000218300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00016c0e0, 0xc000218300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00016c000, 0xab7900, 0xc00016c0e0, 0xc000218300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000139400, 0xab8818, 0xc00028e000) /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 37 [IO wait]: internal/poll.runtime_pollWait(0x7f33231aae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc00028c041, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc00028c041, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc00028c041, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028c030) /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 84 [IO wait]: internal/poll.runtime_pollWait(0x7f33231aac60, 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, 0xc0001bf000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a200, 0xc0001bf000, 0x1000, 0x1000, 0x439c3c, 0xc000285c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002ca040, 0xc0001bf000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00022a000, 0xc0001bf000, 0x1000, 0x1000, 0xc00007e3c0, 0xc000285d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002801e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002801e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00022a000) /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 85 [select]: 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 [ OK ] level=info ts=2022-08-09T00:16:57.656Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T00:16:57.656Z 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-09T00:16:57.656Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T00:16:57.656Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T00:16:57.656Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T00:16:57.658Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0xc000001380) /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(0x7fb49cdebf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000254318, 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(0xc000254300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000254300, 0x5dfaaca35e273401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000212a20, 0x62f1a792, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000212a20, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000212a20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000212a20, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00021a230, 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, 0xc00021a230, 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(0x7fb49cdebe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000254398, 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(0xc000254380, 0xc0001c6af1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000254380, 0xc0001c6af1, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000214150, 0xc0001c6af1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c6ae0) /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 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00021a230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb49cdfd2b8, 0xc00007ccd0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7fb49cdfd2b8, 0xc00007ccd0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb49cdfd2b8, 0xc00007ccd0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021d9e0, 0x7fb49cdfd2b8, 0xc00007ccd0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001dc000, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021db60, 0xab7900, 0xc0001dc000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001dc000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0001dc000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002268c0, 0xab8818, 0xc00011b340) /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 [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 11 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022eb0, 0xc00007b080, 0xc00007b0e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 12 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007b080) /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 13 [waiting]: runtime.ReadMemStats(0xc0001bf800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001bf800, 0xc00007e1e0) /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 27 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000228640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000228750, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000228640, 0xc000266100, 0x20300000000000, 0x7fb49d183fff, 0x7fb49ce26fd8) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000228640, 0xc000266100, 0xc000228640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000266100, 0xaaf4e0, 0xc000228640, 0x0, 0x0, 0x0, 0xc000214180, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021d560, 0xc000266100, 0x0, 0x0, 0x0, 0xc000214180, 0x0, 0x1, 0xc000266100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021d560, 0xc000266100, 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(0xc00025c870, 0xc00007b080, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00025c870, 0xc00007b080) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:27 +0x116b github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-09T03:17:00.753Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T03:17:00.755Z 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-09T03:17:00.755Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T03:17:00.755Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T03:17:00.755Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T03:17:00.756Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00029ff01) /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(0x7fc903142f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000232098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000232080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000232080, 0xb3a6eead6c16a001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020c8e8, 0x62f1d1c2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020c8e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc00020c8e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020c8e8, 0xc000250000, 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(0xc000250000, 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 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, 0xc0000bc280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fc903102278, 0xc000210500, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000214a10, 0x7fc903102278, 0xc000210500, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc903102278, 0xc000210500, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7fc903102278, 0xc000210500, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc0002500e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002222c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7fc903142e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000232118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000232100, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000232100, 0xc00021ae21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002005a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021c0a0, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ae10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [runnable]: runtime/debug.readGCStats(0xc0000ec258) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc0000ec230) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [semacquire]: sync.runtime_Semacquire(0xc0002121c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002121c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002121c0, 0xc0002007e0, 0xc000200840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 45 [runnable]: io.(*LimitedReader).Read(0xc00020c930, 0xc000308500, 0x200, 0x200, 0x501, 0xc000308000, 0x500) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00020c930, 0x0, 0x0, 0xc00021c0b0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000212270, 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(0x27ee8, 0xc000212210, 0xf, 0xd9c178, 0x1, 0x1, 0x27ee7, 0x27ee7, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000f61e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-09T06:17:01.761Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T06:17:01.761Z 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-09T06:17:01.761Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T06:17:01.761Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T06:17:01.761Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T06:17:01.762Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000278400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000278400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe3bba2df18, 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, 0x2fdb516b595a4601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f0c8, 0x62f1fbf2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f0c8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fa000, 0xab76f0, 0xc00009f0c8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f0c8, 0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [runnable]: os.openFileNolog(0xc0000241f8, 0x11, 0x0, 0xc000000000, 0x3, 0x3, 0xc0000241f8) /usr/local/go/src/os/file_unix.go:205 +0x1d4 os.OpenFile(0xc0000241f8, 0x11, 0x0, 0x0, 0x3, 0xc00001ea80, 0xc000109ec0) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000241f8, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.Proc.Stat(0xc2535, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xfd github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0000ba840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0000ba840) /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 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe3bba6d360, 0xc0000bc550, 0xc0002a8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7fe3bba6d360, 0xc0000bc550, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe3bba6d360, 0xc0000bc550, 0xc0002a8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7fe3bba6d360, 0xc0000bc550, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fa0e0, 0xc0002a8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000fa0e0, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fa0e0, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fa000, 0xab7900, 0xc0000fa0e0, 0xc0002a8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 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 27 [runnable]: net/http.(*connReader).backgroundRead(0xc0000aae40) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce1c0, 0xc0000ba840, 0xc0000ba8a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 30 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fe3e26f75b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000d4000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000d4110, 0xc000100660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000d4000, 0xc0002a8100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000d4000, 0xc0002a8100, 0xc0000d4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002a8100, 0xaaf4e0, 0xc0000d4000, 0x0, 0x0, 0x0, 0xc0000a80b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000aa5a0, 0xc0002a8100, 0x0, 0x0, 0x0, 0xc0000a80b0, 0x0, 0x1, 0xc0002a8100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000aa5a0, 0xc0002a8100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000d6000, 0xc0000ba840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d6000, 0xc0000ba840) /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-09T06:37:39.718Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T06:37:39.720Z 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-09T06:37:39.720Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T06:37:39.720Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T06:37:39.721Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T06:37:39.721Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000268400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000268400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002a3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f778b5d3f18, 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, 0x8f834da998cfa01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f158, 0x62f200de, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f158, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000f2000, 0xab76f0, 0xc00009f158, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f158, 0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00020e1e0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00020e1e0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [waiting]: runtime.ReadMemStats(0xc0001e0000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0001e0000, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 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 24 [chan receive]: main.main.func1(0xaaf020, 0xc00020e1e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(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(0x7f778b613278, 0xc0000bc640, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f778b613278, 0xc0000bc640, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f778b613278, 0xc0000bc640, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7f778b613278, 0xc0000bc640, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000f20e0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0000f20e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000f20e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0000f20e0, 0xc000290000) /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 29 [IO wait]: internal/poll.runtime_pollWait(0x7f778b5d3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000b0198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0000aae51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba720) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80a0, 0xc0000aae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000aae40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000ba960) /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 31 [runnable]: sync.runtime_Semacquire(0xc0000be1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000be1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000be1c0, 0xc0000ba960, 0xc0000ba9c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: io.(*LimitedReader).Read(0xc00009f1a0, 0xc0002b4700, 0x200, 0x200, 0x701, 0xc0002b4000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00009f1a0, 0x0, 0x0, 0xc0000a80b0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000be270, 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(0xd4287, 0xc0000be210, 0xf, 0xd9c178, 0x1, 0x1, 0xd4286, 0xd4286, 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, 0xc0000ba960) /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, 0xc0000ba960) /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-09T09:17:01.564Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T09:17:01.566Z 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-09T09:17:01.566Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T09:17:01.566Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T09:17:01.566Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T09:17:01.568Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000305f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f4813accf18, 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, 0x800a3894cc537201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002031d0, 0x62f22622, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002031d0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028e000, 0xab76f0, 0xc0002031d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002031d0, 0xc00028e000, 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(0xc00028e000, 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 9 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [runnable]: github.com/prometheus/client_golang/prometheus.NewConstMetric(0xc000206000, 0x2, 0x4024000000000000, 0x0, 0x0, 0x0, 0x439b85, 0x1, 0x2, 0xc000286400) /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(0xc000214000, 0xc00021ede0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0xf6 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc000220230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4813a904f8, 0xc000220780, 0xc000264100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000254c40, 0x7f4813a904f8, 0xc000220780, 0xc000264100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4813a904f8, 0xc000220780, 0xc000264100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020fa10, 0x7f4813a904f8, 0xc000220780, 0xc000264100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028e0e0, 0xc000264100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020fb90, 0xab7900, 0xc00028e0e0, 0xc000264100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028e0e0, 0xc000264100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028e000, 0xab7900, 0xc00028e0e0, 0xc000264100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00022e8c0, 0xab8818, 0xc00024e540) /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(0x7f4813acce30, 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, 0x461f80, 0x461f80, 0xc00021eba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c150, 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 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00024c7c0, 0xc00021ede0, 0xc00021ee40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 30 [runnable]: fmt.Fscan(0xaaed20, 0xc0002b6000, 0xc0003016b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:121 +0x147 github.com/prometheus/procfs.Proc.Stat(0x55a2e, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00021ede0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00021ede0) /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 38 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000214000, 0xc000308000, 0xc0000fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-09T12:17:07.015Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T12:17:07.017Z 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-09T12:17:07.017Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T12:17:07.017Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T12:17:07.017Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T12:17:07.018Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc00002c000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00026ff01) /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(0x7ff6f7d8cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c8018, 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(0xc0002c8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002c8000, 0x41263e6bcdf39a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000286888, 0x62f25052, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000286888, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c6000, 0xab76f0, 0xc000286888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000286888, 0xc0002c6000, 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(0xc0002c6000, 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 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 51 [chan receive]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7ff6f7d0c3b8, 0xc00029e4b0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7ff6f7d0c3b8, 0xc00029e4b0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff6f7d0c3b8, 0xc00029e4b0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7ff6f7d0c3b8, 0xc00029e4b0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c60e0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002c60e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c60e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c6000, 0xab7900, 0xc0002c60e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [runnable]: net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: fmt.newScanState(0xaaed20, 0xc00021ac60, 0x9a0001, 0xc000272000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc00021ac60, 0xc0002716b8, 0x16, 0x16, 0x1, 0x18, 0x12) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0xf4833, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7ff71ea56f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000298000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000298110, 0xc0002e0660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000298000, 0xc0002f0100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000298000, 0xc0002f0100, 0xc000298000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002f0100, 0xaaf4e0, 0xc000298000, 0x0, 0x0, 0x0, 0xc0002900a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028e570, 0xc0002f0100, 0x0, 0x0, 0x0, 0xc0002900a8, 0x0, 0x1, 0xc0002f0100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028e570, 0xc0002f0100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-09T15:17:12.025Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T15:17:12.026Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T15:17:12.026Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T15:17:12.026Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T15:17:12.027Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T15:17:12.027Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000268800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000268800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7fc7bdd5df18, 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, 0xbde3437a29ecbd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d740, 0x62f27a82, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d740, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ea000, 0xab76f0, 0xc00000d740, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d740, 0xc0001ea000, 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(0xc0001ea000, 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 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00007b740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 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, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.populateMetric(0x1, 0x3f847ae147ae147b, 0x0, 0x0, 0x0, 0x0, 0xc000308000, 0xc000069301, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:134 +0x31 github.com/prometheus/client_golang/prometheus.(*constMetric).Write(0xc0001cfa10, 0xc000308000, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:124 +0x68 github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0001cfa10, 0xc0000695f8, 0xc000069628, 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(0x7fc7bdd754f8, 0xc00007d130, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c7730, 0x7fc7bdd754f8, 0xc00007d130, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc7bdd754f8, 0xc00007d130, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cf410, 0x7fc7bdd754f8, 0xc00007d130, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ea0e0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cf590, 0xab7900, 0xc0001ea0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ea0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ea000, 0xab7900, 0xc0001ea0e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b9540, 0xab8818, 0xc0001235c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7fc7bdd5de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001cf841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001cf841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b500) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001cf841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cf830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [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 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc00007b740, 0xc00007b7a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: io.(*LimitedReader).Read(0xc00000d788, 0xc000380700, 0x200, 0x200, 0x701, 0xc000380000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000d788, 0x0, 0x0, 0xc00000e398, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000230d0, 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(0xaf689, 0xc000023070, 0xf, 0xd9c178, 0x1, 0x1, 0xaf688, 0xaf688, 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, 0xc00007b740) /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, 0xc00007b740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0000a8000, 0xc0000ae000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-09T18:16:59.923Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T18:16:59.925Z 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-09T18:16:59.925Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T18:16:59.925Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T18:16:59.925Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T18:16:59.925Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0x7f88bc0eff18, 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, 0x2dae272c8c297201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf78, 0x62f2a4b2, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf78, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e4000, 0xab76f0, 0xc00000cf78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf78, 0xc0001e4000, 0x0, 0x0, 0xaaf020, 0xc00009a230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e4000, 0x0, 0x0, 0xaaf020, 0xc00009a230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc00009a230) /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(0x7f88bc1074b8, 0xc00007d130, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d4af0, 0x7f88bc1074b8, 0xc00007d130, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f88bc1074b8, 0xc00007d130, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c73e0, 0x7f88bc1074b8, 0xc00007d130, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e40e0, 0xc0001bc300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7560, 0xab7900, 0xc0001e40e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e40e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e4000, 0xab7900, 0xc0001e40e0, 0xc0001bc300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b95e0, 0xab8818, 0xc0001235c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f88bc0efe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001c7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c7811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b560) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001c7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7800) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c0780) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c0890, 0xc000304660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c0780, 0xc0001bc400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c0780, 0xc0001bc400, 0xc0001c0780, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001bc400, 0xaaf4e0, 0xc0001c0780, 0x0, 0x0, 0x0, 0xc0000cc0b0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c6f60, 0xc0001bc400, 0x0, 0x0, 0x0, 0xc0000cc0b0, 0x0, 0x1, 0xc0001bc400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c6f60, 0xc0001bc400, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8780, 0xc00007b7a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8780, 0xc00007b7a0) /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 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc00007b7a0, 0xc00007b800) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: fmt.(*ss).scanOne(0xc00007b980, 0x7f8800000076, 0x937780, 0xc0001e4270) /usr/local/go/src/fmt/scan.go:953 +0x140b fmt.(*ss).doScan(0xc00007b980, 0xc0002a56b8, 0x16, 0x16, 0x13, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc0001c7ef0, 0xc0002a56b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x5c708, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b7a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b7a0) /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-09T21:17:00.783Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T21:17:00.784Z 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-09T21:17:00.784Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T21:17:00.784Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T21:17:00.784Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T21:17:00.785Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000200800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000200800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0x7f4670666f18, 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, 0x3d8c476af0a30801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccd8, 0x62f2cee2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccd8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ca000, 0xab76f0, 0xc00000ccd8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccd8, 0xc0001ca000, 0x0, 0x0, 0xaaf020, 0xc00021a370, 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, 0xc00021a370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 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, 0xc00021a370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f46706783f8, 0xc00007cf00, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001be310, 0x7f46706783f8, 0xc00007cf00, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f46706783f8, 0xc00007cf00, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bc840, 0x7f46706783f8, 0xc00007cf00, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ca0e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bc9c0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ca000, 0xab7900, 0xc0001ca0e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b0aa0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7f4670666e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001bcc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001bcc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bcc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b440) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:302 +0x2a5 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b440, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: net/url.getscheme(0x7ffc2c510ef8, 0x28, 0xc0001b4200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001be310, 0xc00011b380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffc2c510ef8, 0x28, 0xc0001b0100, 0x7ffc2c510ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffc2c510ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffc2c510ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a00f0, 0xc00007b440, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007b440) /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-10T00:17:02.302Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T00:17:02.303Z 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-10T00:17:02.303Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T00:17:02.303Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T00:17:02.303Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T00:17:02.304Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0x7f46176d5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0x8324a544a9668e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cee8, 0x62f2f912, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cee8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f0000, 0xab76f0, 0xc00000cee8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cee8, 0xc0001f0000, 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(0xc0001f0000, 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 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, 0xc00007cdc0) /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(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(0x7f46176eee38, 0xc00007d310, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c38f0, 0x7f46176eee38, 0xc00007d310, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f46176eee38, 0xc00007d310, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c1830, 0x7f46176eee38, 0xc00007d310, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f00e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c19b0, 0xab7900, 0xc0001f00e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f00e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f0000, 0xab7900, 0xc0001f00e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1360, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 53 [IO wait]: internal/poll.runtime_pollWait(0x7f46176d5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001c1c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001c1c61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b9e0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001c1c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c1c50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 54 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001b8b40) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001b8c50, 0xc000101660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001b8b40, 0xc0001b4400, 0x30, 0x9db900, 0x7f4617874a00) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001b8b40, 0xc0001b4400, 0xc0001b8b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4400, 0xaaf4e0, 0xc0001b8b40, 0x0, 0x0, 0x0, 0xc0000a8010, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c13b0, 0xc0001b4400, 0x0, 0x0, 0x0, 0xc0000a8010, 0x0, 0x1, 0xc0001b4400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c13b0, 0xc0001b4400, 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(0xc0001a0960, 0xc00007bc20, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a0960, 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 55 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007bc20, 0xc00007bc80) /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 56 [runnable]: path/filepath.Clean(0xc0000243c0, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc000216ed0, 0x3, 0x3, 0xc00001ee80, 0x2) /usr/local/go/src/path/filepath/path_unix.go:45 +0xbf path/filepath.Join(...) /usr/local/go/src/path/filepath/path.go:213 github.com/prometheus/procfs/internal/fs.FS.Path(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/fs/fs.go:54 github.com/prometheus/procfs.Proc.path(0xaa25d, 0xa05a30, 0x5, 0xc0001066a8, 0x1, 0x1, 0xc0000c0030, 0xc0001bd558) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0xaa25d, 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(0xc00007c9b0, 0xc00007bc20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007bc20) /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-10T03:17:01.087Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T03:17:01.088Z 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-10T03:17:01.088Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T03:17:01.088Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T03:17:01.088Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T03:17:01.088Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000213f01) /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(0x7f19e6686f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a098, 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(0xc00002a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a080, 0x55376cec604e0601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8d0, 0x62f32342, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8d0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b4000, 0xab76f0, 0xc00000c8d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8d0, 0xc0002b4000, 0x0, 0x0, 0xaaf020, 0xc0001a0280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002b4000, 0x0, 0x0, 0xaaf020, 0xc0001a0280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [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(0x7f19e64df300, 0xc0001a03c0, 0xc0001e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00007ea10, 0x7f19e64df300, 0xc0001a03c0, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f19e64df300, 0xc0001a03c0, 0xc0001e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002889f0, 0x7f19e64df300, 0xc0001a03c0, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000308000, 0xc0001e0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000288b70, 0xab7900, 0xc000308000, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000308000, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b4000, 0xab7900, 0xc000308000, 0xc0001e0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 0xc0001ca2c0) /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 8 [chan receive]: main.main.func1(0xaaf020, 0xc0001a0280) /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 38 [IO wait]: internal/poll.runtime_pollWait(0x7f19e6686e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a118, 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(0xc00002a100, 0xc00018f0f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a100, 0xc00018f0f1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007a5a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0a8, 0xc00018f0f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00018f0e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc00028c000, 0xc00028a2c0, 0xa32200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc00028c000, 0xc00016a300, 0x30, 0x9db900, 0xffaaaabfeaaaa) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc00028c000, 0xc00016a300, 0xc00028c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00016a300, 0xaaf4e0, 0xc00028c000, 0x0, 0x0, 0x0, 0xc0000bc2e8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000288570, 0xc00016a300, 0x0, 0x0, 0x0, 0xc0000bc2e8, 0x0, 0x1, 0xc00016a300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000288570, 0xc00016a300, 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(0xc00028e000, 0xc00019e780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00028e000, 0xc00019e780) /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 40 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001c8650, 0xc00019e780, 0xc00019e7e0) /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 41 [runnable]: path/filepath.Clean(0xc000024138, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc000289260, 0x3, 0x3, 0xc00001e240, 0x2) /usr/local/go/src/path/filepath/path_unix.go:45 +0xbf path/filepath.Join(...) /usr/local/go/src/path/filepath/path.go:213 github.com/prometheus/procfs/internal/fs.FS.Path(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/fs/fs.go:54 github.com/prometheus/procfs.Proc.path(0x4210e, 0xa05a30, 0x5, 0xc0000976a8, 0x1, 0x1, 0xc000022200, 0xc00029eb98) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0x4210e, 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(0xc0000c8960, 0xc00019e780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc00019e780) /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-10T06:17:03.663Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T06:17:03.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-10T06:17:03.664Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T06:17:03.664Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T06:17:03.664Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T06:17:03.665Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc00002e800, 0x8) /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(0x7f1691eddf18, 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, 0xd18e73b0bab25e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d770, 0x62f34d72, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d770, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ea000, 0xab76f0, 0xc00000d770, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d770, 0xc0001ea000, 0x0, 0x0, 0xaaf020, 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(0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc000206280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [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:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1691ef54f8, 0xc00007d180, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001bd730, 0x7f1691ef54f8, 0xc00007d180, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1691ef54f8, 0xc00007d180, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c7410, 0x7f1691ef54f8, 0xc00007d180, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ea0e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c7590, 0xab7900, 0xc0001ea0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ea0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ea000, 0xab7900, 0xc0001ea0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001af680, 0xab8818, 0xc00011b5c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f1691edde30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a718, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a700, 0xc0001c7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a700, 0xc0001c7841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b5c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e390, 0xc0001c7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c7830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: strconv.ParseFloat(0xc0000ac170, 0xa, 0x40, 0xffffffffffffffff, 0xc0000ac170, 0xa) /usr/local/go/src/strconv/atof.go:690 +0x12c fmt.(*ss).convertFloat(0xc0000a2180, 0xc0000ac170, 0xa, 0x40, 0xa07e6a) /usr/local/go/src/fmt/scan.go:799 +0x92 fmt.(*ss).scanOne(0xc0000a2180, 0x66, 0x92c700, 0xc00023e248) /usr/local/go/src/fmt/scan.go:1009 +0xeea fmt.(*ss).doScanf(0xc0000a2180, 0xa172b2, 0x20, 0xc000096fc0, 0xb, 0xb, 0x4, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc0000a0050, 0xa172b2, 0x20, 0xc000096fc0, 0xb, 0xb, 0xc0001ff057, 0xa1e, 0xfa9) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc00023e190, 0x4d, 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(0xe247b, 0xc0000ac050, 0xf, 0xd9c178, 0x1, 0x1, 0xe2478, 0xe2478, 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, 0xc00007b800) /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, 0xc00007b800) /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 52 [semacquire]: sync.runtime_Semacquire(0xc000023028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc00007b800, 0xc00007b860) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001b8780) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001b8890, 0xc000107660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001b8780, 0xc0001b4400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001b8780, 0xc0001b4400, 0xc0001b8780, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4400, 0xaaf4e0, 0xc0001b8780, 0x0, 0x0, 0x0, 0xc0002380b0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c6f90, 0xc0001b4400, 0x0, 0x0, 0x0, 0xc0002380b0, 0x0, 0x1, 0xc0001b4400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c6f90, 0xc0001b4400, 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(0xc0001a0780, 0xc00007b800, 0x0, 0x4) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a0780, 0xc00007b800) /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-10T06:40:21.575Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T06:40:21.576Z 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-10T06:40:21.576Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T06:40:21.576Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T06:40:21.576Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T06:40:21.578Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000100c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7efda08def18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000228080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000228080, 0xed1b8b014d6bbf01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008b8, 0x62f352d6, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008b8, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002008b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008b8, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000140eb0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000140eb0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 26 [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, 0xc000140eb0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7efda073a3b8, 0xc000206500, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7efda073a3b8, 0xc000206500, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7efda073a3b8, 0xc000206500, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7efda073a3b8, 0xc000206500, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002500e0, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000380000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000380000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002182c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: internal/poll.(*FD).readUnlock(0xc00007a240) /usr/local/go/src/internal/poll/fd_mutex.go:230 +0x58 internal/poll.(*FD).Read(0xc00007a240, 0xc000402500, 0x200, 0x200, 0x200, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:172 +0x23c os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc00000e018, 0xc000402500, 0x200, 0x200, 0x100, 0xc000402000, 0xc000402000) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00000c060, 0xc000402500, 0x200, 0x200, 0x501, 0xc000402000, 0x500) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00000c060, 0x0, 0x0, 0xc00000e018, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022110, 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(0xf7f38, 0xc0000220b0, 0xf, 0xd9c178, 0x1, 0x1, 0xf7f37, 0xf7f37, 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(0xc000140960, 0xc0002047e0) /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(0xc000140960, 0xc0002047e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002081c0, 0xc0002047e0, 0xc000204840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7efdc75a8f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00021a000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00021a110, 0xc000268660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00021a000, 0xc000380100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00021a000, 0xc000380100, 0xc00021a000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000380100, 0xaaf4e0, 0xc00021a000, 0x0, 0x0, 0x0, 0xc0002120a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000210570, 0xc000380100, 0x0, 0x0, 0x0, 0xc0002120a8, 0x0, 0x1, 0xc000380100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000210570, 0xc000380100, 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(0xc00021e000, 0xc0002047e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00021e000, 0xc0002047e0) /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-10T09:17:02.508Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T09:17:02.509Z 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-10T09:17:02.509Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T09:17:02.509Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T09:17:02.509Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T09:17:02.510Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002ddf01) /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(0x7fdc66732f18, 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, 0xcd12b3f4bd3e8a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f1e8, 0x62f377a2, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f1e8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002ae000, 0xab76f0, 0xc00009f1e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f1e8, 0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc0000bc280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc0000bc280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: 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(0x7fdc667766f8, 0xc0000bc7d0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000ecc40, 0x7fdc667766f8, 0xc0000bc7d0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fdc667766f8, 0xc0000bc7d0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aba10, 0x7fdc667766f8, 0xc0000bc7d0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ae0e0, 0xc0000fc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000abb90, 0xab7900, 0xc0002ae0e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ae0e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002ae000, 0xab7900, 0xc0002ae0e0, 0xc0000fc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c4960, 0xab8818, 0xc0000e6540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [runnable]: net/http.(*connReader).backgroundRead(0xc0000abe30) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000c6640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000c6750, 0xc000101660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000c6640, 0xc000218100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000c6640, 0xc000218100, 0xc0000c6640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218100, 0xaaf4e0, 0xc0000c6640, 0x0, 0x0, 0x0, 0xc0002160b8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000ab590, 0xc000218100, 0x0, 0x0, 0x0, 0xc0002160b8, 0x0, 0x1, 0xc000218100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000ab590, 0xc000218100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000f4870, 0xc0000bade0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000f4870, 0xc0000bade0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000e47c0, 0xc0000bade0, 0xc0000bae40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: fmt.(*readRune).UnreadRune(0xc0002e62d0, 0x4, 0x20) /usr/local/go/src/fmt/scan.go:369 +0x87 fmt.(*ss).UnreadRune(...) /usr/local/go/src/fmt/scan.go:233 fmt.(*ss).consume(0xc0000baf60, 0xa055e2, 0x4, 0x1, 0xc0002e0c00) /usr/local/go/src/fmt/scan.go:491 +0xca fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc0000baf60, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:730 +0x1e6 fmt.(*ss).scanOne(0xc0000baf60, 0x66, 0x92c700, 0xc0000a0be0) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc0000baf60, 0xa172b2, 0x20, 0xc0002e0fc0, 0xb, 0xb, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc0000a5050, 0xa172b2, 0x20, 0xc0002e0fc0, 0xb, 0xb, 0xc0002fa315, 0x760, 0xceb) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0000a0b40, 0x4c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:89 +0x228 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:224 +0x4a6 github.com/prometheus/procfs.ProcStat.StartTime(0x980cc, 0xc0000e4810, 0xf, 0xd9c178, 0x1, 0x1, 0x980c9, 0x980c9, 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, 0xc0000bade0) /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, 0xc0000bade0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000bade0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 50 [waiting]: runtime.ReadMemStats(0xc000318000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc000318000, 0xc00031e000) /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-10T12:16:59.329Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T12:16:59.330Z 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-10T12:16:59.330Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T12:16:59.330Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T12:16:59.331Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T12:16:59.331Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005cc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005cc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00022bf01) /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(0x7f0391f57018, 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, 0xcd1ef09d9af5cc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000123050, 0x62f3a1d2, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000123050, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a8000, 0xab76f0, 0xc000123050, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000123050, 0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc00013edc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc00013edc0, 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 51 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00013e910, 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(0x7f0391dab0a8, 0xc00020a190, 0xc00023a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029e0e0, 0x7f0391dab0a8, 0xc00020a190, 0xc00023a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0391dab0a8, 0xc00020a190, 0xc00023a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a03f0, 0x7f0391dab0a8, 0xc00020a190, 0xc00023a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000246000, 0xc00023a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a0570, 0xab7900, 0xc000246000, 0xc00023a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000246000, 0xc00023a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a8000, 0xab7900, 0xc000246000, 0xc00023a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000222000, 0xab8818, 0xc000218040) /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 [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, 0xc00013edc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001dedc0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001deed0, 0xc00010e660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001dedc0, 0xc0001da400, 0x30, 0x9db900, 0xffaaaabfeaaaa) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001dedc0, 0xc0001da400, 0xc0001dedc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001da400, 0xaaf4e0, 0xc0001dedc0, 0x0, 0x0, 0x0, 0xc000130438, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001e5f50, 0xc0001da400, 0x0, 0x0, 0x0, 0xc000130438, 0x0, 0x1, 0xc0001da400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001e5f50, 0xc0001da400, 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, 0xc000200240, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001c4ff0, 0xc000200240) /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 52 [IO wait]: internal/poll.runtime_pollWait(0x7f0391f56f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00021e018, 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(0xc00021e000, 0xc000210161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00021e000, 0xc000210161, 0x1, 0x1, 0x1, 0xc0000547a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000220000, 0xc000210161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210150) /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]: 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 54 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000212050, 0xc000200240, 0xc0002002a0) /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 55 [runnable]: fmt.newScanState(0xaaed20, 0xc000210300, 0x9a0001, 0xc00025e000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc000210300, 0xc0002316b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0x3fcd4, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00013e960, 0xc000200240) /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(0xc00013e960, 0xc000200240) /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-10T15:17:27.050Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T15:17:27.052Z 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-10T15:17:27.052Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T15:17:27.052Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T15:17:27.052Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T15:17:27.053Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0xc00020a780) /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(0x7f70ee7fcf18, 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, 0x3571b6c34289f301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868b8, 0x62f3cc3e, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868b8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc0002868b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868b8, 0xc0002c8000, 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(0xc0002c8000, 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 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 51 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc80) /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(0x7f70ee778278, 0xc00029e4b0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7f70ee778278, 0xc00029e4b0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f70ee778278, 0xc00029e4b0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7f70ee778278, 0xc00029e4b0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c80e0, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7f70ee7fce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c4118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002c4100, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c4100, 0xc00028ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 58 [semacquire]: sync.runtime_Semacquire(0xc0002801c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002801c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [syscall]: main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:307 +0x46d main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [IO wait]: internal/poll.runtime_pollWait(0x7f70ee7fcd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8298, 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(0xc0000a8280, 0xc0000ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a8280, 0xc0000ee000, 0x1000, 0x1000, 0x439c3c, 0xc00010fc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900b0, 0xc0000ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000128c60, 0xc0000ee000, 0x1000, 0x1000, 0xc0000f00c0, 0xc00010fd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204120) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204120, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 23 [select]: net/http.(*persistConn).writeLoop(0xc000128c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-10T18:17:03.496Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T18:17:03.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-10T18:17:03.498Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T18:17:03.498Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T18:17:03.499Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T18:17:03.500Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 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, 0xc00002c000, 0x8) /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(0x7efcb7095f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00025e098, 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(0xc00025e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00025e080, 0xfef6a425ad5da601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002268b8, 0x62f3f632, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002268b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000262000, 0xab76f0, 0xc0002268b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002268b8, 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 35 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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 [runnable]: net/http.(*connReader).backgroundRead(0xc00022cdb0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7efcb7055278, 0xc00023a4b0, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000222a10, 0x7efcb7055278, 0xc00023a4b0, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7efcb7055278, 0xc00023a4b0, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00022c9f0, 0x7efcb7055278, 0xc00023a4b0, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002620e0, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00022cb70, 0xab7900, 0xc0002620e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002620e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000262000, 0xab7900, 0xc0002620e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000c0000, 0xab8818, 0xc0002342c0) /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 40 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0x154 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 41 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002201d0, 0xc0002007e0, 0xc000200840) /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 42 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7efcddd5fa68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000236000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000236110, 0xc000101660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000236000, 0xc000280100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000236000, 0xc000280100, 0xc000236000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000280100, 0xaaf4e0, 0xc000236000, 0x0, 0x0, 0x0, 0xc00022e0a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00022c570, 0xc000280100, 0x0, 0x0, 0x0, 0xc00022e0a8, 0x0, 0x1, 0xc000280100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00022c570, 0xc000280100, 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(0xc000238000, 0xc0002007e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000238000, 0xc0002007e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc000300000, 0xc000306000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T21:17:05.260Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T21:17:05.262Z 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:17:05.262Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T21:17:05.262Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T21:17:05.263Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T21:17:05.263Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0x7f557fd2bf18, 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, 0x5298beb74ccb2401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000203320, 0x62f4205b, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000203320, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00030c000, 0xab76f0, 0xc000203320, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000203320, 0xc00030c000, 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(0xc00030c000, 0x0, 0x0, 0xaaf020, 0xc00007c2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [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, 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(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(0x7f557fce8ab8, 0xc000220690, 0xc000230100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000207e30, 0x7f557fce8ab8, 0xc000220690, 0xc000230100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f557fce8ab8, 0xc000220690, 0xc000230100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020f5c0, 0x7f557fce8ab8, 0xc000220690, 0xc000230100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00030c0e0, 0xc000230100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020f740, 0xab7900, 0xc00030c0e0, 0xc000230100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00030c0e0, 0xc000230100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00030c000, 0xab7900, 0xc00030c0e0, 0xc000230100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00023aaa0, 0xab8818, 0xc000234440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [runnable]: net/http.(*connReader).backgroundRead(0xc00020f9e0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [runnable]: io.(*LimitedReader).Read(0xc00011c498, 0xc000380900, 0x300, 0x300, 0x901, 0xc000380000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00011c498, 0x0, 0x0, 0xc00020c180, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000a60c0, 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(0xa004c, 0xc0000a6050, 0xf, 0xd9c178, 0x1, 0x1, 0xa004b, 0xa004b, 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(0xc0001009b0, 0xc00021ea80) /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(0xc0001009b0, 0xc00021ea80) /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 44 [semacquire]: sync.runtime_Semacquire(0xc000232288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000232280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000232280, 0xc00021ea80, 0xc00021eae0) /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 45 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f55a69f5f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00024a280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00024a390, 0xc000322660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00024a280, 0xc0002be100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00024a280, 0xc0002be100, 0xc00024a280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002be100, 0xaaf4e0, 0xc00024a280, 0x0, 0x0, 0x0, 0xc00000e0c0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00020f140, 0xc0002be100, 0x0, 0x0, 0x0, 0xc00000e0c0, 0x0, 0x1, 0xc0002be100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00020f140, 0xc0002be100, 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(0xc00024c690, 0xc00021ea80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024c690, 0xc00021ea80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-10T21:37:45.080Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T21:37:45.082Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T21:37:45.082Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T21:37:45.082Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T21:37:45.082Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T21:37:45.083Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7fdfd52a1f18, 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, 0xf7d51fccd1ef0d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f500, 0x62f42547, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f500, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000234000, 0xab76f0, 0xc00009f500, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f500, 0xc000234000, 0x0, 0x0, 0xaaf020, 0xc0000bc550, 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, 0xc0000bc550, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 28 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc550) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 32 [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(0x7fdfd52e4438, 0xc0000bcaa0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000209420, 0x7fdfd52e4438, 0xc0000bcaa0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fdfd52e4438, 0xc0000bcaa0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002225d0, 0x7fdfd52e4438, 0xc0000bcaa0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002340e0, 0xc0000cc200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000222750, 0xab7900, 0xc0002340e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002340e0, 0xc0000cc200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000234000, 0xab7900, 0xc0002340e0, 0xc0000cc200) /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 49 [IO wait]: internal/poll.runtime_pollWait(0x7fdfd52a1e30, 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, 0xc000222a01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0400, 0xc000222a01, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bafc0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8200, 0xc000222a01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002229f0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce870, 0xc0000bb200, 0xc0000bb260) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fdffbf6b5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000e68c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000e69d0, 0xc00024a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000e68c0, 0xc0000cc300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000e68c0, 0xc0000cc300, 0xc0000e68c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000cc300, 0xaaf4e0, 0xc0000e68c0, 0x0, 0x0, 0x0, 0xc0000a8210, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000222150, 0xc0000cc300, 0x0, 0x0, 0x0, 0xc0000a8210, 0x0, 0x1, 0xc0000cc300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000222150, 0xc0000cc300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000e8f00, 0xc0000bb200, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e8f00, 0xc0000bb200) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 34 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000bb200) /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 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0002b6000, 0xc0002bc000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T23:53:15.358Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T23:53:15.359Z 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:53:15.359Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T23:53:15.359Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T23:53:15.359Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T23:53:15.360Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000222400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000222400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f4aa8c0bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000214098, 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(0xc000214080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000214080, 0x2efe58688c3eb201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000202a20, 0x62f44527, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000202a20, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000202a20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000202a20, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000dc500, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0000dc500, 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 [waiting]: runtime.ReadMemStats(0xc0001c4000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000214000, 0xc0001c4000, 0xc00007e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 41 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 18 [chan receive]: main.main.func1(0xaaf020, 0xc0000dc500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 22 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4aa8c4b2a0, 0xc0000dc730, 0xc0000b2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000206cb0, 0x7f4aa8c4b2a0, 0xc0000dc730, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4aa8c4b2a0, 0xc0000dc730, 0xc0000b2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020e390, 0x7f4aa8c4b2a0, 0xc0000dc730, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ba000, 0xc0000b2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020e510, 0xab7900, 0xc0002ba000, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ba000, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002ba000, 0xc0000b2200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0000be500) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 44 [runnable]: net/http.(*connReader).backgroundRead(0xc00029c300) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 45 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000214000, 0xc00009cc00) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 46 [runnable]: sync.runtime_Semacquire(0xc0000ba808) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ba800) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ba800, 0xc00009cc00, 0xc00009cc60) /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]: syscall.Syscall(0x0, 0x8, 0xc0002c6200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc0002c6200, 0x200, 0x200, 0x0, 0x4c01ec, 0x48) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc00009cde0, 0xc0002c6200, 0x200, 0x200, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc0000aa1a8, 0xc0002c6200, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc0002c6200) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc0000a8af8, 0xc0002c6200, 0x200, 0x200, 0xc0000a8af8, 0xc0002b3008, 0xc00005c400) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc0000a8af8, 0x0, 0x0, 0xc0000aa1a8, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000ba8c0, 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(0x43414, 0xc0000ba850, 0xf, 0xd9c178, 0x1, 0x1, 0x43413, 0x43413, 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, 0xc00009cc00) /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, 0xc00009cc00) /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-11T00:17:04.288Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T00:17:04.288Z 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-11T00:17:04.288Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T00:17:04.288Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T00:17:04.289Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T00:17:04.289Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000100800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00030df01) /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(0x7f62fb86b018, 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, 0x6862e00a54dfa701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d2c0, 0x62f44a8b, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d2c0, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00026e000, 0xab76f0, 0xc00000d2c0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d2c0, 0xc00026e000, 0x0, 0x0, 0xaaf020, 0xc00007c410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00026e000, 0x0, 0x0, 0xaaf020, 0xc00007c410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 49 [runnable]: syscall.Close(0x8, 0xc000116060, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:284 +0xca internal/poll.(*FD).destroy(0xc000280120, 0xc000116060, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:83 +0x43 internal/poll.(*FD).decref(0xc000280120, 0x1, 0xd5) /usr/local/go/src/internal/poll/fd_mutex.go:213 +0x5d internal/poll.(*FD).Close(0xc000280120, 0xaaefc0, 0xc000116060) /usr/local/go/src/internal/poll/fd_unix.go:106 +0x4f os.(*file).close(0xc000280120, 0xc000116060, 0xc0002b0000) /usr/local/go/src/os/file_unix.go:251 +0x38 os.(*File).Close(0xc0002ac000, 0xc0002ae000, 0xc0002b0000) /usr/local/go/src/os/file_posix.go:25 +0x33 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000296018, 0x11, 0xc0002b0000, 0x12b, 0x200, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0x14e github.com/prometheus/procfs.Proc.Stat(0x5f5ae, 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(0xc000140960, 0xc00007af60) /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(0xc000140960, 0xc00007af60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 15 [chan receive]: main.main.func1(0xaaf020, 0xc00007c410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 35 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7f62fb6c23b8, 0xc00007c960, 0xc000246100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000238c40, 0x7f62fb6c23b8, 0xc00007c960, 0xc000246100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f62fb6c23b8, 0xc00007c960, 0xc000246100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000205a10, 0x7f62fb6c23b8, 0xc00007c960, 0xc000246100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00026e0e0, 0xc000246100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000205b90, 0xab7900, 0xc00026e0e0, 0xc000246100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00026e0e0, 0xc000246100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00026e000, 0xab7900, 0xc00026e0e0, 0xc000246100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020960, 0xab8818, 0xc000232540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 36 [IO wait]: internal/poll.runtime_pollWait(0x7f62fb86af30, 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, 0xc000205e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a480, 0xc000205e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ad20) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e158, 0xc000205e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000205e30) /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]: 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 38 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022810, 0xc00007af60, 0xc00007afc0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 39 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f6322530108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000214640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000214750, 0xc000304660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000214640, 0xc000246200, 0x30, 0x9db900, 0x1) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000214640, 0xc000246200, 0xc000214640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000246200, 0xaaf4e0, 0xc000214640, 0x0, 0x0, 0x0, 0xc00000e168, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000205590, 0xc000246200, 0x0, 0x0, 0x0, 0xc00000e168, 0x0, 0x1, 0xc000246200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000205590, 0xc000246200, 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(0xc00023e870, 0xc00007af60, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00023e870, 0xc00007af60) /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-11T03:17:03.455Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T03:17:03.456Z 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-11T03:17:03.456Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T03:17:03.456Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T03:17:03.456Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T03:17:03.456Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc0002ae800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002ae800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7fbbe77e8f18, 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, 0x14c5fcea0018c001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d0f8, 0x62f474bb, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d0f8, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001b4000, 0xab76f0, 0xc00000d0f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d0f8, 0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc0000c8e10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001b4000, 0x0, 0x0, 0xaaf020, 0xc0000c8e10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc0000c8e10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [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(0x7fbbe7600278, 0xc00007c5a0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000183650, 0x7fbbe7600278, 0xc00007c5a0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbbe7600278, 0xc00007c5a0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000184a20, 0x7fbbe7600278, 0xc00007c5a0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001b40e0, 0xc0001d0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000184ba0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001b4000, 0xab7900, 0xc0001b40e0, 0xc0001d0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000200a0, 0xab8818, 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 15 [runnable]: net/http.(*connReader).backgroundRead(0xc000184e40) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc00007a8a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc00007a8a0, 0xc00007a900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fbc0e46e108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000198000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000198110, 0xc000096660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000198000, 0xc0001d0100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000198000, 0xc0001d0100, 0xc000198000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001d0100, 0xaaf4e0, 0xc000198000, 0x0, 0x0, 0x0, 0xc00000e0c8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001845a0, 0xc0001d0100, 0x0, 0x0, 0x0, 0xc00000e0c8, 0x0, 0x1, 0xc0001d0100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001845a0, 0xc0001d0100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00019a000, 0xc00007a8a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00019a000, 0xc00007a8a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 23 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc00021e000, 0xc0000941e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-11T06:16:57.851Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T06:16:57.851Z 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-11T06:16:57.851Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T06:16:57.851Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T06:16:57.851Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T06:16:57.852Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb120f68018, 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, 0x87f01b452157d701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d278, 0x62f49eeb, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d278, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000d278, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d278, 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]: 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, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [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(0x7fb120d7b3b8, 0xc00007c870, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001b8c40, 0x7fb120d7b3b8, 0xc00007c870, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb120d7b3b8, 0xc00007c870, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000185a10, 0x7fb120d7b3b8, 0xc00007c870, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000185b90, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020a00, 0xab8818, 0xc0001b2540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 34 [IO wait]: internal/poll.runtime_pollWait(0x7fb120f67f30, 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, 0x461f80, 0x461f80, 0xc00007ac00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e170, 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 35 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000700900, 0x300, 0x174, 0x300, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000700900, 0x300, 0x300, 0x0, 0x0, 0x7fb120c38448) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc000402000, 0xc000700900, 0x300, 0x300, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc000400000, 0xc000700900, 0x300, 0x300, 0x200, 0xc000700000, 0xc000700000) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000480000, 0xc000700900, 0x300, 0x300, 0x901, 0xc000700000, 0x900) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000480000, 0x0, 0x0, 0xc000400000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000380070, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xe17c6, 0xc000380010, 0xf, 0xd9c178, 0x1, 0x1, 0xe17c4, 0xe17c4, 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, 0xc00007ae40) /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, 0xc00007ae40) /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 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022810, 0xc00007ae40, 0xc00007aea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 37 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fb147be9108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000194640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000194750, 0xc000304660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000194640, 0xc0001c6200, 0x30, 0x9db900, 0x1) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000194640, 0xc0001c6200, 0xc000194640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6200, 0xaaf4e0, 0xc000194640, 0x0, 0x0, 0x0, 0xc00000e180, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000185590, 0xc0001c6200, 0x0, 0x0, 0x0, 0xc00000e180, 0x0, 0x1, 0xc0001c6200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000185590, 0xc0001c6200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001be870, 0xc00007ae40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001be870, 0xc00007ae40) /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-11T06:37:37.409Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T06:37:37.410Z 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-11T06:37:37.410Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T06:37:37.410Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T06:37:37.410Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T06:37:37.412Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7f4f0c01cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00022e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00022e080, 0xd79b6291071f1201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206900, 0x62f4a3d7, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206900, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc000206900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206900, 0xc000252000, 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(0xc000252000, 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 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 37 [chan receive]: main.main.func1(0xaaf020, 0xc00007ce10) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f4f0bfe03b8, 0xc00020a550, 0xc000272000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021aa10, 0x7f4f0bfe03b8, 0xc00020a550, 0xc000272000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4f0bfe03b8, 0xc00020a550, 0xc000272000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002209f0, 0x7f4f0bfe03b8, 0xc00020a550, 0xc000272000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002520e0, 0xc000272000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000220b70, 0xab7900, 0xc0002520e0, 0xc000272000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002520e0, 0xc000272000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002520e0, 0xc000272000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc0002282c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [runnable]: net/http.(*connReader).backgroundRead(0xc000220e10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00022a000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00022a110, 0xc0000c2660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00022a000, 0xc0000c8000, 0x30, 0x9db900, 0x7f4f0c1bb400) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00022a000, 0xc0000c8000, 0xc00022a000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000c8000, 0xaaf4e0, 0xc00022a000, 0x0, 0x0, 0x0, 0xc0000a0010, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000220570, 0xc0000c8000, 0x0, 0x0, 0x0, 0xc0000a0010, 0x0, 0x1, 0xc0000c8000) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000220570, 0xc0000c8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00022c000, 0xc0002008a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00022c000, 0xc0002008a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002181c0, 0xc0002008a0, 0xc000200900) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 45 [runnable]: io.(*LimitedReader).Read(0xc000206948, 0xc000380500, 0x200, 0x200, 0x501, 0xc000380000, 0x500) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000206948, 0x0, 0x0, 0xc0002220b0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000218270, 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(0xf6187, 0xc000218210, 0xf, 0xd9c178, 0x1, 0x1, 0xf6186, 0xf6186, 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, 0xc0002008a0) /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, 0xc0002008a0) /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-11T09:17:04.927Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T09:17:04.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-11T09:17:04.929Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T09:17:04.929Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T09:17:04.929Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T09:17:04.929Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc000033800, 0x8) /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(0xc000001380) /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(0x7f97cf0c0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000232098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000232080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000232080, 0x4f6fae1094340a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200948, 0x62f4c91b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200948, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc000200948, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200948, 0xc00025a000, 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(0xc00025a000, 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 9 [IO wait]: internal/poll.runtime_pollWait(0x7f97cf0c0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000232118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000232100, 0xc0001beac1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000232100, 0xc0001beac1, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021e0a0, 0xc0001beac1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001beab0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 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 38 [chan receive]: main.main.func1(0xaaf020, 0xc0000bc280) /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(0x7f97cf0d22b8, 0xc00007ccd0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7f97cf0d22b8, 0xc00007ccd0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f97cf0d22b8, 0xc00007ccd0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7f97cf0d22b8, 0xc00007ccd0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d6000, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021cb70, 0xab7900, 0xc0001d6000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d6000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025a000, 0xab7900, 0xc0001d6000, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00026c000, 0xab8818, 0xc00011b340) /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 [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 11 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022eb0, 0xc00007b0e0, 0xc00007b140) /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 12 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b0e0) /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 13 [waiting]: runtime.ReadMemStats(0xc0001e2000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0001e2000, 0xc00007e1e0) /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 43 [runnable]: syscall.Syscall6(0x106, 0xffffffffffffff9c, 0xc0002141c0, 0xc000244858, 0x0, 0x0, 0x0, 0x0, 0xc000244858, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:43 +0x5 syscall.fstatat(0xffffffffffffff9c, 0xc0002141b0, 0xc, 0xc000244858, 0x0, 0xc, 0xc0002141b0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:1440 +0xd2 syscall.Stat(...) /usr/local/go/src/syscall/syscall_linux_amd64.go:66 os.statNolog.func1(...) /usr/local/go/src/os/stat_unix.go:32 os.ignoringEINTR(...) /usr/local/go/src/os/file_posix.go:245 os.statNolog(0xc0002141b0, 0xc, 0xc, 0x1, 0xc0002141b0, 0xc) /usr/local/go/src/os/stat_unix.go:31 +0x77 os.Stat(0xc0002141b0, 0xc, 0x2, 0xc0002141b0, 0xc, 0x1) /usr/local/go/src/os/stat.go:13 +0x4d github.com/prometheus/procfs.FS.Proc(0xa05a30, 0x5, 0x874f5, 0x5, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:92 +0x137 github.com/prometheus/procfs.NewProc(0x874f5, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:58 +0xa5 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007b0e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:34 +0x1a5 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007b0e0) /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-11T12:17:06.001Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T12:17:06.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-11T12:17:06.004Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T12:17:06.004Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T12:17:06.005Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T12:17:06.004Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 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(0xc000254000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000254000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000325f01) /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(0x7f90b93faf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0xa85ea152966de001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce40, 0x62f4f34b, 0xc0000e7b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce40, 0xc0000e7b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000176000, 0xab76f0, 0xc00000ce40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce40, 0xc000176000, 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(0xc000176000, 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 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 13 [chan receive]: main.main.func1(0xaaf020, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: 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(0x7f90b9417e38, 0xc00007d220, 0xc00013c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001498f0, 0x7f90b9417e38, 0xc00007d220, 0xc00013c300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f90b9417e38, 0xc00007d220, 0xc00013c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000147830, 0x7f90b9417e38, 0xc00007d220, 0xc00013c300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001760e0, 0xc00013c300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001479b0, 0xab7900, 0xc0001760e0, 0xc00013c300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001760e0, 0xc00013c300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000176000, 0xab7900, 0xc0001760e0, 0xc00013c300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000139360, 0xab8818, 0xc0000a36c0) /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 [runnable]: net/http.(*connReader).backgroundRead(0xc000147c50) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: bytes.Index(0xc0002aa000, 0x12b, 0x200, 0xc000327657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x19620, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:125 +0x22c github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00007ba40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00007ba40) /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 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007ba40, 0xc00007baa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x7f90e0084100) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0xc00008c4b0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000140b40) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000140c50, 0xc00008c660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000140b40, 0xc00013c400, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000140b40, 0xc00013c400, 0xc000140b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00013c400, 0xaaf4e0, 0xc000140b40, 0x0, 0x0, 0x0, 0xc00000e388, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001473b0, 0xc00013c400, 0x0, 0x0, 0x0, 0xc00000e388, 0x0, 0x1, 0xc00013c400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001473b0, 0xc00013c400, 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(0xc000128960, 0xc00007ba40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000128960, 0xc00007ba40) /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-11T15:17:00.494Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T15:17:00.497Z 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-11T15:17:00.497Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T15:17:00.497Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T15:17:00.498Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T15:17:00.498Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 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, 0xc000036000, 0x8) /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(0x7fd0da304f18, 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, 0xb45b3ca5589c5501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f0c8, 0x62f51d7b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009f0c8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ea000, 0xab76f0, 0xc00009f0c8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009f0c8, 0xc0000ea000, 0x0, 0x0, 0xaaf020, 0xc00007cf50, 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, 0xc00007cf50, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 21 [chan receive]: main.main.func1(0xaaf020, 0xc00007cf50) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 25 [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(0x7fd0da2c10a8, 0xc0002020a0, 0xc000230000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7fd0da2c10a8, 0xc0002020a0, 0xc000230000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd0da2c10a8, 0xc0002020a0, 0xc000230000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7fd0da2c10a8, 0xc0002020a0, 0xc000230000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00023c000, 0xc000230000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc00023c000, 0xc000230000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00023c000, 0xc000230000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ea000, 0xab7900, 0xc00023c000, 0xc000230000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000fc000, 0xab8818, 0xc000212040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 33 [IO wait]: internal/poll.runtime_pollWait(0x7fd0da304e30, 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, 0xc0002080d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0002080d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80a8, 0xc0002080d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002080c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 34 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc0000c4000, 0xc00011b580, 0xa32200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc0000c4000, 0xc0001b6400, 0x30, 0x9db900, 0xffaaaabfeaaaa) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0000c4000, 0xc0001b6400, 0xc0000c4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b6400, 0xaaf4e0, 0xc0000c4000, 0x0, 0x0, 0x0, 0xc00000e390, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000aa5a0, 0xc0001b6400, 0x0, 0x0, 0x0, 0xc00000e390, 0x0, 0x1, 0xc0001b6400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000aa5a0, 0xc0001b6400, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000c6000, 0xc000200120, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000c6000, 0xc000200120) /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 35 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00020a050, 0xc000200120, 0xc000200180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 36 [runnable]: path/filepath.Clean(0xc0000242a0, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc0001bfef0, 0x3, 0x3, 0xc00001ed80, 0x2) /usr/local/go/src/path/filepath/path_unix.go:45 +0xbf path/filepath.Join(...) /usr/local/go/src/path/filepath/path.go:213 github.com/prometheus/procfs/internal/fs.FS.Path(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/fs/fs.go:54 github.com/prometheus/procfs.Proc.path(0xe892e, 0xa05a30, 0x5, 0xc0001016a8, 0x1, 0x1, 0xc0000be1a0, 0xc0001a7218) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0xe892e, 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(0xc00007c9b0, 0xc000200120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200120) /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-11T18:16:58.312Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T18:16:58.313Z 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-11T18:16:58.313Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T18:16:58.313Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T18:16:58.314Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T18:16:58.317Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0xc00010ad80) /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(0x7f29cd834f18, 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, 0xde335de142577601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8d0, 0x62f547ab, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8d0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000334000, 0xab76f0, 0xc00000c8d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8d0, 0xc000334000, 0x0, 0x0, 0xaaf020, 0xc000114fa0, 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(0xc000334000, 0x0, 0x0, 0xaaf020, 0xc000114fa0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 7 [chan receive]: main.main.func1(0xaaf020, 0xc000114fa0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000114960, 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(0x7f29cd857678, 0xc0001150e0, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00007ca10, 0x7f29cd857678, 0xc0001150e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f29cd857678, 0xc0001150e0, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00007e9f0, 0x7f29cd857678, 0xc0001150e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00022a000, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00007eb70, 0xab7900, 0xc00022a000, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00022a000, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000334000, 0xab7900, 0xc00022a000, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001dfe00, 0xab8818, 0xc000143580) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x7f29cd834e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180818, 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(0xc000180800, 0xc0001f5ae1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180800, 0xc0001f5ae1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013e378, 0xc0001f5ae1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f5ad0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [runnable]: net/url.getscheme(0x7ffe77f29ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe77f29ef8, 0x28, 0x100, 0x7ffe77f29ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe77f29ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc00013a058, 0xa04fba, 0x3, 0x7ffe77f29ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc00030c000, 0xc0001416e0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc00030c000, 0xc0001416e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00013b440, 0xc0001416e0, 0xc000141740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc0001416e0) /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 49 [waiting]: runtime.ReadMemStats(0xc0001ed800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc0001ed800, 0xc0001163c0) /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-11T21:17:08.800Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T21:17:08.800Z 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-11T21:17:08.800Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T21:17:08.800Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T21:17:08.800Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T21:17:08.801Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000100c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc3bdc0bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a0098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002a0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002a0080, 0xcff2cc133bd28d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000288888, 0x62f571db, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000288888, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc000288888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000288888, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc000140f50, 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, 0xc000140f50, 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 28 [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 35 [chan receive]: main.main.func1(0xaaf020, 0xc000140f50) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 39 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7fc3bdbc7278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000284a10, 0x7fc3bdbc7278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc3bdbc7278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7fc3bdbc7278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d00e0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 40 [runnable]: net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 41 [runnable]: io.ReadAll(0xaaf2e0, 0xc00000c018, 0x0, 0x0, 0xc00000e010, 0x0, 0x0) /usr/local/go/src/io/io.go:636 +0x185 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000024048, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.Proc.Stat(0x54fb8, 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(0xc000140960, 0xc0002807e0) /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(0xc000140960, 0xc0002807e0) /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 42 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002821c0, 0xc0002807e0, 0xc000280840) /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 43 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fc3e48d5f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000298000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000298110, 0xc00010f660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000298000, 0xc0002f8100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000298000, 0xc0002f8100, 0xc000298000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002f8100, 0xaaf4e0, 0xc000298000, 0x0, 0x0, 0x0, 0xc0002900a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028e570, 0xc0002f8100, 0x0, 0x0, 0x0, 0xc0002900a8, 0x0, 0x1, 0xc0002f8100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028e570, 0xc0002f8100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00029c000, 0xc0002807e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029c000, 0xc0002807e0) /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-12T00:17:00.706Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T00:17:00.707Z 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-12T00:17:00.707Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T00:17:00.707Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T00:17:00.707Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T00:17:00.708Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000222000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000222000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7f1dd554ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00002a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a880, 0xaf2ee2e194580701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce70, 0x62f59c0b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce70, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ee000, 0xab76f0, 0xc00000ce70, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce70, 0xc0001ee000, 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(0xc0001ee000, 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 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 14 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f1dd5568e78, 0xc00007d270, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c18f0, 0x7f1dd5568e78, 0xc00007d270, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1dd5568e78, 0xc00007d270, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bf830, 0x7f1dd5568e78, 0xc00007d270, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ee0e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bf9b0, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ee000, 0xab7900, 0xc0001ee0e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1400, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 51 [IO wait]: internal/poll.runtime_pollWait(0x7f1dd554fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a900, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a900, 0xc0001bfc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b800) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bfc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 53 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007ba40, 0xc00007baa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 54 [runnable]: net/url.getscheme(0x7fffe7c51ef8, 0x28, 0xc0001b4300, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001c18f0, 0xc00011b600) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fffe7c51ef8, 0x28, 0xc0001b0100, 0x7fffe7c51ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fffe7c51ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7fffe7c51ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a0960, 0xc00007ba40, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a0960, 0xc00007ba40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000680a74, 0x18c, 0x0, 0x18c, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000680a74, 0x18c, 0x18c, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc000382000, 0xc000680a74, 0x18c, 0x18c, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc000380000, 0xc000680a74, 0x18c, 0x18c, 0x174, 0x0, 0x0) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000400000, 0xc000680a74, 0x18c, 0x18c, 0x174, 0x0, 0x0) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000400000, 0x0, 0x0, 0xc000380000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000308070, 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(0x99a8, 0xc000308010, 0xf, 0xd9c178, 0x1, 0x1, 0x99a7, 0x99a7, 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, 0xc00007ba40) /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, 0xc00007ba40) /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-12T03:17:04.463Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T03:17:04.465Z 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-12T03:17:04.465Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T03:17:04.465Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T03:17:04.465Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T03:17:04.466Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000278400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000278400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000276900) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8f718b5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000264300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000264300, 0x2762517492971601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208c90, 0x62f5c63b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208c90, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc000208c90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208c90, 0xc000296000, 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(0xc000296000, 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 18 [syscall]: strings.genSplit(0xc0004d6288, 0x38, 0xa04cc3, 0x1, 0x0, 0x2, 0xc0002adfe0, 0x2, 0x2) /usr/local/go/src/strings/strings.go:247 +0x71 strings.SplitN(...) /usr/local/go/src/strings/strings.go:273 main.splitkv(0xc0004d6288, 0x38, 0xe, 0x0, 0xc0004d6286, 0x1) /app/apache_exporter.go:244 +0x6d main.(*Exporter).collect(0xc000244f00, 0xc000239020, 0x0, 0x0) /app/apache_exporter.go:322 +0x60d main.(*Exporter).Collect(0xc000244f00, 0xc000239020) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 39 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 42 [chan receive]: main.main.func1(0xaaf020, 0xc000240460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 46 [semacquire]: github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc00007d6d0, 0xc0000a39d0, 0xc000097628, 0x1, 0xc00027fb28) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:907 +0xb65 github.com/prometheus/client_golang/prometheus.processMetric(0xab2768, 0xc00011bc40, 0xc0000975f8, 0xc000097628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:673 +0x3ce github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f8f71878438, 0xc0002409b0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00027a7e0, 0x7f8f71878438, 0xc0002409b0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8f71878438, 0xc0002409b0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00027c5a0, 0x7f8f71878438, 0xc0002409b0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002960e0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00027c720, 0xab7900, 0xc0002960e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002960e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc0002960e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002274a0, 0xab8818, 0xc0002206c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 47 [IO wait]: internal/poll.runtime_pollWait(0x7f8f718b5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc00027c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc00027c9d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000238de0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a200, 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 49 [semacquire]: sync.runtime_Semacquire(0xc00021c878) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021c870) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021c870, 0xc000239020, 0xc000239080) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f8f718b5d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a798, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a780, 0xc000197000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a780, 0xc000197000, 0x1000, 0x1000, 0x439c3c, 0xc000107c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a8068, 0xc000197000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0001207e0, 0xc000197000, 0x1000, 0x1000, 0xc00007e300, 0xc000107d40, 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(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 55 [select]: net/http.(*persistConn).writeLoop(0xc0001207e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T06:17:00.433Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T06:17:00.434Z 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-12T06:17:00.434Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T06:17:00.434Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T06:17:00.434Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T06:17:00.435Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000254400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000254400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000083080) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb946840f18, 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, 0x3aa11bf1aa594b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aecc0, 0x62f5f06b, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aecc0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc0000aecc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aecc0, 0xc000288000, 0x0, 0x0, 0xaaf020, 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(0xc000288000, 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 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(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(0x7fb9468564f8, 0xc0000c8eb0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00017e310, 0x7fb9468564f8, 0xc0000c8eb0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb9468564f8, 0xc0000c8eb0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017c840, 0x7fb9468564f8, 0xc0000c8eb0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017c9c0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166a00, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7fb946840e30, 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, 0xc00017cc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc00017cc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf140) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2c0, 0xc00017cc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017cc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [runnable]: io.(*LimitedReader).Read(0xc00000c9a8, 0xc0001dc000, 0x200, 0x200, 0xc00000c9a8, 0xc000261598, 0xc000254000) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000c9a8, 0x0, 0x0, 0xc00000e0c0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000024150, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.Proc.Stat(0x704dc, 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(0xc0000c8960, 0xc0000bf380) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf380) /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 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8f10, 0xc0000bf380, 0xc0000bf3e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 30 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40d91b, 0xc00013d200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00016e500) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00016e610, 0xc00009a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00016e500, 0xc00016a300, 0x30, 0x9db900, 0x7fb946b94fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00016e500, 0xc00016a300, 0xc00016e500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00016a300, 0xaaf4e0, 0xc00016e500, 0x0, 0x0, 0x0, 0xc0000bc2d0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00017c3c0, 0xc00016a300, 0x0, 0x0, 0x0, 0xc0000bc2d0, 0x0, 0x1, 0xc00016a300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00017c3c0, 0xc00016a300, 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(0xc0001560f0, 0xc0000bf380, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001560f0, 0xc0000bf380) /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-12T06:38:04.049Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T06:38:04.050Z 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-12T06:38:04.050Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T06:38:04.050Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T06:38:04.050Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T06:38:04.051Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000278400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000278400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /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(0x7f16222ddf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a098, 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(0xc00002a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a080, 0x1d382f04f0c8db01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cb10, 0x62f5f557, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cb10, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002ce000, 0xab76f0, 0xc00000cb10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cb10, 0xc0002ce000, 0x0, 0x0, 0xaaf020, 0xc000220320, 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(0xc0002ce000, 0x0, 0x0, 0xaaf020, 0xc000220320, 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 39 [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 8 [chan receive]: main.main.func1(0xaaf020, 0xc000220320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 12 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7f162229aab8, 0xc0002a8640, 0xc00028e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002a51f0, 0x7f162229aab8, 0xc0002a8640, 0xc00028e100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f162229aab8, 0xc0002a8640, 0xc00028e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000291590, 0x7f162229aab8, 0xc0002a8640, 0xc00028e100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ce0e0, 0xc00028e100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000291710, 0xab7900, 0xc0002ce0e0, 0xc00028e100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ce0e0, 0xc00028e100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002ce000, 0xab7900, 0xc0002ce0e0, 0xc00028e100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020b40, 0xab8818, 0xc000292440) /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(0x7f16222dde30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a118, 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(0xc00002a100, 0xc0002919c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a100, 0xc0002919c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007a8a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e168, 0xc0002919c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002919b0) /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]: io.(*LimitedReader).Read(0xc000400000, 0xc000600700, 0x200, 0x200, 0x701, 0xc000600000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000400000, 0x0, 0x0, 0xc000380000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000318070, 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(0x853d4, 0xc000318010, 0xf, 0xd9c178, 0x1, 0x1, 0x853d3, 0x853d3, 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(0xc000140960, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc000140960, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 15 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000222d0, 0xc00007aae0, 0xc00007ab40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 16 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f1648fa7108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0002aa280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002aa390, 0xc00010e660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002aa280, 0xc00028e200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002aa280, 0xc00028e200, 0xc0002aa280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00028e200, 0xaaf4e0, 0xc0002aa280, 0x0, 0x0, 0x0, 0xc00000e178, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000291110, 0xc00028e200, 0x0, 0x0, 0x0, 0xc00000e178, 0x0, 0x1, 0xc00028e200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000291110, 0xc00028e200, 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(0xc0002ac690, 0xc00007aae0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0002ac690, 0xc00007aae0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-12T09:16:55.294Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T09:16:55.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-12T09:16:55.294Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T09:16:55.294Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T09:16:55.294Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T09:16:55.295Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7f610d76af18, 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, 0x112d2fd7e74acb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62f61a9b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 0xc0000a62d0, 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, 0xc0000a62d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0000a62d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc0002202d0, 0xc000207490, 0xc000095628, 0xa, 0xc0001f6cb8) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:901 +0xa65 github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0001c6e10, 0xc0000955f8, 0xc000095628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:673 +0x3ce github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:492 +0x9da github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f610d77c3f8, 0xc00007cf50, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c8310, 0x7f610d77c3f8, 0xc00007cf50, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f610d77c3f8, 0xc00007cf50, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c6840, 0x7f610d77c3f8, 0xc00007cf50, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d20e0, 0xc0001b4200) /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, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d20e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d20e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001aebe0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 15 [IO wait]: internal/poll.runtime_pollWait(0x7f610d76ae30, 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, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c6c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001c6c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001c6c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b440, 0xc00007b4a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000214000, 0xc00007b440) /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 51 [waiting]: runtime.ReadMemStats(0xc0001fa000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000214000, 0xc0001fa000, 0xc00007e240) /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 ] runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [runnable]: main.NewExporter(0x7f4c26ee5008, 0xc000148eb0, 0x7fffdcf88ef8, 0x28, 0xc000148eb0) /app/apache_exporter.go:205 +0xea6 main.main() /app/apache_exporter.go:602 +0x29f 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 [ OK ] level=info ts=2022-08-12T15:17:01.842Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T15:17:01.845Z 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-12T15:17:01.845Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T15:17:01.845Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T15:17:01.845Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T15:17:01.846Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f43d7759f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000266098, 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(0xc000266080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000266080, 0x2a5b8d3999d1e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000212ae0, 0x62f66efb, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000212ae0, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc000212ae0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000212ae0, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc0000d0cd0, 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, 0xc0000d0cd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000d0cd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f43d75b6ab8, 0xc000240640, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f43d75b6ab8, 0xc000240640, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f43d75b6ab8, 0xc000240640, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7f43d75b6ab8, 0xc000240640, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e0e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc00027e0e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e0e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e0e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc00021b9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: 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 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e280, 0xc000200a20, 0xc000200a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f43fe3dfa68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000242280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000242390, 0xc00009e660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000242280, 0xc000218200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000242280, 0xc000218200, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218200, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc000216160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021b110, 0xc000218200, 0x0, 0x0, 0x0, 0xc000216160, 0x0, 0x1, 0xc000218200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021b110, 0xc000218200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244690, 0xc000200a20, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244690, 0xc000200a20) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 8 [runnable]: bytes.Index(0xc000196000, 0x12c, 0x200, 0xc000325657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0xa9324, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:125 +0x22c github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc000200a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc000200a20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-12T16:19:46.982Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T16:19:46.983Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T16:19:46.983Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T16:19:46.983Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T16:19:46.983Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T16:19:46.984Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7fefd9588f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022a098, 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(0xc00022a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00022a080, 0xe6c1df26c7ae3001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008b8, 0x62f67dbf, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc0002008b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008b8, 0xc000252000, 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(0xc000252000, 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 20 [waiting]: runtime.ReadMemStats(0xc0000b3800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc000300000) /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 12 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00007cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 40 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 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(0x7fefd9548278, 0xc000206500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7fefd9548278, 0xc000206500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fefd9548278, 0xc000206500, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7fefd9548278, 0xc000206500, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002520e0, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021cb70, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002520e0, 0xc00027a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000264000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc00021ce10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc000204840) /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 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002141c0, 0xc000204840, 0xc0002048a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7ff000252a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000226000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000226110, 0xc00026a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000226000, 0xc00027a100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000226000, 0xc00027a100, 0xc000226000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00027a100, 0xaaf4e0, 0xc000226000, 0x0, 0x0, 0x0, 0xc00021e0a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021c570, 0xc00027a100, 0x0, 0x0, 0x0, 0xc00021e0a8, 0x0, 0x1, 0xc00027a100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021c570, 0xc00027a100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000228000, 0xc000204840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000228000, 0xc000204840) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-12T18:17:07.053Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T18:17:07.054Z 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-12T18:17:07.054Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T18:17:07.054Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T18:17:07.054Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T18:17:07.055Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc0001d0c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0001d0c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb778724f18, 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, 0xba7cc8b62870c001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097320, 0x62f6992b, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097320, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029c000, 0xab76f0, 0xc000097320, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097320, 0xc00029c000, 0x0, 0x0, 0xaaf020, 0xc00013ecd0, 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(0xc00029c000, 0x0, 0x0, 0xaaf020, 0xc00013ecd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 38 [chan receive]: main.main.func1(0xaaf020, 0xc00013ecd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 6 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 42 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00013e910, 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(0x7fb778765bf8, 0xc0000b46e0, 0xc0000c4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009be30, 0x7fb778765bf8, 0xc0000b46e0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb778765bf8, 0xc0000b46e0, 0xc0000c4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a35c0, 0x7fb778765bf8, 0xc0000b46e0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029c0e0, 0xc0000c4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a3740, 0xab7900, 0xc00029c0e0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029c0e0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029c000, 0xab7900, 0xc00029c0e0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000ceaa0, 0xab8818, 0xc0000c8440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [runnable]: net/http.(*connReader).backgroundRead(0xc0000a39e0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [runnable]: io.(*LimitedReader).Read(0xc000400000, 0xc000480200, 0x200, 0x200, 0x201, 0xc000480000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000400000, 0x0, 0x0, 0xc000380000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000310070, 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(0x4cca9, 0xc000310010, 0xf, 0xd9c178, 0x1, 0x1, 0x4cca7, 0x4cca7, 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(0xc00013e960, 0xc0000b2a80) /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(0xc00013e960, 0xc0000b2a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c6280, 0xc0000b2a80, 0xc0000b2ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 46 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fb79f3ee5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000de280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000de390, 0xc0002b2660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000de280, 0xc0000c4200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000de280, 0xc0000c4200, 0xc0000de280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000c4200, 0xaaf4e0, 0xc0000de280, 0x0, 0x0, 0x0, 0xc0000a0168, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a3140, 0xc0000c4200, 0x0, 0x0, 0x0, 0xc0000a0168, 0x0, 0x1, 0xc0000c4200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a3140, 0xc0000c4200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000e0690, 0xc0000b2a80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e0690, 0xc0000b2a80) /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-12T20:10:54.734Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T20:10:54.735Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T20:10:54.736Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T20:10:54.736Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T20:10:54.736Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T20:10:54.736Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc00029a300) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f22f61cdf18, 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, 0x4fb2bf43ecd9ae01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62f6b3e3, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 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(0xc0002d0000, 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 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000298000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000298110, 0xc0002e4660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000298000, 0xc0001b4300, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000298000, 0xc0001b4300, 0xc000298000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4300, 0xaaf4e0, 0xc000298000, 0x0, 0x0, 0x0, 0xc00000e2d8, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028e570, 0xc0001b4300, 0x0, 0x0, 0x0, 0xc00000e2d8, 0x0, 0x1, 0xc0001b4300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028e570, 0xc0001b4300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d 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 51 [chan receive]: main.main.func1(0xaaf020, 0xc00007cc80) /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.(*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(0x7f22f6149278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7f22f6149278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f22f6149278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7f22f6149278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d00e0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d00e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7f22f61cde30, 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, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a8100, 0xc00028ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002900a0, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 58 [semacquire]: sync.runtime_Semacquire(0xc0002801c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002801c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: regexp.(*bitState).reset(0xc0001328f0, 0xc000109a40, 0x4e, 0x8) /usr/local/go/src/regexp/backtrack.go:100 +0x18b regexp.(*Regexp).backtrack(0xc0001b0140, 0x0, 0x0, 0x0, 0xc000204190, 0x4e, 0x0, 0x8, 0xc0000975f8, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:319 +0x11e regexp.(*Regexp).doExecute(0xc0001b0140, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc000204190, 0x4e, 0x0, 0x8, ...) /usr/local/go/src/regexp/exec.go:535 +0x45c regexp.(*Regexp).FindStringSubmatch(0xc0001b0140, 0xc000204190, 0x4e, 0xc000204190, 0x4e, 0x0) /usr/local/go/src/regexp/regexp.go:1039 +0xb5 github.com/prometheus/procfs.Proc.Limits(0xbdd72, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:104 +0x25f github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:59 +0x547 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-12T21:16:58.884Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T21:16:58.884Z 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-12T21:16:58.884Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T21:16:58.884Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T21:16:58.885Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T21:16:58.885Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00030df01) /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(0x7f5483d20f18, 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, 0x4ca18a36acfc1101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62f6c35b, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 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(0xc0001d2000, 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 [IO wait]: internal/poll.runtime_pollWait(0x7f5483d20e30, 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, 0xc0000a2ca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0000a2ca1, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0000a2ca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a2c90) /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 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc00020e280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [runnable]: 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(0x7f5483d629b8, 0xc0000b42d0, 0xc0000c4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7f5483d629b8, 0xc0000b42d0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5483d629b8, 0xc0000b42d0, 0xc0000c4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7f5483d629b8, 0xc0000b42d0, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fe000, 0xc0000c4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc0000fe000, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fe000, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0000fe000, 0xc0000c4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8aa0, 0xab8818, 0xc0000c81c0) /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 [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 22 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c6110, 0xc0000b2420, 0xc0000b2480) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 23 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc0001c0500, 0xc0000c8340, 0xa32200, 0x1, 0xffffffffffffffff, 0xc000109580, 0x414ab7, 0x100000000968da0, 0xc0000d2900, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc0001c0500, 0xc0000c4200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0001c0500, 0xc0000c4200, 0xc0001c0500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000c4200, 0xaaf4e0, 0xc0001c0500, 0x0, 0x0, 0x0, 0xc0000a00c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001c43c0, 0xc0000c4200, 0x0, 0x0, 0x0, 0xc0000a00c0, 0x0, 0x1, 0xc0000c4200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001c43c0, 0xc0000c4200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a80f0, 0xc0000b2420, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a80f0, 0xc0000b2420) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000680900, 0x300, 0x175, 0x300, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000680900, 0x300, 0x300, 0x0, 0x0, 0x7f5483a3b208) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc000382000, 0xc000680900, 0x300, 0x300, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc000380000, 0xc000680900, 0x300, 0x300, 0x200, 0xc000680000, 0xc000680000) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000400000, 0xc000680900, 0x300, 0x300, 0x901, 0xc000680000, 0x900) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000400000, 0x0, 0x0, 0xc000380000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000310070, 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(0xfb2bf, 0xc000310010, 0xf, 0xd9c178, 0x1, 0x1, 0xfb2be, 0xfb2be, 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, 0xc0000b2420) /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, 0xc0000b2420) /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-13T00:16:57.624Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T00:16:57.626Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T00:16:57.626Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T00:16:57.626Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T00:16:57.626Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T00:16:57.627Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc00025c000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00025c000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001e7f01) /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(0x7fb2f5932f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000244098, 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(0xc000244080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000244080, 0x8bb7525dcb6ca001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62f6ed8b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000248000, 0xab76f0, 0xc000200900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200900, 0xc000248000, 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(0xc000248000, 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 37 [chan receive]: main.main.func1(0xaaf020, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 11 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb2f59708f8, 0xc0000bc2d0, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020ea10, 0x7fb2f59708f8, 0xc0000bc2d0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb2f59708f8, 0xc0000bc2d0, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002149f0, 0x7fb2f59708f8, 0xc0000bc2d0, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028e000, 0xc0000cc100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000214b70, 0xab7900, 0xc00028e000, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028e000, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000248000, 0xab7900, 0xc00028e000, 0xc0000cc100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00025a000, 0xab8818, 0xc0000d01c0) /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 [runnable]: net/http.(*connReader).backgroundRead(0xc0000aac90) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 21 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc0000ba4e0) /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 22 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce110, 0xc0000ba4e0, 0xc0000ba540) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 23 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fb31c5fc5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00021c000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00021c110, 0xc000101660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00021c000, 0xc0000cc200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00021c000, 0xc0000cc200, 0xc00021c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000cc200, 0xaaf4e0, 0xc00021c000, 0x0, 0x0, 0x0, 0xc0000a80c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000214570, 0xc0000cc200, 0x0, 0x0, 0x0, 0xc0000a80c0, 0x0, 0x1, 0xc0000cc200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000214570, 0xc0000cc200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000220000, 0xc0000ba4e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000220000, 0xc0000ba4e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [waiting]: runtime.ReadMemStats(0xc0001ea000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0001ea000, 0xc00007e300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T03:17:01.542Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T03:17:01.542Z 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-13T03:17:01.542Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T03:17:01.542Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T03:17:01.542Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T03:17:01.543Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000208000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000208000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001ddf01) /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(0x7f308ca81f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000280318, 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(0xc000280300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000280300, 0xbabc37da8509d801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a4c90, 0x62f717bb, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a4c90, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002ae000, 0xab76f0, 0xc0000a4c90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a4c90, 0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc0000da460, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc0000da460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc0000da460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 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(0x7f308cac4438, 0xc0000da9b0, 0xc0000ae200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029a7e0, 0x7f308cac4438, 0xc0000da9b0, 0xc0000ae200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f308cac4438, 0xc0000da9b0, 0xc0000ae200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029c5a0, 0x7f308cac4438, 0xc0000da9b0, 0xc0000ae200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ae0e0, 0xc0000ae200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029c720, 0xab7900, 0xc0002ae0e0, 0xc0000ae200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ae0e0, 0xc0000ae200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002ae000, 0xab7900, 0xc0002ae0e0, 0xc0000ae200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bf400, 0xab8818, 0xc0000b86c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 31 [runnable]: net/http.(*connReader).backgroundRead(0xc00029c9c0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 32 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000dc8c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000dc9d0, 0xc000105660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000dc8c0, 0xc0001b4200, 0x30, 0x9db900, 0x7f308cc29100) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000dc8c0, 0xc0001b4200, 0xc0000dc8c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4200, 0xaaf4e0, 0xc0000dc8c0, 0x0, 0x0, 0x0, 0xc00000e238, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00029c120, 0xc0001b4200, 0x0, 0x0, 0x0, 0xc00000e238, 0x0, 0x1, 0xc0001b4200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00029c120, 0xc0001b4200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000def00, 0xc0000d1020, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000def00, 0xc0000d1020) /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 49 [runnable]: sync.runtime_Semacquire(0xc0000b4878) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000b4870) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b4870, 0xc0000d1020, 0xc0000d1080) /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 [runnable]: io.(*LimitedReader).Read(0xc0000a4cd8, 0xc000380900, 0x300, 0x300, 0x901, 0xc000380000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0000a4cd8, 0x0, 0x0, 0xc0000d8210, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000b4920, 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(0x34c70, 0xc0000b48c0, 0xf, 0xd9c178, 0x1, 0x1, 0x34c6f, 0x34c6f, 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, 0xc0000d1020) /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, 0xc0000d1020) /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-13T06:16:59.250Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T06:16:59.251Z 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-13T06:16:59.251Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T06:16:59.251Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T06:16:59.252Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T06:16:59.252Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc00002c000, 0x8) /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(0x7f86620c7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a0098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002a0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002a0080, 0xe4962397b8426701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000286888, 0x62f741eb, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000286888, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc000286888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000286888, 0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc00020a2d0, 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, 0xc00020a2d0, 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 51 [chan receive]: main.main.func1(0xaaf020, 0xc00020a2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f8662043278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7f8662043278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8662043278, 0xc00029e4b0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7f8662043278, 0xc00029e4b0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c80e0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002c80e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c80e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc0002c80e0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [runnable]: net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: github.com/prometheus/client_golang/prometheus.(*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 58 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f8688d91f18) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000298000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000298110, 0xc0002e0660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000298000, 0xc0002f8100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000298000, 0xc0002f8100, 0xc000298000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002f8100, 0xaaf4e0, 0xc000298000, 0x0, 0x0, 0x0, 0xc0002900a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00028e570, 0xc0002f8100, 0x0, 0x0, 0x0, 0xc0002900a8, 0x0, 0x1, 0xc0002f8100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00028e570, 0xc0002f8100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00029c000, 0xc00028a780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029c000, 0xc00028a780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 39 [waiting]: runtime.ReadMemStats(0xc000380000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc000380000, 0xc0002521e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T06:39:55.164Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T06:39:55.165Z 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-13T06:39:55.165Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T06:39:55.165Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T06:39:55.165Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T06:39:55.165Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0x7f1aa444ef18, 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, 0x82f7c86bd4601a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000aed68, 0x62f7474f, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000aed68, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc0000aed68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000aed68, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0001a0230, 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, 0xc0001a0230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [runnable]: net/url.getscheme(0x7ffe91fb3ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe91fb3ef8, 0x28, 0x100, 0x7ffe91fb3ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe91fb3ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000b8058, 0xa04fba, 0x3, 0x7ffe91fb3ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001560f0, 0xc0000bf560, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001560f0, 0xc0000bf560) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d 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, 0xc0001a0230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0002131d0, 0xc0000935f8, 0xc000093628, 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(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(0x7f1aa4465d78, 0xc0000c8ff0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000176310, 0x7f1aa4465d78, 0xc0000c8ff0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1aa4465d78, 0xc0000c8ff0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000174840, 0x7f1aa4465d78, 0xc0000c8ff0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc00016a200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001749c0, 0xab7900, 0xc0002900e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc00016a200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000166a00, 0xab8818, 0xc0000c1440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x7f1aa444ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000108618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108600, 0xc000174c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000bf320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000bc2c8, 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 32 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [semacquire]: sync.runtime_Semacquire(0xc0000b8f18) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000b8f10) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b8f10, 0xc0000bf560, 0xc0000bf5c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go: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 36 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000402900, 0x300, 0x176, 0x300, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000402900, 0x300, 0x300, 0x0, 0x0, 0x7f1aa4164988) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc00019e660, 0xc000402900, 0x300, 0x300, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc00018c0b0, 0xc000402900, 0x300, 0x300, 0x200, 0xc000402000, 0xc000402000) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000182930, 0xc000402900, 0x300, 0x300, 0x901, 0xc000402000, 0x900) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000182930, 0x0, 0x0, 0xc00018c0b0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0001c8680, 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(0xd409e, 0xc0001c8620, 0xf, 0xd9c178, 0x1, 0x1, 0xd409d, 0xd409d, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000c8960, 0xc0000bf560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000c8960, 0xc0000bf560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-13T09:17:04.274Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T09:17:04.275Z 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-13T09:17:04.275Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T09:17:04.275Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T09:17:04.275Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T09:17:04.278Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000088800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000088800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000219f01) /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(0x7f64c61c0f18, 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, 0x5303738212228d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009f0f8, 0x62f76c1b, 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, 0xc00007ceb0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000f2000, 0x0, 0x0, 0xaaf020, 0xc00007ceb0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc00021c000, 0xc000222000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00007ceb0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f64c61db578, 0xc00007cff0, 0xc0001b4400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a3650, 0x7f64c61db578, 0xc00007cff0, 0xc0001b4400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f64c61db578, 0xc00007cff0, 0xc0001b4400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000aaa20, 0x7f64c61db578, 0xc00007cff0, 0xc0001b4400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f4000, 0xc0001b4400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000aaba0, 0xab7900, 0xc0001f4000, 0xc0001b4400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f4000, 0xc0001b4400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000f2000, 0xab7900, 0xc0001f4000, 0xc0001b4400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000f4000, 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 13 [IO wait]: internal/poll.runtime_pollWait(0x7f64c61c0e30, 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, 0xc0001bfab1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000b0180, 0xc0001bfab1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000ba600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000a80b0, 0xc0001bfab1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bfaa0) /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]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b6e0) /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 15 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000234a0, 0xc00007b6e0, 0xc00007b740) /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 16 [runnable]: os.newFile(0x8, 0xc000023550, 0xa, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc000023550, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000023550, 0xa, 0x0, 0x0, 0xc000023550, 0xa, 0xc000023550) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000023550, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x4d3eb, 0xc0000234f0, 0xf, 0xd9c178, 0x1, 0x1, 0x4d3e9, 0x4d3e9, 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, 0xc00007b6e0) /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, 0xc00007b6e0) /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-13T12:17:01.067Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T12:17:01.068Z 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-13T12:17:01.068Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T12:17:01.068Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T12:17:01.068Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T12:17:01.068Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005cc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005cc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000391f01) /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(0x7fba0aa24118, 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, 0xe7cffa4a5baf5801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00028ab10, 0x62f7964b, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00028ab10, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002f4000, 0xab76f0, 0xc00028ab10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00028ab10, 0xc0002f4000, 0x0, 0x0, 0xaaf020, 0xc000148c80, 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, 0xc000148c80, 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 37 [chan receive]: main.main.func1(0xaaf020, 0xc000148c80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 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(0x7fba0a9dcb78, 0xc0002c0690, 0xc000298100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002bb1f0, 0x7fba0a9dcb78, 0xc0002c0690, 0xc000298100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fba0a9dcb78, 0xc0002c0690, 0xc000298100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029b590, 0x7fba0a9dcb78, 0xc0002c0690, 0xc000298100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002f40e0, 0xc000298100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029b710, 0xab7900, 0xc0002f40e0, 0xc000298100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002f40e0, 0xc000298100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002f4000, 0xab7900, 0xc0002f40e0, 0xc000298100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002a6be0, 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 42 [IO wait]: internal/poll.runtime_pollWait(0x7fba0aa24030, 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, 0xc00029b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002dc100, 0xc00029b9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002b8840) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00028e160, 0xc00029b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00029b9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc0002b8a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [runnable]: sync.runtime_Semacquire(0xc00029e288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00029e280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00029e280, 0xc0002b8a80, 0xc0002b8ae0) /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 45 [runnable]: io.(*LimitedReader).Read(0xc00028ab58, 0xc0003a8500, 0x200, 0x200, 0x501, 0xc0003a8000, 0x500) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00028ab58, 0x0, 0x0, 0xc00028e170, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00029e330, 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(0xea6c2, 0xc00029e2d0, 0xf, 0xd9c178, 0x1, 0x1, 0xea6c1, 0xea6c1, 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(0xc000148960, 0xc0002b8a80) /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(0xc000148960, 0xc0002b8a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 24 [waiting]: runtime.ReadMemStats(0xc0001ef800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc0001ef800, 0xc000114300) /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 ] runtime: failed to create new OS thread (have 9 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(0xc000100800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000067f01) /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 [runnable]: sync.(*RWMutex).Lock(0xc00009c960) /usr/local/go/src/sync/rwmutex.go:105 +0x9c github.com/prometheus/client_golang/prometheus.(*Registry).Register(0xc00009c960, 0xab31b8, 0xc0002a4000, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:280 +0x185 github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc00009c960, 0xc00028e2c0, 0x1, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:402 +0x76 github.com/prometheus/client_golang/prometheus.MustRegister(...) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:178 main.main() /app/apache_exporter.go:603 +0x313 goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 34 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Register.func1(0xab31b8, 0xc0002a4000, 0xc000294060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:276 created by github.com/prometheus/client_golang/prometheus.(*Registry).Register /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:276 +0x171 [ OK ] level=info ts=2022-08-13T18:17:01.541Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T18:17:01.541Z 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-13T18:17:01.541Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T18:17:01.541Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T18:17:01.541Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T18:17:01.542Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000291f01) /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(0x7f05b4ecef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000244098, 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(0xc000244080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000244080, 0x978862645f776201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002088a0, 0x62f7eaab, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002088a0, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000248000, 0xab76f0, 0xc0002088a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002088a0, 0xc000248000, 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(0xc000248000, 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 35 [chan receive]: main.main.func1(0xaaf020, 0xc00007cdc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [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(0x7f05b4e8e278, 0xc00021e4b0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000204a10, 0x7f05b4e8e278, 0xc00021e4b0, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f05b4e8e278, 0xc00021e4b0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020e9f0, 0x7f05b4e8e278, 0xc00021e4b0, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002480e0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020eb70, 0xab7900, 0xc0002480e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002480e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000248000, 0xab7900, 0xc0002480e0, 0xc000270000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00025a000, 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 40 [runnable]: net/http.(*connReader).backgroundRead(0xc00020ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 41 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc000200780) /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 42 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002021c0, 0xc000200780, 0xc0002007e0) /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 43 [runnable]: fmt.(*ss).scanInt(0xc000200900, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:638 +0x436 fmt.(*ss).scanOne(0xc000200900, 0x7f0500000076, 0x92ff80, 0xc000248280) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc000200900, 0xc0000976b8, 0x16, 0x16, 0x15, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc00020efc0, 0xc0000976b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x2225f, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:134 +0x6c7 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000200780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200780) /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 19 [waiting]: runtime.ReadMemStats(0xc0000b3800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc000294000) /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-13T21:17:00.526Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T21:17:00.527Z 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-13T21:17:00.527Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T21:17:00.527Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T21:17:00.528Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-13T21:17:00.527Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 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, 0xc00002c000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00006df01) /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(0xc00008a600) /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(0x7f410bfee018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000194398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000194380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000194380, 0xd23749738999db01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000183278, 0x62f814db, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000183278, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000183278, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000183278, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0001a0320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0001a0320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 6 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [chan receive]: main.main.func1(0xaaf020, 0xc0001a0320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000194000, 0xc000300120) /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 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f410bdfe0a8, 0xc0003020f0, 0xc000338000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d0c40, 0x7f410bdfe0a8, 0xc0003020f0, 0xc000338000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f410bdfe0a8, 0xc0003020f0, 0xc000338000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00018fa10, 0x7f410bdfe0a8, 0xc0003020f0, 0xc000338000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000344000, 0xc000338000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00018fb90, 0xab7900, 0xc000344000, 0xc000338000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000344000, 0xc000338000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc000344000, 0xc000338000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00031e000, 0xab8818, 0xc000312040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f410bfedf30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00031a018, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00031a000, 0xc000308161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00031a000, 0xc000308161, 0x1, 0x1, 0x2, 0x2, 0xaaf020) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00031c000, 0xc000308161, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000308150) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: 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 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00030a050, 0xc000300120, 0xc000300180) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000354200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000354200, 0x200, 0x200, 0x0, 0x4c01ec, 0x48) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:187 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).Read(0xc000300300, 0xc000354200, 0x200, 0x200, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc00031c010, 0xc000354200, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc000354200) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000352030, 0xc000354200, 0x200, 0x200, 0xc000352030, 0xc00032f008, 0xc000088000) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000352030, 0x0, 0x0, 0xc00031c010, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00030a100, 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(0xb2ab6, 0xc00030a0a0, 0xf, 0xd9c178, 0x1, 0x1, 0xb2ab5, 0xb2ab5, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc000300120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc000300120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 46 [waiting]: runtime.ReadMemStats(0xc000197800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000194000, 0xc000197800, 0xc0001da240) /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-14T00:16:59.847Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T00:16:59.848Z 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-14T00:16:59.848Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T00:16:59.848Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T00:16:59.849Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T00:16:59.849Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000208000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000208000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001ddf01) /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(0x7f2385810f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a8398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a8380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a8380, 0xa1ea6f515a306401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000097458, 0x62f83f0b, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000097458, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002ac000, 0xab76f0, 0xc000097458, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000097458, 0xc0002ac000, 0x0, 0x0, 0xaaf020, 0xc0000b43c0, 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(0xc0002ac000, 0x0, 0x0, 0xaaf020, 0xc0000b43c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc0000b43c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(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(0x7f2385853438, 0xc0000b4910, 0xc0000c4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000281420, 0x7f2385853438, 0xc0000b4910, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2385853438, 0xc0000b4910, 0xc0000c4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029a5d0, 0x7f2385853438, 0xc0000b4910, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ac0e0, 0xc0000c4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029a750, 0xab7900, 0xc0002ac0e0, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ac0e0, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002ac000, 0xab7900, 0xc0002ac0e0, 0xc0000c4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000cf400, 0xab8818, 0xc0000c86c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 29 [runnable]: net/http.(*connReader).backgroundRead(0xc00029a9f0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [runnable]: runtime.SetFinalizer(0x962260, 0xc000302000, 0x94cf20, 0xa32268) /usr/local/go/src/runtime/mfinal.go:415 +0x294 os.newFile(0x8, 0xc000022e60, 0xa, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:186 +0x133 os.openFileNolog(0xc000022e60, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000022e60, 0xa, 0x0, 0x0, 0xc000022e60, 0xa, 0xc000022e60) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022e60, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0x4660b, 0xc000022df0, 0xf, 0xd9c178, 0x1, 0x1, 0x4660a, 0x4660a, 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, 0xc0000b2fc0) /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, 0xc0000b2fc0) /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 31 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c6870, 0xc0000b2fc0, 0xc0000b3020) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 32 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f23ac4da5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000de8c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000de9d0, 0xc000108660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000de8c0, 0xc0000c4300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000de8c0, 0xc0000c4300, 0xc0000de8c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000c4300, 0xaaf4e0, 0xc0000de8c0, 0x0, 0x0, 0x0, 0xc0000a0228, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00029a150, 0xc0000c4300, 0x0, 0x0, 0x0, 0xc0000a0228, 0x0, 0x1, 0xc0000c4300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00029a150, 0xc0000c4300, 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(0xc0000e0f00, 0xc0000b2fc0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000e0f00, 0xc0000b2fc0) /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-14T03:16:55.829Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T03:16:55.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-14T03:16:55.830Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T03:16:55.830Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T03:16:55.830Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T03:16:55.831Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000100800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb26ffa1018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c6318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002c6300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002c6300, 0x2544bab48e942b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002809f0, 0x62f8693b, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002809f0, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000318000, 0xab76f0, 0xc0002809f0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002809f0, 0xc000318000, 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(0xc000318000, 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 [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, 0xc000286230) /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(0xc000140910, 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(0x7fb26fdbc3b8, 0xc000286780, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000316000, 0x7fb26fdbc3b8, 0xc000286780, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb26fdbc3b8, 0xc000286780, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002899e0, 0x7fb26fdbc3b8, 0xc000286780, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003180e0, 0xc0002d8100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000289b60, 0xab7900, 0xc0003180e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003180e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000318000, 0xab7900, 0xc0003180e0, 0xc0002d8100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000292960, 0xab8818, 0xc0002ba540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [IO wait]: internal/poll.runtime_pollWait(0x7fb26ffa0f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002c6398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002c6380, 0xc000289e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002c6380, 0xc000289e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000284b40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002b8148, 0xc000289e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000289e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002b27c0, 0xc000284d80, 0xc000284de0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 46 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc000284d80) /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 47 [waiting]: runtime.ReadMemStats(0xc000346000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc000346000, 0xc0002d0300) /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 12 [runnable]: net/url.Parse(0x7ffd50a4aef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:475 +0x2a5 net/http.NewRequestWithContext(0xab87a8, 0xc000130058, 0xa04fba, 0x3, 0x7ffd50a4aef8, 0x28, 0x0, 0x0, 0xd8f880, 0xd81b88, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0002ce870, 0xc000284d80, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0002ce870, 0xc000284d80) /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-14T06:16:58.196Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T06:16:58.197Z 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-14T06:16:58.197Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T06:16:58.197Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T06:16:58.197Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T06:16:58.198Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc00030a000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00030a000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002a1f01) /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(0x7fb5f250af18, 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, 0xa848723b2db1a001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d308, 0x62f8936b, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d308, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025c000, 0xab76f0, 0xc00000d308, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d308, 0xc00025c000, 0x0, 0x0, 0xaaf020, 0xc0000d0d70, 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(0xc00025c000, 0x0, 0x0, 0xaaf020, 0xc0000d0d70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [chan receive]: main.main.func1(0xaaf020, 0xc0000d0d70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc000205bc0, 0xc0000955f8, 0xc000095628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:652 +0xb4c github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 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(0x7fb5f2483ab8, 0xc00007c6e0, 0xc00021c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000203e30, 0x7fb5f2483ab8, 0xc00007c6e0, 0xc00021c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb5f2483ab8, 0xc00007c6e0, 0xc00021c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002055c0, 0x7fb5f2483ab8, 0xc00007c6e0, 0xc00021c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00025c0e0, 0xc00021c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000205740, 0xab7900, 0xc00025c0e0, 0xc00021c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00025c0e0, 0xc00021c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00025c000, 0xab7900, 0xc00025c0e0, 0xc00021c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020b40, 0xab8818, 0xc00021e440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 14 [runnable]: net/http.(*connReader).backgroundRead(0xc0002059e0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 15 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a080, 0xc00007aae0) /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 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000222d0, 0xc00007aae0, 0xc00007ab40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 49 [runnable]: io.(*LimitedReader).Read(0xc00000d350, 0xc000384200, 0x200, 0x200, 0x201, 0xc000384000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000d350, 0x0, 0x0, 0xc00000e178, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022380, 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(0xa003c, 0xc000022320, 0xf, 0xd9c178, 0x1, 0x1, 0xa003b, 0xa003b, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc00007aae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 26 [waiting]: runtime.ReadMemStats(0xc0002a4000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a080, 0xc0002a4000, 0xc00009c300) /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-14T06:39:27.348Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T06:39:27.349Z 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-14T06:39:27.349Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T06:39:27.349Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T06:39:27.349Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T06:39:27.349Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000069f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fce3c420f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000272098, 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(0xc000272080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000272080, 0x9ff67e9a171e3101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020cb10, 0x62f898cf, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020cb10, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000276000, 0xab76f0, 0xc00020cb10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020cb10, 0xc000276000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000276000, 0x0, 0x0, 0xaaf020, 0xc0000b4320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc0000b4320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fce3c3e1ab8, 0xc000240640, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7fce3c3e1ab8, 0xc000240640, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fce3c3e1ab8, 0xc000240640, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021b590, 0x7fce3c3e1ab8, 0xc000240640, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002760e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc0002760e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002760e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000276000, 0xab7900, 0xc0002760e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc00021b9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: os.newFile(0x8, 0xc0000241e0, 0x11, 0x1, 0xc000000000) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc0000241e0, 0x11, 0x0, 0xc000000000, 0x3, 0x3, 0xc0000241e0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc0000241e0, 0x11, 0x0, 0x0, 0x3, 0xc00001ea60, 0xc000111e30) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000241e0, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.Proc.Stat(0xb2c5a, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:116 +0xfd github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc000200a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc000200a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e280, 0xc000200a80, 0xc000200ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fce630eaa68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000242280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000242390, 0xc00027c660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000242280, 0xc000218200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000242280, 0xc000218200, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218200, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc00020e170, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021b110, 0xc000218200, 0x0, 0x0, 0x0, 0xc00020e170, 0x0, 0x1, 0xc000218200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021b110, 0xc000218200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244690, 0xc000200a80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244690, 0xc000200a80) /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-14T09:16:58.358Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T09:16:58.359Z 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-14T09:16:58.359Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T09:16:58.359Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T09:16:58.359Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T09:16:58.360Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00008ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f390bcbaf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000f8300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f8300, 0x85de276ee59cf001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a0be8, 0x62f8bd9b, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a0be8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc0000a0be8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a0be8, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000d4370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000d4370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc0000d4370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f390bcfd438, 0xc0000d48c0, 0xc0000ac200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7f390bcfd438, 0xc0000d48c0, 0xc0000ac200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f390bcfd438, 0xc0000d48c0, 0xc0000ac200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7f390bcfd438, 0xc0000d48c0, 0xc0000ac200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc0000ac200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002a60e0, 0xc0000ac200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc0000ac200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc0000ac200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000bd400, 0xab8818, 0xc0000b66c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 28 [runnable]: net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: io.(*LimitedReader).Read(0xc000400000, 0xc000500400, 0x100, 0x100, 0x401, 0xc000500000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000400000, 0x0, 0x0, 0xc000380000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000300070, 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(0x3e796, 0xc000300010, 0xf, 0xd9c178, 0x1, 0x1, 0x3e795, 0x3e795, 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, 0xc000094fc0) /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, 0xc000094fc0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000b2870, 0xc000094fc0, 0xc000095020) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f39329845b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000d68c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000d69d0, 0xc0002bc660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000d68c0, 0xc0000ac300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000d68c0, 0xc0000ac300, 0xc0000d68c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000ac300, 0xaaf4e0, 0xc0000d68c0, 0x0, 0x0, 0x0, 0xc0000a2210, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000294120, 0xc0000ac300, 0x0, 0x0, 0x0, 0xc0000a2210, 0x0, 0x1, 0xc0000ac300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000294120, 0xc0000ac300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0000d8f00, 0xc000094fc0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d8f00, 0xc000094fc0) /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-14T12:16:54.786Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T12:16:54.787Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T12:16:54.787Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T12:16:54.787Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T12:16:54.788Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-14T12:16:54.787Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 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(0xc00029a000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00029a000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001e00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f6c47c88f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a818, 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(0xc00002a800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00002a800, 0x742bc408bea12a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce40, 0x62f8e7cb, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce40, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e6000, 0xab76f0, 0xc00000ce40, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce40, 0xc0001e6000, 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(0xc0001e6000, 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 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0000b3800, 0xc0000c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc00007ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f6c47ca0638, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c18f0, 0x7f6c47ca0638, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6c47ca0638, 0xc00007d220, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001bf830, 0x7f6c47ca0638, 0xc00007d220, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e60e0, 0xc0001b4300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001bf9b0, 0xab7900, 0xc0001e60e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e60e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e6000, 0xab7900, 0xc0001e60e0, 0xc0001b4300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b1400, 0xab8818, 0xc00011b6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f6c47c88e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a898, 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(0xc00002a880, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a880, 0xc0001bfc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b7a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc0001bfc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001bfc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b9e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023550, 0xc00007b9e0, 0xc00007ba40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: net/url.getscheme(0x7ffdd8ed8ef8, 0x28, 0xc0001b4300, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001c18f0, 0xc00011b600) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffdd8ed8ef8, 0x28, 0xc0001b0100, 0x7ffdd8ed8ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffdd8ed8ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffdd8ed8ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a0960, 0xc00007b9e0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a0960, 0xc00007b9e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-14T15:17:01.970Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T15:17:01.971Z 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-14T15:17:01.971Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T15:17:01.971Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T15:17:01.971Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T15:17:01.972Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc000208000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000208000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00030df01) /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(0x7fe316682018, 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, 0x380629cbd2f4e701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc90, 0x62f911fb, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc90, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f6000, 0xab76f0, 0xc00000cc90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc90, 0xc0001f6000, 0x0, 0x0, 0xaaf020, 0xc00007c460, 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, 0xc00007c460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 21 [runnable]: net/url.getscheme(0x7ffc80760ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffc80760ef8, 0x28, 0x100, 0x7ffc80760ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffc80760ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000c0058, 0xa04fba, 0x3, 0x7ffc80760ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001acf00, 0xc00007b020, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001acf00, 0xc00007b020) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [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, 0xc00007c460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe3164d8438, 0xc00007c9b0, 0xc000190200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e27e0, 0x7fe3164d8438, 0xc00007c9b0, 0xc000190200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe3164d8438, 0xc00007c9b0, 0xc000190200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001e45a0, 0x7fe3164d8438, 0xc00007c9b0, 0xc000190200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f60e0, 0xc000190200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001e4720, 0xab7900, 0xc0001f60e0, 0xc000190200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f60e0, 0xc000190200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f6000, 0xab7900, 0xc0001f60e0, 0xc000190200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000214a0, 0xab8818, 0xc0001946c0) /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(0x7fe316681f30, 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, 0xc0001e49d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a400, 0xc0001e49d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007ade0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e210, 0xc0001e49d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001e49c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.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 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000228c0, 0xc00007b020, 0xc00007b080) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000108500, 0xc00007b020) /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 54 [waiting]: runtime.ReadMemStats(0xc0002ae000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000108500, 0xc0002ae000, 0xc0001d0300) /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-14T18:17:02.064Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T18:17:02.065Z 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-14T18:17:02.065Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T18:17:02.065Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T18:17:02.065Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T18:17:02.066Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0x7fbb7ce24f18, 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, 0x4c8064e581d60001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206b28, 0x62f93c2b, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206b28, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc000206b28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206b28, 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 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, 0xc00007c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc000185800, 0xc0000975f8, 0xc000097628, 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(0xc0000d0910, 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(0x7fbb7cd991e8, 0xc00007c460, 0xc0001c0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7fbb7cd991e8, 0xc00007c460, 0xc0001c0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbb7cd991e8, 0xc00007c460, 0xc0001c0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000219590, 0x7fbb7cd991e8, 0xc00007c460, 0xc0001c0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e8000, 0xc0001c0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000219710, 0xab7900, 0xc0001e8000, 0xc0001c0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e8000, 0xc0001c0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0001e8000, 0xc0001c0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000226aa0, 0xab8818, 0xc0001aa2c0) /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(0x7fbb7ce24e30, 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, 0xc0001850c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00025c100, 0xc0001850c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002387e0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000208168, 0xc0001850c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001850b0) /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 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc000242280, 0xc0001aa480, 0xa32200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc000242280, 0xc00016c200, 0x30, 0x9db900, 0x7fbb7cf84f00) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc000242280, 0xc00016c200, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00016c200, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc0000c4228, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000219110, 0xc00016c200, 0x0, 0x0, 0x0, 0xc0000c4228, 0x0, 0x1, 0xc00016c200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000219110, 0xc00016c200, 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, 0xc00007a840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244690, 0xc00007a840) /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 12 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000226a0, 0xc00007a840, 0xc00007a8a0) /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 13 [runnable]: internal/poll.(*pollDesc).prepare(0xc00007ab58, 0x72, 0x7fbba3ab5c01, 0x2, 0x200) /usr/local/go/src/internal/poll/fd_poll_runtime.go:67 +0x145 internal/poll.(*pollDesc).prepareRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:76 internal/poll.(*FD).Read(0xc00007ab40, 0xc000136e00, 0x100, 0x100, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:155 +0xc5 os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc0000c4238, 0xc000136e00, 0x100, 0x100, 0x200, 0xc000136a00, 0xc000136a00) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc0000b6c78, 0xc000136e00, 0x100, 0x100, 0x401, 0xc000136a00, 0x400) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc0000b6c78, 0x0, 0x0, 0xc0000c4238, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0000c0e00, 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(0x288f, 0xc0000c0da0, 0xf, 0xd9c178, 0x1, 0x1, 0x288e, 0x288e, 0x0, 0xffffffffffffffff, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:179 +0x85 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc0000d0960, 0xc00007a840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:44 +0xe78 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc0000d0960, 0xc00007a840) /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-14T21:16:55.761Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T21:16:55.762Z 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-14T21:16:55.762Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T21:16:55.762Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T21:16:55.763Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T21:16:55.763Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00005d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00005d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036000, 0x8) /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(0xc000001380) /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(0x7f0565a91f18, 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, 0x1de0df1e37d4d501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002968b8, 0x62f9665b, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002968b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002e0000, 0xab76f0, 0xc0002968b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002968b8, 0xc0002e0000, 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(0xc0002e0000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /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(0x7f0565a53a38, 0xc000240500, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000292a10, 0x7f0565a53a38, 0xc000240500, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0565a53a38, 0xc000240500, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029e9f0, 0x7f0565a53a38, 0xc000240500, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00030e000, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029eb70, 0xab7900, 0xc00030e000, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00030e000, 0xc000218200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002e0000, 0xab7900, 0xc00030e000, 0xc000218200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002f2000, 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 38 [IO wait]: internal/poll.runtime_pollWait(0x7f0565a91e30, 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, 0xc00021bc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002b8100, 0xc00021bc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00029a540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002a00a8, 0xc00021bc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021bc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 39 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0002a8000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002a8110, 0xc000104660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002a8000, 0xc0001b4200, 0x30, 0x9db900, 0x7f0565c38300) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002a8000, 0xc0001b4200, 0xc0002a8000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001b4200, 0xaaf4e0, 0xc0002a8000, 0x0, 0x0, 0x0, 0xc0000a8010, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00029e570, 0xc0001b4200, 0x0, 0x0, 0x0, 0xc0000a8010, 0x0, 0x1, 0xc0001b4200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00029e570, 0xc0001b4200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0002ac000, 0xc0002009c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0002ac000, 0xc0002009c0) /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 40 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e700, 0xc0002009c0, 0xc000200a20) /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 41 [runnable]: path/filepath.Clean(0xc0000241e0, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc0000aa300, 0x3, 0x3, 0xc00001ea60, 0x2) /usr/local/go/src/path/filepath/path_unix.go:45 +0xbf path/filepath.Join(...) /usr/local/go/src/path/filepath/path.go:213 github.com/prometheus/procfs/internal/fs.FS.Path(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/fs/fs.go:54 github.com/prometheus/procfs.Proc.path(0x8404e, 0xa05a30, 0x5, 0xc0001016a8, 0x1, 0x1, 0xc000022dc0, 0xc00010bb08) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0x8404e, 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(0xc00007c9b0, 0xc0002009c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002009c0) /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-15T00:16:59.752Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T00:16:59.754Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T00:16:59.754Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T00:16:59.754Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T00:16:59.754Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T00:16:59.754Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc000033800, 0x8) /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(0x7fa86f4a1f18, 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, 0x5297756e64099f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d908, 0x62f9908b, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d908, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000206000, 0xab76f0, 0xc00000d908, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d908, 0xc000206000, 0x0, 0x0, 0xaaf020, 0xc00007cfa0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000206000, 0x0, 0x0, 0xaaf020, 0xc00007cfa0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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 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 23 [waiting]: runtime.ReadMemStats(0xc0001c9800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc00002a580, 0xc0001c9800, 0xc00007e360) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 33 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fa86f45e0a8, 0xc00028a0a0, 0xc0002b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e0d20, 0x7fa86f45e0a8, 0xc00028a0a0, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa86f45e0a8, 0xc00028a0a0, 0xc0002b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001fc420, 0x7fa86f45e0a8, 0xc00028a0a0, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002c4000, 0xc0002b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001fc5a0, 0xab7900, 0xc0002c4000, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c4000, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000206000, 0xab7900, 0xc0002c4000, 0xc0002b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000288000, 0xab8818, 0xc000298000) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 34 [runnable]: net/http.(*connReader).backgroundRead(0xc0002840c0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 35 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc00002a580, 0xc00029e060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000296040, 0xc00029e060, 0xc00029e0c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 37 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0xc000292400) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c0dc0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c0ed0, 0xc000292660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c0dc0, 0xc0002b4100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c0dc0, 0xc0002b4100, 0xc0001c0dc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0002b4100, 0xaaf4e0, 0xc0001c0dc0, 0x0, 0x0, 0x0, 0xc000286010, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001cff80, 0xc0002b4100, 0x0, 0x0, 0x0, 0xc000286010, 0x0, 0x1, 0xc0002b4100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001cff80, 0xc0002b4100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc0001a8ff0, 0xc00029e060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8ff0, 0xc00029e060) /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-15T03:16:56.549Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T03:16:56.550Z 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-15T03:16:56.550Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T03:16:56.550Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T03:16:56.551Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T03:16:56.551Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc00031a000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00031a000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c000, 0x8) /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(0xc00008b080) /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(0x7fbec965bf18, 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, 0x1e4e03c6b041ce01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000b7788, 0x62f9babb, 0xc000113b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000b7788, 0xc000113b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001a0000, 0xab76f0, 0xc0000b7788, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000b7788, 0xc0001a0000, 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(0xc0001a0000, 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 34 [runnable]: os.newFile(0x8, 0xc00021c000, 0x11, 0x1, 0xc000000000) /usr/local/go/src/os/file_unix.go:122 +0x1e9 os.openFileNolog(0xc00021c000, 0x11, 0x0, 0xc000000000, 0x3, 0x3, 0xc00021c000) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc00021c000, 0x11, 0x0, 0x0, 0x3, 0xc000218020, 0xc00021a000) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc00021c000, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:30 +0x74 github.com/prometheus/procfs.Proc.Stat(0xa1aa0, 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(0xc0000d0960, 0xc0000c7800) /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(0xc0000d0960, 0xc0000c7800) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 8 [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, 0xc00007c280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc0000d0910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fbec96734f8, 0xc0000d1180, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000175730, 0x7fbec96734f8, 0xc0000d1180, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbec96734f8, 0xc0000d1180, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00017d410, 0x7fbec96734f8, 0xc0000d1180, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001a00e0, 0xc00016a300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00017d590, 0xab7900, 0xc0001a00e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001a00e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001a0000, 0xab7900, 0xc0001a00e0, 0xc00016a300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001675e0, 0xab8818, 0xc0000c95c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x7fbec965be30, 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, 0xc00017d841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000108680, 0xc00017d841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000c75c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000c4380, 0xc00017d841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00017d830) /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 32 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000c0fd0, 0xc0000c7800, 0xc0000c7860) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: net/url.getscheme(0x7ffe5a8eaef8, 0x28, 0xc00016a300, 0x100000000000000, 0xab0020, 0xabe608, 0xc000175730, 0xc0000c9500) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe5a8eaef8, 0x28, 0xc000160100, 0x7ffe5a8eaef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe5a8eaef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000c0058, 0xa04fba, 0x3, 0x7ffe5a8eaef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc000156780, 0xc0000c7800, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000156780, 0xc0000c7800) /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-15T06:17:07.488Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T06:17:07.488Z 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-15T06:17:07.488Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T06:17:07.488Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T06:17:07.489Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-15T06:17:07.491Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000278400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000278400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001e00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f5dcc478f18, 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, 0x71efc19e7ef68c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62f9e4eb, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001d2000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001d2000, 0x0, 0x0, 0xaaf020, 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 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 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 [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(0x7f5dcc48a3f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001c6310, 0x7f5dcc48a3f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5dcc48a3f8, 0xc00007cfa0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001c4840, 0x7f5dcc48a3f8, 0xc00007cfa0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d20e0, 0xc0001b4200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001c49c0, 0xab7900, 0xc0001d20e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d20e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001d2000, 0xab7900, 0xc0001d20e0, 0xc0001b4200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001aebe0, 0xab8818, 0xc00011b440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x7f5dcc478e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00002a698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00002a680, 0xc0001c4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00002a680, 0xc0001c4c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00007b320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c0, 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 49 [runnable]: net/url.getscheme(0x7ffd432beef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffd432beef8, 0x28, 0x100, 0x7ffd432beef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffd432beef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffd432beef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001a00f0, 0xc00007b560, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001a00f0, 0xc00007b560) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc00007b560, 0xc00007b5c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00007b560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 52 [waiting]: runtime.ReadMemStats(0xc0001fa000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc0001fa000, 0xc00007e240) /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-15T06:44:54.296Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T06:44:54.297Z 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-15T06:44:54.297Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T06:44:54.297Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T06:44:54.297Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T06:44:54.298Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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(0xc0002f0800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002f0800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002e800, 0x8) /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(0xc000102d80) /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(0x7f1b2c240f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178618, 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(0xc000178600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000178600, 0x90b2d02c0cf17101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000127530, 0x62f9eb7b, 0xc000187b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000127530, 0xc000187b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f8000, 0xab76f0, 0xc000127530, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000127530, 0xc0001f8000, 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(0xc0001f8000, 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 7 [runnable]: syscall.Close(0x8, 0xc000116060, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:284 +0xca internal/poll.(*FD).destroy(0xc00007a3c0, 0xc000116060, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:83 +0x43 internal/poll.(*FD).decref(0xc00007a3c0, 0x1, 0xd5) /usr/local/go/src/internal/poll/fd_mutex.go:213 +0x5d internal/poll.(*FD).Close(0xc00007a3c0, 0xaaefc0, 0xc000116060) /usr/local/go/src/internal/poll/fd_unix.go:106 +0x4f os.(*file).close(0xc00007a3c0, 0xc000116060, 0xc00023a000) /usr/local/go/src/os/file_unix.go:251 +0x38 os.(*File).Close(0xc00000e0d8, 0xc00000c300, 0xc00023a000) /usr/local/go/src/os/file_posix.go:25 +0x33 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000024060, 0x11, 0xc00023a000, 0x12b, 0x200, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0x14e github.com/prometheus/procfs.Proc.Stat(0x5c278, 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(0xc000140960, 0xc000137560) /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(0xc000140960, 0xc000137560) /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 [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, 0xc000286230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000140910, 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(0x7f1b2c25bd38, 0xc000140ff0, 0xc0001da200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e2f50, 0x7f1b2c25bd38, 0xc000140ff0, 0xc0001da200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f1b2c25bd38, 0xc000140ff0, 0xc0001da200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ea870, 0x7f1b2c25bd38, 0xc000140ff0, 0xc0001da200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f80e0, 0xc0001da200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ea9f0, 0xab7900, 0xc0001f80e0, 0xc0001da200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f80e0, 0xc0001da200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f8000, 0xab7900, 0xc0001f80e0, 0xc0001da200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001d6a00, 0xab8818, 0xc000139440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 30 [IO wait]: internal/poll.runtime_pollWait(0x7f1b2c240e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178698, 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(0xc000178680, 0xc0001eaca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178680, 0xc0001eaca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000137320) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001342c0, 0xc0001eaca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001eac90) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 31 [runnable]: 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 32 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000130f10, 0xc000137560, 0xc0001375c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 49 [runnable]: net/url.getscheme(0x7fff9638bef8, 0x28, 0xc0001da200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001e2f50, 0xc000139380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fff9638bef8, 0x28, 0xc0001d0100, 0x7fff9638bef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fff9638bef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc000130058, 0xa04fba, 0x3, 0x7fff9638bef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:866 +0xa8 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001c60f0, 0xc000137560, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001c60f0, 0xc000137560) /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-15T09:17:03.194Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T09:17:03.196Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T09:17:03.196Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T09:17:03.196Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T09:17:03.196Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T09:17:03.196Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 9 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, 0xc000031000, 0x8) /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(0x7fafc80ecf18, 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, 0x9e48abac1d6cfb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002868a0, 0x62fa0f1b, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002868a0, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc0002868a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002868a0, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc000228460, 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, 0xc000228460, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 51 [chan receive]: main.main.func1(0xaaf020, 0xc000228460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 55 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000100960, 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(0x7fafc806c478, 0xc00029e4b0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7fafc806c478, 0xc00029e4b0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fafc806c478, 0xc00029e4b0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7fafc806c478, 0xc00029e4b0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d00e0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028eb70, 0xab7900, 0xc0002d00e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d00e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d00e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e2000, 0xab8818, 0xc0002962c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [runnable]: net/http.(*connReader).backgroundRead(0xc00028ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: runtime/debug.readGCStats(0xc000225de8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000225dc0) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000b0000, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [runnable]: sync.runtime_Semacquire(0xc0002801c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002801c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002801c0, 0xc00028a780, 0xc00028a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: io.(*LimitedReader).Read(0xc0002868e8, 0xc000400200, 0x200, 0x200, 0x201, 0xc000400000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc0002868e8, 0x0, 0x0, 0xc0002900b0, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000280270, 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(0xe8acb, 0xc000280210, 0xf, 0xd9c178, 0x1, 0x1, 0xe8aca, 0xe8aca, 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(0xc0001009b0, 0xc00028a780) /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(0xc0001009b0, 0xc00028a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000b0000, 0xc000264000, 0xc0002501e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-15T12:17:05.682Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T12:17:05.683Z 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-15T12:17:05.683Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T12:17:05.683Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T12:17:05.684Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-15T12:17:05.685Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 9 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000080800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000080800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000033800, 0x8) /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(0x7fbd4eac4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000f8300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000f8300, 0xbc1017337ae96901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0000a4be8, 0x62fa394b, 0xc000167b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0000a4be8, 0xc000167b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc0000a4be8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0000a4be8, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0000d2370, 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, 0xc0000d2370, 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 [IO wait]: internal/poll.runtime_pollWait(0x7fbd4eac4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000f8398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000f8380, 0xc00021e041, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000f8380, 0xc00021e041, 0x1, 0x1, 0x1, 0xc00005a7a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d01f0, 0xc00021e041, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021e030) /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 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, 0xc0000d2370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00007c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:540 +0xe5e github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fbd4ea810a8, 0xc0002060a0, 0xc000230000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7fbd4ea810a8, 0xc0002060a0, 0xc000230000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbd4ea810a8, 0xc0002060a0, 0xc000230000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7fbd4ea810a8, 0xc0002060a0, 0xc000230000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000240000, 0xc000230000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc000240000, 0xc000230000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000240000, 0xc000230000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc000240000, 0xc000230000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000b9360, 0xab8818, 0xc000220000) /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 [runnable]: github.com/prometheus/procfs.Proc.Stat(0x90e06, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_stat.go:122 +0x145 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00007c9b0, 0xc0002040c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:40 +0x366 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00007c9b0, 0xc0002040c0) /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 36 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021c040, 0xc0002040c0, 0xc000204120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 37 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0xc000218400) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000d48c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000d49d0, 0xc000218660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000d48c0, 0xc000230100, 0x20300000000000, 0x7fbd4ee5cfff, 0x7fbd4ea7d008) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000d48c0, 0xc000230100, 0xc0000d48c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000230100, 0xaaf4e0, 0xc0000d48c0, 0x0, 0x0, 0x0, 0xc000258008, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000294120, 0xc000230100, 0x0, 0x0, 0x0, 0xc000258008, 0x0, 0x1, 0xc000230100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000294120, 0xc000230100, 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(0xc0000d6f00, 0xc0002040c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000d6f00, 0xc0002040c0) /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-15T15:17:00.654Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T15:17:00.654Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T15:17:00.654Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T15:17:00.654Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T15:17:00.655Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T15:17:00.655Z 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(0xc0001c8800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0001c8800) /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(0xc00012f200) /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, 14 minutes]: internal/poll.runtime_pollWait(0x7fe3675e1118, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2318, 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(0xc0000e2300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e2300, 0xc743022b90bb5c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00009c9f0, 0x62fa637b, 0xc000179b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00009c9f0, 0xc000179b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a8000, 0xab76f0, 0xc00009c9f0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00009c9f0, 0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc0000a2230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc0000a2230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [syscall, 14 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive, 14 minutes]: main.main.func1(0xaaf020, 0xc0000a2230) /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(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(0x7fe36761c3b8, 0xc0001001e0, 0xc0003ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002a6000, 0x7fe36761c3b8, 0xc0001001e0, 0xc0003ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe36761c3b8, 0xc0001001e0, 0xc0003ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a59e0, 0x7fe36761c3b8, 0xc0001001e0, 0xc0003ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a82a0, 0xc0003ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a5b60, 0xab7900, 0xc0002a82a0, 0xc0003ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a82a0, 0xc0003ec000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a8000, 0xab7900, 0xc0002a82a0, 0xc0003ec000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0000aaa00, 0xab8818, 0xc0000d6540) /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 244 [IO wait]: internal/poll.runtime_pollWait(0x7fe3675e0e60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2218, 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(0xc0000e2200, 0xc0001fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2200, 0xc0001fe000, 0x1000, 0x1000, 0x439c3c, 0xc000104c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e150, 0xc0001fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000f2120, 0xc0001fe000, 0x1000, 0x1000, 0xc00032c120, 0xc000104d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000a0300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000a0300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000f2120) /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 230 [runnable]: strings.genSplit(0xc000706000, 0x5de45, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0000a4540, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000ea870, 0xc00007a060, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000ea870, 0xc00007a060) /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 229 [semacquire]: sync.runtime_Semacquire(0xc0000ce1f4) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000ce1f4) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ce1f4, 0xc00007a060, 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 245 [select]: net/http.(*persistConn).writeLoop(0xc0000f2120) /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 227 [IO wait]: internal/poll.runtime_pollWait(0x7fe3675e1030, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e2398, 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(0xc0000e2380, 0xc0000a5e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e2380, 0xc0000a5e11, 0x1, 0x1, 0xc00007a060, 0x0, 0x100000000000000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0000d4148, 0xc0000a5e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a5e00) /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-15T18:17:07.544Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T18:17:07.544Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T18:17:07.544Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T18:17:07.544Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T18:17:07.544Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T18:17:07.545Z 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, 0xc00031ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f46494b7f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002ce098, 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(0xc0002ce080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002ce080, 0xc6bbda7724588401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002948b8, 0x62fa8dab, 0xc00015fb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002948b8, 0xc00015fb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d2000, 0xab76f0, 0xc0002948b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002948b8, 0xc0002d2000, 0x0, 0x0, 0xaaf020, 0xc0000a2370, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002d2000, 0x0, 0x0, 0xaaf020, 0xc0000a2370, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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 35 [chan receive]: main.main.func1(0xaaf020, 0xc0000a2370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 39 [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(0x7f4649317278, 0xc00007c410, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000290a10, 0x7f4649317278, 0xc00007c410, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4649317278, 0xc00007c410, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029a9f0, 0x7f4649317278, 0xc00007c410, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d21c0, 0xc0001b4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029ab70, 0xab7900, 0xc0002d21c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d21c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d2000, 0xab7900, 0xc0002d21c0, 0xc0001b4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002e4000, 0xab8818, 0xc0002a22c0) /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(0x7f46494b7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002ce118, 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(0xc0002ce100, 0xc00029ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002ce100, 0xc00029ae21, 0x1, 0x1, 0xc00007b020, 0x0, 0xc0002a2398) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00029c0b0, 0xc00029ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00029ae10) /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(0xc0000d2c68) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000d2c60) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000d2c60, 0xc00028c0c0, 0xc00028c180) /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 13 [runnable]: bufio.(*Reader).ReadByte(0xc00007a480, 0xc0001029f0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:247 +0xd5 compress/flate.(*decompressor).huffSym(0xc0002dc000, 0xc0002dc028, 0x3, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc0002dc000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc0002dc000, 0xc000628000, 0xc000, 0xc000, 0x0, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0000b6580, 0xc000628000, 0xc000, 0xc000, 0x1018, 0x40, 0xe11c78) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0000e4220, 0xc000628000, 0xc000, 0xc000, 0x30001, 0xc0005f8000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f4649298a08, 0xc0000e4220, 0xc0000e4220, 0x7f4649298a08, 0xc0000e4220, 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(0xc0002a6000, 0xc00028c0c0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0002a6000, 0xc00028c0c0) /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 83 [select]: net/http.(*persistConn).readLoop(0xc000121440) /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 84 [select]: net/http.(*persistConn).writeLoop(0xc000121440) /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