| Server IP : 162.241.219.206 / Your IP : 216.73.216.195 Web Server : Apache System : Linux box5669.bluehost.com 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64 User : signavd5 ( 2863) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/log/ |
Upload File : |
[ OK ] level=info ts=2022-08-02T14:48:12.847Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T14:48:12.847Z caller=apache_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:48:12.847Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T14:48:12.847Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T14:48:12.847Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=error ts=2022-08-02T14:48:12.847Z caller=apache_exporter.go:636 msg="Listening error" reason="listen tcp :9117: bind: address already in use" [ OK ] level=info ts=2022-08-02T16:08:19.868Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T16:08:19.868Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T16:08:19.868Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T16:08:19.868Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T16:08:19.869Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T16:08:19.870Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 17 already; errno=11) runtime: may need to increase max 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, 0xc000045800, 0x10) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000205380) /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, 20 minutes]: internal/poll.runtime_pollWait(0x7f4342350f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024e080, 0x4686fdc4f33f36c, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002148a0, 0x62e98a68, 0xc000381b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002148a0, 0xc000381b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc0002148a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002148a0, 0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00008cd70, 0x0, 0xd8) /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, 0xc00008cd70, 0x0, 0x0) /go/pkg/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, 285 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 35 [chan receive, 285 minutes]: main.main.func1(0xaaf020, 0xc00008cd70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 2791 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f4342312b38, 0xc0004b22d0, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000210a10, 0x7f4342312b38, 0xc0004b22d0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4342312b38, 0xc0004b22d0, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7f4342312b38, 0xc0004b22d0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002521c0, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021ab70, 0xab7900, 0xc0002521c0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002521c0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000252000, 0xab7900, 0xc0002521c0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020460, 0xab8818, 0xc0005b2040) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 2994 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f4342350e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0005b4118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0005b4100, 0xc00021abe1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0005b4100, 0xc00021abe1, 0x1, 0x1, 0xc000201560, 0x0, 0x1000000000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e028, 0xc00021abe1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021abd0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 2965 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f4342350c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6200, 0xc00024c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6200, 0xc00024c000, 0x1000, 0x1000, 0x439c3c, 0xc00028cc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e198, 0xc00024c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0360, 0xc00024c000, 0x1000, 0x1000, 0xc00019a3c0, 0xc00028cd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000201740) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000201740, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0360) /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 2996 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000220f8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000220f0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000220f0, 0xc0003181e0, 0xc0003182a0) /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 2966 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000b0360) /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 2995 [GC assist marking]: strings.genSplit(0xc00072e000, 0x506ff, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0001d83f0, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000226000, 0xc0003181e0, 0x0, 0x9691c0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000226000, 0xc0003181e0) /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-02T22:17:15.092Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-02T22:17:15.093Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-02T22:17:15.093Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-02T22:17:15.093Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-02T22:17:15.094Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-02T22:17:15.095Z 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(0xc000208c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000208c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000043000, 0xe) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000103800) /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(0x7f917ea91f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015a318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00015a300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00015a300, 0x5357018e62e7b301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000114a68, 0x62e9a28c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000114a68, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000114a68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000114a68, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00011a320, 0x0, 0xd8) /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, 0xc00011a320, 0x0, 0x0) /go/pkg/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, 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 26 [chan receive, 16 minutes]: main.main.func1(0xaaf020, 0xc00011a320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 30 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f917eacfb98, 0xc000080320, 0xc0001c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f917eacfb98, 0xc000080320, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f917eacfb98, 0xc000080320, 0xc0001c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00011d9e0, 0x7f917eacfb98, 0xc000080320, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002901c0, 0xc0001c6000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00011db60, 0xab7900, 0xc0002901c0, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002901c0, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002901c0, 0xc0001c6000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001268c0, 0xab8818, 0xc00014e540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 195 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f917ea91e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015a398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00015a380, 0xc00011de11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00015a380, 0xc00011de11, 0x1, 0x1, 0xc000242000, 0x0, 0x1000000010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00014c140, 0xc00011de11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00011de00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 197 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0001be028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001be020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001be020, 0xc000242000, 0xc000242360) /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 198 [runnable]: internal/poll.runtime_pollWait(0x7f917ea91d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015a418, 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(0xc00015a400, 0xc00012c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00015a400, 0xc00012c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e228, 0xc00012c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0360, 0xc00012c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001185a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadSlice(0xc0001185a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:360 +0x3d net/http/internal.readChunkLine(0xc0001185a0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/internal/chunked.go:122 +0x34 net/http/internal.(*chunkedReader).beginChunk(0xc0001d7620) /usr/local/go/src/net/http/internal/chunked.go:48 +0x32 net/http/internal.(*chunkedReader).Read(0xc0001d7620, 0xc0001d5000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/internal/chunked.go:93 +0x134 net/http.(*body).readLocked(0xc0000aa840, 0xc0001d5000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transfer.go:842 +0x5f net/http.(*body).Read(0xc0000aa840, 0xc0001d5000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transfer.go:834 +0xf9 net/http.(*bodyEOFSignal).Read(0xc0000aa880, 0xc0001d5000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2764 +0xe2 bufio.(*Reader).fill(0xc000082a20) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadByte(0xc000082a20, 0xc00026c94e, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:253 +0x39 compress/flate.(*decompressor).huffSym(0xc000286000, 0xc000286028, 0x6d, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:719 +0x85 compress/flate.(*decompressor).huffmanBlock(0xc000286000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000286000, 0xc0005f2000, 0xc000, 0xc000, 0x10000, 0xdcafcae9, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc00012a580, 0xc0005f2000, 0xc000, 0xc000, 0x4000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc00001e2e0, 0xc0005f2000, 0xc000, 0xc000, 0x4000, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f917e9ce0f8, 0xc00001e2e0, 0xc00001e2e0, 0x7f917e9ce0f8, 0xc00001e2e0, 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(0xc000162870, 0xc000242000, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000162870, 0xc000242000) /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 201 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0000b0360) /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 202 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000b0360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T01:17:19.401Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T01:17:19.402Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T01:17:19.402Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T01:17:19.402Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T01:17:19.402Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-03T01:17:19.403Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xe) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00038c600) /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(0x7f89f8aeef18, 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, 0xdbc9ca24eabd0901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200a68, 0x62e9ccbc, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200a68, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000200a68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200a68, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0002082d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc0002082d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall, 4 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive, 4 minutes]: main.main.func1(0xaaf020, 0xc0002082d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 21 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f89f8afd238, 0xc000148320, 0xc0000a0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f89f8afd238, 0xc000148320, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f89f8afd238, 0xc000148320, 0xc0000a0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020b9e0, 0x7f89f8afd238, 0xc000148320, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc0000a0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020bb60, 0xab7900, 0xc0002900e0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001deaa0, 0xab8818, 0xc000141180) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 58 [runnable]: net/http.(*gzipReader).Read(0xc00001e080, 0xc0004a8000, 0x10000, 0x10000, 0x3c001, 0xc00046c000, 0x3c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f89f8a1e1f8, 0xc00001e080, 0xc00001e080, 0x7f89f8a1e1f8, 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, 0xc0003b2180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00024e870, 0xc0003b2180) /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 80 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f89f8aeee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180598, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180580, 0xc000121f31, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180580, 0xc000121f31, 0x1, 0x1, 0x8d, 0xc000082060, 0xde6e60) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c220, 0xc000121f31, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000121f20) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 114 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0002ca028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002ca020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002ca020, 0xc0003b2180, 0xc0003b21e0) /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 94 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000256000) /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 93 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc000256000) /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-03T04:17:24.304Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T04:17:24.305Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T04:17:24.305Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T04:17:24.305Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T04:17:24.305Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-03T04:17:24.306Z 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(0xc000101800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040800, 0xe) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000302a80) /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, 40 minutes]: internal/poll.runtime_pollWait(0x7f3e7fc4cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180880, 0xd1e4db720b897801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f950, 0x62e9f6ec, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f950, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000230000, 0xab76f0, 0xc00012f950, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f950, 0xc000230000, 0x0, 0x0, 0xaaf020, 0xc000148f50, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000230000, 0x0, 0x0, 0xaaf020, 0xc000148f50, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 31 [chan receive, 40 minutes]: main.main.func1(0xaaf020, 0xc000148f50) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [syscall, 40 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 5 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f3e7fc010a8, 0xc00008c140, 0xc0001e2500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020ad20, 0x7f3e7fc010a8, 0xc00008c140, 0xc0001e2500) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3e7fc010a8, 0xc00008c140, 0xc0001e2500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000226420, 0x7f3e7fc010a8, 0xc00008c140, 0xc0001e2500) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002302a0, 0xc0001e2500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002265a0, 0xab7900, 0xc0002302a0, 0xc0001e2500) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002302a0, 0xc0001e2500) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000230000, 0xab7900, 0xc0002302a0, 0xc0001e2500) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc000094000) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 483 [select]: net/http.(*persistConn).writeLoop(0xc00014a360) /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 478 [runnable]: strings.Index(0xc0007751bf, 0x3b538, 0xa30880, 0x1, 0x35) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc0007751bf, 0x3b538, 0xa30880, 0x1, 0x0, 0x151b, 0x0, 0xc000226810, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001ccff0, 0xc000082180, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001ccff0, 0xc000082180) /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 482 [IO wait]: internal/poll.runtime_pollWait(0x7f3e7fc4cc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180298, 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(0xc000180280, 0xc0000d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180280, 0xc0000d0000, 0x1000, 0x1000, 0x439c3c, 0xc00034dc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0003900c0, 0xc0000d0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00014a360, 0xc0000d0000, 0x1000, 0x1000, 0xc0000d20c0, 0xc00034dd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000314240) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000314240, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00014a360) /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 475 [IO wait]: internal/poll.runtime_pollWait(0x7f3e7fc4ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000090018, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000090000, 0xc0000920d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000090000, 0xc0000920d1, 0x1, 0x1, 0xc000396240, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e010, 0xc0000920d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000920c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 477 [semacquire]: sync.runtime_Semacquire(0xc0001381c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001381c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001381c0, 0xc000082180, 0xc0000821e0) /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-03T07:17:39.355Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T07:17:39.355Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T07:17:39.356Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T07:17:39.356Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T07:17:39.356Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T07:17:39.357Z 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(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, 0xc000040800, 0xd) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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, 7 minutes]: internal/poll.runtime_pollWait(0x7f987f8bff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0xde635d1f44c57601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117308, 0x62ea211c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117308, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000284000, 0xab76f0, 0xc000117308, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117308, 0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cd70, 0x0, 0x0) /go/pkg/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, 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 22 [chan receive, 7 minutes]: main.main.func1(0xaaf020, 0xc00008cd70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: compress/flate.(*huffmanBitWriter).writeCode(0xc00000a3c0, 0xc00005001a) /usr/local/go/src/compress/flate/huffman_bit_writer.go:327 +0x16b compress/flate.(*huffmanBitWriter).writeTokens(0xc00000a3c0, 0xc000396000, 0x75d, 0x4001, 0xc000190000, 0x11e, 0x11e, 0xc0000a8400, 0x1e, 0x1e) /usr/local/go/src/compress/flate/huffman_bit_writer.go:589 +0x116 compress/flate.(*huffmanBitWriter).writeBlock(0xc00000a3c0, 0xc000396000, 0x75d, 0x4001, 0x0, 0xc00036e000, 0x2107, 0x10000) /usr/local/go/src/compress/flate/huffman_bit_writer.go:495 +0x39c compress/flate.(*compressor).writeBlock(0xc0006d6000, 0xc000396000, 0x75c, 0x4001, 0x2107, 0x5, 0x35) /usr/local/go/src/compress/flate/deflate.go:170 +0xd1 compress/flate.(*compressor).deflate(0xc0006d6000) /usr/local/go/src/compress/flate/deflate.go:415 +0x90d compress/flate.(*compressor).close(0xc0006d6000, 0x0, 0xc000113800) /usr/local/go/src/compress/flate/deflate.go:646 +0x50 compress/flate.(*Writer).Close(...) /usr/local/go/src/compress/flate/deflate.go:732 compress/gzip.(*Writer).Close(0xc0000c2a50, 0x0, 0x0) /usr/local/go/src/compress/gzip/gzip.go:242 +0x6a github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f987f8ff298, 0xc00008c0f0, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:205 +0x5fb net/http.HandlerFunc.ServeHTTP(0xc00011be30, 0x7f987f8ff298, 0xc00008c0f0, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f987f8ff298, 0xc00008c0f0, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001235c0, 0x7f987f8ff298, 0xc00008c0f0, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002840e0, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000123740, 0xab7900, 0xc0002840e0, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002840e0, 0xc000144200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000284000, 0xab7900, 0xc0002840e0, 0xc000144200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00014eb40, 0xab8818, 0xc000148440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 164 [IO wait]: internal/poll.runtime_pollWait(0x7f987f8bfc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6200, 0xc00017d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6200, 0xc00017d000, 0x1000, 0x1000, 0x439c3c, 0xc000090c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120278, 0xc00017d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000150000, 0xc00017d000, 0x1000, 0x1000, 0xc0002ca120, 0xc000090d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001325a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001325a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000150000) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 149 [IO wait]: internal/poll.runtime_pollWait(0x7f987f8bfe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc0001239f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc0001239f1, 0x1, 0x1, 0x2c, 0xc0006b2efd, 0x2) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120160, 0xc0001239f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001239e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 165 [select]: net/http.(*persistConn).writeLoop(0xc000150000) /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-03T08:02:25.349Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T08:02:25.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-03T08:02:25.359Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T08:02:25.359Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T08:02:25.359Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T08:02:25.360Z 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(0xc000101400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040800, 0xd) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000103500) /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, 9 minutes]: internal/poll.runtime_pollWait(0x7f02d37d8f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ca098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000ca080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ca080, 0xce180994e63c2a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cba0, 0x62ea2ba8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cba0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000e0000, 0xab76f0, 0xc00000cba0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cba0, 0xc0000e0000, 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(0xc0000e0000, 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 9 [syscall, 9 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, 9 minutes]: main.main.func1(0xaaf020, 0xc000206230) /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(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(0x7f02d3790298, 0xc0003063c0, 0xc00025c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000b71f0, 0x7f02d3790298, 0xc0003063c0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f02d3790298, 0xc0003063c0, 0xc00025c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a1590, 0x7f02d3790298, 0xc0003063c0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000e02a0, 0xc00025c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a1710, 0xab7900, 0xc0000e02a0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000e02a0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000e0000, 0xab7900, 0xc0000e02a0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020be0, 0xab8818, 0xc0000a4440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 209 [runnable]: bytes.(*Buffer).ReadRune(0xc00033a090, 0x10000001e, 0x64, 0x7f02d3753458, 0x7f02d393a600) /usr/local/go/src/bytes/buffer.go:351 fmt.(*ss).ReadRune(0xc000204300, 0xc0001b9368, 0x418b53, 0x7f02d374dff8, 0x0) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc000204300, 0xc0001b93b0) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).SkipSpace(0xc000204300) /usr/local/go/src/fmt/scan.go:422 +0x2f fmt.(*ss).convertString(0xc000204300, 0x76, 0xc0000e0398, 0x0) /usr/local/go/src/fmt/scan.go:828 +0x7e fmt.(*ss).scanOne(0xc000204300, 0x76, 0x936b40, 0xc0000e0398) /usr/local/go/src/fmt/scan.go:1012 +0xa6b fmt.(*ss).doScan(0xc000204300, 0xc0001b96b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc00033a090, 0xc0001b96b8, 0x16, 0x16, 0x1, 0x16, 0x10) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x130b5, 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(0xc000148960, 0xc00039c120) /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(0xc000148960, 0xc00039c120) /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 160 [semacquire]: sync.runtime_Semacquire(0xc000218098) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000218090) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000218090, 0xc00039c120, 0xc00039c420) /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 159 [runnable]: net/http.(*Request).requiresHTTP1(0xc00025c200, 0xc0002180e0) /usr/local/go/src/net/http/request.go:1453 +0xf1 net/http.(*Transport).connectMethodForRequest(0xc0000ba280, 0xc0000a4700, 0x0, 0x7ffebc77bef8, 0x4, 0xc0002180e0, 0xc, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:832 +0xa6 net/http.(*Transport).roundTrip(0xc0000ba280, 0xc00025c200, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0000ba280, 0xc00025c200, 0xc0000ba280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00025c200, 0xaaf4e0, 0xc0000ba280, 0x0, 0x0, 0x0, 0xc00000e228, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a1110, 0xc00025c200, 0x0, 0x0, 0x0, 0xc00000e228, 0x0, 0x1, 0xc00025c200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a1110, 0xc00025c200, 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(0xc0000bc690, 0xc00039c120, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000bc690, 0xc00039c120) /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 158 [runnable]: net/http.(*connReader).backgroundRead(0xc0000a19b0) /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 225 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc00039c120) /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 226 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc00027a000, 0xc0000de000) /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-03T10:17:36.523Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T10:17:36.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-03T10:17:36.524Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T10:17:36.524Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T10:17:36.524Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-03T10:17:36.524Z 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(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xd) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102a80) /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(0x7f48cd4d7f18, 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, 0x925837fe54926501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208bd0, 0x62ea4b4c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208bd0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc000208bd0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208bd0, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc00023e370, 0x0, 0xd8) /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, 0xc00023e370, 0x0, 0x0) /go/pkg/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, 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 39 [chan receive, 5 minutes]: main.main.func1(0xaaf020, 0xc00023e370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc0006f8000, 0x7f48cd525b58, 0xc00008c550, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f48cd525b58, 0xc00008c550, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc0000c29a0, 0xc0002bd000, 0xf1, 0x1000, 0x0, 0xc0002c9610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc00021ca00, 0xc0002c96d0, 0xc0002c9620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc00021ca00, 0xc0002c97c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc0000c29a0, 0xc00023e1e0, 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(0xc00023e1e0, 0xc00017e978, 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(0x7f48cd498c18, 0xc00008c550, 0xc000212200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7f48cd498c18, 0xc00008c550, 0xc000212200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f48cd498c18, 0xc00008c550, 0xc000212200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7f48cd498c18, 0xc00008c550, 0xc000212200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a62a0, 0xc000212200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002a62a0, 0xc000212200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a62a0, 0xc000212200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a62a0, 0xc000212200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002234a0, 0xab8818, 0xc00021c6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 138 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f48cd4d7e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc0002949d1, 0x1, 0x1, 0xc0000823c0, 0x0, 0xc00021c798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c1f0, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 155 [IO wait]: internal/poll.runtime_pollWait(0x7f48cd4d7c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264200, 0xc00019c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264200, 0xc00019c000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120048, 0xc00019c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0a20, 0xc00019c000, 0x1000, 0x1000, 0xc00026c1e0, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000234600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000234600, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0a20) /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 156 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000b0a20) /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-03T13:17:08.195Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T13:17:08.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-03T13:17:08.196Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T13:17:08.196Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T13:17:08.196Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T13:17:08.263Z 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(0xc00020cc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00020cc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000040800, 0xd) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000611f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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, 5 minutes]: internal/poll.runtime_pollWait(0x7f78e490ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0x4c32591769872a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117338, 0x62ea757c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117338, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000284000, 0xab76f0, 0xc000117338, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117338, 0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cc30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cc30, 0x0, 0x0) /go/pkg/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, 5 minutes]: main.main.func1(0xaaf020, 0xc00008cc30) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [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 27 [runnable]: compress/flate.(*huffmanEncoder).generate(0xc0006480b0, 0xc0000c0480, 0x11e, 0x11e, 0xc00000000f) /usr/local/go/src/compress/flate/huffman_code.go:274 +0x2b1 compress/flate.(*huffmanBitWriter).indexTokens(0xc00000a1e0, 0xc00065a000, 0x753, 0x4001, 0xc000113718, 0x6402fe) /usr/local/go/src/compress/flate/huffman_bit_writer.go:570 +0x21b compress/flate.(*huffmanBitWriter).writeBlock(0xc00000a1e0, 0xc00065a000, 0x753, 0x4001, 0x0, 0xc00064a000, 0x210e, 0x10000) /usr/local/go/src/compress/flate/huffman_bit_writer.go:440 +0xa8 compress/flate.(*compressor).writeBlock(0xc000854000, 0xc00065a000, 0x752, 0x4001, 0x210e, 0x5, 0x35) /usr/local/go/src/compress/flate/deflate.go:170 +0xd1 compress/flate.(*compressor).deflate(0xc000854000) /usr/local/go/src/compress/flate/deflate.go:415 +0x90d compress/flate.(*compressor).close(0xc000854000, 0x0, 0xc000113800) /usr/local/go/src/compress/flate/deflate.go:646 +0x50 compress/flate.(*Writer).Close(...) /usr/local/go/src/compress/flate/deflate.go:732 compress/gzip.(*Writer).Close(0xc000648000, 0x0, 0x0) /usr/local/go/src/compress/gzip/gzip.go:242 +0x6a github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f78e494e298, 0xc00012e050, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:205 +0x5fb net/http.HandlerFunc.ServeHTTP(0xc00011be30, 0x7f78e494e298, 0xc00012e050, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f78e494e298, 0xc00012e050, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001235c0, 0x7f78e494e298, 0xc00012e050, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002842a0, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000123740, 0xab7900, 0xc0002842a0, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002842a0, 0xc000144200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000284000, 0xab7900, 0xc0002842a0, 0xc000144200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00014eb40, 0xab8818, 0xc000148440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 135 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000150000) /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 119 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f78e490ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc0001239f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc0001239f1, 0x1, 0x1, 0xc000616760, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120160, 0xc0001239f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001239e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 134 [IO wait]: internal/poll.runtime_pollWait(0x7f78e490ec60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6198, 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(0xc0000e6180, 0xc000180000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6180, 0xc000180000, 0x1000, 0x1000, 0x439c3c, 0xc000092c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120148, 0xc000180000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000150000, 0xc000180000, 0x1000, 0x1000, 0xc00008e300, 0xc000092d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000082720) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000082720, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000150000) /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-03T16:17:15.689Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T16:17:15.689Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T16:17:15.689Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T16:17:15.689Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T16:17:15.689Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T16:17:15.690Z 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(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, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0000e3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f6c81fabf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ac098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000ac080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ac080, 0x474e0c73a65b3c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8e8, 0x62ea9fac, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8e8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000c6000, 0xab76f0, 0xc00000c8e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8e8, 0xc0000c6000, 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(0xc0000c6000, 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 7 [chan receive]: main.main.func1(0xaaf020, 0xc00023e500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 11 [runnable]: compress/flate.newHuffmanBitWriter(...) /usr/local/go/src/compress/flate/huffman_bit_writer.go:98 compress/flate.(*compressor).init(0xc0007b8000, 0x7f6c81d073a8, 0xc00023e050, 0xffffffffffffffff, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:579 +0x7d compress/flate.NewWriter(0x7f6c81d073a8, 0xc00023e050, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00025e160, 0xc000349000, 0xf1, 0x1000, 0x0, 0xc0000e1610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc0001404c0, 0xc0000e16d0, 0xc0000e1620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc0001404c0, 0xc0000e17c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00025e160, 0xc000148c80, 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(0xc000148c80, 0xc0002069d8, 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(0x7f6c81dc1a58, 0xc00023e050, 0xc0000ec100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000a2a10, 0x7f6c81dc1a58, 0xc00023e050, 0xc0000ec100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6c81dc1a58, 0xc00023e050, 0xc0000ec100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a49f0, 0x7f6c81dc1a58, 0xc00023e050, 0xc0000ec100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000c61c0, 0xc0000ec100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a4b70, 0xab7900, 0xc0000c61c0, 0xc0000ec100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000c61c0, 0xc0000ec100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000c6000, 0xab7900, 0xc0000c61c0, 0xc0000ec100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000a62c0) /usr/local/go/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(0x7f6c81fabe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ac118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000ac100, 0xc0000a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ac100, 0xc0000a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b0, 0xc0000a4e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a4e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 82 [IO wait]: internal/poll.runtime_pollWait(0x7f6c81fabc60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ac318, 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(0xc0000ac300, 0xc0002a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ac300, 0xc0002a0000, 0x1000, 0x1000, 0x439c3c, 0xc000118c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e248, 0xc0002a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b8a20, 0xc0002a0000, 0x1000, 0x1000, 0xc00026c240, 0xc000118d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00013e300) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00013e300, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b8a20) /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 83 [select]: net/http.(*persistConn).writeLoop(0xc0000b8a20) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-03T19:17:11.621Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T19:17:11.625Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-03T19:17:11.625Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T19:17:11.625Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T19:17:11.626Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T19:17:11.631Z 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(0xc000208800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000208800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b800, 0xc) /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, 4 minutes]: internal/poll.runtime_pollWait(0x7f841c43af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000256080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000256080, 0x3a8f5de9b9d55401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008e8, 0x62eac9dc, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008e8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00025a000, 0xab76f0, 0xc0002008e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008e8, 0xc00025a000, 0x0, 0x0, 0xaaf020, 0xc00008ccd0, 0x0, 0xd8) /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, 0xc00008ccd0, 0x0, 0x0) /go/pkg/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, 4 minutes]: main.main.func1(0xaaf020, 0xc00008ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall, 4 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7f841c43ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000256118, 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(0xc000256100, 0xc00026e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000256100, 0xc00026e000, 0x1000, 0x1000, 0x11e, 0xc00010f6d0, 0x6abb36) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021e098, 0xc00026e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).Read(0xc00021ce10, 0xc00026e000, 0x1000, 0x1000, 0x0, 0x0, 0x8) /usr/local/go/src/net/http/server.go:780 +0x1b9 bufio.(*Reader).fill(0xc0002047e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).ReadSlice(0xc0002047e0, 0xc00003060a, 0x6, 0x7f8443104a68, 0x2, 0x14, 0xc00002f000) /usr/local/go/src/bufio/bufio.go:360 +0x3d bufio.(*Reader).ReadLine(0xc0002047e0, 0xf7dbe598daf1f, 0x0, 0x7f841c475868, 0x0, 0xc000100000, 0x462c80) /usr/local/go/src/bufio/bufio.go:389 +0x34 net/textproto.(*Reader).readLineSlice(0xc0001db530, 0xc0001c6000, 0xc00010f9e8, 0x4ddfd3, 0xc000256100, 0xc00026f000) /usr/local/go/src/net/textproto/reader.go:57 +0xd6 net/textproto.(*Reader).ReadLine(...) /usr/local/go/src/net/textproto/reader.go:38 net/http.readRequest(0xc0002047e0, 0x0, 0xc0001c6000, 0x0, 0x0) /usr/local/go/src/net/http/request.go:1027 +0xaa net/http.(*conn).readRequest(0xc00026c000, 0xab8770, 0xc0002242c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:966 +0x19d net/http.(*conn).serve(0xc00026c000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1858 +0x705 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 94 [select]: net/http.(*persistConn).writeLoop(0xc0000b0a20) /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 93 [IO wait]: internal/poll.runtime_pollWait(0x7f841c43ac60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6118, 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(0xc0000e6100, 0xc00069b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6100, 0xc00069b000, 0x1000, 0x1000, 0x439c3c, 0xc000096c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e1e8, 0xc00069b000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0a20, 0xc00069b000, 0x1000, 0x1000, 0xc00008e300, 0xc000096d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000082420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000082420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0a20) /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-03T22:17:09.800Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-03T22:17:09.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-03T22:17:09.800Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-03T22:17:09.800Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-03T22:17:09.800Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-03T22:17:09.801Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000185680) /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(0x7f65fe5b1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00009c118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00009c100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00009c100, 0xfffc704672ffa101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d0e0, 0x62eaf40c, 0xc000207b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d0e0, 0xc000207b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000ce000, 0xab76f0, 0xc00000d0e0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d0e0, 0xc0000ce000, 0x0, 0x0, 0xaaf020, 0xc000180d20, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000ce000, 0x0, 0x0, 0xaaf020, 0xc000180d20, 0x0, 0x0) /go/pkg/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 9 [chan receive]: main.main.func1(0xaaf020, 0xc000180d20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 13 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000180960, 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(0x7f65fe52ba58, 0xc000180140, 0xc0000ea100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000099650, 0x7f65fe52ba58, 0xc000180140, 0xc0000ea100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f65fe52ba58, 0xc000180140, 0xc0000ea100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00009aa20, 0x7f65fe52ba58, 0xc000180140, 0xc0000ea100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ce1c0, 0xc0000ea100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00009aba0, 0xab7900, 0xc0000ce1c0, 0xc0000ea100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ce1c0, 0xc0000ea100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ce000, 0xab7900, 0xc0000ce1c0, 0xc0000ea100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000a82c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 62 [select]: net/http.(*persistConn).writeLoop(0xc0001c2360) /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 61 [select]: net/http.(*persistConn).readLoop(0xc0001c2360) /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 73 [IO wait]: internal/poll.runtime_pollWait(0x7f65fe5b1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00009c198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00009c180, 0xc00009ae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00009c180, 0xc00009ae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0c0, 0xc00009ae51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00009ae40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 74 [runnable]: net/http.(*gzipReader).Read(0xc000122180, 0xc0005de000, 0xc000, 0xc000, 0x30001, 0xc0005ae000, 0x30000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f65fe30e028, 0xc000122180, 0xc000122180, 0x7f65fe30e028, 0xc000122180, 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(0xc0000ac000, 0xc000082060, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0000ac000, 0xc000082060) /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 75 [semacquire]: sync.runtime_Semacquire(0xc000022094) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022094) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022094, 0xc000082060, 0xc000082120) /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-04T01:17:07.679Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T01:17:07.680Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T01:17:07.680Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T01:17:07.680Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T01:17:07.680Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T01:17:07.680Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00060c600) /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(0x7f997aa21f18, 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, 0x4fe53ebedae7d101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000286888, 0x62eb1e3c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000286888, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc000286888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000286888, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc000134550, 0x0, 0xd8) /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, 0xc000134550, 0x0, 0x0) /go/pkg/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, 1 minutes]: main.main.func1(0xaaf020, 0xc000134550) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 7 [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 39 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f997a9dfa58, 0xc000134280, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000282a10, 0x7f997a9dfa58, 0xc000134280, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f997a9dfa58, 0xc000134280, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028e9f0, 0x7f997a9dfa58, 0xc000134280, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002d00e0, 0xc000144200) /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, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002d00e0, 0xc000144200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002d0000, 0xab7900, 0xc0002d00e0, 0xc000144200) /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 30 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f997aa21e30, 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, 0xc00028ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002cc100, 0xc00028ee21, 0x1, 0x1, 0xc0002c8760, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000290098, 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 31 [runnable]: net/http.(*gzipReader).Read(0xc00027e1a0, 0xc0004ec000, 0x10000, 0x10000, 0x3c001, 0xc0004b0000, 0x3c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f997a9e9cb8, 0xc00027e1a0, 0xc00027e1a0, 0x7f997a9e9cb8, 0xc00027e1a0, 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, 0xc0000821e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00029c000, 0xc0000821e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 32 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000280088) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000280080) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000280080, 0xc0000821e0, 0xc0000822a0) /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 113 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc0002b6000) /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 114 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0002b6000) /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-04T04:17:16.415Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T04:17:16.415Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T04:17:16.415Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T04:17:16.415Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T04:17:16.416Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T04:17:16.416Z 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(0xc000101000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000277800) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f05b35c6158, 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, 0x607b10b46a20b801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208c30, 0x62eb486c, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208c30, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000208c30, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208c30, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f05b341ec18, 0xc00008ceb0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028a7e0, 0x7f05b341ec18, 0xc00008ceb0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f05b341ec18, 0xc00008ceb0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028c5a0, 0x7f05b341ec18, 0xc00008ceb0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e1c0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028c720, 0xab7900, 0xc00029e1c0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e1c0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e1c0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000229400, 0xab8818, 0xc0002226c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7f05b35c6070, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc00028c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc00028c9d1, 0x1, 0x1, 0xc00069a060, 0x0, 0xc000222798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a1f8, 0xc00028c9d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028c9c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 28 [runnable]: compress/flate.(*decompressor).huffSym(0xc0000c2000, 0xc0000c2028, 0x6f, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x9 compress/flate.(*decompressor).huffmanBlock(0xc0000c2000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc0000c2000, 0xc0004fe000, 0xc000, 0xc000, 0xc0005d65f0, 0xffffffffffffffff, 0x0) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc000154840, 0xc0004fe000, 0xc000, 0xc000, 0x0, 0xc0001f0cf0, 0xc000221820) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc0002d6160, 0xc0004fe000, 0xc000, 0xc000, 0x30001, 0xc0004ce000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f05b35d14b8, 0xc0002d6160, 0xc0002d6160, 0x7f05b35d14b8, 0xc0002d6160, 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(0xc000244f00, 0xc000082060, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc000244f00, 0xc000082060) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [semacquire]: sync.runtime_Semacquire(0xc000022158) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022150) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022150, 0xc000082060, 0xc0000820c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [select]: net/http.(*persistConn).readLoop(0xc00022a000) /usr/local/go/src/net/http/transport.go:2203 +0x967 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 54 [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-04T07:17:23.380Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T07:17:23.381Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T07:17:23.381Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T07:17:23.381Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T07:17:23.382Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-04T07:17:23.381Z 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(0xc000700000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000700000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0006c1f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fc4f7519f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0xf04468119ad8db01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cfa8, 0x62eb729c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cfa8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ec000, 0xab76f0, 0xc00000cfa8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cfa8, 0xc0001ec000, 0x0, 0x0, 0xaaf020, 0xc000134230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ec000, 0x0, 0x0, 0xaaf020, 0xc000134230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 14 [chan receive]: main.main.func1(0xaaf020, 0xc000134230) /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 50 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fc4f752e478, 0xc00008d1d0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001dcaf0, 0x7fc4f752e478, 0xc00008d1d0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc4f752e478, 0xc00008d1d0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cf440, 0x7fc4f752e478, 0xc00008d1d0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ec0e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cf5c0, 0xab7900, 0xc0001ec0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ec0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ec000, 0xab7900, 0xc0001ec0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c1680, 0xab8818, 0xc0000ab5c0) /usr/local/go/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(0x7fc4f7519e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001cf871, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001cf871, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000835c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc0001cf871, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cf860) /usr/local/go/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]: strings.Index(0xc00065faf9, 0x4cb73, 0xa30880, 0x1, 0x34) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00065faf9, 0x4cb73, 0xa30880, 0x1, 0x0, 0x151a, 0x0, 0xc000123740, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001b0780, 0xc000083800, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001b0780, 0xc000083800) /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 53 [semacquire]: sync.runtime_Semacquire(0xc000023038) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000023030) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023030, 0xc000083800, 0xc000083860) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fc4f7519d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128518, 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(0xc000128500, 0xc00034a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128500, 0xc00034a000, 0x1000, 0x1000, 0x439c3c, 0xc00024ac38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120120, 0xc00034a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b1440, 0xc00034a000, 0x1000, 0x1000, 0xc00024c000, 0xc00024ad40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002005a0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002005a0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b1440) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 59 [select]: net/http.(*persistConn).writeLoop(0xc0000b1440) /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-04T08:05:56.611Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T08:05:56.612Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T08:05:56.612Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T08:05:56.612Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T08:05:56.612Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T08:05:56.612Z 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(0xc00020cc00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00020cc00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc0002a7380) /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(0x7fe7bc1d0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6800, 0x2f9c1f13674f1201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d020, 0x62eb7e18, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d020, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028a000, 0xab76f0, 0xc00000d020, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d020, 0xc00028a000, 0x0, 0x0, 0xaaf020, 0xc00008cdc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00028a000, 0x0, 0x0, 0xaaf020, 0xc00008cdc0, 0x0, 0x0) /go/pkg/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, 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 12 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00008cdc0) /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(0xc00008c960, 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(0x7fe7bc1eb6b8, 0xc00020a0f0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001fe0e0, 0x7fe7bc1eb6b8, 0xc00020a0f0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe7bc1eb6b8, 0xc00020a0f0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002803f0, 0x7fe7bc1eb6b8, 0xc00020a0f0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028a2a0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000280570, 0xab7900, 0xc00028a2a0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028a2a0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028a000, 0xab7900, 0xc00028a2a0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00029c000, 0xab8818, 0xc0000ab840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 46 [IO wait]: internal/poll.runtime_pollWait(0x7fe7bc1d0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6880, 0xc000280821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6880, 0xc000280821, 0x1, 0x1, 0x3f, 0xc000083500, 0xde5ae0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e428, 0xc000280821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000280810) /usr/local/go/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 [select]: net/http.(*persistConn).writeLoop(0xc000218000) /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 48 [semacquire]: sync.runtime_Semacquire(0xc0005f6104) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0005f6104) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0005f6104, 0xc000132000, 0xc0001321e0) /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]: strings.Index(0xc000708893, 0x3e, 0xa04cc3, 0x1, 0x39) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc000708893, 0x3e, 0xa04cc3, 0x1, 0x0, 0x1, 0xc0000ec020, 0x2, 0x2) /usr/local/go/src/strings/strings.go:251 +0xff strings.SplitN(...) /usr/local/go/src/strings/strings.go:273 main.splitkv(0xc000708893, 0x3e, 0xe, 0x0, 0xc000708891, 0x1) /app/apache_exporter.go:244 +0x6d main.(*Exporter).collect(0xc0001b0ff0, 0xc000132000, 0x0, 0x0) /app/apache_exporter.go:322 +0x60d main.(*Exporter).Collect(0xc0001b0ff0, 0xc000132000) /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 26 [IO wait]: internal/poll.runtime_pollWait(0x7fe7bc1d0d48, 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, 0xc00028d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6280, 0xc00028d000, 0x1000, 0x1000, 0x439c3c, 0xc0002b5c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000222070, 0xc00028d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc000218000, 0xc00028d000, 0x1000, 0x1000, 0xc0001ee060, 0xc0002b5d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000823c0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000823c0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc000218000) /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-04T10:17:34.157Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T10:17:34.158Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T10:17:34.158Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T10:17:34.158Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T10:17:34.158Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T10:17:34.158Z 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(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102a80) /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(0x7f8cad3e0f18, 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, 0x5af8b07fe1fbed01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200a80, 0x62eb9ccc, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200a80, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc000200a80, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200a80, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00020a320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00020a320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 39 [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 42 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc00020a320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 46 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f8cad3a2b98, 0xc00020a0a0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00028e000, 0x7f8cad3a2b98, 0xc00020a0a0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8cad3a2b98, 0xc00020a0a0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020f9e0, 0x7f8cad3a2b98, 0xc00020a0a0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002901c0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020fb60, 0xab7900, 0xc0002901c0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002901c0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002901c0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000214960, 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 92 [runnable]: net/http.(*gzipReader).Read(0xc0005fc0a0, 0xc0004e8000, 0x10000, 0x10000, 0x3c001, 0xc0004ac000, 0x3c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f8cad17e938, 0xc0005fc0a0, 0xc0005fc0a0, 0x7f8cad17e938, 0xc0005fc0a0, 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, 0xc000132000, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00024e870, 0xc000132000) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 113 [IO wait]: internal/poll.runtime_pollWait(0x7f8cad3e0e30, 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, 0xc00020fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246380, 0xc00020fe11, 0x1, 0x1, 0xc0000821e0, 0x0, 0x100010000) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000204148, 0xc00020fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020fe00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 115 [semacquire]: sync.runtime_Semacquire(0xc0002360b8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002360b0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002360b0, 0xc000132000, 0xc000132060) /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 101 [select]: net/http.(*persistConn).readLoop(0xc000256120) /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 102 [select]: net/http.(*persistConn).writeLoop(0xc000256120) /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-04T13:17:44.259Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T13:17:44.259Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T13:17:44.259Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T13:17:44.259Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T13:17:44.259Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T13:17:44.260Z 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(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000039000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc0002a3c80) /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(0x7fe1edb7cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6880, 0xbc8cf44f2b8ce601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d8a8, 0x62ebc6fc, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d8a8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a4000, 0xab76f0, 0xc00000d8a8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d8a8, 0xc0002a4000, 0x0, 0x0, 0xaaf020, 0xc00008cf00, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002a4000, 0x0, 0x0, 0xaaf020, 0xc00008cf00, 0x0, 0x0) /go/pkg/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, 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 16 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc00008cf00) /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(0xc00008c960, 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(0x7fe1edb98eb8, 0xc00037c190, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001eed20, 0x7fe1edb98eb8, 0xc00037c190, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe1edb98eb8, 0xc00037c190, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000298420, 0x7fe1edb98eb8, 0xc00037c190, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a42a0, 0xc0001c6100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002985a0, 0xab7900, 0xc0002a42a0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a42a0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a4000, 0xab7900, 0xc0002a42a0, 0xc0001c6100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c3f40, 0xab8818, 0xc0000ab840) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 98 [semacquire]: sync.runtime_Semacquire(0xc000122c64) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000122c64) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000122c64, 0xc0001181e0, 0xc000118240) /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(0x7fe1edb7ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6900, 0xc000298851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6900, 0xc000298851, 0x1, 0x1, 0x64, 0xc000118000, 0xde6420) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e428, 0xc000298851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000298840) /usr/local/go/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(0xc000224180, 0xc000548000, 0x14000, 0x14000, 0x4c001, 0xc0004fc000, 0x4c000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7fe1edb39028, 0xc000224180, 0xc000224180, 0x7fe1edb39028, 0xc000224180, 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(0xc0001b0ff0, 0xc0001181e0, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001b0ff0, 0xc0001181e0) /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 101 [IO wait]: internal/poll.runtime_pollWait(0x7fe1edb7cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00013e198, 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(0xc00013e180, 0xc0003b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00013e180, 0xc0003b2000, 0x1000, 0x1000, 0x439c3c, 0xc000095c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e008, 0xc0003b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b1560, 0xc0003b2000, 0x1000, 0x1000, 0xc0003101e0, 0xc000095d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000821e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000821e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b1560) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 102 [select]: net/http.(*persistConn).writeLoop(0xc0000b1560) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T16:17:22.872Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T16:17:22.873Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T16:17:22.873Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T16:17:22.873Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T16:17:22.873Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T16:17:22.874Z 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(0xc000180400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000180400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000039000, 0xb) /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(0x7f0ab63e4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001a8118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0001a8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001a8100, 0x9e211e94fc7df701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000197098, 0x62ebf12c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000197098, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ea000, 0xab76f0, 0xc000197098, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000197098, 0xc0001ea000, 0x0, 0x0, 0xaaf020, 0xc00008cf50, 0x0, 0xd8) /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, 0xc00008cf50, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [chan receive]: main.main.func1(0xaaf020, 0xc00008cf50) /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 24 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f0ab635ea58, 0xc0001b4500, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00019b650, 0x7f0ab635ea58, 0xc0001b4500, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0ab635ea58, 0xc0001b4500, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001a2a20, 0x7f0ab635ea58, 0xc0001b4500, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ea0e0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001a2ba0, 0xab7900, 0xc0001ea0e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ea0e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ea000, 0xab7900, 0xc0001ea0e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001fc000, 0xab8818, 0xc0001ba2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x7f0ab63e4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001a8198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0001a8180, 0xc0001a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001a8180, 0xc0001a2e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0001b25a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001a00a0, 0xc0001a2e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001a2e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 26 [runnable]: strings.genSplit(0xc000614000, 0x50830, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000410a20, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001be000, 0xc0001b27e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001be000, 0xc0001b27e0) /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 27 [semacquire]: sync.runtime_Semacquire(0xc0001b61c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001b61c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001b61c0, 0xc0001b27e0, 0xc0001b2840) /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(0x7f0ab63e4d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001a8498, 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(0xc0001a8480, 0xc00032c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001a8480, 0xc00032c000, 0x1000, 0x1000, 0x439c3c, 0xc000090c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001a00f0, 0xc00032c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b1440, 0xc00032c000, 0x1000, 0x1000, 0xc000228240, 0xc000090d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001b2f00) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001b2f00, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b1440) /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(0xc0000b1440) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-04T19:17:14.717Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T19:17:14.718Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T19:17:14.718Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T19:17:14.718Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T19:17:14.719Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-04T19:17:14.720Z 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(0xc000270400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000270400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 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(0x7f109a3ccf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000096118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000096100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000096100, 0x9a5c977494ff5801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d3c8, 0x62ec1b5c, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d3c8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000e6000, 0xab76f0, 0xc00000d3c8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d3c8, 0xc0000e6000, 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(0xc0000e6000, 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 20 [runnable]: fmt.glob..func2(0xdccd40, 0x1) /usr/local/go/src/fmt/scan.go:379 +0x52 sync.(*Pool).Get(0xdccd40, 0x7f109a3c3180, 0x0) /usr/local/go/src/sync/pool.go:148 +0xaa fmt.newScanState(0xaaed20, 0xc000121f80, 0x9a0001, 0xc0001aa400, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:384 +0x3e fmt.Fscan(0xaaed20, 0xc000121f80, 0xc0003076b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0xd29bc, 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(0xc000148960, 0xc000082c00) /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(0xc000148960, 0xc000082c00) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /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(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(0x7f109a384298, 0xc00008c7d0, 0xc0000ae100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000093e30, 0x7f109a384298, 0xc00008c7d0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f109a384298, 0xc00008c7d0, 0xc0000ae100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000955c0, 0x7f109a384298, 0xc00008c7d0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000e60e0, 0xc0000ae100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000095740, 0xab7900, 0xc0000e60e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000e60e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000e6000, 0xab7900, 0xc0000e60e0, 0xc0000ae100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020be0, 0xab8818, 0xc0000b0440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x7f109a3cce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000096198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000096180, 0xc0000959f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000096180, 0xc0000959f1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000829c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e178, 0xc0000959f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000959e0) /usr/local/go/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(0xc0000222d0, 0xc000082c00, 0xc000082c60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 53 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f10c1052108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000c2280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000c2390, 0xc000116660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000c2280, 0xc0000ae200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000c2280, 0xc0000ae200, 0xc0000c2280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000ae200, 0xaaf4e0, 0xc0000c2280, 0x0, 0x0, 0x0, 0xc00000e188, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000095140, 0xc0000ae200, 0x0, 0x0, 0x0, 0xc00000e188, 0x0, 0x1, 0xc0000ae200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000095140, 0xc0000ae200, 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(0xc0000c4690, 0xc000082c00, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000c4690, 0xc000082c00) /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-04T22:17:13.553Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-04T22:17:13.554Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-04T22:17:13.554Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-04T22:17:13.554Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-04T22:17:13.554Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-04T22:17:13.554Z 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(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102300) /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(0x7ff759c0df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0xe494b7e1613f0201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117128, 0x62ec458c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117128, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000162000, 0xab76f0, 0xc000117128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117128, 0xc000162000, 0x0, 0x0, 0xaaf020, 0xc00008ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000162000, 0x0, 0x0, 0xaaf020, 0xc00008ce60, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00008ce60) /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 26 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7ff759c4ba58, 0xc0001345a0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011b650, 0x7ff759c4ba58, 0xc0001345a0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff759c4ba58, 0xc0001345a0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000122a20, 0x7ff759c4ba58, 0xc0001345a0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001620e0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000122ba0, 0xab7900, 0xc0001620e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001620e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000162000, 0xab7900, 0xc0001620e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000174000, 0xab8818, 0xc00013a2c0) /usr/local/go/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(0x7ff759c0de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0001326c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001200a8, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000122e40) /usr/local/go/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]: net/http.(*Transport).connectMethodForRequest(0xc00013c000, 0xc0000ab580, 0xa32200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc00013c000, 0xc000240000, 0x20300000000000, 0x7ff759fa5fff, 0x7ff759bc6448) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc00013c000, 0xc000240000, 0xc00013c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000240000, 0xaaf4e0, 0xc00013c000, 0x0, 0x0, 0x0, 0xc000242008, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001225a0, 0xc000240000, 0x0, 0x0, 0x0, 0xc000242008, 0x0, 0x1, 0xc000240000) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001225a0, 0xc000240000, 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(0xc00013e000, 0xc000132900, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00013e000, 0xc000132900) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001361c0, 0xc000132900, 0xc000132960) /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]: path/filepath.Clean(0xc0000242a0, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc0001cfe60, 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(0x77523, 0xa05a30, 0x5, 0xc00017a6a8, 0x1, 0x1, 0xc000023470, 0xc0001af218) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0x77523, 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(0xc00008c9b0, 0xc000132900) /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(0xc00008c9b0, 0xc000132900) /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-05T01:17:07.238Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T01:17:07.238Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T01:17:07.238Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T01:17:07.238Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T01:17:07.238Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T01:17:07.239Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002f000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000103200) /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(0x7f65096e3f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180600, 0x16efa9f2ce98a701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f6b0, 0x62ec6fbc, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f6b0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc00012f6b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f6b0, 0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000206320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000206320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 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, 0xc000206320) /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(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(0x7f65096fddb8, 0xc000149090, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e9730, 0x7f65096fddb8, 0xc000149090, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f65096fddb8, 0xc000149090, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001f3410, 0x7f65096fddb8, 0xc000149090, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002980e0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001f3590, 0xab7900, 0xc0002980e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002980e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002980e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001df4a0, 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 29 [IO wait]: internal/poll.runtime_pollWait(0x7f65096e3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180680, 0xc0001f3841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180680, 0xc0001f3841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f4a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c370, 0xc0001f3841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f3830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000138fd0, 0xc00013f6e0, 0xc00013f740) /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]: runtime.SetFinalizer(0x962260, 0xc00013f800, 0x0, 0x0) /usr/local/go/src/runtime/mfinal.go:309 +0x80b os.(*file).close(0xc00013f800, 0xc00011e060, 0xc0001aa400) /usr/local/go/src/os/file_unix.go:259 +0x105 os.(*File).Close(0xc00013c378, 0xc00012f6e0, 0xc0001aa400) /usr/local/go/src/os/file_posix.go:25 +0x33 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000139010, 0x10, 0xc0001aa400, 0x129, 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(0xc1e6, 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(0xc000148960, 0xc00013f6e0) /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(0xc000148960, 0xc00013f6e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*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-05T04:17:16.282Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T04:17:16.283Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T04:17:16.283Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T04:17:16.283Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T04:17:16.283Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T04:17:16.283Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102300) /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(0x7f79978cbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6518, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6500, 0x6648b1153f675b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf00, 0x62ec99ec, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf00, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f6000, 0xab76f0, 0xc00000cf00, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf00, 0xc0001f6000, 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(0xc0001f6000, 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 15 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f79978e1c78, 0xc00008d0e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001dcaf0, 0x7f79978e1c78, 0xc00008d0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f79978e1c78, 0xc00008d0e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cd3e0, 0x7f79978e1c78, 0xc00008d0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f60e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cd560, 0xab7900, 0xc0001f60e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f60e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f6000, 0xab7900, 0xc0001f60e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c3680, 0xab8818, 0xc0000ab5c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /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 16 [IO wait]: internal/poll.runtime_pollWait(0x7f79978cbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6580, 0xc0001cd811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6580, 0xc0001cd811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000834a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc0001cd811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cd800) /usr/local/go/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]: os.newFile(0x8, 0xc000232670, 0xa, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc000232670, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000232670, 0xa, 0x0, 0x0, 0xc000232670, 0xa, 0xc000232670) /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(0xc000232670, 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(0x8e985, 0xc000232610, 0xf, 0xd9c178, 0x1, 0x1, 0x8e984, 0x8e984, 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(0xc00008c9b0, 0xc0000836e0) /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(0xc00008c9b0, 0xc0000836e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc0000836e0, 0xc000083740) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x0, 0x0) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c8780) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8890, 0xc000097660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8780, 0xc0001c6400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8780, 0xc0001c6400, 0xc0001c8780, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6400, 0xaaf4e0, 0xc0001c8780, 0x0, 0x0, 0x0, 0xc000120018, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001ccf60, 0xc0001c6400, 0x0, 0x0, 0x0, 0xc000120018, 0x0, 0x1, 0xc0001c6400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001ccf60, 0xc0001c6400, 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(0xc0001b0780, 0xc0000836e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b0780, 0xc0000836e0) /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-05T07:17:36.471Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T07:17:36.472Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T07:17:36.472Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T07:17:36.472Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T07:17:36.473Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-05T07:17:36.473Z 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(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000075f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000250180) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gosched_m(0xc000250180) /usr/local/go/src/runtime/proc.go:3341 +0x34 runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7faad4b3df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000270098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000270080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000270080, 0xf70c7cb95e18d601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206ae0, 0x62ecc41c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206ae0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc000206ae0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206ae0, 0xc000274000, 0x0, 0x0, 0xaaf020, 0xc000126280, 0x0, 0xd8) /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, 0xc000126280, 0x0, 0x0) /go/pkg/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, 0xc000126280) /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 25 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7faad4b01378, 0xc00023e6e0, 0xc000212100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002371f0, 0x7faad4b01378, 0xc00023e6e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7faad4b01378, 0xc00023e6e0, 0xc000212100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000215590, 0x7faad4b01378, 0xc00023e6e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002740e0, 0xc000212100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000215710, 0xab7900, 0xc0002740e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002740e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0002740e0, 0xc000212100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000222aa0, 0xab8818, 0xc00021c440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 26 [IO wait]: internal/poll.runtime_pollWait(0x7faad4b3de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000270118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000270100, 0xc0002159f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000270100, 0xc0002159f1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002347e0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00023c148, 0xc0002159f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002159e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 27 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000218290, 0xc000234a80, 0xc000234ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 29 [runnable]: os.newFile(0x8, 0xc000022e70, 0x10, 0x1, 0xc000000000) /usr/local/go/src/os/file_unix.go:122 +0x1e9 os.openFileNolog(0xc000022e70, 0x10, 0x0, 0xc000000000, 0x3, 0x3, 0xc000022e70) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000022e70, 0x10, 0x0, 0x0, 0x3, 0xc00001ea80, 0xc0001ee4b0) /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(0xc000022e70, 0x10, 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(0xdba7, 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(0xc00008c9b0, 0xc000234a80) /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(0xc00008c9b0, 0xc000234a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [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(0xc000240280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000240390, 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(0xc000240280, 0xc0001c6200, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000240280, 0xc0001c6200, 0xc000240280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6200, 0xaaf4e0, 0xc000240280, 0x0, 0x0, 0x0, 0xc00011e0c0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000215110, 0xc0001c6200, 0x0, 0x0, 0x0, 0xc00011e0c0, 0x0, 0x1, 0xc0001c6200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000215110, 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(0xc000242690, 0xc000234a80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000242690, 0xc000234a80) /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-05T08:06:30.222Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T08:06:30.222Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T08:06:30.222Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T08:06:30.222Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T08:06:30.222Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T08:06:30.223Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f3ee464bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000196118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000196100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000196100, 0x14100a1d6324101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000185110, 0x62eccf98, 0xc00020bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000185110, 0xc00020bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc000185110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000185110, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc000148dc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc000148dc0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 7 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000196000, 0xc0000aa000, 0xc0000b0000) /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 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 38 [chan receive]: main.main.func1(0xaaf020, 0xc000148dc0) /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(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(0x7f3ee4601a58, 0xc0001805f0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000189650, 0x7f3ee4601a58, 0xc0001805f0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3ee4601a58, 0xc0001805f0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000190a20, 0x7f3ee4601a58, 0xc0001805f0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e20e0, 0xc000308000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000190ba0, 0xab7900, 0xc0001e20e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e20e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e20e0, 0xc000308000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001f4000, 0xab8818, 0xc0001b22c0) /usr/local/go/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(0xc000190e40) /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]: runtime/debug.ReadGCStats(0xc0000b2000) /usr/local/go/src/runtime/debug/garbage.go:31 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000196000, 0xc0001a08a0) /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 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001ae1c0, 0xc0001a08a0, 0xc0001a0900) /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]: strings.Join(0xc00018c200, 0x2, 0x2, 0xa04cbf, 0x1, 0xc00018c200, 0x1) /usr/local/go/src/strings/strings.go:421 path/filepath.join(0xc00018c200, 0x2, 0x2, 0xc00031f7b8, 0x1) /usr/local/go/src/path/filepath/path_unix.go:45 +0xa7 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.FS.Proc(0xa05a30, 0x5, 0x2fb38, 0x5, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:92 +0x11f github.com/prometheus/procfs.NewProc(0x2fb38, 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(0xc000148960, 0xc0001a08a0) /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(0xc000148960, 0xc0001a08a0) /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-05T10:18:01.439Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T10:18:01.439Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T10:18:01.439Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T10:18:01.439Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T10:18:01.441Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T10:18:01.488Z 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(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, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002aff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7efc2d28a018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a0098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000a0080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000a0080, 0x8af14e4ced438201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8b8, 0x62ecee88, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8b8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000c6000, 0xab76f0, 0xc00000c8b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8b8, 0xc0000c6000, 0x0, 0x0, 0xaaf020, 0xc000148f50, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000c6000, 0x0, 0x0, 0xaaf020, 0xc000148f50, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 33 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc000222000, 0xc000228000) /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 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 7 [chan receive]: main.main.func1(0xaaf020, 0xc000148f50) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 11 [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(0x7efc2d09ba58, 0xc00008c500, 0xc0000ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000096a10, 0x7efc2d09ba58, 0xc00008c500, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7efc2d09ba58, 0xc00008c500, 0xc0000ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000989f0, 0x7efc2d09ba58, 0xc00008c500, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000c60e0, 0xc0000ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000098b70, 0xab7900, 0xc0000c60e0, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000c60e0, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000c6000, 0xab7900, 0xc0000c60e0, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc00009a2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 12 [IO wait]: internal/poll.runtime_pollWait(0x7efc2d289f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000a0118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000a0100, 0xc000098e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000a0100, 0xc000098e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000825a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b0, 0xc000098e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000098e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 13 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc0000827e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:304 +0x34b github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 14 [semacquire]: sync.runtime_Semacquire(0xc000022228) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022220) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc0000827e0, 0xc000082840) /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 [runnable]: io.(*LimitedReader).Read(0xc00000c900, 0xc000312700, 0x200, 0x200, 0x701, 0xc000312000, 0x700) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000c900, 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(0xc0000222d0, 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(0x910d2, 0xc000022270, 0xf, 0xd9c178, 0x1, 0x1, 0x910d1, 0x910d1, 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, 0xc0000827e0) /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, 0xc0000827e0) /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 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(0xc00009c000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00009c110, 0xc00011a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00009c000, 0xc0001e2400, 0x30, 0x9db900, 0x1) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00009c000, 0xc0001e2400, 0xc00009c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2400, 0xaaf4e0, 0xc00009c000, 0x0, 0x0, 0x0, 0xc00013c3d0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000098570, 0xc0001e2400, 0x0, 0x0, 0x0, 0xc00013c3d0, 0x0, 0x1, 0xc0001e2400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000098570, 0xc0001e2400, 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(0xc00009e000, 0xc0000827e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00009e000, 0xc0000827e0) /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-05T13:17:13.540Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T13:17:13.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-05T13:17:13.541Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T13:17:13.541Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T13:17:13.541Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T13:17:13.541Z 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(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, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001980) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fdc0ecdbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0xd9d719779d891f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccd8, 0x62ed187c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccd8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001dc000, 0xab76f0, 0xc00000ccd8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccd8, 0xc0001dc000, 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(0xc0001dc000, 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 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /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 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fdc0ecebbb8, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ce310, 0x7fdc0ecebbb8, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fdc0ecebbb8, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cc840, 0x7fdc0ecebbb8, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001dc0e0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cc9c0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001dc000, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c2b40, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7fdc0ecdbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001ccc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001ccc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083260) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c8, 0xc0001ccc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001ccc60) /usr/local/go/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, 0xc0000834a0, 0xc000083500) /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, 0x40d91b, 0xc000197200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c8500) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8610, 0xc000094660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8500, 0xc0001c6300, 0x30, 0x9db900, 0x7fdc0f073fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8500, 0xc0001c6300, 0xc0001c8500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6300, 0xaaf4e0, 0xc0001c8500, 0x0, 0x0, 0x0, 0xc00000e2d8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001cc3c0, 0xc0001c6300, 0x0, 0x0, 0x0, 0xc00000e2d8, 0x0, 0x1, 0xc0001c6300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001cc3c0, 0xc0001c6300, 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(0xc0001b00f0, 0xc0000834a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b00f0, 0xc0000834a0) /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]: fmt.(*ss).advance(0xc0001324e0, 0xa172cd, 0x5, 0x1) /usr/local/go/src/fmt/scan.go:1100 +0x673 fmt.(*ss).doScanf(0xc0001324e0, 0xa172b2, 0x20, 0xc000112fc0, 0xb, 0xb, 0x9, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc00011c560, 0xa172b2, 0x20, 0xc000112fc0, 0xb, 0xb, 0xc00038e09a, 0xacf, 0xf66) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc000118320, 0x47, 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(0x1f976, 0xc000146100, 0xf, 0xd9c178, 0x1, 0x1, 0x1f975, 0x1f975, 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(0xc00008c9b0, 0xc0000834a0) /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(0xc00008c9b0, 0xc0000834a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 65 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc0000834a0) /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 [ OK ] level=info ts=2022-08-05T16:17:16.498Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T16:17:16.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-05T16:17:16.498Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T16:17:16.498Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T16:17:16.498Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T16:17:16.499Z 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(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102600) /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(0x7f5960bd4f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0xb728080c199d5801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001170f8, 0x62ed42ac, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001170f8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000162000, 0xab76f0, 0xc0001170f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001170f8, 0xc000162000, 0x0, 0x0, 0xaaf020, 0xc00008cd70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000162000, 0x0, 0x0, 0xaaf020, 0xc00008cd70, 0x0, 0x0) /go/pkg/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, 0xc00008cd70) /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(0xc00008c960, 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(0x7f5960c12a58, 0xc000134550, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011b650, 0x7f5960c12a58, 0xc000134550, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5960c12a58, 0xc000134550, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000122a20, 0x7f5960c12a58, 0xc000134550, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001620e0, 0xc000280000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000122ba0, 0xab7900, 0xc0001620e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001620e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000162000, 0xab7900, 0xc0001620e0, 0xc000280000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000174000, 0xab8818, 0xc00013a2c0) /usr/local/go/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(0x7f5960bd4e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000132600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001200a8, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000122e40) /usr/local/go/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]: net/http.(*Transport).connectMethodForRequest(0xc00013c000, 0xc0000ab440, 0xa32200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc00013c000, 0xc0001c6300, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc00013c000, 0xc0001c6300, 0xc00013c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6300, 0xaaf4e0, 0xc00013c000, 0x0, 0x0, 0x0, 0xc00000e2d8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001225a0, 0xc0001c6300, 0x0, 0x0, 0x0, 0xc00000e2d8, 0x0, 0x1, 0xc0001c6300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001225a0, 0xc0001c6300, 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(0xc00013e000, 0xc000132840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00013e000, 0xc000132840) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001361c0, 0xc000132840, 0xc0001328a0) /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]: path/filepath.Clean(0xc0000242a0, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc0001d33e0, 0x3, 0x3, 0xc00001ecc0, 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(0xb555f, 0xa05a30, 0x5, 0xc0000906a8, 0x1, 0x1, 0xc0000233c0, 0xc0001ccac8) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0xb555f, 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(0xc00008c9b0, 0xc000132840) /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(0xc00008c9b0, 0xc000132840) /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-05T19:17:12.670Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T19:17:12.670Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T19:17:12.670Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T19:17:12.670Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T19:17:12.670Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T19:17:12.671Z 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(0xc000100400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7febd6c20f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0x2c7ebbd73b030401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62ed76dc, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e4000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001e4000, 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(0xc0001e4000, 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 38 [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, 0xc00020a2d0) /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(0xc00008c960, 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(0x7febd6c30b78, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d6310, 0x7febd6c30b78, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7febd6c30b78, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d4840, 0x7febd6c30b78, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e40e0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d49c0, 0xab7900, 0xc0001e40e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e40e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e4000, 0xab7900, 0xc0001e40e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c0be0, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7febd6c20e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001d4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001d4c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000832c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001d4c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d4c60) /usr/local/go/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/procfs.Proc.path(0x3e5e9, 0xa05a30, 0x5, 0xc0002816a8, 0x1, 0x1, 0xc000234630, 0xc0002149f8) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:287 +0x276 github.com/prometheus/procfs.Proc.Stat(0x3e5e9, 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(0xc00008c9b0, 0xc000083500) /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(0xc00008c9b0, 0xc000083500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc000083500, 0xc000083560) /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(0xc000128000, 0xc000083500) /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(0xc00029e000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00029e000, 0xc00008e240) /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-05T21:19:18.847Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T21:19:18.847Z caller=apache_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:19:18.847Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T21:19:18.847Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T21:19:18.847Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T21:19:18.848Z 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(0xc00021c000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00021c000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000113f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fad2246c018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000dc298, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000dc280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000dc280, 0xb12622ba315ffb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cca8, 0x62ed899c, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cca8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc00000cca8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cca8, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00008c460, 0x0, 0xd8) /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, 0xc00008c460, 0x0, 0x0) /go/pkg/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 12 [chan receive]: main.main.func1(0xaaf020, 0xc00008c460) /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(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(0x7fad222c2438, 0xc00008c9b0, 0xc0000a0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000fc7e0, 0x7fad222c2438, 0xc00008c9b0, 0xc0000a0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fad222c2438, 0xc00008c9b0, 0xc0000a0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000fe5a0, 0x7fad222c2438, 0xc00008c9b0, 0xc0000a0200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc0000a0200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000fe720, 0xab7900, 0xc0002900e0, 0xc0000a0200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc0000a0200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc0000a0200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000021540, 0xab8818, 0xc0000a46c0) /usr/local/go/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 [runnable]: net/http.(*connReader).backgroundRead(0xc0000fe9c0) /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 50 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc0000830e0) /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 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000228c0, 0xc0000830e0, 0xc000083140) /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]: github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc000148960, 0xc0000830e0) /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(0xc000148960, 0xc0000830e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [waiting]: runtime.ReadMemStats(0xc0001ed800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc0001ed800, 0xc000114120) /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-05T22:17:10.397Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-05T22:17:10.398Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-05T22:17:10.398Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-05T22:17:10.398Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-05T22:17:10.399Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-05T22:17:10.399Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00022df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fb0b37eef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6880, 0xee93ebc5ba772e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d878, 0x62ed96f8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d878, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000292000, 0xab76f0, 0xc00000d878, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d878, 0xc000292000, 0x0, 0x0, 0xaaf020, 0xc00008cf00, 0x0, 0xd8) /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, 0xc00008cf00, 0x0, 0x0) /go/pkg/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 16 [chan receive]: main.main.func1(0xaaf020, 0xc00008cf00) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 52 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fb0b380aef8, 0xc00008d450, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ead20, 0x7fb0b380aef8, 0xc00008d450, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb0b380aef8, 0xc00008d450, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000288420, 0x7fb0b380aef8, 0xc00008d450, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002920e0, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002885a0, 0xab7900, 0xc0002920e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002920e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000292000, 0xab7900, 0xc0002920e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c3f40, 0xab8818, 0xc0000ab840) /usr/local/go/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(0x7fb0b37eee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6900, 0xc000288851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6900, 0xc000288851, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083b00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e420, 0xc000288851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000288840) /usr/local/go/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]: 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 55 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023610, 0xc000083d40, 0xc000083da0) /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]: io.ReadAll(0xaaf2e0, 0xc00000d8a8, 0x0, 0x0, 0xc00000e428, 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(0xc000024450, 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(0xc9d11, 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(0xc00008c9b0, 0xc000083d40) /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(0xc00008c9b0, 0xc000083d40) /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 [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-06T01:17:09.934Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T01:17:09.934Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T01:17:09.934Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T01:17:09.934Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T01:17:09.934Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T01:17:09.935Z 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(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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000111f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f9db01b8f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0x143440c0a5d85b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117380, 0x62edc128, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117380, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc000117380, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117380, 0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc00008cc80, 0x0, 0xd8) /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, 0xc00008cc80, 0x0, 0x0) /go/pkg/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, 0xc00008cc80) /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 27 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f9db01fc398, 0xc000134730, 0xc000144100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011be30, 0x7f9db01fc398, 0xc000134730, 0xc000144100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9db01fc398, 0xc000134730, 0xc000144100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001235c0, 0x7f9db01fc398, 0xc000134730, 0xc000144100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028c0e0, 0xc000144100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000123740, 0xab7900, 0xc00028c0e0, 0xc000144100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028c0e0, 0xc000144100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc00028c0e0, 0xc000144100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00014eb40, 0xab8818, 0xc000148440) /usr/local/go/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(0xc0001239e0) /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]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000132b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000146280, 0xc000132b40, 0xc000132ba0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 31 [runnable]: os.newFile(0x8, 0xc00060c700, 0xf, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc00060c700, 0xf, 0x0, 0x0, 0x5, 0xc00060c6e8, 0x6) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc00060c700, 0xf, 0x0, 0xc000000000, 0x1, 0x1, 0xc00060c700) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs.Proc.fileDescriptors(0x4e331, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:273 +0xe8 github.com/prometheus/procfs.Proc.FileDescriptorsLen(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:240 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00008c9b0, 0xc000132b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:53 +0x439 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00008c9b0, 0xc000132b40) /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(0xc000128000, 0xc0001f0000, 0xc00008e300) /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-06T04:17:14.480Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T04:17:14.480Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T04:17:14.480Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T04:17:14.480Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T04:17:14.481Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T04:17:14.481Z 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, 0xc00002a000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f2aa6908f18, 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, 0x3f1f15564d17d101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000206c48, 0x62edeb58, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000206c48, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc000206c48, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000206c48, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000296000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc0002b0000, 0xc00026c240) /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 49 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f2aa67250a8, 0xc00030a0a0, 0xc000334000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00027a7e0, 0x7f2aa67250a8, 0xc00030a0a0, 0xc000334000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2aa67250a8, 0xc00030a0a0, 0xc000334000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00027c5a0, 0x7f2aa67250a8, 0xc00030a0a0, 0xc000334000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000344000, 0xc000334000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00027c720, 0xab7900, 0xc000344000, 0xc000334000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000344000, 0xc000334000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc000344000, 0xc000334000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000308000, 0xab8818, 0xc000318000) /usr/local/go/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(0xc0003040c0) /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]: runtime/debug.readGCStats(0xc00027a9c8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00027a9a0) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc00031e060) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 52 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000316040, 0xc00031e060, 0xc00031e0c0) /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/http.(*Transport).connectMethodForRequest(0xc0002428c0, 0xc000318180, 0xa32200, 0x1, 0xffffffffffffffff, 0x120, 0x30, 0x7f2acd5d2f18, 0xc000100400, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc0002428c0, 0xc000334100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0002428c0, 0xc000334100, 0xc0002428c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000334100, 0xaaf4e0, 0xc0002428c0, 0x0, 0x0, 0x0, 0xc000306010, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00027c120, 0xc000334100, 0x0, 0x0, 0x0, 0xc000306010, 0x0, 0x1, 0xc000334100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00027c120, 0xc000334100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244f00, 0xc00031e060, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244f00, 0xc00031e060) /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-06T07:17:43.126Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T07:17:43.127Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T07:17:43.127Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T07:17:43.127Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T07:17:43.127Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T07:17:43.127Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000266d80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f97b32b2f18, 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, 0xe19cc71751025601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200ab0, 0x62ee15c4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200ab0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc000200ab0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200ab0, 0xc000298000, 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(0xc000298000, 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 7 [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 19 [runnable]: io.(*LimitedReader).Read(0xc000116a98, 0xc000380200, 0x200, 0x200, 0x201, 0xc000380000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000116a98, 0x0, 0x0, 0xc0001200d0, 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(0xc000146170, 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(0x431ca, 0xc000146100, 0xf, 0xd9c178, 0x1, 0x1, 0x431c9, 0x431c9, 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(0xc00008c9b0, 0xc000204f00) /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(0xc00008c9b0, 0xc000204f00) /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 42 [chan receive]: main.main.func1(0xaaf020, 0xc000206370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 46 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f97b3270b98, 0xc0002068c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7f97b3270b98, 0xc0002068c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f97b3270b98, 0xc0002068c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7f97b3270b98, 0xc0002068c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002980e0, 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, 0xc0002980e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002980e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002980e0, 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 47 [IO wait]: internal/poll.runtime_pollWait(0x7f97b32b2e30, 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, 0xc000204cc0) /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 48 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000204f00) /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:457 +0x5ce goroutine 49 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002327c0, 0xc000204f00, 0xc000204f60) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc000214640, 0xc00023a6c0, 0xa32200, 0x1, 0xffffffffffffffff, 0xc000090580, 0x414ab7, 0x100000000968da0, 0xc00023c900, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc000214640, 0xc000258200, 0x20300000000000, 0x7f97b364afff, 0x7f97b326df50) /usr/local/go/src/net/http/transport.go:569 +0x733 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, 0xc000238160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000209560, 0xc000258200, 0x0, 0x0, 0x0, 0xc000238160, 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, 0xc000204f00, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024e870, 0xc000204f00) /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-06T08:07:20.620Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T08:07:20.622Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T08:07:20.622Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T08:07:20.622Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T08:07:20.622Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T08:07:20.623Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f686090ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6600, 0x4413eafd88fd5301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d4e8, 0x62ee2140, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d4e8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001ec000, 0xab76f0, 0xc00000d4e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d4e8, 0xc0001ec000, 0x0, 0x0, 0xaaf020, 0xc000208230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001ec000, 0x0, 0x0, 0xaaf020, 0xc000208230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc000208230) /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(0xc00008c960, 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(0x7f68609203b8, 0xc00008cfa0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ccf50, 0x7f68609203b8, 0xc00008cfa0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f68609203b8, 0xc00008cfa0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001dc870, 0x7f68609203b8, 0xc00008cfa0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001ec0e0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001dc9f0, 0xab7900, 0xc0001ec0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001ec0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001ec000, 0xab7900, 0xc0001ec0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c0be0, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7f686090ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6680, 0xc0001dcca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6680, 0xc0001dcca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000832c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001dcca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001dcc90) /usr/local/go/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]: 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(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(0x6b2fb, 0xc000308010, 0xf, 0xd9c178, 0x1, 0x1, 0x6b2fa, 0x6b2fa, 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(0xc00008c9b0, 0xc000083500) /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(0xc00008c9b0, 0xc000083500) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc000083500, 0xc000083560) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40d91b, 0xc000197200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001c8500) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8610, 0xc000094660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8500, 0xc0001c6300, 0x30, 0x9db900, 0x7f6860ca6fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8500, 0xc0001c6300, 0xc0001c8500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6300, 0xaaf4e0, 0xc0001c8500, 0x0, 0x0, 0x0, 0xc00000e2e0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001dc3f0, 0xc0001c6300, 0x0, 0x0, 0x0, 0xc00000e2e0, 0x0, 0x1, 0xc0001c6300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001dc3f0, 0xc0001c6300, 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(0xc0001b00f0, 0xc000083500, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b00f0, 0xc000083500) /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-06T10:17:44.770Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T10:17:44.770Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T10:17:44.770Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T10:17:44.770Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T10:17:44.771Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-06T10:17:44.773Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f2f27bf4118, 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, 0x32e28dd932bbe401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012ed08, 0x62ee3ff4, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012ed08, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000300000, 0xab76f0, 0xc00012ed08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012ed08, 0xc000300000, 0x0, 0x0, 0xaaf020, 0xc000240410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000300000, 0x0, 0x0, 0xaaf020, 0xc000240410, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 20 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 23 [chan receive]: main.main.func1(0xaaf020, 0xc000240410) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f2f27c03db8, 0xc000148f00, 0xc0001e2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001f2310, 0x7f2f27c03db8, 0xc000148f00, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2f27c03db8, 0xc000148f00, 0xc0001e2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001f0840, 0x7f2f27c03db8, 0xc000148f00, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003000e0, 0xc0001e2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001f09c0, 0xab7900, 0xc0003000e0, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003000e0, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000300000, 0xab7900, 0xc0003000e0, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001dea00, 0xab8818, 0xc000141440) /usr/local/go/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(0x7f2f27bf4030, 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, 0xc0001f0c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180600, 0xc0001f0c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f1a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c2c8, 0xc0001f0c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f0c60) /usr/local/go/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(0xc000138f18) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000138f10) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000138f10, 0xc00013f3e0, 0xc00013f440) /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]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40d91b, 0xc0001b3200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001e4500) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001e4610, 0xc00011a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001e4500, 0xc0001e2300, 0x30, 0x9db900, 0x7f2f27f43fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001e4500, 0xc0001e2300, 0xc0001e4500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2300, 0xaaf4e0, 0xc0001e4500, 0x0, 0x0, 0x0, 0xc00013c2e0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001f03c0, 0xc0001e2300, 0x0, 0x0, 0x0, 0xc00013c2e0, 0x0, 0x1, 0xc0001e2300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001f03c0, 0xc0001e2300, 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(0xc0001cc0f0, 0xc00013f3e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001cc0f0, 0xc00013f3e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [runnable]: regexp.(*inputString).step(0xc00015d730, 0x2, 0x61, 0x1) /usr/local/go/src/regexp/regexp.go:383 +0xbf regexp.(*Regexp).tryBacktrack(0xc0001de0a0, 0xc00015d6b0, 0xaba518, 0xc00015d730, 0xc000000001, 0x0, 0xc00013f740) /usr/local/go/src/regexp/backtrack.go:218 +0xb89 regexp.(*Regexp).backtrack(0xc0001de0a0, 0x0, 0x0, 0x0, 0xc0000914a0, 0x4e, 0x0, 0x8, 0xc00010f5f8, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:353 +0x3af regexp.(*Regexp).doExecute(0xc0001de0a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0000914a0, 0x4e, 0x0, 0x8, ...) /usr/local/go/src/regexp/exec.go:535 +0x45c regexp.(*Regexp).FindStringSubmatch(0xc0001de0a0, 0xc0000914a0, 0x4e, 0xc0000914a0, 0x4e, 0x0) /usr/local/go/src/regexp/regexp.go:1039 +0xb5 github.com/prometheus/procfs.Proc.Limits(0xc6f5f, 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(0xc000148960, 0xc00013f3e0) /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(0xc000148960, 0xc00013f3e0) /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-06T13:17:11.657Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T13:17:11.658Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T13:17:11.658Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T13:17:11.658Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T13:17:11.659Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-06T13:17:11.658Z 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(0xc000248800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000248800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc0001ae300) /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(0x7fa973169f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000c0300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000c0300, 0xb0c77b2e4801f501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ca68, 0x62ee69e8, 0xc0001f9b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ca68, 0xc0001f9b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00030a000, 0xab76f0, 0xc00000ca68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ca68, 0xc00030a000, 0x0, 0x0, 0xaaf020, 0xc00008c280, 0x0, 0xd8) /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, 0xc00008c280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc00008c280) /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(0xc000180960, 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(0x7fa973127b98, 0xc00008c7d0, 0xc0000d0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000308000, 0x7fa973127b98, 0xc00008c7d0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa973127b98, 0xc00008c7d0, 0xc0000d0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00008f9e0, 0x7fa973127b98, 0xc00008c7d0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00030a0e0, 0xc0000d0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00008fb60, 0xab7900, 0xc00030a0e0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00030a0e0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00030a000, 0xab7900, 0xc00030a0e0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020aa0, 0xab8818, 0xc0000b8540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 16 [runnable]: net/http.(*connReader).backgroundRead(0xc00008fe00) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 49 [runnable]: syscall.Syscall6(0x101, 0xffffffffffffff9c, 0xc00028e030, 0x80000, 0x0, 0x0, 0x0, 0x8, 0x80000, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:43 +0x5 syscall.openat(0xffffffffffffff9c, 0xc00028e018, 0x11, 0x80000, 0xc000000000, 0x57557f, 0xc00028e018, 0x11) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:68 +0xc7 syscall.Open(...) /usr/local/go/src/syscall/syscall_linux.go:152 os.openFileNolog(0xc00028e018, 0x11, 0x0, 0xc000000000, 0x3, 0x3, 0xc00028e018) /usr/local/go/src/os/file_unix.go:216 +0x8f os.OpenFile(0xc00028e018, 0x11, 0x0, 0x0, 0x3, 0xc000284040, 0xc000288090) /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(0xc00028e018, 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(0x59491, 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(0xc0001809b0, 0xc000082de0) /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(0xc0001809b0, 0xc000082de0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022810, 0xc000082de0, 0xc000082e40) /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(0xc0001ee500, 0xc000082de0) /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(0xc000342000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0001ee500, 0xc000342000, 0xc0000c8300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-06T16:17:08.291Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T16:17:08.291Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T16:17:08.291Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T16:17:08.291Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T16:17:08.292Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T16:17:08.292Z 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(0xc000292000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000292000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002a000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000339f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f40d1044f18, 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, 0x735d9a5015022401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208a50, 0x62ee9418, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208a50, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000310000, 0xab76f0, 0xc000208a50, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208a50, 0xc000310000, 0x0, 0x0, 0xaaf020, 0xc000212230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000310000, 0x0, 0x0, 0xaaf020, 0xc000212230, 0x0, 0x0) /go/pkg/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 [waiting]: runtime.ReadMemStats(0xc000388000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc000388000, 0xc000114120) /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 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 38 [chan receive]: main.main.func1(0xaaf020, 0xc000212230) /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(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(0x7f40d0ea2b98, 0xc000212780, 0xc00025c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00030e000, 0x7f40d0ea2b98, 0xc000212780, 0xc00025c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f40d0ea2b98, 0xc000212780, 0xc00025c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002159e0, 0x7f40d0ea2b98, 0xc000212780, 0xc00025c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003100e0, 0xc00025c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000215b60, 0xab7900, 0xc0003100e0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003100e0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000310000, 0xab7900, 0xc0003100e0, 0xc00025c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00021aa00, 0xab8818, 0xc000240540) /usr/local/go/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(0xc000215e00) /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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000096000, 0xc000200d80) /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 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00023a7c0, 0xc000200d80, 0xc000200de0) /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, 0x7f40f7ccaa68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000220640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000220750, 0xc000116660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000220640, 0xc00025c200, 0x20300000000000, 0x7f40d1398fff, 0x7f40d0e9fd90) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000220640, 0xc00025c200, 0xc000220640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00025c200, 0xaaf4e0, 0xc000220640, 0x0, 0x0, 0x0, 0xc00020a170, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000215560, 0xc00025c200, 0x0, 0x0, 0x0, 0xc00020a170, 0x0, 0x1, 0xc00025c200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000215560, 0xc00025c200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000252870, 0xc000200d80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000252870, 0xc000200d80) /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-06T19:17:08.043Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T19:17:08.044Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T19:17:08.044Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T19:17:08.044Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T19:17:08.044Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T19:17:08.044Z 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(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fc6a22a1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180600, 0xa0a6abc3c1cd9201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f728, 0x62eebe48, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f728, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000290000, 0xab76f0, 0xc00012f728, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f728, 0xc000290000, 0x0, 0x0, 0xaaf020, 0xc00008c2d0, 0x0, 0xd8) /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, 0xc00008c2d0, 0x0, 0x0) /go/pkg/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]: bytes.(*Buffer).ReadRune(0xc000216030, 0x0, 0x64, 0x7fc6a2256998, 0x7fc6a2406e00) /usr/local/go/src/bytes/buffer.go:351 fmt.(*ss).ReadRune(0xc0002040c0, 0x3, 0x7fc6a2256998, 0x203000, 0x203000) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc0002040c0, 0x40d91b) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).SkipSpace(0xc0002040c0) /usr/local/go/src/fmt/scan.go:422 +0x2f fmt.(*ss).convertString(0xc0002040c0, 0x76, 0xc00021e018, 0x0) /usr/local/go/src/fmt/scan.go:828 +0x7e fmt.(*ss).scanOne(0xc0002040c0, 0x7fc600000076, 0x936b40, 0xc00021e018) /usr/local/go/src/fmt/scan.go:1012 +0xa6b fmt.(*ss).doScan(0xc0002040c0, 0xc00020d6b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc000216030, 0xc00020d6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x6e0e8, 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(0xc000148960, 0xc00013f7a0) /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(0xc000148960, 0xc00013f7a0) /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 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, 0xc00008c2d0) /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(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(0x7fc6a22b7cb8, 0xc000149130, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001eb730, 0x7fc6a22b7cb8, 0xc000149130, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc6a22b7cb8, 0xc000149130, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001f3410, 0x7fc6a22b7cb8, 0xc000149130, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002900e0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001f3590, 0xab7900, 0xc0002900e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002900e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000290000, 0xab7900, 0xc0002900e0, 0xc0001e2300) /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 31 [IO wait]: internal/poll.runtime_pollWait(0x7fc6a22a1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180680, 0xc0001f3841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180680, 0xc0001f3841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f560) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c370, 0xc0001f3841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f3830) /usr/local/go/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(0xc000138fd0, 0xc00013f7a0, 0xc00013f800) /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(0x7ffd2aecbef8, 0x28, 0xc0001e2300, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001eb730, 0xc000141500) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffd2aecbef8, 0x28, 0xc0001e0100, 0x7ffd2aecbef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffd2aecbef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc000138058, 0xa04fba, 0x3, 0x7ffd2aecbef8, 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(0xc0001cc780, 0xc00013f7a0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001cc780, 0xc00013f7a0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-06T22:17:14.999Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-06T22:17:14.999Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-06T22:17:14.999Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-06T22:17:14.999Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-06T22:17:14.999Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-06T22:17:14.999Z 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(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002f000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f15180caf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000176098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000176080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000176080, 0xfe904f4633dec501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000122b28, 0x62eee878, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000122b28, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028e000, 0xab76f0, 0xc000122b28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000122b28, 0xc00028e000, 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(0xc00028e000, 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 10 [waiting]: runtime.ReadMemStats(0xc0001cf800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc0001cf800, 0xc00008e120) /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 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, 0xc000206280) /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(0xc00008c960, 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(0x7f151810e398, 0xc000154690, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00014f1f0, 0x7f151810e398, 0xc000154690, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f151810e398, 0xc000154690, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00012f590, 0x7f151810e398, 0xc000154690, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028e0e0, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00012f710, 0xab7900, 0xc00028e0e0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028e0e0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028e000, 0xab7900, 0xc00028e0e0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013caa0, 0xab8818, 0xc000136440) /usr/local/go/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(0xc00012f9b0) /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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc000114a80) /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 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000132280, 0xc000114a80, 0xc000114ae0) /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]: io.ReadAtLeast(0xaaefe0, 0xc0001349d0, 0xc00012fcd0, 0x1, 0x4, 0x1, 0x1, 0x0, 0x0) /usr/local/go/src/io/io.go:322 +0x1c5 io.ReadFull(...) /usr/local/go/src/io/io.go:347 fmt.(*readRune).readByte(0xc00012fcb0, 0xc0002aab39, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:321 +0x6a fmt.(*readRune).ReadRune(0xc00012fcb0, 0x39, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:337 +0xb5 fmt.(*ss).ReadRune(0xc000114c00, 0x39, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc000114c00, 0x39) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).consume(0xc000114c00, 0xa0a93c, 0xb, 0x1, 0xc0002aac01) /usr/local/go/src/fmt/scan.go:480 +0x2f fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc000114c00, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc000114c00, 0x66, 0x92c700, 0xc000120470) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc000114c00, 0xa172b2, 0x20, 0xc0002aafc0, 0xb, 0xb, 0x3, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc0001349d0, 0xa172b2, 0x20, 0xc0002aafc0, 0xb, 0xb, 0xc0002d209a, 0xace, 0xf66) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001203c0, 0x47, 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(0xf84d9, 0xc0001322d0, 0xf, 0xd9c178, 0x1, 0x1, 0xf84d8, 0xf84d8, 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(0xc00008c9b0, 0xc000114a80) /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(0xc00008c9b0, 0xc000114a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-07T01:17:08.357Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T01:17:08.357Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T01:17:08.357Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T01:17:08.357Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T01:17:08.358Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-07T01:17:08.358Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000235f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f312b265f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000c0300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000c0300, 0x8390fbc49b598701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ca20, 0x62ef12a8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ca20, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000282000, 0xab76f0, 0xc00000ca20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ca20, 0xc000282000, 0x0, 0x0, 0xaaf020, 0xc00008c2d0, 0x0, 0xd8) /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, 0xc00008c2d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc00008c2d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f312b1dbb98, 0xc00008c820, 0xc0000d0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000280000, 0x7f312b1dbb98, 0xc00008c820, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f312b1dbb98, 0xc00008c820, 0xc0000d0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00008f9e0, 0x7f312b1dbb98, 0xc00008c820, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002820e0, 0xc0000d0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00008fb60, 0xab7900, 0xc0002820e0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002820e0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000282000, 0xab7900, 0xc0002820e0, 0xc0000d0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020a00, 0xab8818, 0xc0000b8540) /usr/local/go/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(0x7f312b265e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_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, 0xc00008fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000c0380, 0xc00008fe11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000082ba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e150, 0xc00008fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00008fe00) /usr/local/go/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]: 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(0xc000098640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000098750, 0xc000117660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000098640, 0xc00023a000, 0x20300000000000, 0x7f312b5b9fff, 0x7f312b21a5e0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000098640, 0xc00023a000, 0xc000098640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00023a000, 0xaaf4e0, 0xc000098640, 0x0, 0x0, 0x0, 0xc00023c008, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00008f560, 0xc00023a000, 0x0, 0x0, 0x0, 0xc00023c008, 0x0, 0x1, 0xc00023a000) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00008f560, 0xc00023a000, 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(0xc0000c6870, 0xc000082de0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000c6870, 0xc000082de0) /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 [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, 0xc000082de0, 0xc000082e40) /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-07T04:17:18.971Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T04:17:18.972Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T04:17:18.972Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T04:17:18.972Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T04:17:18.973Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-07T04:17:18.973Z 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(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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f42b6cf1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000248318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000248300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000248300, 0xea7c1fe8ab307801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208ac8, 0x62ef3cd8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208ac8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc000208ac8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208ac8, 0xc000298000, 0x0, 0x0, 0xaaf020, 0xc00020e320, 0x0, 0xd8) /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, 0xc00020e320, 0x0, 0x0) /go/pkg/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 6 [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(0x7f42b6c660a8, 0xc00008c140, 0xc0000b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7f42b6c660a8, 0xc00008c140, 0xc0000b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f42b6c660a8, 0xc00008c140, 0xc0000b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002119e0, 0x7f42b6c660a8, 0xc00008c140, 0xc0000b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000ba000, 0xc0000b0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000211b60, 0xab7900, 0xc0000ba000, 0xc0000b0000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000ba000, 0xc0000b0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0000ba000, 0xc0000b0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000a2000) /usr/local/go/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 [chan receive]: main.main.func1(0xaaf020, 0xc00020e320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [runnable]: 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.FS.Proc(0xa05a30, 0x5, 0x1c11, 0x5, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:92 +0xab github.com/prometheus/procfs.NewProc(0x1c11, 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(0xc000148960, 0xc000082180) /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(0xc000148960, 0xc000082180) /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 7 [IO wait]: internal/poll.runtime_pollWait(0x7f42b6cf1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000096098, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000096080, 0xc000094101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000096080, 0xc000094101, 0x1, 0x1, 0x1, 0xc0000627a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e018, 0xc000094101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000940f0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 8 [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 9 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000220a0, 0xc000082180, 0xc0000821e0) /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 10 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc00021c640, 0xc0000a2180, 0xa32200, 0x1, 0xffffffffffffffff, 0x120, 0x30, 0x7f42dd977108, 0xc000100800, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc00021c640, 0xc0000b0100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc00021c640, 0xc0000b0100, 0xc00021c640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000b0100, 0xaaf4e0, 0xc00021c640, 0x0, 0x0, 0x0, 0xc00000e028, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000211560, 0xc0000b0100, 0x0, 0x0, 0x0, 0xc00000e028, 0x0, 0x1, 0xc0000b0100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000211560, 0xc0000b0100, 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(0xc000250870, 0xc000082180, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000250870, 0xc000082180) /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-07T07:17:30.986Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T07:17:30.986Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T07:17:30.987Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T07:17:30.987Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T07:17:30.987Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T07:17:31.028Z 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(0xc000064c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000064c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002f000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f4e18d5ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180800, 0x8e79d87daa11dc01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f038, 0x62ef6744, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f038, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002aa000, 0xab76f0, 0xc00012f038, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f038, 0xc0002aa000, 0x0, 0x0, 0xaaf020, 0xc000148e10, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002aa000, 0x0, 0x0, 0xaaf020, 0xc000148e10, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 36 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc000148e10) /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(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(0x7f4e18d7d7b8, 0xc000149360, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029e0e0, 0x7f4e18d7d7b8, 0xc000149360, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4e18d7d7b8, 0xc000149360, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a03f0, 0x7f4e18d7d7b8, 0xc000149360, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002aa0e0, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a0570, 0xab7900, 0xc0002aa0e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002aa0e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002aa000, 0xab7900, 0xc0002aa0e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001dfea0, 0xab8818, 0xc000141840) /usr/local/go/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(0x7f4e18d5ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180880, 0xc0002a0821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180880, 0xc0002a0821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f9e0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c410, 0xc0002a0821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002a0810) /usr/local/go/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(0xc0001395c0, 0xc00013fc20, 0xc00013fc80) /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(0x7ffc4dea0ef8, 0x28, 0xc0001e2400, 0x100000000000000, 0xab0020, 0xabe608, 0xc00029e0e0, 0xc000141780) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffc4dea0ef8, 0x28, 0xc0001e0100, 0x7ffc4dea0ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffc4dea0ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc000138058, 0xa04fba, 0x3, 0x7ffc4dea0ef8, 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(0xc0001ccff0, 0xc00013fc20, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001ccff0, 0xc00013fc20) /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 [runnable]: syscall.Syscall6(0x101, 0xffffffffffffff9c, 0xc00080c720, 0x80000, 0x0, 0x0, 0x0, 0x8, 0x80000, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:43 +0x5 syscall.openat(0xffffffffffffff9c, 0xc00080c710, 0xf, 0x80000, 0x0, 0xc00080c710, 0xf, 0x2) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:68 +0xc7 syscall.Open(...) /usr/local/go/src/syscall/syscall_linux.go:152 os.openFileNolog(0xc00080c710, 0xf, 0x0, 0x0, 0x5, 0xc00080c6f8, 0x6) /usr/local/go/src/os/file_unix.go:216 +0x8f os.OpenFile(0xc00080c710, 0xf, 0x0, 0xc000000000, 0x1, 0x1, 0xc00080c710) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs.Proc.fileDescriptors(0x7d150, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:273 +0xe8 github.com/prometheus/procfs.Proc.FileDescriptorsLen(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:240 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc000148960, 0xc00013fc20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:53 +0x439 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc000148960, 0xc00013fc20) /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-07T08:06:27.740Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T08:06:27.741Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T08:06:27.741Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T08:06:27.741Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T08:06:27.741Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T08:06:27.741Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fc0f013ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ee598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0001ee580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001ee580, 0x75517c089594f201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00019ccf0, 0x62ef7284, 0xc0001f9b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00019ccf0, 0xc0001f9b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000270000, 0xab76f0, 0xc00019ccf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00019ccf0, 0xc000270000, 0x0, 0x0, 0xaaf020, 0xc000134280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000270000, 0x0, 0x0, 0xaaf020, 0xc000134280, 0x0, 0x0) /go/pkg/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 [runnable]: net/url.getscheme(0x7fff40137ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fff40137ef8, 0x28, 0x100, 0x7fff40137ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fff40137ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0001a6058, 0xa04fba, 0x3, 0x7fff40137ef8, 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(0xc00023a0f0, 0xc0001ad500, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc00023a0f0, 0xc0001ad500) /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 [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, 0xc000134280) /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(0xc000180960, 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(0x7fc0f0156db8, 0xc000180fa0, 0xc000252200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000262310, 0x7fc0f0156db8, 0xc000180fa0, 0xc000252200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc0f0156db8, 0xc000180fa0, 0xc000252200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000260840, 0x7fc0f0156db8, 0xc000180fa0, 0xc000252200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002700e0, 0xc000252200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002609c0, 0xab7900, 0xc0002700e0, 0xc000252200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002700e0, 0xc000252200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000270000, 0xab7900, 0xc0002700e0, 0xc000252200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00024ea00, 0xab8818, 0xc0001b1440) /usr/local/go/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(0x7fc0f013ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ee618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0001ee600, 0xc000260c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001ee600, 0xc000260c71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0001ad2c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001aa2b8, 0xc000260c71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000260c60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001a6f10, 0xc0001ad500, 0xc0001ad560) /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.(*buffer).writeRune(0xc0001ad690, 0x35) /usr/local/go/src/fmt/print.go:89 +0x20b fmt.(*ss).consume(0xc0001ad680, 0xa0a93c, 0xb, 0xa04c01, 0x1) /usr/local/go/src/fmt/scan.go:486 +0x98 fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).scanNumber(0xc0001ad680, 0xa0a93c, 0xb, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:595 +0x51 fmt.(*ss).scanInt(0xc0001ad680, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:656 +0x18a fmt.(*ss).scanOne(0xc0001ad680, 0x7fc000000076, 0x92ff80, 0xc000270258) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc0001ad680, 0xc00031d6b8, 0x16, 0x16, 0xf, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc000260e10, 0xc00031d6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x9f70b, 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(0xc0001809b0, 0xc0001ad500) /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(0xc0001809b0, 0xc0001ad500) /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-07T10:17:41.594Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T10:17:41.594Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T10:17:41.594Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T10:17:41.594Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T10:17:41.595Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T10:17:41.628Z 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, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f4cd0705f18, 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, 0xca79ff60b4aa0501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020acc0, 0x62ef9174, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020acc0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc00020acc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020acc0, 0xc0002a6000, 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(0xc0002a6000, 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 6 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000096000, 0xc0002370e0) /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 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 44 [chan receive]: main.main.func1(0xaaf020, 0xc000240500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 48 [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(0x7f4cd06c6d40, 0xc000240a50, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7f4cd06c6d40, 0xc000240a50, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4cd06c6d40, 0xc000240a50, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7f4cd06c6d40, 0xc000240a50, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc000216200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002a60e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc000216200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002254a0, 0xab8818, 0xc00021e6c0) /usr/local/go/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 [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 50 [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(0xc0002428c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002429d0, 0xc00011a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002428c0, 0xc0001e2200, 0x30, 0x9db900, 0x7f4cd0869a00) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002428c0, 0xc0001e2200, 0xc0002428c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2200, 0xaaf4e0, 0xc0002428c0, 0x0, 0x0, 0x0, 0xc00013c220, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000294120, 0xc0001e2200, 0x0, 0x0, 0x0, 0xc00013c220, 0x0, 0x1, 0xc0001e2200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000294120, 0xc0001e2200, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244f00, 0xc0002370e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244f00, 0xc0002370e0) /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 51 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021c870, 0xc0002370e0, 0xc000237140) /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]: fmt.newScanState(0xaaefe0, 0xc000203070, 0x0, 0x946120, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:388 +0x10d fmt.Fscanf(0xaaefe0, 0xc000203070, 0xa172b2, 0x20, 0xc0002cafc0, 0xb, 0xb, 0xc0002f0000, 0xb6c, 0x1000) /usr/local/go/src/fmt/scan.go:142 +0x54 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0002002d0, 0x50, 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(0xfb59d, 0xc00021c8c0, 0xf, 0xd9c178, 0x1, 0x1, 0xfb59c, 0xfb59c, 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, 0xc0002370e0) /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, 0xc0002370e0) /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 7 [waiting]: runtime.ReadMemStats(0xc000099800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc000099800, 0xc0000a8000) /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-07T13:17:11.021Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T13:17:11.022Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T13:17:11.022Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T13:17:11.022Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T13:17:11.022Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T13:17:11.022Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc0002a4180) /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(0x7f2067fcbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6798, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6780, 0xd1701b00fab23801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d050, 0x62efbb68, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d050, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000292000, 0xab76f0, 0xc00000d050, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d050, 0xc000292000, 0x0, 0x0, 0xaaf020, 0xc00008ce10, 0x0, 0xd8) /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, 0xc00008ce10, 0x0, 0x0) /go/pkg/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.(*processCollector).processCollect(0xc00008c9b0, 0xc000083c80) /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(0xc00008c9b0, 0xc000083c80) /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 [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, 0xc00008ce10) /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(0xc00008c960, 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(0x7f2067fe66b8, 0xc00008d360, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001fe0e0, 0x7f2067fe66b8, 0xc00008d360, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2067fe66b8, 0xc00008d360, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002803f0, 0x7f2067fe66b8, 0xc00008d360, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002920e0, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000280570, 0xab7900, 0xc0002920e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002920e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000292000, 0xab7900, 0xc0002920e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c3ea0, 0xab8818, 0xc0000ab840) /usr/local/go/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(0x7f2067fcbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6818, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6800, 0xc000280821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6800, 0xc000280821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083a40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e428, 0xc000280821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000280810) /usr/local/go/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(0xc000023610, 0xc000083c80, 0xc000083ce0) /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]: github.com/prometheus/client_golang/prometheus.(*MetricVec).Collect(0xc000280240, 0xc000083c80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/vec.go:109 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by 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-07T16:17:06.897Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T16:17:06.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-07T16:17:06.898Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T16:17:06.898Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T16:17:06.898Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T16:17:06.898Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102900) /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(0x7f4bd265ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128380, 0x8c6c273ae7de3501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117248, 0x62efe598, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117248, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000117248, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117248, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc000134320, 0x0, 0xd8) /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, 0xc000134320, 0x0, 0x0) /go/pkg/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 25 [chan receive]: main.main.func1(0xaaf020, 0xc000134320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f4bd269db98, 0xc000134870, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000164c40, 0x7f4bd269db98, 0xc000134870, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4bd269db98, 0xc000134870, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000123a10, 0x7f4bd269db98, 0xc000134870, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000123b90, 0xab7900, 0xc00029e0e0, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc000174100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc000174100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013aa00, 0xab8818, 0xc00015e540) /usr/local/go/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(0x7f4bd265fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128400, 0xc000123e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128400, 0xc000123e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000132c00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120148, 0xc000123e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000123e30) /usr/local/go/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]: 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(0xc00013e640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00013e750, 0xc000091660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00013e640, 0xc000218100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00013e640, 0xc000218100, 0xc00013e640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218100, 0xaaf4e0, 0xc00013e640, 0x0, 0x0, 0x0, 0xc00020e0d0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000123590, 0xc000218100, 0x0, 0x0, 0x0, 0xc00020e0d0, 0x0, 0x1, 0xc000218100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000123590, 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(0xc00016c870, 0xc000132e40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00016c870, 0xc000132e40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 32 [semacquire]: sync.runtime_Semacquire(0xc00015c7c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00015c7c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00015c7c0, 0xc000132e40, 0xc000132ea0) /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]: os.newFile(0x8, 0xc000238048, 0x12, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:129 +0x76 os.openFileNolog(0xc000238048, 0x12, 0x0, 0x0, 0x5, 0xc000582000, 0x5) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000238048, 0x12, 0x0, 0xc000000000, 0x1, 0x1, 0xc000238048) /usr/local/go/src/os/file.go:331 +0x65 os.Open(...) /usr/local/go/src/os/file.go:311 github.com/prometheus/procfs.Proc.Limits(0x9b3e, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:89 +0x111 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00008c9b0, 0xc000132e40) /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(0xc00008c9b0, 0xc000132e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-07T19:17:06.062Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T19:17:06.063Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T19:17:06.063Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T19:17:06.063Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T19:17:06.063Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T19:17:06.064Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000266a80) /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(0x7f09d98d8f18, 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, 0x964e6ec5effae501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200ab0, 0x62f00fc8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200ab0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc000200ab0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200ab0, 0xc000298000, 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(0xc000298000, 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 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 42 [chan receive]: main.main.func1(0xaaf020, 0xc000206370) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 46 [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(0x7f09d9892b98, 0xc0002068c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7f09d9892b98, 0xc0002068c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f09d9892b98, 0xc0002068c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002099e0, 0x7f09d9892b98, 0xc0002068c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002980e0, 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, 0xc0002980e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002980e0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002980e0, 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 47 [IO wait]: internal/poll.runtime_pollWait(0x7f09d98d8e30, 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, 0xc000204c60) /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 48 [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(0xc0002327c0, 0xc000204ea0, 0xc000204f00) /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, 0x7f0a0055ea68) /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, 0xc0002ae660) /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, 0x7f09d9c2cfff, 0x7f09d988ffd8) /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, 0xc000238160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000209560, 0xc000258200, 0x0, 0x0, 0x0, 0xc000238160, 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, 0xc000204ea0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00024e870, 0xc000204ea0) /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 [runnable]: strconv.ParseInt(0xd9c068, 0x1, 0x0, 0x40, 0xd9c068, 0x1, 0x2000000000) /usr/local/go/src/strconv/atoi.go:179 fmt.(*ss).scanInt(0xc00048a000, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:657 +0x1bf fmt.(*ss).scanOne(0xc00048a000, 0x7f0900000076, 0x92ff80, 0xc000482028) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc00048a000, 0xc0003076b8, 0x16, 0x16, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc000484000, 0xc0003076b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x8bc5c, 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(0xc000148960, 0xc000204ea0) /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(0xc000148960, 0xc000204ea0) /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-07T22:17:13.446Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-07T22:17:13.446Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-07T22:17:13.446Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-07T22:17:13.446Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-07T22:17:13.446Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-07T22:17:13.447Z 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, 0xc00002f000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f415c4abf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0xdd9337356a32d801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccf0, 0x62f039f8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccf0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e4000, 0xab76f0, 0xc00000ccf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccf0, 0xc0001e4000, 0x0, 0x0, 0xaaf020, 0xc000134280, 0x0, 0xd8) /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, 0xc000134280, 0x0, 0x0) /go/pkg/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, 0xc000134280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 15 [runnable]: net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffd730d4ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:870 +0xf5 net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001b00f0, 0xc000132660, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001b00f0, 0xc000132660) /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]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f415c4ec2c0, 0xc0001343c0, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d6310, 0x7f415c4ec2c0, 0xc0001343c0, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f415c4ec2c0, 0xc0001343c0, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d4840, 0x7f415c4ec2c0, 0xc0001343c0, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a4000, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d49c0, 0xab7900, 0xc0002a4000, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a4000, 0xc000174100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e4000, 0xab7900, 0xc0002a4000, 0xc000174100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013c8c0, 0xab8818, 0xc00015e280) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 22 [IO wait]: internal/poll.runtime_pollWait(0x7f415c4abe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128318, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128300, 0xc0001230f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128300, 0xc0001230f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001200b0, 0xc0001230f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001230e0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 23 [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 24 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00015c640, 0xc000132660, 0xc0001326c0) /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 25 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000132660) /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 26 [waiting]: runtime.ReadMemStats(0xc00012b800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00012b800, 0xc00016e2a0) /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-08T01:17:07.999Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T01:17:07.999Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T01:17:07.999Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T01:17:07.999Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T01:17:07.999Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T01:17:08.000Z 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(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000294300) /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(0x7f5dec683f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6800, 0xe927eb51ced72701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d020, 0x62f06428, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d020, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc00000d020, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d020, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc00008ce10, 0x0, 0xd8) /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, 0xc00008ce10, 0x0, 0x0) /go/pkg/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 [copystack]: 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(0xc0001c8dc0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8ed0, 0xc000091660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8dc0, 0xc0001c6500, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8dc0, 0xc0001c6500, 0xc0001c8dc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6500, 0xaaf4e0, 0xc0001c8dc0, 0x0, 0x0, 0x0, 0xc000120018, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001cff50, 0xc0001c6500, 0x0, 0x0, 0x0, 0xc000120018, 0x0, 0x1, 0xc0001c6500) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001cff50, 0xc0001c6500, 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(0xc0001b0ff0, 0xc000083c80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b0ff0, 0xc000083c80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc00008ce10) /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(0xc00008c960, 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(0x7f5dec69feb8, 0xc00008d360, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002880e0, 0x7f5dec69feb8, 0xc00008d360, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5dec69feb8, 0xc00008d360, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00028a3f0, 0x7f5dec69feb8, 0xc00008d360, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002960e0, 0xc0001c6400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00028a570, 0xab7900, 0xc0002960e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002960e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc0002960e0, 0xc0001c6400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002a8000, 0xab8818, 0xc0000ab840) /usr/local/go/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(0x7f5dec683e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6880, 0xc00028a821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6880, 0xc00028a821, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083a40) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e418, 0xc00028a821, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00028a810) /usr/local/go/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(0xc000023610, 0xc000083c80, 0xc000083ce0) /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.(*buffer).writeRune(0xc000083e10, 0x36) /usr/local/go/src/fmt/print.go:89 +0x20b fmt.(*ss).consume(0xc000083e00, 0xa0a93c, 0xb, 0x1, 0xc00022ac01) /usr/local/go/src/fmt/scan.go:486 +0x98 fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc000083e00, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc000083e00, 0x66, 0x92c700, 0xc0001bf2a8) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc000083e00, 0xa172b2, 0x20, 0xc00022afc0, 0xb, 0xb, 0x8, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc0001eab50, 0xa172b2, 0x20, 0xc00022afc0, 0xb, 0xb, 0xc0002ab44d, 0x723, 0xbb3) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001bf1d0, 0x47, 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(0x94c1f, 0xc000023660, 0xf, 0xd9c178, 0x1, 0x1, 0x94c1e, 0x94c1e, 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(0xc00008c9b0, 0xc000083c80) /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(0xc00008c9b0, 0xc000083c80) /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 ] 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(0xc000280000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000280000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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]: runtime.Caller(0x3, 0x71fa5d, 0x9a7ae0, 0xc00018bd20, 0x9a7ae0, 0xc0001f24e0) /usr/local/go/src/runtime/extern.go:205 +0x125 github.com/go-kit/log.Caller.func1(0x9a7ae0, 0xc0001f24e0) /go/pkg/mod/github.com/go-kit/log@v0.2.0/value.go:86 +0x2e github.com/go-kit/log.bindValues(0xc0001f8000, 0x6, 0xc) /go/pkg/mod/github.com/go-kit/log@v0.2.0/value.go:20 +0x79 github.com/go-kit/log.(*context).Log(0xc000148af0, 0xc000141240, 0x4, 0x4, 0x3, 0xc0001da1e0) /go/pkg/mod/github.com/go-kit/log@v0.2.0/log.go:162 +0x1eb main.main() /app/apache_exporter.go:606 +0x622 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 [ OK ] level=info ts=2022-08-08T07:17:53.297Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T07:17:53.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-08T07:17:53.297Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T07:17:53.297Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T07:17:53.297Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T07:17:53.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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00021e480) /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(0x7f46aa712f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x4fc2282de1fbcd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62f0b8c4, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000200900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200900, 0xc000250000, 0x0, 0x0, 0xaaf020, 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(0xc000250000, 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 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 23 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 41 [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(0x7f46aa68ca58, 0xc00020a550, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020ea10, 0x7f46aa68ca58, 0xc00020a550, 0xc000380000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f46aa68ca58, 0xc00020a550, 0xc000380000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002149f0, 0x7f46aa68ca58, 0xc00020a550, 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(0xc000214b70, 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, 0xc00021a2c0) /usr/local/go/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(0x7f46aa712e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000214e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000214e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002085a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002040a0, 0xc000214e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000214e10) /usr/local/go/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]: 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 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00020c1c0, 0xc0002087e0, 0xc000208840) /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]: runtime/debug.readGCStats(0xc00020ebf8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00020ebd0) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc0002087e0) /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 46 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc000392000, 0xc00024e120) /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 24 [runnable]: net/http.NewRequestWithContext(0xab87a8, 0xc000138058, 0xa04fba, 0x3, 0x7fff32be7ef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:853 +0x89b net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc000220000, 0xc0002087e0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000220000, 0xc0002087e0) /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-08T08:04:09.367Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T08:04:09.409Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T08:04:09.409Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T08:04:09.409Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T08:04:09.409Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T08:04:09.411Z 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(0xc00028a400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00028a400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000229f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fcb71dacf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0x723c8ad95bc9001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cc90, 0x62f0c38c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cc90, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001dc000, 0xab76f0, 0xc00000cc90, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cc90, 0xc0001dc000, 0x0, 0x0, 0xaaf020, 0xc000134550, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001dc000, 0x0, 0x0, 0xaaf020, 0xc000134550, 0x0, 0x0) /go/pkg/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, 0xc000134550) /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]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fcb71dbcbb8, 0xc00008cf00, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ce310, 0x7fcb71dbcbb8, 0xc00008cf00, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcb71dbcbb8, 0xc00008cf00, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cc840, 0x7fcb71dbcbb8, 0xc00008cf00, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001dc0e0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cc9c0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001dc000, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c0be0, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7fcb71dace30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001ccc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001ccc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000831a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c0, 0xc0001ccc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001ccc60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 15 [runnable]: 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 16 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc0000833e0, 0xc000083440) /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/http.(*Transport).connectMethodForRequest(0xc0001c8500, 0xc0000ab5c0, 0xa32200, 0x1, 0xffffffffffffffff, 0x1, 0xc0001a7000, 0xc0000945d8, 0x4dd03c, 0xc0000e6600) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc0001c8500, 0xc0001c6300, 0x30, 0x9db900, 0x7fcb72144fff) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc0001c8500, 0xc0001c6300, 0xc0001c8500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6300, 0xaaf4e0, 0xc0001c8500, 0x0, 0x0, 0x0, 0xc00000e2d0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001cc3c0, 0xc0001c6300, 0x0, 0x0, 0x0, 0xc00000e2d0, 0x0, 0x1, 0xc0001c6300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001cc3c0, 0xc0001c6300, 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(0xc0001b00f0, 0xc0000833e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b00f0, 0xc0000833e0) /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 26 [runnable]: io.(*LimitedReader).Read(0xc000480000, 0xc000600500, 0x200, 0x200, 0x501, 0xc000600000, 0x500) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000480000, 0x0, 0x0, 0xc000400000, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000380070, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/internal/util/readfile.go:37 +0xfd github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:169 +0x18d github.com/prometheus/procfs.ProcStat.StartTime(0xca41b, 0xc000380010, 0xf, 0xd9c178, 0x1, 0x1, 0xca41a, 0xca41a, 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(0xc00008c9b0, 0xc0000833e0) /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(0xc00008c9b0, 0xc0000833e0) /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-08T10:17:42.126Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T10:17:42.127Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T10:17:42.127Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T10:17:42.127Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T10:17:42.127Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T10:17:42.128Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000385f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fb40329ff18, 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, 0xb443c0a5e30d9f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000204b58, 0x62f0e2f4, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000204b58, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000272000, 0xab76f0, 0xc000204b58, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000204b58, 0xc000272000, 0x0, 0x0, 0xaaf020, 0xc00008c280, 0x0, 0xd8) /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, 0xc00008c280, 0x0, 0x0) /go/pkg/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]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc000388000, 0xc000114120) /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 38 [chan receive]: main.main.func1(0xaaf020, 0xc00008c280) /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 42 [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(0x7fb40325b298, 0xc0002406e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7fb40325b298, 0xc0002406e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb40325b298, 0xc0002406e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021d590, 0x7fb40325b298, 0xc0002406e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002720e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021d710, 0xab7900, 0xc0002720e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002720e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000272000, 0xab7900, 0xc0002720e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228b40, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 43 [runnable]: net/http.(*connReader).backgroundRead(0xc00021d9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000096000, 0xc000200ae0) /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 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000220280, 0xc000200ae0, 0xc000200b40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 46 [runnable]: fmt.newScanState(0xaaed20, 0xc00021db60, 0x9a0001, 0xc00031a000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc00021db60, 0xc00010f6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0x33694, 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(0xc000148960, 0xc000200ae0) /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(0xc000148960, 0xc000200ae0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d [ OK ] level=info ts=2022-08-08T13:17:12.367Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T13:17:12.368Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T13:17:12.368Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T13:17:12.368Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T13:17:12.368Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T13:17:12.369Z 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(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, 0xc00002a000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f0dbd2bef18, 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, 0xe73ca43ada543201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200990, 0x62f10ce8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200990, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000252000, 0xab76f0, 0xc000200990, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200990, 0xc000252000, 0x0, 0x0, 0xaaf020, 0xc00008cc80, 0x0, 0xd8) /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, 0xc00008cc80, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 18 [runnable]: fmt.(*ss).consume(0xc000114360, 0xa04d1e, 0x2, 0xa09f01, 0xa) /usr/local/go/src/fmt/scan.go:479 +0xed fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).scanInt(0xc000114360, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:651 +0x258 fmt.(*ss).scanOne(0xc000114360, 0x7f0d00000076, 0x92ff80, 0xc000178030) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc000114360, 0xc0001736b8, 0x16, 0x16, 0x2, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc000130bd0, 0xc0001736b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0xd7a5b, 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(0xc00008c9b0, 0xc000204960) /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(0xc00008c9b0, 0xc000204960) /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 [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, 0xc00008cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 45 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f0dbd27ca58, 0xc000206640, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000216a10, 0x7f0dbd27ca58, 0xc000206640, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f0dbd27ca58, 0xc000206640, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021c9f0, 0x7f0dbd27ca58, 0xc000206640, 0xc00027a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002520e0, 0xc00027a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(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 46 [IO wait]: internal/poll.runtime_pollWait(0x7f0dbd2bee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022a118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00022a100, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00022a100, 0xc00021ce21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204720) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021e0a0, 0xc00021ce21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ce10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 47 [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 48 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002141c0, 0xc000204960, 0xc0002049c0) /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/http.(*Transport).connectMethodForRequest(0xc000226000, 0xc000224440, 0xa32200, 0x1, 0xffffffffffffffff, 0x120, 0xc000244240, 0x1007f0de3f88a68, 0xc000244240, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc000226000, 0xc00027a100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 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, 0xc00021e0b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021c570, 0xc00027a100, 0x0, 0x0, 0x0, 0xc00021e0b0, 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, 0xc000204960, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000228000, 0xc000204960) /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-08T16:17:11.743Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T16:17:11.743Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T16:17:11.743Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T16:17:11.743Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T16:17:11.744Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T16:17:11.744Z 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, 0xc00002a000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000269f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fc45cb74f18, 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, 0x90f960c908db5b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62f13718, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc0000f1b98, 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, 0xc000134280, 0x0, 0xd8) /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, 0xc000134280, 0x0, 0x0) /go/pkg/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, 0xc000134280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [runnable]: github.com/prometheus/client_golang/prometheus.(*constSummary).Write(0xc000218440, 0xc00032e0e0, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/summary.go:676 +0x157 github.com/prometheus/client_golang/prometheus.processMetric(0xab2718, 0xc000218440, 0xc00026d5f8, 0xc00026d628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:598 +0xa2 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fc45cb32a58, 0xc000206500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7fc45cb32a58, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc45cb32a58, 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, 0x7fc45cb32a58, 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 41 [IO wait]: internal/poll.runtime_pollWait(0x7fc45cb74e30, 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, 0xc0002045a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002120a8, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 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(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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc0002047e0) /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 45 [waiting]: runtime.ReadMemStats(0xc00038a000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00038a000, 0xc000246120) /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-08T19:17:14.055Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T19:17:14.056Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T19:17:14.056Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T19:17:14.056Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T19:17:14.056Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T19:17:14.061Z 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(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000276d80) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb49ac53f18, 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, 0x53d5ec1b89ec4a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020ec78, 0x62f171ec, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020ec78, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc00020ec78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020ec78, 0xc0002a6000, 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(0xc0002a6000, 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 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 39 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [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(0x7fb49ac14d18, 0xc000240910, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7fb49ac14d18, 0xc000240910, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb49ac14d18, 0xc000240910, 0xc000218200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7fb49ac14d18, 0xc000240910, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc000218200) /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, 0xc000218200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc000218200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000229360, 0xab8818, 0xc0002226c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 44 [IO wait]: internal/poll.runtime_pollWait(0x7fb49ac53e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000264398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000264380, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000264380, 0xc0002949d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200de0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000210218, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 45 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 46 [semacquire]: sync.runtime_Semacquire(0xc00021e878) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021e870) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021e870, 0xc000201020, 0xc000201080) /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]: net/http.(*Transport).getConn(0xc0002428c0, 0xc000222840, 0x0, 0x7ffc97002ef8, 0x4, 0xc00021e880, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1324 net/http.(*Transport).roundTrip(0xc0002428c0, 0xc000218300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0002428c0, 0xc000218300, 0xc0002428c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000218300, 0xaaf4e0, 0xc0002428c0, 0x0, 0x0, 0x0, 0xc000210228, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000294120, 0xc000218300, 0x0, 0x0, 0x0, 0xc000210228, 0x0, 0x1, 0xc000218300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000294120, 0xc000218300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000244f00, 0xc000201020, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000244f00, 0xc000201020) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 9 [runnable]: fmt.(*readRune).readByte(0xc0000942d0, 0xc000070b36, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:314 +0xe8 fmt.(*readRune).ReadRune(0xc0000942d0, 0x36, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:337 +0xb5 fmt.(*ss).ReadRune(0xc0000822a0, 0x36, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:189 +0x7a fmt.(*ss).getRune(0xc0000822a0, 0x36) /usr/local/go/src/fmt/scan.go:211 +0x2f fmt.(*ss).consume(0xc0000822a0, 0xa0a93c, 0xb, 0x1, 0xc000070c01) /usr/local/go/src/fmt/scan.go:480 +0x2f fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc0000822a0, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc0000822a0, 0x66, 0x92c700, 0xc000090518) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc0000822a0, 0xa172b2, 0x20, 0xc000070fc0, 0xb, 0xb, 0x4, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc00007e2e0, 0xa172b2, 0x20, 0xc000070fc0, 0xb, 0xb, 0xc0000c012c, 0xa4a, 0xed4) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc000090460, 0x48, 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(0x2caaf, 0xc0000220b0, 0xf, 0xd9c178, 0x1, 0x1, 0x2caae, 0x2caae, 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, 0xc000201020) /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, 0xc000201020) /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(0xc000096000, 0xc000201020) /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(0xc00038e000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc00038e000, 0xc000394000) /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-08T22:17:10.621Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-08T22:17:10.621Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-08T22:17:10.621Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-08T22:17:10.621Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-08T22:17:10.621Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-08T22:17:10.622Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010dd01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102900) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000102900) /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(0x7f620a5d5f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ba098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000ba080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ba080, 0x3f1445acf0c15301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8d0, 0x62f18b78, 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(0xc0000be000, 0xab76f0, 0xc00000c8d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8d0, 0xc0000be000, 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(0xc0000be000, 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 8 [chan receive]: main.main.func1(0xaaf020, 0xc000286230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 49 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 12 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f620a3eba58, 0xc00008c550, 0xc0000e4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00008ea10, 0x7f620a3eba58, 0xc00008c550, 0xc0000e4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f620a3eba58, 0xc00008c550, 0xc0000e4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000909f0, 0x7f620a3eba58, 0xc00008c550, 0xc0000e4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000be0e0, 0xc0000e4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000090b70, 0xab7900, 0xc0000be0e0, 0xc0000e4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000be0e0, 0xc0000e4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000be000, 0xab7900, 0xc0000be0e0, 0xc0000e4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000922c0) /usr/local/go/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(0x7f620a5d5e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ba118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000ba100, 0xc000090e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000ba100, 0xc000090e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000082600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0a8, 0xc000090e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000090e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 15 [semacquire]: sync.runtime_Semacquire(0xc000022228) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022220) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc000082840, 0xc0000828a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 16 [select]: net/http.(*persistConn).roundTrip(0xc0000ac480, 0xc000092440, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc000094000, 0xc0000e4100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc000094000, 0xc0000e4100, 0xc000094000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000e4100, 0xaaf4e0, 0xc000094000, 0x0, 0x0, 0x0, 0xc00000e0b8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000090570, 0xc0000e4100, 0x0, 0x0, 0x0, 0xc00000e0b8, 0x0, 0x1, 0xc0000e4100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000090570, 0xc0000e4100, 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(0xc000096000, 0xc000082840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000096000, 0xc000082840) /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 69 [runnable]: net/http.(*persistConn).readLoop(0xc0000ac480) /usr/local/go/src/net/http/transport.go:2048 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 70 [select]: net/http.(*persistConn).writeLoop(0xc0000ac480) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-09T01:17:09.872Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T01:17:09.873Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T01:17:09.873Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T01:17:09.873Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T01:17:09.873Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T01:17:09.873Z 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(0xc000250000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000250000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001edf01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f689fd78f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015e318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00015e300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00015e300, 0x5b01e4317648f501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000120a68, 0x62f1b5a8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000120a68, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000298000, 0xab76f0, 0xc000120a68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000120a68, 0xc000298000, 0x0, 0x0, 0xaaf020, 0xc000126280, 0x0, 0xd8) /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, 0xc000126280, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc000126280) /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(0xc00008c960, 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(0x7f689fdb6b98, 0xc0001267d0, 0xc000170100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000296000, 0x7f689fdb6b98, 0xc0001267d0, 0xc000170100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f689fdb6b98, 0xc0001267d0, 0xc000170100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001299e0, 0x7f689fdb6b98, 0xc0001267d0, 0xc000170100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002980e0, 0xc000170100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000129b60, 0xab7900, 0xc0002980e0, 0xc000170100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002980e0, 0xc000170100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000298000, 0xab7900, 0xc0002980e0, 0xc000170100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00012e960, 0xab8818, 0xc000154540) /usr/local/go/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(0x7f689fd78e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015e398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00015e380, 0xc000129e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00015e380, 0xc000129e11, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000114ba0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000122150, 0xc000129e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000129e00) /usr/local/go/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]: 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 47 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00014e7c0, 0xc000114de0, 0xc000114e40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc000134640, 0xc0001546c0, 0xa32200, 0x1, 0xffffffffffffffff, 0xc000090580, 0x414ab7, 0x100000000968da0, 0xc000156900, 0x1) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc000134640, 0xc000170200, 0x20300000000000, 0x7f68a0110fff, 0x7f689fd33fd8) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc000134640, 0xc000170200, 0xc000134640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000170200, 0xaaf4e0, 0xc000134640, 0x0, 0x0, 0x0, 0xc000122160, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000129560, 0xc000170200, 0x0, 0x0, 0x0, 0xc000122160, 0x0, 0x1, 0xc000170200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000129560, 0xc000170200, 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(0xc000166870, 0xc000114de0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000166870, 0xc000114de0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [runnable]: bytes.Index(0xc00018e400, 0x12a, 0x200, 0xc0001ef657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x5e344, 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(0xc00008c9b0, 0xc000114de0) /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(0xc00008c9b0, 0xc000114de0) /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-09T04:17:12.647Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T04:17:12.648Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T04:17:12.648Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T04:17:12.648Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T04:17:12.648Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T04:17:12.648Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f094ac8ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6600, 0xff977b0dd7100701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d758, 0x62f1dfd8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d758, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001fc000, 0xab76f0, 0xc00000d758, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d758, 0xc0001fc000, 0x0, 0x0, 0xaaf020, 0xc00011a230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001fc000, 0x0, 0x0, 0xaaf020, 0xc00011a230, 0x0, 0x0) /go/pkg/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(0xc0000e6500, 0xc000083800) /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 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive]: main.main.func1(0xaaf020, 0xc00011a230) /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(0xc00008c960, 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(0x7f094aca5cb8, 0xc00008d180, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001cf730, 0x7f094aca5cb8, 0xc00008d180, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f094aca5cb8, 0xc00008d180, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d7410, 0x7f094aca5cb8, 0xc00008d180, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fc0e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d7590, 0xab7900, 0xc0001fc0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fc0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001fc000, 0xab7900, 0xc0001fc0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c1680, 0xab8818, 0xc0000ab5c0) /usr/local/go/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(0x7f094ac8fe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6680, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6680, 0xc0001d7841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000835c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d7830) /usr/local/go/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, 0xc000083800, 0xc000083860) /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).doScan(0xc000083980, 0xc00010f6b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1070 +0x1bc fmt.Fscan(0xaaed20, 0xc0001d79e0, 0xc00010f6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0xe8f6e, 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(0xc00008c9b0, 0xc000083800) /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(0xc00008c9b0, 0xc000083800) /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-09T07:17:46.742Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T07:17:46.742Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T07:17:46.742Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T07:17:46.742Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T07:17:46.742Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-09T07:17:46.743Z 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(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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000113f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f11b4c8af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00016e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00016e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00016e080, 0x5341a85493791401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000118b88, 0x62f20a44, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000118b88, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000286000, 0xab76f0, 0xc000118b88, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000118b88, 0xc000286000, 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(0xc000286000, 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 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f11b4c99238, 0xc00008cbe0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00014f1f0, 0x7f11b4c99238, 0xc00008cbe0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f11b4c99238, 0xc00008cbe0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00012f590, 0x7f11b4c99238, 0xc00008cbe0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e0000, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00012f710, 0xab7900, 0xc0001e0000, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e0000, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000286000, 0xab7900, 0xc0001e0000, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c2b40, 0xab8818, 0xc0000ab180) /usr/local/go/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 [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, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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(0xc000156280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000156390, 0xc000091660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000156280, 0xc00012c100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000156280, 0xc00012c100, 0xc000156280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00012c100, 0xaaf4e0, 0xc000156280, 0x0, 0x0, 0x0, 0xc00011a178, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00012f110, 0xc00012c100, 0x0, 0x0, 0x0, 0xc00011a178, 0x0, 0x1, 0xc00012c100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00012f110, 0xc00012c100, 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(0xc000158690, 0xc000082e40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000158690, 0xc000082e40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x7f11b4c8ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6580, 0xc000099f31, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6580, 0xc000099f31, 0x1, 0x1, 0x1, 0xc0000627a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e230, 0xc000099f31, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000099f20) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 12 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 13 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022de0, 0xc000082e40, 0xc000082ea0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 14 [runnable]: fmt.(*buffer).writeRune(0xc000082fd0, 0xc000000053) /usr/local/go/src/fmt/print.go:91 +0x1af fmt.(*ss).token(0xc000082fc0, 0xc000000001, 0xa30858, 0x5, 0xa0742d, 0x6) /usr/local/go/src/fmt/scan.go:460 +0x4b fmt.(*ss).convertString(0xc000082fc0, 0x76, 0xc0001e00f8, 0x0) /usr/local/go/src/fmt/scan.go:836 +0xec fmt.(*ss).scanOne(0xc000082fc0, 0x7f1100000076, 0x936b40, 0xc0001e00f8) /usr/local/go/src/fmt/scan.go:1012 +0xa6b fmt.(*ss).doScan(0xc000082fc0, 0xc0001f56b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc0001de0f0, 0xc0001f56b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x6f225, 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(0xc00008c9b0, 0xc000082e40) /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(0xc00008c9b0, 0xc000082e40) /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-09T08:04:22.313Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T08:04:22.314Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T08:04:22.314Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T08:04:22.314Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T08:04:22.314Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T08:04:22.314Z 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, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002b5f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fe48645df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128380, 0x798fc67d567f6b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117260, 0x62f2150c, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117260, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00029e000, 0xab76f0, 0xc000117260, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117260, 0xc00029e000, 0x0, 0x0, 0xaaf020, 0xc0001342d0, 0x0, 0xd8) /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, 0xc0001342d0, 0x0, 0x0) /go/pkg/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 24 [chan receive]: main.main.func1(0xaaf020, 0xc0001342d0) /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(0xc00008c960, 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(0x7fe48649fc98, 0xc000134820, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000164c40, 0x7fe48649fc98, 0xc000134820, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe48649fc98, 0xc000134820, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000123a10, 0x7fe48649fc98, 0xc000134820, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00029e0e0, 0xc000174100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000123b90, 0xab7900, 0xc00029e0e0, 0xc000174100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00029e0e0, 0xc000174100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00029e000, 0xab7900, 0xc00029e0e0, 0xc000174100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013c8c0, 0xab8818, 0xc00015e540) /usr/local/go/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(0x7fe48645de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128418, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128400, 0xc000123e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128400, 0xc000123e41, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000132c00) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120160, 0xc000123e41, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000123e30) /usr/local/go/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]: 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(0xc00013e640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00013e750, 0xc000095660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00013e640, 0xc0001c8200, 0x30, 0x9db900, 0x7fe486604900) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00013e640, 0xc0001c8200, 0xc00013e640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c8200, 0xaaf4e0, 0xc00013e640, 0x0, 0x0, 0x0, 0xc00000e230, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000123590, 0xc0001c8200, 0x0, 0x0, 0x0, 0xc00000e230, 0x0, 0x1, 0xc0001c8200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000123590, 0xc0001c8200, 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(0xc00016c870, 0xc000132e40, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00016c870, 0xc000132e40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [semacquire]: sync.runtime_Semacquire(0xc00015c7c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00015c7c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00015c7c0, 0xc000132e40, 0xc000132ea0) /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]: path/filepath.Clean(0xc0000241f8, 0x11, 0x3, 0xa04cbf) /usr/local/go/src/path/filepath/path.go:89 +0xcbe path/filepath.join(0xc0002cc480, 0x3, 0x3, 0xc00001ea80, 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(0x946a9, 0xa05a30, 0x5, 0xc0000906a8, 0x1, 0x1, 0xc000022dd0, 0xc00019e9f8) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:288 +0x195 github.com/prometheus/procfs.Proc.Stat(0x946a9, 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(0xc00008c9b0, 0xc000132e40) /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(0xc00008c9b0, 0xc000132e40) /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-09T10:17:14.058Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T10:17:14.060Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T10:17:14.060Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T10:17:14.060Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T10:17:14.061Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-09T10:17:14.061Z 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(0xc000266c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000266c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000111f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001b00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8aa2008f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0xf60c6bd05766b901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd20, 0x62f23438, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd20, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001dc000, 0xab76f0, 0xc00000cd20, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd20, 0xc0001dc000, 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(0xc0001dc000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [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, 0xc000206230) /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(0xc00008c960, 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(0x7f8aa2018bb8, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d0310, 0x7f8aa2018bb8, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8aa2018bb8, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce840, 0x7f8aa2018bb8, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001dc0e0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9c0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001dc000, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c0c80, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7f8aa2008e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001cec71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000832c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d0, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 16 [runnable]: net/http.(*Transport).roundTrip(0xc0001c8500, 0xc000144100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:502 net/http.(*Transport).RoundTrip(0xc0001c8500, 0xc000144100, 0xc0001c8500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000144100, 0xaaf4e0, 0xc0001c8500, 0x0, 0x0, 0x0, 0xc0001200c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001ce3c0, 0xc000144100, 0x0, 0x0, 0x0, 0xc0001200c0, 0x0, 0x1, 0xc000144100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001ce3c0, 0xc000144100, 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(0xc0001b00f0, 0xc000083500, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b00f0, 0xc000083500) /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]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022f60, 0xc000083500, 0xc000083560) /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]: fmt.newScanState(0xaaed20, 0xc0001cee10, 0x9a0001, 0xc00018e400, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc0001cee10, 0xc0003016b8, 0x16, 0x16, 0x1, 0x18, 0x12) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0xf8535, 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(0xc00008c9b0, 0xc000083500) /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(0xc00008c9b0, 0xc000083500) /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-09T13:17:09.878Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T13:17:09.879Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T13:17:09.879Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T13:17:09.879Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T13:17:09.880Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-09T13:17:09.879Z 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(0xc000226000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000226000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f20235b8f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6600, 0x832117553bb96e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d710, 0x62f25e68, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d710, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f0000, 0xab76f0, 0xc00000d710, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d710, 0xc0001f0000, 0x0, 0x0, 0xaaf020, 0xc0001262d0, 0x0, 0xd8) /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, 0xc0001262d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 12 [chan receive]: main.main.func1(0xaaf020, 0xc0001262d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 18 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 16 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f20235cbc38, 0xc00008d130, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001cf730, 0x7f20235cbc38, 0xc00008d130, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f20235cbc38, 0xc00008d130, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d7410, 0x7f20235cbc38, 0xc00008d130, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f00e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d7590, 0xab7900, 0xc0001f00e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f00e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f0000, 0xab7900, 0xc0001f00e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c35e0, 0xab8818, 0xc0000ab5c0) /usr/local/go/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(0x7f20235b8e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6680, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6680, 0xc0001d7841, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083500) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e380, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d7830) /usr/local/go/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(0xc000023020, 0xc000083740, 0xc0000837a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 52 [runnable]: net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffc9e84aef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:853 +0x89b net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001b0780, 0xc000083740, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001b0780, 0xc000083740) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [runnable]: strconv.ParseUint(0xd9c068, 0x1, 0x0, 0x40, 0xc0002b1350, 0x4f807c, 0x0) /usr/local/go/src/strconv/atoi.go:60 strconv.ParseInt(0xd9c068, 0x1, 0x0, 0x40, 0xd9c068, 0x1, 0x2000000000) /usr/local/go/src/strconv/atoi.go:198 +0x8d fmt.(*ss).scanInt(0xc0002be000, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:657 +0x1bf fmt.(*ss).scanOne(0xc0002be000, 0x7f2000000076, 0x92ff80, 0xc0002b6028) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc0002be000, 0xc0002b16b8, 0x16, 0x16, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc0002b8000, 0xc0002b16b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x9ae79, 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(0xc00008c9b0, 0xc000083740) /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(0xc00008c9b0, 0xc000083740) /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-09T16:17:12.379Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T16:17:12.380Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T16:17:12.380Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T16:17:12.380Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T16:17:12.380Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T16:17:12.380Z 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(0xc000282000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000282000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f89dadff018, 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, 0x961801ff97a80001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208b28, 0x62f28898, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208b28, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc000208b28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208b28, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc00008c3c0, 0x0, 0xd8) /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, 0xc00008c3c0, 0x0, 0x0) /go/pkg/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, 0xc00008c3c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [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(0x7f89dac56298, 0xc000240640, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f89dac56298, 0xc000240640, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f89dac56298, 0xc000240640, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021d590, 0x7f89dac56298, 0xc000240640, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e0e0, 0xc00021a100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021d710, 0xab7900, 0xc00027e0e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e0e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e0e0, 0xc00021a100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228aa0, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [runnable]: net/http.(*connReader).backgroundRead(0xc00021d9b0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 42 [runnable]: bytes.(*Buffer).UnreadRune(0xc0000950e0, 0xc000000000, 0x20) /usr/local/go/src/bytes/buffer.go:374 +0x9f fmt.(*ss).UnreadRune(...) /usr/local/go/src/fmt/scan.go:233 fmt.(*ss).SkipSpace(0xc0000828a0) /usr/local/go/src/fmt/scan.go:437 +0x8b fmt.(*ss).scanInt(0xc0000828a0, 0x76, 0x40, 0x0) /usr/local/go/src/fmt/scan.go:642 +0x87 fmt.(*ss).scanOne(0xc0000828a0, 0x7f8900000076, 0x92ff80, 0xc0000fa028) /usr/local/go/src/fmt/scan.go:976 +0x9b5 fmt.(*ss).doScan(0xc0000828a0, 0xc0003256b8, 0x16, 0x16, 0x1, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1073 +0xb6 fmt.Fscan(0xaaed20, 0xc0000950e0, 0xc0003256b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x41eb7, 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(0xc000148960, 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(0xc000148960, 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:457 +0x5ce goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000220280, 0xc000200a20, 0xc000200a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 44 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f8a01a80a68) /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, 0xc0000ee660) /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, 0xc00021a200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000242280, 0xc00021a200, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00021a200, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc00020a178, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021d110, 0xc00021a200, 0x0, 0x0, 0x0, 0xc00020a178, 0x0, 0x1, 0xc00021a200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021d110, 0xc00021a200, 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 [ OK ] level=info ts=2022-08-09T19:17:12.540Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T19:17:12.540Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T19:17:12.540Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T19:17:12.540Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T19:17:12.540Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T19:17:12.540Z 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(0xc000100400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f2cfdfb1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0xe0f62e04e21ea001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117110, 0x62f2b2c8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117110, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00016a000, 0xab76f0, 0xc000117110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117110, 0xc00016a000, 0x0, 0x0, 0xaaf020, 0xc00008ccd0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00016a000, 0x0, 0x0, 0xaaf020, 0xc00008ccd0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc00008ccd0) /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 11 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f2cfdfc6478, 0xc00008ce10, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011b650, 0x7f2cfdfc6478, 0xc00008ce10, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2cfdfc6478, 0xc00008ce10, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000122a20, 0x7f2cfdfc6478, 0xc00008ce10, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fe000, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000122ba0, 0xab7900, 0xc0001fe000, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fe000, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00016a000, 0xab7900, 0xc0001fe000, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c1680, 0xab8818, 0xc0000ab400) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 12 [IO wait]: internal/poll.runtime_pollWait(0x7f2cfdfb1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6798, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6780, 0xc0001d0f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6780, 0xc0001d0f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001d0f11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d0f00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 13 [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 14 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000233d0, 0xc000083320, 0xc000083380) /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 15 [runnable]: net/url.getscheme(0x7ffe98119ef8, 0x28, 0xc0001c6300, 0x100000000000000, 0xab0020, 0xabe608, 0xc00011b650, 0xc000142200) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe98119ef8, 0x28, 0xc0001c0100, 0x7ffe98119ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe98119ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffe98119ef8, 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(0xc000146000, 0xc000083320, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000146000, 0xc000083320) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: fmt.(*buffer).writeRune(0xc00070a010, 0xc000000075) /usr/local/go/src/fmt/print.go:89 +0x20b fmt.(*ss).token(0xc00070a000, 0xc000000001, 0xa30858, 0x5, 0xa0742d, 0x6) /usr/local/go/src/fmt/scan.go:460 +0x4b fmt.(*ss).convertString(0xc00070a000, 0x73, 0xc000708260, 0x0) /usr/local/go/src/fmt/scan.go:836 +0xec fmt.(*ss).scanOne(0xc00070a000, 0x73, 0x936b40, 0xc000708260) /usr/local/go/src/fmt/scan.go:1012 +0xa6b fmt.(*ss).doScanf(0xc00070a000, 0xa172b2, 0x20, 0xc000264fc0, 0xb, 0xb, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc000708270, 0xa172b2, 0x20, 0xc000264fc0, 0xb, 0xb, 0xc000702578, 0x603, 0xa88) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc000705220, 0x48, 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(0xdcb4a, 0xc000308010, 0xf, 0xd9c178, 0x1, 0x1, 0xdcb49, 0xdcb49, 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(0xc00008c9b0, 0xc000083320) /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(0xc00008c9b0, 0xc000083320) /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-09T22:17:07.643Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-09T22:17:07.648Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-09T22:17:07.648Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-09T22:17:07.648Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-09T22:17:07.648Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-09T22:17:07.651Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000285f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f92c2866f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000220098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000220080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000220080, 0x994ec1faf5f13301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008b8, 0x62f2dcf8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008b8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000248000, 0xab76f0, 0xc0002008b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008b8, 0xc000248000, 0x0, 0x0, 0xaaf020, 0xc00008cd70, 0x0, 0xd8) /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, 0xc00008cd70, 0x0, 0x0) /go/pkg/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, 0xc00008cd70) /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(0xc00008c960, 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(0x7f92c2824a58, 0xc000206500, 0xc000268000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020ca10, 0x7f92c2824a58, 0xc000206500, 0xc000268000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f92c2824a58, 0xc000206500, 0xc000268000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002129f0, 0x7f92c2824a58, 0xc000206500, 0xc000268000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002480e0, 0xc000268000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000212b70, 0xab7900, 0xc0002480e0, 0xc000268000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002480e0, 0xc000268000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000248000, 0xab7900, 0xc0002480e0, 0xc000268000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00025a000, 0xab8818, 0xc00021a2c0) /usr/local/go/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(0xc000212e10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc0002047e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00020a1c0, 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 45 [runnable]: syscall.Syscall(0x0, 0x8, 0xc00027a200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc00027a200, 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(0xc0002049c0, 0xc00027a200, 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(0xc0002140a8, 0xc00027a200, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc00027a200) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000200900, 0xc00027a200, 0x200, 0x200, 0xc000200900, 0xc00010f008, 0xc000100000) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000200900, 0x0, 0x0, 0xc0002140a8, 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(0xc00020a270, 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(0x6d307, 0xc00020a210, 0xf, 0xd9c178, 0x1, 0x1, 0x6d306, 0x6d306, 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(0xc00008c9b0, 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(0xc00008c9b0, 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:538 +0xe4d goroutine 13 [waiting]: runtime.ReadMemStats(0xc0001d1800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc0001d1800, 0xc00008e300) /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-10T01:17:14.860Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T01:17:14.860Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T01:17:14.860Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T01:17:14.860Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T01:17:14.860Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T01:17:14.861Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000294180) /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(0x7f2942bb2f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6880, 0x76648eea21015201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d6b0, 0x62f30728, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d6b0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000282000, 0xab76f0, 0xc00000d6b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d6b0, 0xc000282000, 0x0, 0x0, 0xaaf020, 0xc00008cd20, 0x0, 0xd8) /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, 0xc00008cd20, 0x0, 0x0) /go/pkg/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.NewConstMetric(0xc0001c58f0, 0x2, 0x4024000000000000, 0x0, 0x0, 0x0, 0x439b85, 0x1, 0x2, 0xc0001fa430) /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(0xc0000e6500, 0xc000083aa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:294 +0xf6 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [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, 0xc00008cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 51 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f2942bca638, 0xc00008d270, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001f6540, 0x7f2942bca638, 0xc00008d270, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2942bca638, 0xc00008d270, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d9860, 0x7f2942bca638, 0xc00008d270, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002820e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d99e0, 0xab7900, 0xc0002820e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002820e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000282000, 0xab7900, 0xc0002820e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c1540, 0xab8818, 0xc0000ab6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7f2942bb2e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6900, 0xc0001d9c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6900, 0xc0001d9c91, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083860) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001d9c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d9c80) /usr/local/go/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(0xc000023550, 0xc000083aa0, 0xc000083b00) /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, 0xc0001d9e30, 0x9a0001, 0xc00018e400, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc0001d9e30, 0xc00010f6b8, 0x16, 0x16, 0x1, 0x18, 0x12) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0xffe4e, 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(0xc00008c9b0, 0xc000083aa0) /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(0xc00008c9b0, 0xc000083aa0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc000252000, 0xc000258000) /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-10T04:17:10.578Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T04:17:10.580Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T04:17:10.580Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T04:17:10.580Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T04:17:10.581Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-10T04:17:10.581Z 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(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f5d237f1f18, 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, 0x41f5d4f947443c01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002809c0, 0x62f33158, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002809c0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000310000, 0xab76f0, 0xc0002809c0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002809c0, 0xc000310000, 0x0, 0x0, 0xaaf020, 0xc0002901e0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000310000, 0x0, 0x0, 0xaaf020, 0xc0002901e0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 35 [IO wait]: internal/poll.runtime_pollWait(0x7f5d237f1d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 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(0xc0000e6880, 0xc000254000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6880, 0xc000254000, 0x1000, 0x1000, 0x439c3c, 0xc00025dc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002160b8, 0xc000254000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0c60, 0xc000254000, 0x1000, 0x1000, 0xc0002d0300, 0xc00025dd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000200360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000200360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0c60) /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 [chan receive]: main.main.func1(0xaaf020, 0xc0002901e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 9 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f5d237fe9f8, 0xc00008cb40, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00030e000, 0x7f5d237fe9f8, 0xc00008cb40, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5d237fe9f8, 0xc00008cb40, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002859e0, 0x7f5d237fe9f8, 0xc00008cb40, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001de000, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000285b60, 0xab7900, 0xc0001de000, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001de000, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000310000, 0xab7900, 0xc0001de000, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c2b40, 0xab8818, 0xc0000ab180) /usr/local/go/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(0x7f5d237f1e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6518, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6500, 0xc000099f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6500, 0xc000099f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e228, 0xc000099f01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000099ef0) /usr/local/go/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(0xc000022de8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022de0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022de0, 0xc000082d80, 0xc000082de0) /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 [syscall]: strings.genSplit(0xc0005c0000, 0x5123a, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc00021ac90, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0002ce870, 0xc000082d80, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0002ce870, 0xc000082d80) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [select]: net/http.(*persistConn).writeLoop(0xc0000b0c60) /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-10T07:17:54.880Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T07:17:54.880Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T07:17:54.880Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T07:17:54.880Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T07:17:54.881Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T07:17:54.881Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001980) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fc72c8ecf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0x28c42413ed699b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccc0, 0x62f35bc4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccc0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001dc000, 0xab76f0, 0xc00000ccc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccc0, 0xc0001dc000, 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(0xc0001dc000, 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 10 [chan receive]: main.main.func1(0xaaf020, 0xc000240460) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fc72c8fcbb8, 0xc00008cf50, 0xc0001c8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d0310, 0x7fc72c8fcbb8, 0xc00008cf50, 0xc0001c8200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc72c8fcbb8, 0xc00008cf50, 0xc0001c8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ce840, 0x7fc72c8fcbb8, 0xc00008cf50, 0xc0001c8200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001dc0e0, 0xc0001c8200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ce9c0, 0xab7900, 0xc0001dc0e0, 0xc0001c8200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001dc0e0, 0xc0001c8200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001dc000, 0xab7900, 0xc0001dc0e0, 0xc0001c8200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c2be0, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7fc72c8ece30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001cec71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000832c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2c0, 0xc0001cec71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cec60) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 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, 0xc000083500, 0xc000083560) /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(0x7ffe57eedef8, 0x28, 0xc0001c8200, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001d0310, 0xc0000ab380) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffe57eedef8, 0x28, 0xc0001c0100, 0x7ffe57eedef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffe57eedef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffe57eedef8, 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(0xc0001b00f0, 0xc000083500, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001b00f0, 0xc000083500) /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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000083500) /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 40 [waiting]: runtime.ReadMemStats(0xc00027a000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00027a000, 0xc00026c1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-10T08:05:11.851Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T08:05:11.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-10T08:05:11.851Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T08:05:11.851Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T08:05:11.851Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T08:05:11.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(0xc0002e8400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc0002e8400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f05edf22f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0x617c5d20b2f301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf30, 0x62f366c8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf30, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f6000, 0xab76f0, 0xc00000cf30, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf30, 0xc0001f6000, 0x0, 0x0, 0xaaf020, 0xc0002862d0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001f6000, 0x0, 0x0, 0xaaf020, 0xc0002862d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 10 [chan receive]: main.main.func1(0xaaf020, 0xc0002862d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 54 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f05edf3a4b8, 0xc00008d090, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001deaf0, 0x7f05edf3a4b8, 0xc00008d090, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f05edf3a4b8, 0xc00008d090, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cf3e0, 0x7f05edf3a4b8, 0xc00008d090, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f60e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cf560, 0xab7900, 0xc0001f60e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f60e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f6000, 0xab7900, 0xc0001f60e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c35e0, 0xab8818, 0xc0000ab5c0) /usr/local/go/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(0x7f05edf22e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001cf811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001cf811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000834a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e390, 0xc0001cf811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001cf800) /usr/local/go/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 65 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000023020, 0xc0000836e0, 0xc000083740) /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 66 [runnable]: net/url.getscheme(0x7ffd7ad36ef8, 0x28, 0xc0001c6300, 0x100000000000000, 0xab0020, 0xabe608, 0xc0001deaf0, 0xc0000ab500) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffd7ad36ef8, 0x28, 0xc0001c0100, 0x7ffd7ad36ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffd7ad36ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7ffd7ad36ef8, 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(0xc0001b0780, 0xc0000836e0, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001b0780, 0xc0000836e0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 34 [runnable]: os.newFile(0x8, 0xc00021c000, 0x11, 0x1, 0xc000000000) /usr/local/go/src/os/file_unix.go:127 +0x6c 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(0x4111b, 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(0xc00008c9b0, 0xc0000836e0) /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(0xc00008c9b0, 0xc0000836e0) /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-10T10:17:42.820Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T10:17:42.821Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T10:17:42.821Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T10:17:42.821Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T10:17:42.821Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T10:17:42.845Z 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(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00021c600) /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(0x7fe0efe7af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000220098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000220080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000220080, 0xa4684f24c0d4cd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62f385f4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc0000f1b98, 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, 0xc00008cd70, 0x0, 0xd8) /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, 0xc00008cd70, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 13 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 36 [chan receive]: main.main.func1(0xaaf020, 0xc00008cd70) /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(0xc00008c960, 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(0x7fe0efe38a58, 0xc000206500, 0xc000268000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7fe0efe38a58, 0xc000206500, 0xc000268000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe0efe38a58, 0xc000206500, 0xc000268000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7fe0efe38a58, 0xc000206500, 0xc000268000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002480e0, 0xc000268000) /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, 0xc000268000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002480e0, 0xc000268000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000248000, 0xab7900, 0xc0002480e0, 0xc000268000) /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 41 [IO wait]: internal/poll.runtime_pollWait(0x7fe0efe7ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000220118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000220100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000220100, 0xc000210e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002045a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002120a8, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000210e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 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(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]: fmt.(*ss).doScan(0xc000204960, 0xc00010f6b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1070 +0x1bc fmt.Fscan(0xaaed20, 0xc000210fc0, 0xc00010f6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0xa0651, 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(0xc00008c9b0, 0xc0002047e0) /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(0xc00008c9b0, 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:538 +0xe4d goroutine 19 [runnable]: runtime/debug.readGCStats(0xc00011b598) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00011b570) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc0002047e0) /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 20 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00012b800, 0xc00017e000) /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-10T13:17:11.373Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T13:17:11.373Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T13:17:11.373Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T13:17:11.373Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T13:17:11.374Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T13:17:11.374Z 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, 0xc00002a000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000001500) /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(0x7fcd51182f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180600, 0x335ff5f2fbe2901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f4e8, 0x62f3afe8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f4e8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000288000, 0xab76f0, 0xc00012f4e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f4e8, 0xc000288000, 0x0, 0x0, 0xaaf020, 0xc00008c320, 0x0, 0xd8) /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, 0xc00008c320, 0x0, 0x0) /go/pkg/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, 0xc00008c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 27 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fcd511943b8, 0xc000148f00, 0xc0001e2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001eaf50, 0x7fcd511943b8, 0xc000148f00, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fcd511943b8, 0xc000148f00, 0xc0001e2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001fa870, 0x7fcd511943b8, 0xc000148f00, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002880e0, 0xc0001e2200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001fa9f0, 0xab7900, 0xc0002880e0, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002880e0, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000288000, 0xab7900, 0xc0002880e0, 0xc0001e2200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001deb40, 0xab8818, 0xc000141440) /usr/local/go/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(0x7fcd51182e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180680, 0xc0001faca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180680, 0xc0001faca1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c2d0, 0xc0001faca1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001fac90) /usr/local/go/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(0xc000138f18) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000138f10) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000138f10, 0xc00013f440, 0xc00013f4a0) /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 10 [syscall]: github.com/prometheus/client_golang/prometheus.MakeLabelPairs(0xc0001ea770, 0xc00007ef70, 0x1, 0x1, 0x10, 0x7fcd77e085b8, 0x10) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:167 +0x1a8 github.com/prometheus/client_golang/prometheus.NewGaugeVec.func1(0xc00007ef70, 0x1, 0x1, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:152 +0x7d github.com/prometheus/client_golang/prometheus.(*metricMap).getOrCreateMetricWithLabelValues(0xc000121fb0, 0x744a2ad5fd4bf829, 0xc00007ef60, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/vec.go:403 +0x273 github.com/prometheus/client_golang/prometheus.(*MetricVec).GetMetricWithLabelValues(0xc000121f80, 0xc00007ef60, 0x1, 0x1, 0x0, 0xc0002a9be8, 0x40e078, 0x10) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/vec.go:197 +0xd8 github.com/prometheus/client_golang/prometheus.(*GaugeVec).GetMetricWithLabelValues(...) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:183 github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues(0xc00013c240, 0xc00007ef60, 0x1, 0x1, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:215 +0x53 main.(*Exporter).collect(0xc0001cc0f0, 0xc00013f440, 0x0, 0x0) /app/apache_exporter.go:373 +0x3b4d main.(*Exporter).Collect(0xc0001cc0f0, 0xc00013f440) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 14 [IO wait]: internal/poll.runtime_pollWait(0x7fcd51182d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180998, 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(0xc000180980, 0xc0000fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180980, 0xc0000fe000, 0x1000, 0x1000, 0x439c3c, 0xc00011dc38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e118, 0xc0000fe000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000d0360, 0xc0000fe000, 0x1000, 0x1000, 0xc000260000, 0xc00011dd40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00013faa0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00013faa0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000d0360) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 15 [select]: net/http.(*persistConn).writeLoop(0xc0000d0360) /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-10T16:17:13.553Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T16:17:13.554Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T16:17:13.554Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T16:17:13.554Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T16:17:13.554Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T16:17:13.555Z caller=tls_config.go:195 msg="TLS is disabled." http2=false [ OK ] runtime: failed to create new OS thread (have 3 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000064400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000064400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x2) /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.newproc.func1() /usr/local/go/src/runtime/proc.go:4029 +0x97 runtime.systemstack(0x46af74) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 1 [running, locked to thread]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:339 fp=0xc0000605d0 sp=0xc0000605c8 pc=0x46b0a0 runtime.newproc(0x0, 0xa32478) /usr/local/go/src/runtime/proc.go:4022 +0x6e fp=0xc000060618 sp=0xc0000605d0 pc=0x4420ee runtime.init.6() /usr/local/go/src/runtime/proc.go:264 +0x35 fp=0xc000060638 sp=0xc000060618 pc=0x4398f5 runtime.doInit(0xd87e00) /usr/local/go/src/runtime/proc.go:6315 +0xec fp=0xc000060788 sp=0xc000060638 pc=0x44726c runtime.main() /usr/local/go/src/runtime/proc.go:174 +0x130 fp=0xc0000607e0 sp=0xc000060788 pc=0x439630 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0000607e8 sp=0xc0000607e0 pc=0x46cda1 runtime: failed to create new OS thread (have 19 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00021d400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00021d400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00004d000, 0x12) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000388900) /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, 181 minutes]: internal/poll.runtime_pollWait(0x7f2d0a6c6f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6800, 0xf81c6c8dd8ca7101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce10, 0x62f3da18, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce10, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000284000, 0xab76f0, 0xc00000ce10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce10, 0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cc80, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cc80, 0x0, 0x0) /go/pkg/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, 181 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, 181 minutes]: main.main.func1(0xaaf020, 0xc00008cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 16 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f2d0a6de5f8, 0xc00008c550, 0xc000144300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d58f0, 0x7f2d0a6de5f8, 0xc00008c550, 0xc000144300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2d0a6de5f8, 0xc00008c550, 0xc000144300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d3830, 0x7f2d0a6de5f8, 0xc00008c550, 0xc000144300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002842a0, 0xc000144300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d39b0, 0xab7900, 0xc0002842a0, 0xc000144300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002842a0, 0xc000144300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000284000, 0xab7900, 0xc0002842a0, 0xc000144300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c34a0, 0xab8818, 0xc0000ab6c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 1878 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f2d0a6c6e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6880, 0xc0001d3c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6880, 0xc0001d3c61, 0x1, 0x1, 0xc0002046c0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e370, 0xc0001d3c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d3c50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 1870 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc000150c60) /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 1879 [runnable]: compress/flate.(*decompressor).huffSym(0xc000308000, 0xc000308028, 0x67, 0x0, 0x0) /usr/local/go/src/compress/flate/inflate.go:707 +0x273 compress/flate.(*decompressor).huffmanBlock(0xc000308000) /usr/local/go/src/compress/flate/inflate.go:494 +0xd2 compress/flate.(*decompressor).Read(0xc000308000, 0xc0004e0000, 0xc000, 0xc000, 0x64, 0x7f2d0a530658, 0x300000002) /usr/local/go/src/compress/flate/inflate.go:347 +0x79 compress/gzip.(*Reader).Read(0xc0001562c0, 0xc0004e0000, 0xc000, 0xc000, 0x415aaf, 0x7f2d0a873500, 0x20300000000000) /usr/local/go/src/compress/gzip/gunzip.go:251 +0x87 net/http.(*gzipReader).Read(0xc000286140, 0xc0004e0000, 0xc000, 0xc000, 0x30001, 0xc0004b0000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f2d0a61cd88, 0xc000286140, 0xc000286140, 0x7f2d0a61cd88, 0xc000286140, 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(0xc0001b0960, 0xc00024b320, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc0001b0960, 0xc00024b320) /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 1880 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000210088) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000210080) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000210080, 0xc00024b320, 0xc00024b860) /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 1871 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc000150c60) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-10T21:35:23.029Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T21:35:23.030Z caller=apache_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:35:23.030Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T21:35:23.030Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T21:35:23.030Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T21:35:23.030Z 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(0xc000101400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000288900) /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, 27 minutes]: internal/poll.runtime_pollWait(0x7fe69cd34f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000c0300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000c0300, 0xf2c4011e56e17501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ca80, 0x62f424cc, 0xc00020bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ca80, 0xc00020bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000fa000, 0xab76f0, 0xc00000ca80, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ca80, 0xc0000fa000, 0x0, 0x0, 0xaaf020, 0xc00008c320, 0x0, 0xd8) /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, 0xc00008c320, 0x0, 0x0) /go/pkg/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, 27 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 13 [chan receive, 27 minutes]: main.main.func1(0xaaf020, 0xc00008c320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 33 [semacquire]: compress/flate.(*compressor).initDeflate(...) /usr/local/go/src/compress/flate/deflate.go:374 compress/flate.(*compressor).init(0xc0008b4000, 0x7fe69cb377d8, 0xc000386050, 0xffffffffffffffff, 0xa, 0xffffffffffffffff) /usr/local/go/src/compress/flate/deflate.go:602 +0x629 compress/flate.NewWriter(0x7fe69cb377d8, 0xc000386050, 0xffffffffffffffff, 0xa, 0xa, 0x0) /usr/local/go/src/compress/flate/deflate.go:671 +0x65 compress/gzip.(*Writer).Write(0xc00015cb00, 0xc0004f2000, 0xf1, 0x1000, 0xc00031d610, 0xc00031d610, 0x4356b0) /usr/local/go/src/compress/gzip/gzip.go:191 +0x305 bufio.(*Writer).Flush(0xc000140e40, 0xc00031d6d0, 0xc00031d620) /usr/local/go/src/bufio/bufio.go:607 +0x7b github.com/prometheus/common/expfmt.MetricFamilyToText.func1(0xc000140e40, 0xc00031d7c8) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/text_create.go:85 +0x2f github.com/prometheus/common/expfmt.MetricFamilyToText(0xaaede0, 0xc00015cb00, 0xc0006a0550, 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(0xc0006a0550, 0xc0002213b0, 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(0x7fe69cb8ab98, 0xc000386050, 0xc000262000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:195 +0x469 net/http.HandlerFunc.ServeHTTP(0xc0000f8000, 0x7fe69cb8ab98, 0xc000386050, 0xc000262000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe69cb8ab98, 0xc000386050, 0xc000262000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00008f9e0, 0x7fe69cb8ab98, 0xc000386050, 0xc000262000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000fa2a0, 0xc000262000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00008fb60, 0xab7900, 0xc0000fa2a0, 0xc000262000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000fa2a0, 0xc000262000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000fa000, 0xab7900, 0xc0000fa2a0, 0xc000262000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020a00, 0xab8818, 0xc0000b8540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 323 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fe69cd34e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c0398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_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, 0xc00008fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000c0380, 0xc00008fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e150, 0xc00008fe11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00008fe00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 319 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000ce7e0) /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 318 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7fe69cd34d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00022c218, 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(0xc00022c200, 0xc000208000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00022c200, 0xc000208000, 0x1000, 0x1000, 0x439c3c, 0xc000119c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c3f8, 0xc000208000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000ce7e0, 0xc000208000, 0x1000, 0x1000, 0xc0001144e0, 0xc000119d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000082fc0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000082fc0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000ce7e0) /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-10T22:17:09.875Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T22:17:09.876Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-10T22:17:09.876Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T22:17:09.876Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T22:17:09.876Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T22:17:09.877Z 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(0xc00020c800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00020c800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000167f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f615fdeaf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0xe49ef184f4264b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001170f8, 0x62f42e68, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001170f8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000162000, 0xab76f0, 0xc0001170f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001170f8, 0xc000162000, 0x0, 0x0, 0xaaf020, 0xc00008ce60, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000162000, 0x0, 0x0, 0xaaf020, 0xc00008ce60, 0x0, 0x0) /go/pkg/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 22 [chan receive, 1 minutes]: main.main.func1(0xaaf020, 0xc00008ce60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [runnable]: github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc000134d20, 0xc0001ba850, 0xc000113628, 0x10, 0xc00014d660) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:907 +0xb65 github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc00041a720, 0xc0001135f8, 0xc000113628, 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(0xc00008c960, 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(0x7f615fe28a58, 0xc00008c280, 0xc000300200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011b650, 0x7f615fe28a58, 0xc00008c280, 0xc000300200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f615fe28a58, 0xc00008c280, 0xc000300200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000122a20, 0x7f615fe28a58, 0xc00008c280, 0xc000300200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001622a0, 0xc000300200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000122ba0, 0xab7900, 0xc0001622a0, 0xc000300200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001622a0, 0xc000300200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000162000, 0xab7900, 0xc0001622a0, 0xc000300200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000174000, 0xab8818, 0xc00013a2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 103 [IO wait]: internal/poll.runtime_pollWait(0x7f615fdead48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128418, 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(0xc000128400, 0xc000147000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128400, 0xc000147000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000226110, 0xc000147000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0360, 0xc000147000, 0x1000, 0x1000, 0x405690, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000082600) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000082600, 0x1, 0xc00008e540, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0360) /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]: net/http.(*persistConn).writeLoop(0xc0000b0360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7f615fdeae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x1000000000001) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001200a8, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000122e40) /usr/local/go/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 [select]: net/http.(*persistConn).roundTrip(0xc0000b0360, 0xc000390080, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/transport.go:2610 +0x765 net/http.(*Transport).roundTrip(0xc00013c000, 0xc0001c6100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:592 +0xacb net/http.(*Transport).RoundTrip(0xc00013c000, 0xc0001c6100, 0xc00013c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6100, 0xaaf4e0, 0xc00013c000, 0x0, 0x0, 0x0, 0xc000120088, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001225a0, 0xc0001c6100, 0x0, 0x0, 0x0, 0xc000120088, 0x0, 0x1, 0xc0001c6100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001225a0, 0xc0001c6100, 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(0xc00013e000, 0xc00038c180, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00013e000, 0xc00038c180) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [semacquire]: sync.runtime_Semacquire(0xc0000220c4) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0000220c4) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000220c4, 0xc00038c180, 0xc00038c3c0) /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.freeBitState(0xc0000c3600) /usr/local/go/src/regexp/backtrack.go:57 +0xf4 regexp.(*Regexp).backtrack(0xc0001c0320, 0x0, 0x0, 0x0, 0xc00034b540, 0x4e, 0x0, 0x8, 0xc0002f6000, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:365 +0x1fc regexp.(*Regexp).doExecute(0xc0001c0320, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc00034b540, 0x4e, 0x0, 0x8, ...) /usr/local/go/src/regexp/exec.go:535 +0x45c regexp.(*Regexp).FindStringSubmatch(0xc0001c0320, 0xc00034b540, 0x4e, 0xc00034b540, 0x4e, 0x0) /usr/local/go/src/regexp/regexp.go:1039 +0xb5 github.com/prometheus/procfs.Proc.Limits(0x2ec62, 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(0xc00008c9b0, 0xc00038c180) /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(0xc00008c9b0, 0xc00038c180) /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-10T23:55:30.498Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-10T23:55:30.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-10T23:55:30.498Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-10T23:55:30.498Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-10T23:55:30.498Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-10T23:55:30.498Z 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(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, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0006f1f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f7945198018, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000096118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000096100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000096100, 0x45c150608a88b901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d158, 0x62f4459c, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d158, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000c6000, 0xab76f0, 0xc00000d158, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d158, 0xc0000c6000, 0x0, 0x0, 0xaaf020, 0xc00023e410, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000c6000, 0x0, 0x0, 0xaaf020, 0xc00023e410, 0x0, 0x0) /go/pkg/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, 0xc00023e410) /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(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7944fa9a58, 0xc00008c5f0, 0xc0000e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000093650, 0x7f7944fa9a58, 0xc00008c5f0, 0xc0000e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7944fa9a58, 0xc00008c5f0, 0xc0000e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000094a20, 0x7f7944fa9a58, 0xc00008c5f0, 0xc0000e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000c60e0, 0xc0000e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000094ba0, 0xab7900, 0xc0000c60e0, 0xc0000e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000c60e0, 0xc0000e2000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000c6000, 0xab7900, 0xc0000c60e0, 0xc0000e2000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000a02c0) /usr/local/go/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(0x7f7945197f30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000096198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000096180, 0xc000094e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000096180, 0xc000094e51, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000826c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0c0, 0xc000094e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000094e40) /usr/local/go/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(0xc000022228) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000022220) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc000082900, 0xc000082960) /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]: strings.genSplit(0xc000694000, 0x51392, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0002aa060, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0000a4000, 0xc000082900, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0000a4000, 0xc000082900) /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 67 [IO wait]: internal/poll.runtime_pollWait(0x7f7945197e48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180798, 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(0xc000180780, 0xc0004a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180780, 0xc0004a0000, 0x1000, 0x1000, 0x439c3c, 0xc0002a1c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e110, 0xc0004a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b8480, 0xc0004a0000, 0x1000, 0x1000, 0xc00026c240, 0xc0002a1d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000082ea0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000082ea0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b8480) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 68 [select]: net/http.(*persistConn).writeLoop(0xc0000b8480) /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-11T01:17:07.850Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T01:17:07.850Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T01:17:07.850Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T01:17:07.850Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T01:17:07.851Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T01:17:07.852Z 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(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, 0xc00003b800, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000302780) /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(0x7fee5f173f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178298, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000178280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000178280, 0x30c2361b0fc61f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000120c78, 0x62f45898, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000120c78, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc000120c78, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000120c78, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc000154410, 0x0, 0xd8) /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, 0xc000154410, 0x0, 0x0) /go/pkg/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, 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 24 [chan receive, 3 minutes]: main.main.func1(0xaaf020, 0xc000154410) /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(0xc00008c960, 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(0x7fee5f1b4c18, 0xc000155040, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7fee5f1b4c18, 0xc000155040, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fee5f1b4c18, 0xc000155040, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7fee5f1b4c18, 0xc000155040, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a62a0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0002a62a0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a62a0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a62a0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013d4a0, 0xab8818, 0xc0001366c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 134 [semacquire]: sync.runtime_Semacquire(0xc0001ec8e8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001ec8e0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001ec8e0, 0xc0000824e0, 0xc0000826c0) /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 79 [select]: net/http.(*persistConn).writeLoop(0xc00013e6c0) /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(0x7fee5f173d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002b0198, 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(0xc0002b0180, 0xc000201000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002b0180, 0xc000201000, 0x1000, 0x1000, 0x439c3c, 0xc000095c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000122018, 0xc000201000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00013e6c0, 0xc000201000, 0x1000, 0x1000, 0xc00008e180, 0xc000095d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000082360) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000082360, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00013e6c0) /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 133 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 main.(*Exporter).collect(0xc000158f00, 0xc0000824e0, 0x0, 0x0) /app/apache_exporter.go:307 +0x46d main.(*Exporter).Collect(0xc000158f00, 0xc0000824e0) /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 132 [IO wait]: internal/poll.runtime_pollWait(0x7fee5f173e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178318, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000178300, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178300, 0xc0002949d1, 0x1, 0x1, 0xc0000823c0, 0x0, 0xc000136798) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000122200, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 [ OK ] level=info ts=2022-08-11T04:17:07.482Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T04:17:07.483Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T04:17:07.483Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T04:17:07.483Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T04:17:07.483Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T04:17:07.484Z 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(0xc000101400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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, 1 minutes]: internal/poll.runtime_pollWait(0x7f6be117ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x56765114e0a9d401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62f482c8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002008d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008d0, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000148d20, 0x0, 0xd8) /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, 0xc000148d20, 0x0, 0x0) /go/pkg/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, 1 minutes]: main.main.func1(0xaaf020, 0xc000148d20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 7 [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 40 [select, 1 minutes]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f6be0f98a58, 0xc0001483c0, 0xc0000a0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7f6be0f98a58, 0xc0001483c0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6be0f98a58, 0xc0001483c0, 0xc0000a0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7f6be0f98a58, 0xc0001483c0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002501c0, 0xc0000a0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002501c0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002501c0, 0xc0000a0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002501c0, 0xc0000a0100) /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 10 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000138438) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000138430) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000138430, 0xc00013e180, 0xc00013e240) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 30 [select, 1 minutes]: net/http.(*persistConn).readLoop(0xc00014a360) /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 8 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f6be117ee30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(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 88 [runnable]: hash/crc32.Update(0xc090e8696c, 0xc000162000, 0xc0006b0000, 0x8000, 0xc000, 0x0) /usr/local/go/src/hash/crc32/crc32.go:214 +0x15a compress/gzip.(*Reader).Read(0xc0000b02c0, 0xc0006b0000, 0xc000, 0xc000, 0x30000, 0x3c000, 0x0) /usr/local/go/src/compress/gzip/gunzip.go:252 +0x10c net/http.(*gzipReader).Read(0xc0000f34a0, 0xc0006b0000, 0xc000, 0xc000, 0x30001, 0xc000680000, 0x30000) /usr/local/go/src/net/http/transport.go:2828 +0xcd io.ReadAll(0x7f6be0f9a2f8, 0xc0000f34a0, 0xc0000f34a0, 0x7f6be0f9a2f8, 0xc0000f34a0, 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(0xc00021e000, 0xc00013e180, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00021e000, 0xc00013e180) /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 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc00014a360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-11T07:17:31.836Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T07:17:31.837Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T07:17:31.837Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T07:17:31.837Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T07:17:31.837Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T07:17:31.838Z 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(0xc000269000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000269000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00003e000, 0xc) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc0004fe600) /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(0x7f5a00980f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6600, 0x454f57aa6b386d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000d7e8, 0x62f4ad34, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000d7e8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001fc000, 0xab76f0, 0xc00000d7e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000d7e8, 0xc0001fc000, 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(0xc0001fc000, 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 13 [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 16 [chan receive, 2 minutes]: main.main.func1(0xaaf020, 0xc00020e1e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 52 [runnable]: strings.Trim(0xc00029214b, 0x31, 0xaa3f70, 0x1, 0xc0002561a8, 0x5) /usr/local/go/src/strings/strings.go:836 +0xa5 github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg.ParseAccept(0xc000292120, 0x85, 0x6, 0xc000292120, 0x85) /go/pkg/mod/github.com/prometheus/common@v0.29.0/internal/bitbucket.org/ww/goautoneg/autoneg.go:90 +0x13d github.com/prometheus/common/expfmt.Negotiate(0xc0002b8090, 0xc000001200, 0x30) /go/pkg/mod/github.com/prometheus/common@v0.29.0/expfmt/encode.go:63 +0x6d github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f5a009984f8, 0xc00011a280, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:151 +0x8ff net/http.HandlerFunc.ServeHTTP(0xc0001cd730, 0x7f5a009984f8, 0xc00011a280, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f5a009984f8, 0xc00011a280, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d7410, 0x7f5a009984f8, 0xc00011a280, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fc2a0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d7590, 0xab7900, 0xc0001fc2a0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fc2a0, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001fc000, 0xab7900, 0xc0001fc2a0, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c35e0, 0xab8818, 0xc0000ab5c0) /usr/local/go/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 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f5a00980e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6698, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6680, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6680, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e390, 0xc0001d7841, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d7830) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 120 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f5a00980c60, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6198, 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(0xc0000e6180, 0xc00015d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6180, 0xc00015d000, 0x1000, 0x1000, 0x439c3c, 0xc000092c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001460a0, 0xc00015d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0360, 0xc00015d000, 0x1000, 0x1000, 0xc00008e360, 0xc000092d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0001184e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0001184e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0360) /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 121 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0xc0000b0360) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-11T08:03:28.857Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T08:03:28.858Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T08:03:28.858Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T08:03:28.858Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T08:03:28.858Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T08:03:28.859Z 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(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, 0xc000039000, 0xb) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001b00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f40b4a45f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0x454d3a32ab85b501, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cf18, 0x62f4b7fc, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cf18, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001f4000, 0xab76f0, 0xc00000cf18, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cf18, 0xc0001f4000, 0x0, 0x0, 0xaaf020, 0xc0001343c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001f4000, 0x0, 0x0, 0xaaf020, 0xc0001343c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc0001343c0) /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(0xc00008c960, 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(0x7f40b4a5a438, 0xc00008d090, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001e4af0, 0x7f40b4a5a438, 0xc00008d090, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f40b4a5a438, 0xc00008d090, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d73e0, 0x7f40b4a5a438, 0xc00008d090, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f40e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d7560, 0xab7900, 0xc0001f40e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f40e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001f4000, 0xab7900, 0xc0001f40e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c35e0, 0xab8818, 0xc0000ab5c0) /usr/local/go/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(0x7f40b4a45e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001d7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001d7811, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083440) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e388, 0xc0001d7811, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d7800) /usr/local/go/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 [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, 0xc000083680, 0xc0000836e0) /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 35 [runnable]: strings.Index(0xc00061c57d, 0x28d98, 0xa30880, 0x1, 0x32) /usr/local/go/src/strings/strings.go:1024 +0x70b strings.genSplit(0xc00061c57d, 0x28d98, 0xa30880, 0x1, 0x0, 0x154f, 0x0, 0xc0003081b0, 0x0) /usr/local/go/src/strings/strings.go:251 +0xff strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc0001b0780, 0xc000083680, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc0001b0780, 0xc000083680) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f40b4a45d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6918, 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(0xc0000e6900, 0xc000446000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6900, 0xc000446000, 0x1000, 0x1000, 0x439c3c, 0xc000096c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e410, 0xc000446000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b1320, 0xc000446000, 0x1000, 0x1000, 0xc00008e4e0, 0xc000096d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000083d40) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000083d40, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b1320) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 84 [select]: net/http.(*persistConn).writeLoop(0xc0000b1320) /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-11T10:17:43.569Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T10:17:43.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-11T10:17:43.569Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T10:17:43.569Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T10:17:43.569Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T10:17:43.570Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000039000, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000302a80) /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(0x7f3549f84f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000200898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000200880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000200880, 0xac671053feda1301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f8d8, 0x62f4d764, 0xc00020bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f8d8, 0xc00020bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002ae000, 0xab76f0, 0xc00012f8d8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f8d8, 0xc0002ae000, 0x0, 0x0, 0xaaf020, 0xc000148f50, 0x0, 0xd8) /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, 0xc000148f50, 0x0, 0x0) /go/pkg/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 30 [chan receive]: main.main.func1(0xaaf020, 0xc000148f50) /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(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f3549fa77b8, 0xc000098280, 0xc000262000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000286d20, 0x7f3549fa77b8, 0xc000098280, 0xc000262000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3549fa77b8, 0xc000098280, 0xc000262000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a4420, 0x7f3549fa77b8, 0xc000098280, 0xc000262000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002ae1c0, 0xc000262000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a45a0, 0xab7900, 0xc0002ae1c0, 0xc000262000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002ae1c0, 0xc000262000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002ae000, 0xab7900, 0xc0002ae1c0, 0xc000262000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00025ff40, 0xab8818, 0xc000141840) /usr/local/go/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(0x7f3549f84e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000200918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000200900, 0xc0002a4851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000200900, 0xc0002a4851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c410, 0xc0002a4851, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002a4840) /usr/local/go/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(0xc000316028) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000316020) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000316020, 0xc000182060, 0xc0001821e0) /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 71 [runnable]: net/http.(*gzipReader).Read(0xc000186080, 0xc000528000, 0xc000, 0xc000, 0x30001, 0xc0004f8000, 0x30000) /usr/local/go/src/net/http/transport.go:2809 +0x1ff io.ReadAll(0x7f3549fac0b8, 0xc000186080, 0xc000186080, 0x7f3549fac0b8, 0xc000186080, 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(0xc00024cff0, 0xc000182060, 0x0, 0x0) /app/apache_exporter.go:298 +0x3c8 main.(*Exporter).Collect(0xc00024cff0, 0xc000182060) /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 86 [select]: net/http.(*persistConn).readLoop(0xc00014a5a0) /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 87 [select]: net/http.(*persistConn).writeLoop(0xc00014a5a0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-11T13:17:14.927Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T13:17:14.928Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T13:17:14.928Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T13:17:14.928Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T13:17:14.928Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T13:17:14.929Z 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(0xc000100400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000100400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036800, 0xa) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002add01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000266900) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000266900) /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(0x7fe51462cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00016e098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00016e080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00016e080, 0xb630f5d80ddb0901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00011cb70, 0x62f50194, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00011cb70, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000286000, 0xab76f0, 0xc00011cb70, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00011cb70, 0xc000286000, 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(0xc000286000, 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 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 21 [chan receive]: main.main.func1(0xaaf020, 0xc00020e1e0) /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(0xc00008c960, 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(0x7fe51466c298, 0xc000154690, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00014f1f0, 0x7fe51466c298, 0xc000154690, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe51466c298, 0xc000154690, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00012f590, 0x7fe51466c298, 0xc000154690, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002860e0, 0xc00012c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00012f710, 0xab7900, 0xc0002860e0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002860e0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000286000, 0xab7900, 0xc0002860e0, 0xc00012c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013caa0, 0xab8818, 0xc000136440) /usr/local/go/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(0x7fe51462ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00016e118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00016e100, 0xc00012f9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00016e100, 0xc00012f9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0001148a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00011e170, 0xc00012f9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00012f9b0) /usr/local/go/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.genSplit(0xc0006d0000, 0x5131c, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0002c47e0, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000158690, 0xc000114ae0, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000158690, 0xc000114ae0) /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(0xc000132288) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000132280) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000132280, 0xc000114ae0, 0xc000114b40) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fe51462cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00016e418, 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(0xc00016e400, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00016e400, 0xc0002ea000, 0x1000, 0x1000, 0x439c3c, 0xc000090c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002380e0, 0xc0002ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b07e0, 0xc0002ea000, 0x1000, 0x1000, 0xc000284300, 0xc000090d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc00022e960) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc00022e960, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b07e0) /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(0xc0000b07e0) /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-11T16:17:13.198Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T16:17:13.198Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T16:17:13.198Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T16:17:13.198Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T16:17:13.198Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T16:17:13.200Z 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, 0xc000036800, 0xa) /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(0x7f7dfc769f18, 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, 0xac8801a9c5ad3001, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208900, 0x62f52bc4, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208900, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000208900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208900, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000148e60, 0x0, 0xd8) /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, 0xc000148e60, 0x0, 0x0) /go/pkg/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(0xc000099800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc000099800, 0xc0000c0000) /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 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, 0xc000148e60) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 41 [runnable]: github.com/cespare/xxhash/v2.(*Digest).WriteString(0xc00010d158, 0xa1117a, 0x16, 0x20, 0x4, 0x1a) /go/pkg/mod/github.com/cespare/xxhash/v2@v2.1.1/xxhash_unsafe.go:39 +0xa6 github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc00008c1e0, 0xc000092cb0, 0xc00010d628, 0x16, 0xc00023b980) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:883 +0x845 github.com/prometheus/client_golang/prometheus.processMetric(0xab2718, 0xc0000aa040, 0xc00010d5f8, 0xc00010d628, 0x0, 0x1, 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(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:519 +0xd25 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f7dfc723b80, 0xc00020e500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021ca10, 0x7f7dfc723b80, 0xc00020e500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f7dfc723b80, 0xc00020e500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002229f0, 0x7f7dfc723b80, 0xc00020e500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000222b70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 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(0xc000222e10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000096000, 0xc000200840) /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 [semacquire]: sync.runtime_Semacquire(0xc00021a1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021a1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021a1c0, 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 45 [runnable]: os.newFile(0x8, 0xc00021a270, 0xa, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:122 +0x1e9 os.openFileNolog(0xc00021a270, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc00021a270, 0xa, 0x0, 0x0, 0xc00021a270, 0xa, 0xc00021a270) /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(0xc00021a270, 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(0x7f02f, 0xc00021a210, 0xf, 0xd9c178, 0x1, 0x1, 0x7f02e, 0x7f02e, 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, 0xc000200840) /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, 0xc000200840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 25 [runnable]: 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, 0xc00011a660) /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, 0xc0001e2400, 0x30, 0x9db900, 0xffaaaabfeaaaa) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00022a000, 0xc0001e2400, 0xc00022a000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2400, 0xaaf4e0, 0xc00022a000, 0x0, 0x0, 0x0, 0xc00013c3a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000222570, 0xc0001e2400, 0x0, 0x0, 0x0, 0xc00013c3a8, 0x0, 0x1, 0xc0001e2400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000222570, 0xc0001e2400, 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, 0xc000200840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 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 [ OK ] level=info ts=2022-08-11T19:17:28.054Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T19:17:28.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-11T19:17:28.054Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T19:17:28.054Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T19:17:28.055Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-11T19:17:28.056Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" 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, 0xc000036800, 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(0x7f83fdacbf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6800, 0x85c95e5777ea4e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ce58, 0x62f555f4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ce58, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000284000, 0xab76f0, 0xc00000ce58, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ce58, 0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cd20, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000284000, 0x0, 0x0, 0xaaf020, 0xc00008cd20, 0x0, 0x0) /go/pkg/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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000204120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 12 [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, 0xc00008cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 51 [runnable]: io.(*LimitedReader).Read(0xc00000ce88, 0xc00029e900, 0x300, 0x300, 0x901, 0xc00029e000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000ce88, 0x0, 0x0, 0xc00000e380, 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(0xc0000235d0, 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(0x7a518, 0xc000023560, 0xf, 0xd9c178, 0x1, 0x1, 0x7a517, 0x7a517, 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(0xc00008c9b0, 0xc000204120) /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(0xc00008c9b0, 0xc000204120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 35 [runnable]: github.com/prometheus/client_golang/prometheus.populateMetric(0x2, 0x4026000000000000, 0x0, 0x0, 0x0, 0x0, 0xc000314000, 0xc00022b301, 0xc000314000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:139 +0x1c5 github.com/prometheus/client_golang/prometheus.(*constMetric).Write(0xc000122cc0, 0xc000314000, 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, 0xc000122cc0, 0xc00022b5f8, 0xc00022b628, 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(0xc00008c960, 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(0x7f83fd9280a8, 0xc000206140, 0xc000236000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d58f0, 0x7f83fd9280a8, 0xc000206140, 0xc000236000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f83fd9280a8, 0xc000206140, 0xc000236000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d3830, 0x7f83fd9280a8, 0xc000206140, 0xc000236000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000246000, 0xc000236000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d39b0, 0xab7900, 0xc000246000, 0xc000236000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000246000, 0xc000236000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000284000, 0xab7900, 0xc000246000, 0xc000236000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000210000, 0xab8818, 0xc00021e000) /usr/local/go/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(0x7f83fdacbe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00020a018, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00020a000, 0xc00020c0d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00020a000, 0xc00020c0d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e000, 0xc00020c0d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00020c0c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 38 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021c040, 0xc000204120, 0xc000204180) /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, 0xc000090400) /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(0xc0001c8b40) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8c50, 0xc000090660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8b40, 0xc000236100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8b40, 0xc000236100, 0xc0001c8b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000236100, 0xaaf4e0, 0xc0001c8b40, 0x0, 0x0, 0x0, 0xc00020e010, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001d33b0, 0xc000236100, 0x0, 0x0, 0x0, 0xc00020e010, 0x0, 0x1, 0xc000236100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001d33b0, 0xc000236100, 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(0xc0001b0960, 0xc000204120, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b0960, 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:538 +0xe4d goroutine 20 [waiting]: runtime.ReadMemStats(0xc00012b800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00012b800, 0xc000176000) /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-11T22:17:10.778Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-11T22:17:10.778Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-11T22:17:10.778Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-11T22:17:10.778Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-11T22:17:10.780Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-11T22:17:10.782Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000270400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000270400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000319f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f9c3b0f3f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000d2098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000d2080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000d2080, 0x8a7e69c84c271b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8b8, 0x62f57fe8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8b8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000d6000, 0xab76f0, 0xc00000c8b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8b8, 0xc0000d6000, 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(0xc0000d6000, 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 7 [chan receive]: main.main.func1(0xaaf020, 0xc00020e1e0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 26 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 11 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab2740, 0xc000082360, 0xc0000a55f8, 0xc0000a5628, 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(0xc000148910, 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(0x7f9c3af09a58, 0xc00008c500, 0xc0000f4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0000a6a10, 0x7f9c3af09a58, 0xc00008c500, 0xc0000f4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9c3af09a58, 0xc00008c500, 0xc0000f4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000a89f0, 0x7f9c3af09a58, 0xc00008c500, 0xc0000f4000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000d60e0, 0xc0000f4000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0000a8b70, 0xab7900, 0xc0000d60e0, 0xc0000f4000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000d60e0, 0xc0000f4000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000d6000, 0xab7900, 0xc0000d60e0, 0xc0000f4000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000aa2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 12 [IO wait]: internal/poll.runtime_pollWait(0x7f9c3b0f3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000d2118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000d2100, 0xc0000a8e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000d2100, 0xc0000a8e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0000825a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e0b8, 0xc0000a8e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000a8e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 13 [runnable]: io.(*LimitedReader).Read(0xc00012ef60, 0xc000388900, 0x300, 0x300, 0x901, 0xc000388000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00012ef60, 0x0, 0x0, 0xc00013c2e0, 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(0xc000138ed0, 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(0x92a8b, 0xc000138e60, 0xf, 0xd9c178, 0x1, 0x1, 0x92a8a, 0x92a8a, 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, 0xc0000827e0) /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, 0xc0000827e0) /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 14 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc0000827e0, 0xc000082840) /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 15 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f9c61d79108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000ac000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000ac110, 0xc000116660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000ac000, 0xc0000f4100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000ac000, 0xc0000f4100, 0xc0000ac000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000f4100, 0xaaf4e0, 0xc0000ac000, 0x0, 0x0, 0x0, 0xc00000e0c8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0000a8570, 0xc0000f4100, 0x0, 0x0, 0x0, 0xc00000e0c8, 0x0, 0x1, 0xc0000f4100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0000a8570, 0xc0000f4100, 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(0xc0000ae000, 0xc0000827e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000ae000, 0xc0000827e0) /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-12T01:17:04.920Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T01:17:04.920Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T01:17:04.920Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T01:17:04.920Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T01:17:04.921Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-12T01:17:04.920Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000239f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f168f402f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180800, 0x625620498f40db01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012ed98, 0x62f5aa18, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012ed98, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000296000, 0xab76f0, 0xc00012ed98, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012ed98, 0xc000296000, 0x0, 0x0, 0xaaf020, 0xc000148be0, 0x0, 0xd8) /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, 0xc000148be0, 0x0, 0x0) /go/pkg/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, 0xc000148be0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 28 [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(0x7f168f41b7f8, 0xc000149130, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ef8f0, 0x7f168f41b7f8, 0xc000149130, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f168f41b7f8, 0xc000149130, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001ed830, 0x7f168f41b7f8, 0xc000149130, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002960e0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001ed9b0, 0xab7900, 0xc0002960e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002960e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000296000, 0xab7900, 0xc0002960e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001df2c0, 0xab8818, 0xc0001416c0) /usr/local/go/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(0x7f168f402e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180880, 0xc0001edc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180880, 0xc0001edc61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f680) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c358, 0xc0001edc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001edc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:442 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 31 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000139500, 0xc00013f8c0, 0xc00013f920) /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]: type..hash.net/http.connectMethodKey(0xc00015c920, 0x559e1f89, 0x44ec65) <autogenerated>:1 net/http.(*Transport).queueForIdleConn(0xc0001e4b40, 0xc00015c8f0, 0xc000114400) /usr/local/go/src/net/http/transport.go:1082 +0x5ce net/http.(*Transport).getConn(0xc0001e4b40, 0xc000141840, 0x0, 0x7ffedad35ef8, 0x4, 0xc000139510, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1347 +0x297 net/http.(*Transport).roundTrip(0xc0001e4b40, 0xc0001e2400, 0x30, 0x9db900, 0x7f168f756fff) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc0001e4b40, 0xc0001e2400, 0xc0001e4b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2400, 0xaaf4e0, 0xc0001e4b40, 0x0, 0x0, 0x0, 0xc00013c368, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001ed3b0, 0xc0001e2400, 0x0, 0x0, 0x0, 0xc00013c368, 0x0, 0x1, 0xc0001e2400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001ed3b0, 0xc0001e2400, 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(0xc0001cc960, 0xc00013f8c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001cc960, 0xc00013f8c0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 7 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000096000, 0xc00013f8c0) /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 8 [waiting]: runtime.ReadMemStats(0xc000099800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc000099800, 0xc0000da000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 38 [runnable]: syscall.Syscall6(0x101, 0xffffffffffffff9c, 0xc00021e030, 0x80000, 0x0, 0x0, 0x0, 0x8, 0x80000, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:43 +0x5 syscall.openat(0xffffffffffffff9c, 0xc00021e018, 0x11, 0x80000, 0xc000000000, 0x57557f, 0xc00021e018, 0x11) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:68 +0xc7 syscall.Open(...) /usr/local/go/src/syscall/syscall_linux.go:152 os.openFileNolog(0xc00021e018, 0x11, 0x0, 0xc000000000, 0x3, 0x3, 0xc00021e018) /usr/local/go/src/os/file_unix.go:216 +0x8f os.OpenFile(0xc00021e018, 0x11, 0x0, 0x0, 0x3, 0xc000214040, 0xc0002182a0) /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(0xc00021e018, 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(0x7c5ba, 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(0xc000148960, 0xc00013f8c0) /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(0xc000148960, 0xc00013f8c0) /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-12T04:17:08.309Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T04:17:08.310Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T04:17:08.310Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T04:17:08.310Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T04:17:08.310Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T04:17:08.310Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fe6bba39f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x1d8927b6a6af901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020c8b8, 0x62f5d448, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020c8b8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc00020c8b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020c8b8, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000134370, 0x0, 0xd8) /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, 0xc000134370, 0x0, 0x0) /go/pkg/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, 0xc000134370) /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 39 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fe6bb9f7a58, 0xc0002224b0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000208a10, 0x7fe6bb9f7a58, 0xc0002224b0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe6bb9f7a58, 0xc0002224b0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002129f0, 0x7fe6bb9f7a58, 0xc0002224b0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000212b70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc00021a2c0) /usr/local/go/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(0x7fe6bba39e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000212e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000212e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002140a0, 0xc000212e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000212e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 41 [runnable]: bufio.(*Scanner).Scan(0xc000269348, 0xc0000f8780) /usr/local/go/src/bufio/scan.go:135 +0xabb github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:177 +0x2b6 github.com/prometheus/procfs.ProcStat.StartTime(0x2ebe9, 0xc000022eb0, 0xf, 0xd9c178, 0x1, 0x1, 0x2ebe8, 0x2ebe8, 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(0xc00008c9b0, 0xc000200780) /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(0xc00008c9b0, 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:457 +0x5ce goroutine 42 [semacquire]: sync.runtime_Semacquire(0xc0002061c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002061c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002061c0, 0xc000200780, 0xc0002007e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 43 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fe6e2703a68) /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, 0xc000090660) /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, 0xc000278100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00021c000, 0xc000278100, 0xc00021c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000278100, 0xaaf4e0, 0xc00021c000, 0x0, 0x0, 0x0, 0xc0002140b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000212570, 0xc000278100, 0x0, 0x0, 0x0, 0xc0002140b0, 0x0, 0x1, 0xc000278100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000212570, 0xc000278100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000220000, 0xc000200780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000220000, 0xc000200780) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 24 [runnable]: runtime/debug.readGCStats(0xc0001643a8) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc000164380) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000200780) /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 25 [waiting]: runtime.ReadMemStats(0xc00012b800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00012b800, 0xc00016e1e0) /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-12T07:17:07.454Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T07:17:07.454Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T07:17:07.454Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T07:17:07.454Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T07:17:07.454Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T07:17:07.455Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00026df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f8d9d522f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180898, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180880, 0xfc93e7af74fd4801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f620, 0x62f5fe78, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f620, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a8000, 0xab76f0, 0xc00012f620, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f620, 0xc0002a8000, 0x0, 0x0, 0xaaf020, 0xc000148cd0, 0x0, 0xd8) /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, 0xc000148cd0, 0x0, 0x0) /go/pkg/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]: io.(*LimitedReader).Read(0xc00000c0f0, 0xc000406400, 0x100, 0x100, 0x401, 0xc000406000, 0x400) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000c0f0, 0x0, 0x0, 0xc00000e030, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(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(0xaaf01, 0xc0000220a0, 0xf, 0xd9c178, 0x1, 0x1, 0xaaf00, 0xaaf00, 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, 0xc00013fa40) /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, 0xc00013fa40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 35 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 26 [chan receive]: main.main.func1(0xaaf020, 0xc000148cd0) /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(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(0x7f8d9d53cef8, 0xc000149220, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029c540, 0x7f8d9d53cef8, 0xc000149220, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8d9d53cef8, 0xc000149220, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001f7860, 0x7f8d9d53cef8, 0xc000149220, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a80e0, 0xc0001e2300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001f79e0, 0xab7900, 0xc0002a80e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a80e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a8000, 0xab7900, 0xc0002a80e0, 0xc0001e2300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001df2c0, 0xab8818, 0xc0001416c0) /usr/local/go/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(0x7f8d9d522e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180918, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000180900, 0xc0001f7c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180900, 0xc0001f7c91, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00013f800) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c368, 0xc0001f7c91, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001f7c80) /usr/local/go/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(0xc000139500, 0xc00013fa40, 0xc00013faa0) /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(0x7fff90659ef8, 0x28, 0xc0001e2300, 0x100000000000000, 0xab0020, 0xabe608, 0xc00029c540, 0xc000141600) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7fff90659ef8, 0x28, 0xc0001e0100, 0x7fff90659ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7fff90659ef8, 0x28, 0xa32218, 0xab7901, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc000138058, 0xa04fba, 0x3, 0x7fff90659ef8, 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(0xc0001cc960, 0xc00013fa40, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001cc960, 0xc00013fa40) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 36 [runnable]: runtime/debug.readGCStats(0xc00023aa38) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00023aa10) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000180500, 0xc00013fa40) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:300 +0x29f github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 37 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000180500, 0xc000276000, 0xc00027c000) /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-12T08:16:17.207Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T08:16:17.208Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T08:16:17.208Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T08:16:17.208Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T08:16:17.208Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T08:16:17.210Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000101000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000103680) /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(0x7ffa85a5af18, 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, 0x6473b0bece914401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200978, 0x62f60c88, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200978, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000200978, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200978, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00011a230, 0x0, 0xd8) /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, 0xc00011a230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc00011a230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 44 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7ffa85a1cb80, 0xc0002065f0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000214a10, 0x7ffa85a1cb80, 0xc0002065f0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffa85a1cb80, 0xc0002065f0, 0xc000290000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021a9f0, 0x7ffa85a1cb80, 0xc0002065f0, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000290000) /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, 0xc000290000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000290000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000290000) /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 45 [IO wait]: internal/poll.runtime_pollWait(0x7ffa85a5ae30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000228100, 0xc00021ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000228100, 0xc00021ae21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002046c0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021c0b0, 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 47 [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, 0xc000204900, 0xc000204960) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: strings.genSplit(0xc0005a8000, 0x51360, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc0001d7860, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc000226000, 0xc000204900, 0x0, 0x9691c0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc000226000, 0xc000204900) /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(0x7ffa85a5ad48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015a498, 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(0xc00015a480, 0xc0001fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00015a480, 0xc0001fa000, 0x1000, 0x1000, 0x439c3c, 0xc000268c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001f2038, 0xc0001fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0b40, 0xc0001fa000, 0x1000, 0x1000, 0xc000164420, 0xc000268d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204ea0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204ea0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0b40) /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(0xc0000b0b40) /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-12T10:17:39.149Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T10:17:39.150Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T10:17:39.150Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T10:17:39.150Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T10:17:39.150Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T10:17:39.153Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000301f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f54e660df18, 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, 0x8ecf3bb3d7368e01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000296888, 0x62f628e4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000296888, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002e0000, 0xab76f0, 0xc000296888, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000296888, 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 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 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 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f54e6587a58, 0xc0002ae4b0, 0xc000310000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000292a10, 0x7f54e6587a58, 0xc0002ae4b0, 0xc000310000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f54e6587a58, 0xc0002ae4b0, 0xc000310000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029e9f0, 0x7f54e6587a58, 0xc0002ae4b0, 0xc000310000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002e00e0, 0xc000310000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00029eb70, 0xab7900, 0xc0002e00e0, 0xc000310000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002e00e0, 0xc000310000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002e0000, 0xab7900, 0xc0002e00e0, 0xc000310000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002f2000, 0xab8818, 0xc0002a62c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 56 [runnable]: net/http.(*connReader).backgroundRead(0xc00029ee10) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 57 [runnable]: sync.(*WaitGroup).Add(0xc0002901c0, 0xffffffffffffffff) /usr/local/go/src/sync/waitgroup.go:53 +0x14d sync.(*WaitGroup).Done(...) /usr/local/go/src/sync/waitgroup.go:99 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:452 +0x76 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 58 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002901c0, 0xc00029a780, 0xc00029a7e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 59 [runnable]: fmt.newScanState(0xaaed20, 0xc00029efc0, 0x9a0001, 0xc000322000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc00029efc0, 0xc0003076b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0x9ce66, 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(0xc00008c9b0, 0xc00029a780) /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(0xc00008c9b0, 0xc00029a780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 21 [runnable]: runtime/debug.readGCStats(0xc00023be58) /usr/local/go/src/runtime/mstats.go:556 +0x58 runtime/debug.ReadGCStats(0xc00023be30) /usr/local/go/src/runtime/debug/garbage.go:48 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc00029a780) /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 22 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc00027a000, 0xc00026c1e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-12T13:17:17.125Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T13:17:17.125Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T13:17:17.125Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T13:17:17.125Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T13:17:17.126Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-12T13:17:17.127Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f12b2a24f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000282098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000282080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000282080, 0xe9273221e8d9c101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000122b28, 0x62f65314, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000122b28, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000286000, 0xab76f0, 0xc000122b28, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000122b28, 0xc000286000, 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(0xc000286000, 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 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 37 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 38 [runnable]: github.com/prometheus/client_golang/prometheus.(*constMetric).Write(0xc000099ef0, 0xc000400000, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:123 +0x8b github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc000099ef0, 0xc00010f5f8, 0xc00010f628, 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(0xc00008c960, 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(0x7f12b29e5308, 0xc0002063c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00014f1f0, 0x7f12b29e5308, 0xc0002063c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f12b29e5308, 0xc0002063c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00012f590, 0x7f12b29e5308, 0xc0002063c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000304000, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00012f710, 0xab7900, 0xc000304000, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000304000, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000286000, 0xab7900, 0xc000304000, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000210960, 0xab8818, 0xc00023a280) /usr/local/go/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 [runnable]: net/http.(*connReader).backgroundRead(0xc00020b0b0) /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 40 [runnable]: syscall.Syscall(0x0, 0x8, 0xc0002a8200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc0002a8200, 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(0xc000114b40, 0xc0002a8200, 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(0xc000124160, 0xc0002a8200, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc0002a8200) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc000122b58, 0xc0002a8200, 0x200, 0x200, 0xc000122b58, 0xc000317008, 0xc000064400) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc000122b58, 0x0, 0x0, 0xc000124160, 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(0xc000132300, 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(0x96ebd, 0xc000132290, 0xf, 0xd9c178, 0x1, 0x1, 0x96ebc, 0x96ebc, 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(0xc00008c9b0, 0xc000204600) /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(0xc00008c9b0, 0xc000204600) /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 41 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000232640, 0xc000204600, 0xc000204660) /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]: net/http.(*Transport).connectMethodForRequest(0xc000156280, 0xc00023a400, 0xa32200, 0x1, 0xffffffffffffffff, 0xc000091580, 0x414ab7, 0x100000000968da0, 0xc00023c900, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc000156280, 0xc000258200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc000156280, 0xc000258200, 0xc000156280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000258200, 0xaaf4e0, 0xc000156280, 0x0, 0x0, 0x0, 0xc0002380b8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00012f110, 0xc000258200, 0x0, 0x0, 0x0, 0xc0002380b8, 0x0, 0x1, 0xc000258200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00012f110, 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(0xc000158690, 0xc000204600, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000158690, 0xc000204600) /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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc000204600) /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 11 [waiting]: runtime.ReadMemStats(0xc0001d1800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc0001d1800, 0xc00008e120) /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-12T15:54:41.948Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T15:54:41.949Z caller=apache_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:54:41.949Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T15:54:41.949Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T15:54:41.950Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T15:54:41.952Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00018ac00) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc00018ac00) /usr/local/go/src/runtime/proc.go:3361 +0x34 runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f8f1f2b3f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ba098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0001ba080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001ba080, 0xb602f3840d90a801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001a28b8, 0x62f677e0, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001a28b8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc0001a28b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001a28b8, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc00008cfa0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc00008cfa0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 17 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 20 [chan receive]: main.main.func1(0xaaf020, 0xc00008cfa0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 24 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f8f1f271b80, 0xc0001b84b0, 0xc0001fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00019ea10, 0x7f8f1f271b80, 0xc0001b84b0, 0xc0001fe000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f8f1f271b80, 0xc0001b84b0, 0xc0001fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001aa9f0, 0x7f8f1f271b80, 0xc0001b84b0, 0xc0001fe000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e20e0, 0xc0001fe000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001aab70, 0xab7900, 0xc0001e20e0, 0xc0001fe000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e20e0, 0xc0001fe000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e20e0, 0xc0001fe000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001f4000, 0xab8818, 0xc0001b22c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x7f8f1f2b3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ba118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0001ba100, 0xc0001aae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001ba100, 0xc0001aae21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0001a6540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001ac0a0, 0xc0001aae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001aae10) /usr/local/go/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 [syscall]: main.(*Exporter).collect(0xc0001b6000, 0xc0001a6780, 0x0, 0x0) /app/apache_exporter.go:307 +0x46d main.(*Exporter).Collect(0xc0001b6000, 0xc0001a6780) /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 27 [semacquire]: sync.runtime_Semacquire(0xc00019c1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00019c1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00019c1c0, 0xc0001a6780, 0xc0001a67e0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f8f1f2b3d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001ba398, 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(0xc0001ba380, 0xc000384000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001ba380, 0xc000384000, 0x1000, 0x1000, 0x439c3c, 0xc000390c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001ac0b0, 0xc000384000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b10e0, 0xc000384000, 0x1000, 0x1000, 0xc0003880c0, 0xc000390d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000382000) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000382000, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b10e0) /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(0xc0000b10e0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-12T16:18:46.575Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T16:18:46.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-12T16:18:46.576Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T16:18:46.576Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T16:18:46.576Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T16:18:46.576Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002f000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00002a001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.newproc.func1() /usr/local/go/src/runtime/proc.go:4029 +0x97 runtime.systemstack(0x0) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 57 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:339 fp=0xc00018d368 sp=0xc00018d360 pc=0x46b0a0 runtime.newproc(0xc000000000, 0xc000292f60) /usr/local/go/src/runtime/proc.go:4022 +0x6e fp=0xc00018d3b0 sp=0xc00018d368 pc=0x4420ee github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d fp=0xc00018d810 sp=0xc00018d3b0 pc=0x806e2d github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fe31f612a58, 0xc000286500, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 fp=0xc00018d9c0 sp=0xc00018d810 pc=0x816ef9 net/http.HandlerFunc.ServeHTTP(0xc00028ca10, 0x7fe31f612a58, 0xc000286500, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00018d9e8 sp=0xc00018d9c0 pc=0x6ae744 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe31f612a58, 0xc000286500, 0xc0002f0000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab fp=0xc00018da50 sp=0xc00018d9e8 pc=0x817b4b net/http.HandlerFunc.ServeHTTP(0xc0002929f0, 0x7fe31f612a58, 0xc000286500, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00018da78 sp=0xc00018da50 pc=0x6ae744 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 fp=0xc00018dae8 sp=0xc00018da78 pc=0x817c7f net/http.HandlerFunc.ServeHTTP(0xc000292b70, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2049 +0x44 fp=0xc00018db10 sp=0xc00018dae8 pc=0x6ae744 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2428 +0x1ad fp=0xc00018db70 sp=0xc00018db10 pc=0x6b05cd net/http.serverHandler.ServeHTTP(0xc0002c8000, 0xab7900, 0xc0002c80e0, 0xc0002f0000) /usr/local/go/src/net/http/server.go:2867 +0xa3 fp=0xc00018dba0 sp=0xc00018db70 pc=0x6b1d03 net/http.(*conn).serve(0xc0002da000, 0xab8818, 0xc00029a2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd fp=0xc00018dfc8 sp=0xc00018dba0 pc=0x6ad22d runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00018dfd0 sp=0xc00018dfc8 pc=0x46cda1 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fe31f698f18, 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, 0xf89d2fe61bd77801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002808b8, 0x62f67d80, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002808b8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002c8000, 0xab76f0, 0xc0002808b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002808b8, 0xc0002c8000, 0x0, 0x0, 0xaaf020, 0xc00008cc80, 0x0, 0xd8) /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, 0xc00008cc80, 0x0, 0x0) /go/pkg/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]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/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]: main.main.func1(0xaaf020, 0xc00008cc80) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 58 [IO wait]: internal/poll.runtime_pollWait(0x7fe31f698e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002a0118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002a0100, 0xc000292e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002a0100, 0xc000292e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc0002845a0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000294098, 0xc000292e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000292e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 59 [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(0xc00029c000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00029c110, 0xc000091660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00029c000, 0xc00021a100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00029c000, 0xc00021a100, 0xc00029c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00021a100, 0xaaf4e0, 0xc00029c000, 0x0, 0x0, 0x0, 0xc00020a0c8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000292570, 0xc00021a100, 0x0, 0x0, 0x0, 0xc00020a0c8, 0x0, 0x1, 0xc00021a100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000292570, 0xc00021a100, 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(0xc00029e000, 0xc0002847e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00029e000, 0xc0002847e0) /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 60 [semacquire]: sync.runtime_Semacquire(0xc00028a1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00028a1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00028a1c0, 0xc0002847e0, 0xc000284840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 61 [runnable]: fmt.(*buffer).writeRune(0xc000284970, 0x36) /usr/local/go/src/fmt/print.go:89 +0x20b fmt.(*ss).consume(0xc000284960, 0xa0a93c, 0xb, 0x1, 0xc00018ec01) /usr/local/go/src/fmt/scan.go:486 +0x98 fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc000284960, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc000284960, 0x66, 0x92c700, 0xc0002ba678) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc000284960, 0xa172b2, 0x20, 0xc00018efc0, 0xb, 0xb, 0x8, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc000282740, 0xa172b2, 0x20, 0xc00018efc0, 0xb, 0xb, 0xc000318176, 0xa0b, 0xe8a) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0002ba5a0, 0x48, 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(0x69469, 0xc00028a210, 0xf, 0xd9c178, 0x1, 0x1, 0x69468, 0x69468, 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(0xc00008c9b0, 0xc0002847e0) /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(0xc00008c9b0, 0xc0002847e0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 10 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0001a8000, 0xc0002847e0) /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 65 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0001a8000, 0xc000382000, 0xc000388000) /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-12T19:17:22.981Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T19:17:22.982Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T19:17:22.982Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T19:17:22.982Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T19:17:22.982Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T19:17:22.983Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000308000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000308000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00013ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f431df66f18, 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, 0x82ad51d28451cf01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002108b8, 0x62f6a774, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002108b8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002108b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002108b8, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00008cfa0, 0x0, 0xd8) /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, 0xc00008cfa0, 0x0, 0x0) /go/pkg/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 [waiting]: runtime.ReadMemStats(0xc000146000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc000146000, 0xc00014c000) /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 17 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 20 [chan receive]: main.main.func1(0xaaf020, 0xc00008cfa0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 24 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f431df24a58, 0xc0002264b0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020ca10, 0x7f431df24a58, 0xc0002264b0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f431df24a58, 0xc0002264b0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002189f0, 0x7f431df24a58, 0xc0002264b0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000218b70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002202c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x7f431df66e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000228118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000228100, 0xc000218e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000228100, 0xc000218e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000214540) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00021a0a0, 0xc000218e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000218e10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 26 [runnable]: time.when(0x3b9aca00, 0x1) /usr/local/go/src/time/sleep.go:28 +0x76 time.NewTimer(0x3b9aca00, 0xc000091ee0) /usr/local/go/src/time/sleep.go:91 +0x52 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc000214780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:311 +0x62c github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 27 [semacquire]: sync.runtime_Semacquire(0xc00020a1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00020a1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00020a1c0, 0xc000214780, 0xc0002147e0) /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 28 [runnable]: github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:206 +0xcef github.com/prometheus/procfs.ProcStat.StartTime(0x17491, 0xc00020a210, 0xf, 0xd9c178, 0x1, 0x1, 0x17490, 0x17490, 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(0xc00008c9b0, 0xc000214780) /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(0xc00008c9b0, 0xc000214780) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 16 [runnable]: 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(0xc000222000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000222110, 0xc000094660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000222000, 0xc0001c8400, 0x30, 0x9db900, 0xffaaaabfeaaaa) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000222000, 0xc0001c8400, 0xc000222000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c8400, 0xaaf4e0, 0xc000222000, 0x0, 0x0, 0x0, 0xc00000e3b8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000218570, 0xc0001c8400, 0x0, 0x0, 0x0, 0xc00000e3b8, 0x0, 0x1, 0xc0001c8400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000218570, 0xc0001c8400, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc000224000, 0xc000214780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000224000, 0xc000214780) /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:06:38.298Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T20:06:38.299Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T20:06:38.299Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T20:06:38.299Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T20:06:38.299Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T20:06:38.301Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000288000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000288000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010df01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f82d5edef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015a318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00015a300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00015a300, 0x8e95d65029d4cd01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000114a38, 0x62f6b2f0, 0xc0001f9b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000114a38, 0xc0001f9b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000320000, 0xab76f0, 0xc000114a38, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000114a38, 0xc000320000, 0x0, 0x0, 0xaaf020, 0xc00011a280, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000320000, 0x0, 0x0, 0xaaf020, 0xc00011a280, 0x0, 0x0) /go/pkg/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 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0001ee500, 0xc000118d80) /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 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc00011a280) /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(0xc000180960, 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(0x7f82d5f20cc0, 0xc00011a7d0, 0xc00016c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00031e000, 0x7f82d5f20cc0, 0xc00011a7d0, 0xc00016c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f82d5f20cc0, 0xc00011a7d0, 0xc00016c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00011d9e0, 0x7f82d5f20cc0, 0xc00011a7d0, 0xc00016c100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003200e0, 0xc00016c100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00011db60, 0xab7900, 0xc0003200e0, 0xc00016c100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003200e0, 0xc00016c100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000320000, 0xab7900, 0xc0003200e0, 0xc00016c100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000126a00, 0xab8818, 0xc00014e540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 45 [runnable]: net/http.(*connReader).backgroundRead(0xc00011de00) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 46 [runnable]: 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 47 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001467c0, 0xc000118d80, 0xc000118de0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 48 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f82fcba85b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc000128640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000128750, 0xc000184660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000128640, 0xc00016c200, 0x20300000000000, 0x7f82d6276fff, 0x7f82d5f1dd20) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000128640, 0xc00016c200, 0xc000128640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00016c200, 0xaaf4e0, 0xc000128640, 0x0, 0x0, 0x0, 0xc00014c158, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00011d560, 0xc00016c200, 0x0, 0x0, 0x0, 0xc00014c158, 0x0, 0x1, 0xc00016c200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00011d560, 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(0xc000162870, 0xc000118d80, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000162870, 0xc000118d80) /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 6 [runnable]: fmt.newScanState(0xaaed20, 0xc0000a0030, 0x9a0001, 0xc0000a2000, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:385 +0x85 fmt.Fscan(0xaaed20, 0xc0000a0030, 0xc0003396b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0x4ac4a, 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(0xc0001809b0, 0xc000118d80) /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(0xc0001809b0, 0xc000118d80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [waiting]: runtime.ReadMemStats(0xc00025d800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0001ee500, 0xc00025d800, 0xc000182120) /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-12T22:17:14.966Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-12T22:17:14.966Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-12T22:17:14.966Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-12T22:17:14.966Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-12T22:17:14.967Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-12T22:17:14.967Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc000031800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102a80) /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(0x7f992bbd3f18, 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, 0x183574917f659801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002030f8, 0x62f6d1a4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002030f8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000258000, 0xab76f0, 0xc0002030f8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002030f8, 0xc000258000, 0x0, 0x0, 0xaaf020, 0xc0001543c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000258000, 0x0, 0x0, 0xaaf020, 0xc0001543c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 22 [chan receive]: main.main.func1(0xaaf020, 0xc0001543c0) /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 37 [runnable]: github.com/prometheus/client_golang/prometheus.(*constMetric).Write(0xc0003820f0, 0xc0002f4070, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:123 +0x8b github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc0003820f0, 0xc00010f5f8, 0xc00010f628, 0x0, 0x1, 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(0xc00008c960, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:519 +0xd25 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7f992bc11a38, 0xc000154500, 0xc00012c200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000207650, 0x7f992bc11a38, 0xc000154500, 0xc00012c200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f992bc11a38, 0xc000154500, 0xc00012c200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00020ea20, 0x7f992bc11a38, 0xc000154500, 0xc00012c200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a4000, 0xc00012c200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00020eba0, 0xab7900, 0xc0002a4000, 0xc00012c200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a4000, 0xc00012c200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000258000, 0xab7900, 0xc0002a4000, 0xc00012c200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013d4a0, 0xab8818, 0xc000136400) /usr/local/go/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(0x7f992bbd3e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178298, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000178280, 0xc00012fc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178280, 0xc00012fc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00011e168, 0xc00012fc61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00012fc50) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 40 [semacquire]: sync.runtime_Semacquire(0xc0001326f8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0001326f0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001326f0, 0xc000114900, 0xc000114960) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 41 [runnable]: github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues(0xc00020c038, 0xc0003b0c00, 0x1, 0x1, 0xc000140578, 0xc000226701) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/gauge.go:214 +0x105 main.(*Exporter).updateScoreboard(0xc00022c000, 0xc00058629a, 0x800) /app/apache_exporter.go:279 +0x16b main.(*Exporter).collect(0xc00022c000, 0xc000114900, 0x0, 0x0) /app/apache_exporter.go:507 +0x2073 main.(*Exporter).Collect(0xc00022c000, 0xc000114900) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 45 [IO wait]: internal/poll.runtime_pollWait(0x7f992bbd3d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178518, 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(0xc000178500, 0xc0002f2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178500, 0xc0002f2000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00011e1c0, 0xc0002f2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0a20, 0xc0002f2000, 0x1000, 0x1000, 0xc000256060, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002c2420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002c2420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0a20) /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 46 [select]: net/http.(*persistConn).writeLoop(0xc0000b0a20) /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-13T01:17:08.461Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T01:17:08.461Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T01:17:08.461Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T01:17:08.461Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T01:17:08.462Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T01:17:08.462Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00029ca80) /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(0x7fc91e5abf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000220098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000220080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000220080, 0xf80205e609e45701, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200900, 0x62f6fb98, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200900, 0xc0000f1b98, 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, 0xc00008ceb0, 0x0, 0xd8) /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, 0xc00008ceb0, 0x0, 0x0) /go/pkg/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, 0xc00008ceb0) /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(0xc00008c960, 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(0x7fc91e569a58, 0xc000206550, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020ca10, 0x7fc91e569a58, 0xc000206550, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fc91e569a58, 0xc000206550, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002129f0, 0x7fc91e569a58, 0xc000206550, 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(0xc000212b70, 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, 0xc00021a2c0) /usr/local/go/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(0x7fc91e5abe30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000220118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000220100, 0xc000212e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000220100, 0xc000212e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000204600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002140a0, 0xc000212e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000212e10) /usr/local/go/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]: strings.genSplit(0xc000586000, 0x516a9, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000213590, 0x0) /usr/local/go/src/strings/strings.go:236 +0x2c5 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00021e000, 0xc000204840, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00021e000, 0xc000204840) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 29 [semacquire]: sync.runtime_Semacquire(0xc00020a1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00020a1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00020a1c0, 0xc000204840, 0xc0002048a0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fc91e5abd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000220398, 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(0xc000220380, 0xc000172000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000220380, 0xc000172000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c038, 0xc000172000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0ea0, 0xc000172000, 0x1000, 0x1000, 0xc00008e4e0, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000204ea0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000204ea0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0ea0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 37 [select]: net/http.(*persistConn).writeLoop(0xc0000b0ea0) /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-13T04:17:12.516Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T04:17:12.517Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T04:17:12.517Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T04:17:12.517Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T04:17:12.517Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T04:17:12.517Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000064c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000064c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002b1f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fd9aeadcf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001aa098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0001aa080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0001aa080, 0xbb0df83b15f26f01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001968a0, 0x62f725c8, 0xc00020bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001968a0, 0xc00020bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001da000, 0xab76f0, 0xc0001968a0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001968a0, 0xc0001da000, 0x0, 0x0, 0xaaf020, 0xc000148f50, 0x0, 0xd8) /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, 0xc000148f50, 0x0, 0x0) /go/pkg/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, 0xc000148f50) /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(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(0x7fd9ae932a58, 0xc000180500, 0xc0001fa000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000192a10, 0x7fd9ae932a58, 0xc000180500, 0xc0001fa000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fd9ae932a58, 0xc000180500, 0xc0001fa000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00019c9f0, 0x7fd9ae932a58, 0xc000180500, 0xc0001fa000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001da0e0, 0xc0001fa000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00019cb70, 0xab7900, 0xc0001da0e0, 0xc0001fa000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001da0e0, 0xc0001fa000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001da000, 0xab7900, 0xc0001da0e0, 0xc0001fa000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001ec000, 0xab8818, 0xc0001a42c0) /usr/local/go/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(0xc00019ce10) /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]: fmt.(*ss).doScan(0xc0003000c0, 0xc00038f6b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1070 +0x1bc fmt.Fscan(0xaaed20, 0xc0003080c0, 0xc00038f6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0xe5430, 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(0xc000148960, 0xc0001827e0) /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(0xc000148960, 0xc0001827e0) /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(0xc0001901c0, 0xc0001827e0, 0xc000182840) /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, 0x7fd9d5762a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001a6000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001a6110, 0xc000117660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001a6000, 0xc0001fa100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001a6000, 0xc0001fa100, 0xc0001a6000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001fa100, 0xaaf4e0, 0xc0001a6000, 0x0, 0x0, 0x0, 0xc00019e0a8, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00019c570, 0xc0001fa100, 0x0, 0x0, 0x0, 0xc00019e0a8, 0x0, 0x1, 0xc0001fa100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00019c570, 0xc0001fa100, 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(0xc0001a8000, 0xc0001827e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001a8000, 0xc0001827e0) /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 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000200500, 0xc0001827e0) /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 30 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000200500, 0xc00026d800, 0xc000114300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-13T07:17:11.361Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T07:17:11.362Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T07:17:11.362Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T07:17:11.362Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T07:17:11.362Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T07:17:11.364Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f297d352f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000180800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000180800, 0x5df3b77df9271901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00012f008, 0x62f74ff8, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00012f008, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b0000, 0xab76f0, 0xc00012f008, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00012f008, 0xc0002b0000, 0x0, 0x0, 0xaaf020, 0xc000148d70, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0002b0000, 0x0, 0x0, 0xaaf020, 0xc000148d70, 0x0, 0x0) /go/pkg/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]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000096000, 0xc00013fbc0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:302 +0x2a5 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 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 24 [chan receive]: main.main.func1(0xaaf020, 0xc000148d70) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 28 [runnable]: github.com/prometheus/client_golang/prometheus.(*constMetric).Write(0xc000094120, 0xc000380000, 0x2, 0x2) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:123 +0x8b github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc000094120, 0xc00010f5f8, 0xc00010f628, 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(0xc000148910, 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(0x7f297d3701b8, 0xc0001492c0, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002a40e0, 0x7f297d3701b8, 0xc0001492c0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f297d3701b8, 0xc0001492c0, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a63f0, 0x7f297d3701b8, 0xc0001492c0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002b00e0, 0xc0001e2400) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0002a6570, 0xab7900, 0xc0002b00e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002b00e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b0000, 0xab7900, 0xc0002b00e0, 0xc0001e2400) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001dfd60, 0xab8818, 0xc000141840) /usr/local/go/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(0xc0002a6810) /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]: io.(*LimitedReader).Read(0xc000206048, 0xc00023c200, 0x200, 0x200, 0x201, 0xc00023c000, 0x200) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc000206048, 0x0, 0x0, 0xc000232008, 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(0xc00021c0c0, 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(0x684e9, 0xc00021c050, 0xf, 0xd9c178, 0x1, 0x1, 0x684e8, 0x684e8, 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, 0xc00013fbc0) /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, 0xc00013fbc0) /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(0xc0001395c0, 0xc00013fbc0, 0xc00013fc20) /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, 0x40d91b, 0xc0001b3200) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001e4dc0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001e4ed0, 0xc00011a660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001e4dc0, 0xc0001e2500, 0x30, 0x9db900, 0x7f297d6a6fff) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001e4dc0, 0xc0001e2500, 0xc0001e4dc0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2500, 0xaaf4e0, 0xc0001e4dc0, 0x0, 0x0, 0x0, 0xc00013c428, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001ebf50, 0xc0001e2500, 0x0, 0x0, 0x0, 0xc00013c428, 0x0, 0x1, 0xc0001e2500) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001ebf50, 0xc0001e2500, 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(0xc0001ccff0, 0xc00013fbc0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001ccff0, 0xc00013fbc0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 11 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000096000, 0xc000099800, 0xc0000a8000) /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-13T08:12:16.979Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T08:12:16.979Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T08:12:16.979Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T08:12:16.979Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T08:12:16.980Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T08:12:17.022Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010dd01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc0002a4900) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc0002a4900) /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(0x7ff550c45f18, 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, 0x282f270291ec8901, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000282990, 0x62f75d18, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000282990, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002d0000, 0xab76f0, 0xc000282990, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000282990, 0xc0002d0000, 0x0, 0x0, 0xaaf020, 0xc00008ccd0, 0x0, 0xd8) /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, 0xc00008ccd0, 0x0, 0x0) /go/pkg/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, 0xc00008ccd0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 19 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 42 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c7d0, 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(0x7ff550bbfb80, 0xc0002905a0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000294a10, 0x7ff550bbfb80, 0xc0002905a0, 0xc0002f8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ff550bbfb80, 0xc0002905a0, 0xc0002f8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00029a9f0, 0x7ff550bbfb80, 0xc0002905a0, 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(0xc00029ab70, 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, 0xc0002a02c0) /usr/local/go/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(0x7ff550c45e30, 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, 0xc00029ae21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0002cc100, 0xc00029ae21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc00028e660) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002840b8, 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 44 [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(0xc0002a2000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0002a2110, 0xc00011b660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0002a2000, 0xc000204400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0002a2000, 0xc000204400, 0xc0002a2000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000204400, 0xaaf4e0, 0xc0002a2000, 0x0, 0x0, 0x0, 0xc00000e388, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00029a570, 0xc000204400, 0x0, 0x0, 0x0, 0xc00000e388, 0x0, 0x1, 0xc000204400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00029a570, 0xc000204400, 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, 0xc00028e8a0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0002a6000, 0xc00028e8a0) /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(0xc0002921c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002921c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002921c0, 0xc00028e8a0, 0xc00028e900) /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]: bytes.(*Reader).Read(0xc00029aff0, 0xc0000e3000, 0x1000, 0x1000, 0x0, 0x7ff550c3c7e0, 0xc0002ef040) /usr/local/go/src/bytes/reader.go:40 +0xf3 bufio.(*Scanner).Scan(0xc0002ef348, 0xc00029aff0) /usr/local/go/src/bufio/scan.go:214 +0xa9 github.com/prometheus/procfs.FS.Stat(0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/stat.go:177 +0x2b6 github.com/prometheus/procfs.ProcStat.StartTime(0x8e872, 0xc000292210, 0xf, 0xd9c178, 0x1, 0x1, 0x8e871, 0x8e871, 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(0xc00008c820, 0xc00028e8a0) /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(0xc00008c820, 0xc00028e8a0) /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-13T10:17:49.413Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T10:17:49.413Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T10:17:49.413Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T10:17:49.413Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T10:17:49.415Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T10:17:49.417Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fb71204af18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00015e318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00015e300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00015e300, 0xa203344d10dffb01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00011c9f0, 0x62f77a64, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00011c9f0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a0000, 0xab76f0, 0xc00011c9f0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00011c9f0, 0xc0002a0000, 0x0, 0x0, 0xaaf020, 0xc0001301e0, 0x0, 0xd8) /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, 0xc0001301e0, 0x0, 0x0) /go/pkg/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 [waiting]: runtime.ReadMemStats(0xc000228000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc000228000, 0xc00022e000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 goroutine 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 37 [chan receive]: main.main.func1(0xaaf020, 0xc0001301e0) /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(0xc00008c960, 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(0x7fb712088b98, 0xc000130730, 0xc000170100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00029e000, 0x7fb712088b98, 0xc000130730, 0xc000170100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb712088b98, 0xc000130730, 0xc000170100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001299e0, 0x7fb712088b98, 0xc000130730, 0xc000170100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a00e0, 0xc000170100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000129b60, 0xab7900, 0xc0002a00e0, 0xc000170100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a00e0, 0xc000170100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a0000, 0xab7900, 0xc0002a00e0, 0xc000170100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000132960, 0xab8818, 0xc000154540) /usr/local/go/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(0xc000129e00) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc000114d20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 44 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00014e7c0, 0xc000114d20, 0xc000114d80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 45 [runnable]: syscall.Syscall(0x0, 0x8, 0xc0002e6b83, 0x7d, 0x0, 0x7d, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc0002e6b83, 0x7d, 0x7d, 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(0xc000114f00, 0xc0002e6b83, 0x7d, 0x7d, 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(0xc00011e160, 0xc0002e6b83, 0x7d, 0x7d, 0x283, 0x0, 0x0) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00011ca38, 0xc0002e6b83, 0x7d, 0x7d, 0x283, 0x0, 0x0) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00011ca38, 0x0, 0x0, 0xc00011e160, 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(0xc00014e880, 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(0x11082, 0xc00014e810, 0xf, 0xd9c178, 0x1, 0x1, 0x1107f, 0x1107f, 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(0xc00008c9b0, 0xc000114d20) /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(0xc00008c9b0, 0xc000114d20) /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 14 [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(0xc000134640) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc000134750, 0xc000094660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc000134640, 0xc0001c6300, 0x30, 0x9db900, 0x1) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000134640, 0xc0001c6300, 0xc000134640, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6300, 0xaaf4e0, 0xc000134640, 0x0, 0x0, 0x0, 0xc00000e2f0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000129560, 0xc0001c6300, 0x0, 0x0, 0x0, 0xc00000e2f0, 0x0, 0x1, 0xc0001c6300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000129560, 0xc0001c6300, 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(0xc000166870, 0xc000114d20, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000166870, 0xc000114d20) /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.(*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-13T13:17:23.223Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T13:17:23.224Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T13:17:23.224Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T13:17:23.224Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T13:17:23.224Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T13:17:23.225Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000380000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000380000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001e3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.mstart1() /usr/local/go/src/runtime/proc.go:1313 +0x93 runtime.mstart() /usr/local/go/src/runtime/proc.go:1272 +0x6e goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f9c68c4cf18, 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, 0x2e55cebc38f18201, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208b88, 0x62f7a494, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208b88, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00027e000, 0xab76f0, 0xc000208b88, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208b88, 0xc00027e000, 0x0, 0x0, 0xaaf020, 0xc0001342d0, 0x0, 0xd8) /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, 0xc0001342d0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 9 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000200a80) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:312 +0x695 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 22 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc0001342d0) /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(0xc00008c960, 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(0x7f9c68c0c3c0, 0xc000240690, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f9c68c0c3c0, 0xc000240690, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f9c68c0c3c0, 0xc000240690, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000219590, 0x7f9c68c0c3c0, 0xc000240690, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00027e0e0, 0xc000216100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000219710, 0xab7900, 0xc00027e0e0, 0xc000216100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00027e0e0, 0xc000216100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00027e000, 0xab7900, 0xc00027e0e0, 0xc000216100) /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(0x7f9c68c4ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000266118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000266100, 0xc0002199c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000266100, 0xc0002199c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200840) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a178, 0xc0002199c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002199b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [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 44 [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 45 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f9c8f916a68) /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, 0xc000090660) /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, 0xc000216200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000242280, 0xc000216200, 0xc000242280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000216200, 0xaaf4e0, 0xc000242280, 0x0, 0x0, 0x0, 0xc00020a188, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000219110, 0xc000216200, 0x0, 0x0, 0x0, 0xc00020a188, 0x0, 0x1, 0xc000216200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000219110, 0xc000216200, 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 goroutine 23 [runnable]: bytes.Index(0xc00028a000, 0x12a, 0x200, 0xc0001df657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0xf1d30, 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(0xc00008c9b0, 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(0xc00008c9b0, 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:538 +0xe4d goroutine 10 [waiting]: runtime.ReadMemStats(0xc0001e6000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc0001e6000, 0xc00008e120) /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-13T16:17:17.415Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T16:17:17.415Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T16:17:17.416Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T16:17:17.416Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T16:17:17.416Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T16:17:17.416Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000036800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010dd01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000001c80) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000001c80) /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(0x7f6f71f57f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6818, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6800, 0x23082933535db401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cea0, 0x62f7cec4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cea0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001fa000, 0xab76f0, 0xc00000cea0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cea0, 0xc0001fa000, 0x0, 0x0, 0xaaf020, 0xc00008cd20, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001fa000, 0x0, 0x0, 0xaaf020, 0xc00008cd20, 0x0, 0x0) /go/pkg/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]: 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(0xc0001c8b40) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8c50, 0xc000091660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8b40, 0xc0001c6400, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8b40, 0xc0001c6400, 0xc0001c8b40, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c6400, 0xaaf4e0, 0xc0001c8b40, 0x0, 0x0, 0x0, 0xc000120018, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001d33b0, 0xc0001c6400, 0x0, 0x0, 0x0, 0xc000120018, 0x0, 0x1, 0xc0001c6400) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001d33b0, 0xc0001c6400, 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(0xc0001b0960, 0xc000083aa0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b0960, 0xc000083aa0) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 14 [chan receive]: main.main.func1(0xaaf020, 0xc00008cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 50 [runnable]: github.com/prometheus/client_golang/prometheus.processMetric(0xab26f0, 0xc000122420, 0xc00029b5f8, 0xc00029b628, 0x0, 0x0, 0x1) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:688 +0x47a github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f6f71f6f638, 0xc00008d270, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d58f0, 0x7f6f71f6f638, 0xc00008d270, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f6f71f6f638, 0xc00008d270, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d3830, 0x7f6f71f6f638, 0xc00008d270, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001fa0e0, 0xc0001c6300) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d39b0, 0xab7900, 0xc0001fa0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001fa0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001fa000, 0xab7900, 0xc0001fa0e0, 0xc0001c6300) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c3400, 0xab8818, 0xc0000ab6c0) /usr/local/go/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(0x7f6f71f57e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6898, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6880, 0xc0001d3c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6880, 0xc0001d3c61, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083860) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e378, 0xc0001d3c61, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001d3c50) /usr/local/go/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, 0xc000083aa0, 0xc000083b00) /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]: fmt.(*ss).advance(0xc000083ce0, 0xa172c6, 0xc, 0xc0001be528) /usr/local/go/src/fmt/scan.go:1100 +0x673 fmt.(*ss).doScanf(0xc000083ce0, 0xa172b2, 0x20, 0xc00029cfc0, 0xb, 0xb, 0x7, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1186 +0x105 fmt.Fscanf(0xaaefe0, 0xc00011c220, 0xa172b2, 0x20, 0xc00029cfc0, 0xb, 0xb, 0xd, 0xb82, 0x1000) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001be460, 0x50, 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(0x8a6dc, 0xc0000235a0, 0xf, 0xd9c178, 0x1, 0x1, 0x8a6db, 0x8a6db, 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(0xc00008c9b0, 0xc000083aa0) /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(0xc00008c9b0, 0xc000083aa0) /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-13T19:17:10.087Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T19:17:10.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-13T19:17:10.088Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T19:17:10.088Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T19:17:10.088Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-13T19:17:10.090Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000101000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000101000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f2b154bdf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00021a098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00021a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00021a080, 0xea4bea726ff68601, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208900, 0x62f7f8b8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208900, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000208900, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208900, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000134320, 0x0, 0xd8) /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, 0xc000134320, 0x0, 0x0) /go/pkg/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, 0xc000134320) /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(0xc00008c960, 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(0x7f2b1547ba58, 0xc00020e500, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00021ea10, 0x7f2b1547ba58, 0xc00020e500, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f2b1547ba58, 0xc00020e500, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002249f0, 0x7f2b1547ba58, 0xc00020e500, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000224b70, 0xab7900, 0xc0002500e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc00022a2c0) /usr/local/go/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(0x7f2b154bde30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00021a118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00021a100, 0xc000224e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00021a100, 0xc000224e21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a0a8, 0xc000224e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000224e10) /usr/local/go/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(0xc00021c1c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc00021c1c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00021c1c0, 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 45 [runnable]: strings.genSplit(0xc00063e000, 0x516b4, 0xa30880, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000314060, 0x0) /usr/local/go/src/strings/strings.go:247 +0x71 strings.Split(...) /usr/local/go/src/strings/strings.go:299 main.(*Exporter).collect(0xc00022e000, 0xc000200840, 0x0, 0x0) /app/apache_exporter.go:307 +0x4ac main.(*Exporter).Collect(0xc00022e000, 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 23 [IO wait]: internal/poll.runtime_pollWait(0x7f2b154bdd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6718, 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(0xc0000e6700, 0xc0002a2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6700, 0xc0002a2000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020a0c0, 0xc0002a2000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0ea0, 0xc0002a2000, 0x1000, 0x1000, 0xc00024e120, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000132900) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000132900, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0ea0) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc0000b0ea0) /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-13T22:17:10.322Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-13T22:17:10.323Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-13T22:17:10.323Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-13T22:17:10.323Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-13T22:17:10.324Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-13T22:17:10.324Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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(0x0, 0xc00002c800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc00002c800, 0xc00002c800) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc00002c800) /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 39 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0x1) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc000297aa0 sp=0xc000297a70 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc000297ac8 sp=0xc000297aa0 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc000297b40 sp=0xc000297ac8 pc=0x41c30a runtime.mallocgc(0x516b4, 0x0, 0x0, 0x0) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc000297bc8 sp=0xc000297b40 pc=0x40da55 runtime.slicebytetostring(0x0, 0xc0005a6000, 0x516b4, 0x0, 0x0) /usr/local/go/src/runtime/string.go:110 +0x90 fp=0xc000297bf8 sp=0xc000297bc8 pc=0x452cf0 main.(*Exporter).collect(0xc0001b00f0, 0xc0002046c0, 0x0, 0x0) /app/apache_exporter.go:307 +0x46d fp=0xc000297e78 sp=0xc000297bf8 pc=0x8f662d main.(*Exporter).Collect(0xc0001b00f0, 0xc0002046c0) /app/apache_exporter.go:578 +0x9a fp=0xc000297f20 sp=0xc000297e78 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=0xc000297fe0 sp=0xc000297f20 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000297fe8 sp=0xc000297fe0 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(0x7f3e685a0f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6518, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6500, 0x183078c981843a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccd8, 0x62f822e8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccd8, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e4000, 0xab76f0, 0xc00000ccd8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccd8, 0xc0001e4000, 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(0xc0001e4000, 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 10 [chan receive]: main.main.func1(0xaaf020, 0xc000206280) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 21 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f3e683fd300, 0xc0002063c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001d6310, 0x7f3e683fd300, 0xc0002063c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f3e683fd300, 0xc0002063c0, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001d4840, 0x7f3e683fd300, 0xc0002063c0, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000284000, 0xc000258100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001d49c0, 0xab7900, 0xc000284000, 0xc000258100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000284000, 0xc000258100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e4000, 0xab7900, 0xc000284000, 0xc000258100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0002128c0, 0xab8818, 0xc00023a280) /usr/local/go/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(0x7f3e685a0e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000246298, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000246280, 0xc0002090c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000246280, 0xc0002090c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0002380a8, 0xc0002090c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002090b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 40 [semacquire]: sync.runtime_Semacquire(0xc000232648) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000232640) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000232640, 0xc0002046c0, 0xc000204720) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f3e685a0d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128318, 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(0xc000128300, 0xc000434000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128300, 0xc000434000, 0x1000, 0x1000, 0x439c3c, 0xc000095c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e320, 0xc000434000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b0b40, 0xc000434000, 0x1000, 0x1000, 0xc000250480, 0xc000095d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc000402420) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc000402420, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b0b40) /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(0xc0000b0b40) /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-14T01:17:07.982Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T01:17:07.982Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T01:17:07.982Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T01:17:07.982Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T01:17:07.982Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T01:17:07.983Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0x0, 0xc00002c800, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc00002c800, 0xc00002c800) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc00002c800) /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 49 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0x1) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc000113aa0 sp=0xc000113a70 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc000113ac8 sp=0xc000113aa0 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc000113b40 sp=0xc000113ac8 pc=0x41c30a runtime.mallocgc(0x516b5, 0x0, 0x0, 0x0) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc000113bc8 sp=0xc000113b40 pc=0x40da55 runtime.slicebytetostring(0x0, 0xc000594000, 0x516b5, 0x0, 0x0) /usr/local/go/src/runtime/string.go:110 +0x90 fp=0xc000113bf8 sp=0xc000113bc8 pc=0x452cf0 main.(*Exporter).collect(0xc000244f00, 0xc000082240, 0x0, 0x0) /app/apache_exporter.go:307 +0x46d fp=0xc000113e78 sp=0xc000113bf8 pc=0x8f662d main.(*Exporter).Collect(0xc000244f00, 0xc000082240) /app/apache_exporter.go:578 +0x9a fp=0xc000113f20 sp=0xc000113e78 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=0xc000113fe0 sp=0xc000113f20 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000113fe8 sp=0xc000113fe0 pc=0x46cda1 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fb171082f18, 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, 0xe44243b26ffd4801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000208c18, 0x62f84d18, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000208c18, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc000208c18, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000208c18, 0xc0002a6000, 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(0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0002403c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x7fb171082d48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000180718, 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(0xc000180700, 0xc0001fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000180700, 0xc0001fa000, 0x1000, 0x1000, 0x439c3c, 0xc000117c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00013c260, 0xc0001fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b8240, 0xc0001fa000, 0x1000, 0x1000, 0xc000114300, 0xc000117d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0002013e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0002013e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b8240) /usr/local/go/src/net/http/transport.go:2083 +0x1a8 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1743 +0xc77 goroutine 37 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 40 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [select]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc000148910, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:513 +0xb65 github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x7fb170fb70a8, 0xc00008c1e0, 0xc0000c8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7fb170fb70a8, 0xc00008c1e0, 0xc0000c8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fb170fb70a8, 0xc00008c1e0, 0xc0000c8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7fb170fb70a8, 0xc00008c1e0, 0xc0000c8000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000d2000, 0xc0000c8000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000294720, 0xab7900, 0xc0000d2000, 0xc0000c8000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000d2000, 0xc0000c8000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0000d2000, 0xc0000c8000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc0000b2000) /usr/local/go/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(0x7fb171082e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000096098, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000096080, 0xc000094101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000096080, 0xc000094101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e020, 0xc000094101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0000940f0) /usr/local/go/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, 0xc000082240, 0xc0000822a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:463 +0x2b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 24 [select]: net/http.(*persistConn).writeLoop(0xc0000b8240) /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-14T04:17:06.574Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T04:17:06.574Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T04:17:06.574Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T04:17:06.574Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T04:17:06.575Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T04:17:06.579Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc000300000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000300000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010ff01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fbbd66b2f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178318, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000178300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000178300, 0xbf3025df9ea7ed01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00011ec60, 0x62f87748, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00011ec60, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002a6000, 0xab76f0, 0xc00011ec60, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00011ec60, 0xc0002a6000, 0x0, 0x0, 0xaaf020, 0xc0001543c0, 0x0, 0xd8) /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, 0xc0001543c0, 0x0, 0x0) /go/pkg/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(0xc0000e6500, 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 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 23 [chan receive]: main.main.func1(0xaaf020, 0xc0001543c0) /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(0xc00008c960, 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(0x7fbbd66f3c18, 0xc000154910, 0xc00012c200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0002927e0, 0x7fbbd66f3c18, 0xc000154910, 0xc00012c200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbbd66f3c18, 0xc000154910, 0xc00012c200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002945a0, 0x7fbbd66f3c18, 0xc000154910, 0xc00012c200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002a60e0, 0xc00012c200) /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, 0xc00012c200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002a60e0, 0xc00012c200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002a6000, 0xab7900, 0xc0002a60e0, 0xc00012c200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00013d360, 0xab8818, 0xc0001366c0) /usr/local/go/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(0x7fbbd66b2e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000178398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000178380, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000178380, 0xc0002949d1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000114d80) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120208, 0xc0002949d1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0002949c0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 29 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 0xc000114fc0) /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 30 [semacquire]: sync.runtime_Semacquire(0xc000132878) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc000132870) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000132870, 0xc000114fc0, 0xc000115020) /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]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fbbfd37c5b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001568c0) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001569d0, 0xc000090660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001568c0, 0xc00012c300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001568c0, 0xc00012c300, 0xc0001568c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00012c300, 0xaaf4e0, 0xc0001568c0, 0x0, 0x0, 0x0, 0xc000120218, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000294120, 0xc00012c300, 0x0, 0x0, 0x0, 0xc000120218, 0x0, 0x1, 0xc00012c300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000294120, 0xc00012c300, 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(0xc000158f00, 0xc000114fc0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000158f00, 0xc000114fc0) /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 [runnable]: io.(*LimitedReader).Read(0xc00000ccd8, 0xc0001e6900, 0x300, 0x300, 0x901, 0xc0001e6000, 0x900) /usr/local/go/src/io/io.go:466 +0xc9 io.ReadAll(0xaaf2e0, 0xc00000ccd8, 0x0, 0x0, 0xc00000e240, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000022e70, 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(0x8146a, 0xc000022e00, 0xf, 0xd9c178, 0x1, 0x1, 0x81469, 0x81469, 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(0xc00008c9b0, 0xc000114fc0) /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(0xc00008c9b0, 0xc000114fc0) /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-14T07:17:29.052Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T07:17:29.053Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T07:17:29.053Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T07:17:29.053Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T07:17:29.053Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T07:17:29.054Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(0xc00023c800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00023c800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000000c00) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f80f6b6bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0x52219e3c3e777b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000117128, 0x62f8a1b4, 0xc0001efb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000117128, 0xc0001efb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000172000, 0xab76f0, 0xc000117128, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000117128, 0xc000172000, 0x0, 0x0, 0xaaf020, 0xc00008c3c0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000172000, 0x0, 0x0, 0xaaf020, 0xc00008c3c0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 23 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 37 [chan receive]: main.main.func1(0xaaf020, 0xc00008c3c0) /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(0xc000198910, 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(0x7f80f6ba9b58, 0xc00008c0f0, 0xc0000b0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011b650, 0x7f80f6ba9b58, 0xc00008c0f0, 0xc0000b0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f80f6ba9b58, 0xc00008c0f0, 0xc0000b0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000122a20, 0x7f80f6ba9b58, 0xc00008c0f0, 0xc0000b0100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001721c0, 0xc0000b0100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000122ba0, 0xab7900, 0xc0001721c0, 0xc0000b0100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001721c0, 0xc0000b0100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000172000, 0xab7900, 0xc0001721c0, 0xc0000b0100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000174000, 0xab8818, 0xc00014a2c0) /usr/local/go/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.(*goCollector).Collect.func1(0xc000128000, 0xc00012a000, 0xc0001a00c0) /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 9 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000288000) /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 77 [IO wait]: internal/poll.runtime_pollWait(0x7f80f6b6be30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001200c0, 0xc000122e51, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc000122e40) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 78 [select]: net/http.(*Transport).getConn(0xc00014c000, 0xc0000b2100, 0x0, 0x7fff19d43ef8, 0x4, 0xc00027a000, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/transport.go:1368 +0x589 net/http.(*Transport).roundTrip(0xc00014c000, 0xc000320100, 0x30, 0x9db900, 0x0) /usr/local/go/src/net/http/transport.go:579 +0x7eb net/http.(*Transport).RoundTrip(0xc00014c000, 0xc000320100, 0xc00014c000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000320100, 0xaaf4e0, 0xc00014c000, 0x0, 0x0, 0x0, 0xc00000e018, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001225a0, 0xc000320100, 0x0, 0x0, 0x0, 0xc00000e018, 0x0, 0x1, 0xc000320100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001225a0, 0xc000320100, 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(0xc00014e000, 0xc000288000, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00014e000, 0xc000288000) /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 79 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001460f0, 0xc000288000, 0xc000288180) /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 80 [runnable]: io.ReadAll(0xaaf2e0, 0xc00028c000, 0x0, 0x0, 0xc000182038, 0x0, 0x0) /usr/local/go/src/io/io.go:626 +0x216 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc0001461e0, 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(0xf6b63, 0xc000146140, 0xf, 0xd9c178, 0x1, 0x1, 0xf6b62, 0xf6b62, 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(0xc000198960, 0xc000288000) /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(0xc000198960, 0xc000288000) /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 [select]: net.(*Resolver).lookupIPAddr(0xddffe0, 0xab87a8, 0xc000194048, 0xa051b5, 0x3, 0xc00027a000, 0x9, 0x50, 0x0, 0x0, ...) /usr/local/go/src/net/lookup.go:299 +0x65b net.(*Resolver).internetAddrList(0xddffe0, 0xab87a8, 0xc000194048, 0xa051b5, 0x3, 0xc00027a000, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/ipsock.go:280 +0x4d4 net.(*Resolver).resolveAddrList(0xddffe0, 0xab87a8, 0xc000194048, 0xa055d2, 0x4, 0xa051b5, 0x3, 0xc00027a000, 0xc, 0x0, ...) /usr/local/go/src/net/dial.go:221 +0x47d net.(*Dialer).DialContext(0xde0c60, 0xab87a8, 0xc000194048, 0xa051b5, 0x3, 0xc00027a000, 0xc, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:403 +0x22b net/http.(*Transport).dial(0xc00014c000, 0xab87a8, 0xc000194048, 0xa051b5, 0x3, 0xc00027a000, 0xc, 0x0, 0xc00000e1a8, 0x0, ...) /usr/local/go/src/net/http/transport.go:1171 +0x16f net/http.(*Transport).dialConn(0xc00014c000, 0xab87a8, 0xc000194048, 0x0, 0x7fff19d43ef8, 0x4, 0xc00027a000, 0xc, 0x0, 0xc000164000, ...) /usr/local/go/src/net/http/transport.go:1600 +0x1b85 net/http.(*Transport).dialConnFor(0xc00014c000, 0xc0000e60b0) /usr/local/go/src/net/http/transport.go:1442 +0xc6 created by net/http.(*Transport).queueForDial /usr/local/go/src/net/http/transport.go:1411 +0x40f goroutine 27 [runnable]: internal/singleflight.(*Group).doCall(0xddfff0, 0xc000134000, 0xc00027a010, 0xd, 0xc0000b21c0) /usr/local/go/src/internal/singleflight/singleflight.go:94 created by internal/singleflight.(*Group).DoChan /usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2cc [ OK ] level=info ts=2022-08-14T08:05:54.843Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T08:05:54.843Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T08:05:54.843Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T08:05:54.843Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T08:05:54.844Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T08:05:54.844Z caller=tls_config.go:195 msg="TLS is disabled." http2=false runtime: failed to create new OS thread (have 10 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0xa09b49, 0x9) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.newosproc(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(0x0, 0xc00002f000, 0x9) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0xc00002f000, 0xc00002f000) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.handoffp(0xc00002f000) /usr/local/go/src/runtime/proc.go:2412 +0x65 runtime.entersyscallblock_handoff() /usr/local/go/src/runtime/proc.go:3687 +0x30 runtime.systemstack(0x46cda1) /usr/local/go/src/runtime/asm_amd64.s:379 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1246 goroutine 20 [syscall]: runtime.notetsleepg(0xe108b8, 0xffffffffffffffff, 0xc000313a01) /usr/local/go/src/runtime/lock_futex.go:235 +0x34 fp=0xc0003139d0 sp=0xc0003139a0 pc=0x40c474 runtime.gcBgMarkStartWorkers() /usr/local/go/src/runtime/mgc.go:1837 +0x50 fp=0xc0003139f8 sp=0xc0003139d0 pc=0x41d930 runtime.gcStart(0x0, 0x0, 0x0) /usr/local/go/src/runtime/mgc.go:1358 +0x1ca fp=0xc000313a70 sp=0xc0003139f8 pc=0x41c30a runtime.mallocgc(0x20, 0x946120, 0xc000313b01, 0xc00021dfe0) /usr/local/go/src/runtime/malloc.go:1166 +0x495 fp=0xc000313af8 sp=0xc000313a70 pc=0x40da55 runtime.makeslice(0x946120, 0x2, 0x2, 0x1) /usr/local/go/src/runtime/slice.go:98 +0x6c fp=0xc000313b28 sp=0xc000313af8 pc=0x44ea2c strings.genSplit(0xc0005dfbf8, 0x34, 0xa04cc3, 0x1, 0x0, 0x2, 0xc00021dfe0, 0x2, 0x2) /usr/local/go/src/strings/strings.go:247 +0x71 fp=0xc000313b80 sp=0xc000313b28 pc=0x501c51 strings.SplitN(...) /usr/local/go/src/strings/strings.go:273 main.splitkv(0xc0005dfbf8, 0x34, 0xe, 0x0, 0xc0005dfbf6, 0x1) /app/apache_exporter.go:244 +0x6d fp=0xc000313bf8 sp=0xc000313b80 pc=0x8f5dad main.(*Exporter).collect(0xc000244690, 0xc000200a80, 0x0, 0x0) /app/apache_exporter.go:322 +0x60d fp=0xc000313e78 sp=0xc000313bf8 pc=0x8f67cd main.(*Exporter).Collect(0xc000244690, 0xc000200a80) /app/apache_exporter.go:578 +0x9a fp=0xc000313f20 sp=0xc000313e78 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=0xc000313fe0 sp=0xc000313f20 pc=0x810c6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000313fe8 sp=0xc000313fe0 pc=0x46cda1 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f882e83cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000270098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000270080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000270080, 0x43478f83f3ea0801, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020ab10, 0x62f8acf4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020ab10, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000274000, 0xab76f0, 0xc00020ab10, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020ab10, 0xc000274000, 0x0, 0x0, 0xaaf020, 0xc000134230, 0x0, 0xd8) /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, 0xc000134230, 0x0, 0x0) /go/pkg/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, 0xc000134230) /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 [semacquire]: github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xc000134690, 0xc00023b960, 0xc000317628, 0x1, 0xc000259b20) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:907 +0xb65 github.com/prometheus/client_golang/prometheus.processMetric(0xab2768, 0xc0000abe00, 0xc0003175f8, 0xc000317628, 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(0xc00008c960, 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(0x7f882e7fc298, 0xc000240690, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00023b1f0, 0x7f882e7fc298, 0xc000240690, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f882e7fc298, 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, 0x7f882e7fc298, 0xc000240690, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002740e0, 0xc000218100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021b710, 0xab7900, 0xc0002740e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002740e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000274000, 0xab7900, 0xc0002740e0, 0xc000218100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000228b40, 0xab8818, 0xc000222440) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7f882e83ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000270118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000270100, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000270100, 0xc00021b9c1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200840) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020c150, 0xc00021b9c1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021b9b0) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 44 [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 16 [IO wait]: internal/poll.runtime_pollWait(0x7f882e83cd48, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6718, 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(0xc0000e6700, 0xc0001a7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6700, 0xc0001a7000, 0x1000, 0x1000, 0x439c3c, 0xc000097c38, 0x465300) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120110, 0xc0001a7000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc0000b06c0, 0xc0001a7000, 0x1000, 0x1000, 0xc00008e360, 0xc000097d40, 0x405755) /usr/local/go/src/net/http/transport.go:1922 +0x77 bufio.(*Reader).fill(0xc0000833e0) /usr/local/go/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc0000833e0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3) /usr/local/go/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc0000b06c0) /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(0xc0000b06c0) /usr/local/go/src/net/http/transport.go:2382 +0xf7 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1744 +0xc9c [ OK ] level=info ts=2022-08-14T10:21:44.865Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T10:21:44.866Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T10:21:44.866Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T10:21:44.866Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T10:21:44.866Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T10:21:44.866Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc00010dd01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000228900) /usr/local/go/src/runtime/proc.go:3333 +0xda runtime.gopreempt_m(0xc000228900) /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(0x7fe3e597ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x70d7cc5dec662d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00020c930, 0x62f8ccd4, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00020c930, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc00020c930, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00020c930, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc000134280, 0x0, 0xd8) /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, 0xc000134280, 0x0, 0x0) /go/pkg/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 37 [chan receive]: main.main.func1(0xaaf020, 0xc000134280) /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(0xc00008c960, 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(0x7fe3e593ca58, 0xc000214550, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000218a10, 0x7fe3e593ca58, 0xc000214550, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fe3e593ca58, 0xc000214550, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00021e9f0, 0x7fe3e593ca58, 0xc000214550, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00021eb70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002242c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 42 [runnable]: syscall.Syscall(0x0, 0x7, 0xc00021ee21, 0x1, 0xffffffffffffffff, 0x0, 0xb) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x7, 0xc00021ee21, 0x1, 0x1, 0x0, 0x439c3c, 0xc000248670) /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(0xc00024c100, 0xc00021ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:162 +0x145 net.(*netFD).Read(0xc00024c100, 0xc00021ee21, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000200600) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00020e0a8, 0xc00021ee21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc00021ee10) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 43 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7fe40c648a68) /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, 0xc000090660) /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, 0xc0001c8300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc000226000, 0xc0001c8300, 0xc000226000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001c8300, 0xaaf4e0, 0xc000226000, 0x0, 0x0, 0x0, 0xc0001200c0, 0x418257, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00021e570, 0xc0001c8300, 0x0, 0x0, 0x0, 0xc0001200c0, 0x0, 0x1, 0xc0001c8300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00021e570, 0xc0001c8300, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00022a000, 0xc000200840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc00022a000, 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:457 +0x5ce goroutine 44 [semacquire]: sync.runtime_Semacquire(0xc0002161c8) /usr/local/go/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0002161c0) /usr/local/go/src/sync/waitgroup.go:130 +0x65 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002161c0, 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 45 [runnable]: fmt.(*buffer).writeRune(0xc0002009d0, 0x32) /usr/local/go/src/fmt/print.go:89 +0x20b fmt.(*ss).consume(0xc0002009c0, 0xa0a93c, 0xb, 0x1, 0xc00026ec01) /usr/local/go/src/fmt/scan.go:486 +0x98 fmt.(*ss).accept(...) /usr/local/go/src/fmt/scan.go:516 fmt.(*ss).floatToken(0xc0002009c0, 0x66, 0xa08cbd) /usr/local/go/src/fmt/scan.go:721 +0x15b fmt.(*ss).scanOne(0xc0002009c0, 0x66, 0x92c700, 0xc0001c0840) /usr/local/go/src/fmt/scan.go:1009 +0xed0 fmt.(*ss).doScanf(0xc0002009c0, 0xa172b2, 0x20, 0xc00026efc0, 0xb, 0xb, 0x5, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1230 +0x2a5 fmt.Fscanf(0xaaefe0, 0xc00011c950, 0xa172b2, 0x20, 0xc00026efc0, 0xb, 0xb, 0xc000320376, 0x80f, 0xc8a) /usr/local/go/src/fmt/scan.go:143 +0xd9 fmt.Sscanf(...) /usr/local/go/src/fmt/scan.go:114 github.com/prometheus/procfs.parseCPUStat(0xc0001c0780, 0x49, 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(0x8801f, 0xc000216210, 0xf, 0xd9c178, 0x1, 0x1, 0x8801e, 0x8801e, 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(0xc00008c9b0, 0xc000200840) /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(0xc00008c9b0, 0xc000200840) /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-14T13:17:09.213Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T13:17:09.213Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T13:17:09.213Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T13:17:09.213Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T13:17:09.214Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T13:17:09.214Z 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(0xc000064c00) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000064c00) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000313f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f54aa55df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000196118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000196100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000196100, 0x90acd155f82a3d01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000185110, 0x62f8f5d8, 0xc00020bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000185110, 0xc00020bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001e2000, 0xab76f0, 0xc000185110, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000185110, 0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc000148c30, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001e2000, 0x0, 0x0, 0xaaf020, 0xc000148c30, 0x0, 0x0) /go/pkg/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, 0xc000148c30) /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 42 [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(0x7f54aa4d3a58, 0xc0001805f0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000189650, 0x7f54aa4d3a58, 0xc0001805f0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f54aa4d3a58, 0xc0001805f0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc000190a20, 0x7f54aa4d3a58, 0xc0001805f0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001e20e0, 0xc000300000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000190ba0, 0xab7900, 0xc0001e20e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001e20e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001e2000, 0xab7900, 0xc0001e20e0, 0xc000300000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001f4000, 0xab8818, 0xc0001b22c0) /usr/local/go/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(0xc000190e40) /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]: bytes.Index(0xc00022a400, 0x12b, 0x200, 0xc000315657, 0x1, 0x1, 0x0) /usr/local/go/src/bytes/bytes.go:1091 +0x834 github.com/prometheus/procfs.Proc.Stat(0x22e96, 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(0xc000148960, 0xc0001a0840) /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(0xc000148960, 0xc0001a0840) /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(0xc0001ae1c0, 0xc0001a0840, 0xc0001a08a0) /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, 0x7f54d11e3a68) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0001b4000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001b4110, 0xc000116660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001b4000, 0xc000300100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001b4000, 0xc000300100, 0xc0001b4000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000300100, 0xaaf4e0, 0xc0001b4000, 0x0, 0x0, 0x0, 0xc00018e0c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001905a0, 0xc000300100, 0x0, 0x0, 0x0, 0xc00018e0c0, 0x0, 0x1, 0xc000300100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001905a0, 0xc000300100, 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(0xc0001b6000, 0xc0001a0840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b6000, 0xc0001a0840) /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-14T16:17:09.363Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T16:17:09.364Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T16:17:09.364Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T16:17:09.364Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T16:17:09.364Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T16:17:09.365Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0001edf01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7faed84d1f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0xc3bd061bbbaea101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc000200930, 0x62f92008, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000200930, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc000200930, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc000200930, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc0001543c0, 0x0, 0xd8) /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, 0xc0001543c0, 0x0, 0x0) /go/pkg/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, 0xc0001543c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 43 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7faed848fa58, 0xc0002065a0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7faed848fa58, 0xc0002065a0, 0xc000270000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7faed848fa58, 0xc0002065a0, 0xc000270000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002109f0, 0x7faed848fa58, 0xc0002065a0, 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(0xc000210b70, 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, 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 44 [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 45 [runnable]: syscall.Syscall(0x0, 0x8, 0xc00018e400, 0x200, 0x12c, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc00018e400, 0x200, 0x200, 0x0, 0xc0001ef42c, 0xffffffff) /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(0xc000082e40, 0xc00018e400, 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(0xc00000e230, 0xc00018e400, 0x200, 0x200, 0x9463a0, 0x990b01, 0xc00018e400) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00000cc48, 0xc00018e400, 0x200, 0x200, 0xc00000cc48, 0xc0001ef598, 0xc000065000) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00000cc48, 0x0, 0x0, 0xc00000e230, 0x0, 0x0) /usr/local/go/src/io/io.go:633 +0xdf io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:27 github.com/prometheus/procfs/internal/util.ReadFileNoStat(0xc000024270, 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(0xb191d, 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(0xc00008c9b0, 0xc000204840) /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(0xc00008c9b0, 0xc000204840) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector.go:138 +0x33 github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:457 +0x5ce goroutine 46 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002081c0, 0xc000204840, 0xc0002048a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 47 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc0000e6500, 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:538 +0xe4d goroutine 48 [waiting]: runtime.ReadMemStats(0xc000304000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc0000e6500, 0xc000304000, 0xc00024e120) /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-14T19:17:14.350Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T19:17:14.351Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T19:17:14.351Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T19:17:14.351Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T19:17:14.351Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-14T19:17:14.352Z 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(0xc00020c000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc00020c000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000034000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000111f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f088824ef18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0002d2298, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002d2280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0002d2280, 0x7c3559613fa3db01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00028ca68, 0x62f94a74, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00028ca68, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000318000, 0xab76f0, 0xc00028ca68, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00028ca68, 0xc000318000, 0x0, 0x0, 0xaaf020, 0xc0002922d0, 0x0, 0xd8) /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, 0xc0002922d0, 0x0, 0x0) /go/pkg/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 56 [chan receive]: main.main.func1(0xaaf020, 0xc0002922d0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 60 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f08881d0cc0, 0xc000292820, 0xc0002e4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000316000, 0x7f08881d0cc0, 0xc000292820, 0xc0002e4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f08881d0cc0, 0xc000292820, 0xc0002e4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002959e0, 0x7f08881d0cc0, 0xc000292820, 0xc0002e4100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0003180e0, 0xc0002e4100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000295b60, 0xab7900, 0xc0003180e0, 0xc0002e4100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0003180e0, 0xc0002e4100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000318000, 0xab7900, 0xc0003180e0, 0xc0002e4100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00029e8c0, 0xab8818, 0xc0002c6540) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 61 [runnable]: net.(*conn).Read(0xc0002c4150, 0xc000295e11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:179 +0x22b net/http.(*connReader).backgroundRead(0xc000295e00) /usr/local/go/src/net/http/server.go:672 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 62 [select]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000128000, 0xc000290de0) /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 63 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0002be7c0, 0xc000290de0, 0xc000290e40) /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 64 [runnable]: syscall.Syscall(0x0, 0x8, 0xc000352200, 0x200, 0x200, 0x200, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.read(0x8, 0xc000352200, 0x200, 0x200, 0x0, 0x0, 0x7f08881cdc10) /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(0xc000290fc0, 0xc000352200, 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(0xc0002c4160, 0xc000352200, 0x200, 0x200, 0x200, 0xc000352000, 0xc000352000) /usr/local/go/src/os/file.go:117 +0x77 io.(*LimitedReader).Read(0xc00028cab0, 0xc000352200, 0x200, 0x200, 0x201, 0xc000352000, 0x200) /usr/local/go/src/io/io.go:473 +0x63 io.ReadAll(0xaaf2e0, 0xc00028cab0, 0x0, 0x0, 0xc0002c4160, 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(0xc0002be870, 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(0x3e1b5, 0xc0002be810, 0xf, 0xd9c178, 0x1, 0x1, 0x3e1b3, 0x3e1b3, 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(0xc00008c9b0, 0xc000290de0) /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(0xc00008c9b0, 0xc000290de0) /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 [waiting]: runtime.ReadMemStats(0xc00012b800) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc00012b800, 0xc00014a000) /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-14T22:17:09.232Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-14T22:17:09.233Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-14T22:17:09.233Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-14T22:17:09.233Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-14T22:17:09.234Z caller=tls_config.go:195 msg="TLS is disabled." http2=false level=info ts=2022-08-14T22:17:09.234Z 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(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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f4c1740ff18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6518, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6500, 0xc9c7c803e467ae01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000cd08, 0x62f97468, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000cd08, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001dc000, 0xab76f0, 0xc00000cd08, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000cd08, 0xc0001dc000, 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(0xc0001dc000, 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 11 [chan receive]: main.main.func1(0xaaf020, 0xc0002403c0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 20 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 21 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f4c1744c0a8, 0xc000134190, 0xc00014a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ce310, 0x7f4c1744c0a8, 0xc000134190, 0xc00014a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f4c1744c0a8, 0xc000134190, 0xc00014a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cc840, 0x7f4c1744c0a8, 0xc000134190, 0xc00014a000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc000158000, 0xc00014a000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cc9c0, 0xab7900, 0xc000158000, 0xc00014a000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc000158000, 0xc00014a000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001dc000, 0xab7900, 0xc000158000, 0xc00014a000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000138000, 0xab8818, 0xc00013c000) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 22 [runnable]: net/http.(*connReader).backgroundRead(0xc0001220f0) /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]: fmt.newScanState(0xaaed20, 0xc0001ccc00, 0x9a0001, 0xc00018e400, 0x12b, 0x7f4c1744a6d0, 0x8, 0x28) /usr/local/go/src/fmt/scan.go:383 +0x195 fmt.Fscan(0xaaed20, 0xc0001ccc00, 0xc00016b6b8, 0x16, 0x16, 0x1, 0x17, 0x11) /usr/local/go/src/fmt/scan.go:122 +0x54 github.com/prometheus/procfs.Proc.Stat(0xba546, 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(0xc00008c9b0, 0xc0001321e0) /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(0xc00008c9b0, 0xc0001321e0) /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 24 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc00013a040, 0xc0001321e0, 0xc000132240) /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 25 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0xc000090400) /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(0xc0001c8500) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0001c8610, 0xc000090660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0001c8500, 0xc00014a100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0001c8500, 0xc00014a100, 0xc0001c8500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00014a100, 0xaaf4e0, 0xc0001c8500, 0x0, 0x0, 0x0, 0xc000120018, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0001cc3c0, 0xc00014a100, 0x0, 0x0, 0x0, 0xc000120018, 0x0, 0x1, 0xc00014a100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0001cc3c0, 0xc00014a100, 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(0xc0001b00f0, 0xc0001321e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001b00f0, 0xc0001321e0) /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-15T01:17:08.482Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T01:17:08.490Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T01:17:08.490Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T01:17:08.490Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T01:17:08.490Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T01:17:08.490Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f40a7f76f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0xffcbd74bbbd14b01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccc0, 0x62f99e98, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccc0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00015c000, 0xab76f0, 0xc00000ccc0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccc0, 0xc00015c000, 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(0xc00015c000, 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 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7f40a7eef0a8, 0xc0001b40f0, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00014e310, 0x7f40a7eef0a8, 0xc0001b40f0, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f40a7eef0a8, 0xc0001b40f0, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00014c840, 0x7f40a7eef0a8, 0xc0001b40f0, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001f0000, 0xc0001e2000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00014c9c0, 0xab7900, 0xc0001f0000, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001f0000, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00015c000, 0xab7900, 0xc0001f0000, 0xc0001e2000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c0000, 0xab8818, 0xc0001cc000) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b 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, 0xc000240500) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 14 [runnable]: syscall.Syscall(0xd9, 0x8, 0xc000786000, 0x2000, 0x108, 0x2000, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:20 +0x5 syscall.Getdents(0x8, 0xc000786000, 0x2000, 0x2000, 0x0, 0xc0001d55d8, 0x44ea2c) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:429 +0x5a syscall.ReadDirent(...) /usr/local/go/src/syscall/syscall_linux.go:890 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:581 internal/poll.(*FD).ReadDirent(0xc000782000, 0xc000786000, 0x2000, 0x2000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:433 +0xe5 os.(*File).readdir(0xc000780000, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0xc0001d5768, 0x4e6065, 0xc00070c790, 0xf, 0x0, ...) /usr/local/go/src/os/dir_unix.go:57 +0xc85 os.(*File).Readdirnames(0xc000780000, 0xffffffffffffffff, 0x0, 0xc000000000, 0xc000780000, 0x0, 0x0) /usr/local/go/src/os/dir.go:70 +0x51 github.com/prometheus/procfs.Proc.fileDescriptors(0x3a073, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:279 +0x139 github.com/prometheus/procfs.Proc.FileDescriptorsLen(...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc.go:240 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00008c9b0, 0xc0001b20c0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/process_collector_other.go:53 +0x439 github.com/prometheus/client_golang/prometheus.(*processCollector).Collect(0xc00008c9b0, 0xc0001b20c0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7f40a7f76e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0001a8098, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0001a8080, 0xc0001a2101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0001a8080, 0xc0001a2101, 0x1, 0x1, 0x1, 0xc0000627a8, 0x82ae3d) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc0001a0008, 0xc0001a2101, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001a20f0) /usr/local/go/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 [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 21 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001ca040, 0xc0001b20c0, 0xc0001b2120) /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 22 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc000148500, 0xc0001cc180, 0xa32200, 0x1, 0xffffffffffffffff, 0x120, 0x30, 0x7f40cec00a68, 0xc000180000, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc000148500, 0xc0001e2100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc000148500, 0xc0001e2100, 0xc000148500, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0001e2100, 0xaaf4e0, 0xc000148500, 0x0, 0x0, 0x0, 0xc0001a0018, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00014c3c0, 0xc0001e2100, 0x0, 0x0, 0x0, 0xc0001a0018, 0x0, 0x1, 0xc0001e2100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00014c3c0, 0xc0001e2100, 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(0xc0001300f0, 0xc0001b20c0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0001300f0, 0xc0001b20c0) /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-15T04:17:11.960Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T04:17:11.961Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T04:17:11.961Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T04:17:11.961Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T04:17:11.961Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T04:17:11.962Z 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(0xc000065000) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065000) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc0002e3f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7fbde8650f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128398, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128380, 0x19699680072a1301, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001174d0, 0x62f9c8c8, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001174d0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0002b4000, 0xab76f0, 0xc0001174d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001174d0, 0xc0002b4000, 0x0, 0x0, 0xaaf020, 0xc0001344b0, 0x0, 0xd8) /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, 0xc0001344b0, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 8 [syscall]: os/signal.signal_recv(0x46cda6) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 34 [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(0xc553c, 0xc000300010, 0xf, 0xd9c178, 0x1, 0x1, 0xc553b, 0xc553b, 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(0xc00008c9b0, 0xc0001330e0) /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(0xc00008c9b0, 0xc0001330e0) /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 [chan receive]: main.main.func1(0xaaf020, 0xc0001344b0) /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(0xc00008c960, 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(0x7fbde8691c18, 0xc000134a00, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc000281420, 0x7fbde8691c18, 0xc000134a00, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fbde8691c18, 0xc000134a00, 0xc000144200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0002a25d0, 0x7fbde8691c18, 0xc000134a00, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002b40e0, 0xc000144200) /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, 0xc000144200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002b40e0, 0xc000144200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002b4000, 0xab7900, 0xc0002b40e0, 0xc000144200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00014f360, 0xab8818, 0xc0001486c0) /usr/local/go/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(0xc0002a29f0) /usr/local/go/src/net/http/server.go:671 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:668 +0xd5 goroutine 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(0xc000146870, 0xc0001330e0, 0xc000133140) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 50 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc00015e8c0, 0xc000148840, 0xa32200, 0x1, 0xffffffffffffffff, 0xc0002ca580, 0x414ab7, 0x100000000968da0, 0xc000153200, 0x1) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc00015e8c0, 0xc000144300, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc00015e8c0, 0xc000144300, 0xc00015e8c0, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000144300, 0xaaf4e0, 0xc00015e8c0, 0x0, 0x0, 0x0, 0xc000120220, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc0002a2150, 0xc000144300, 0x0, 0x0, 0x0, 0xc000120220, 0x0, 0x1, 0xc000144300) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc0002a2150, 0xc000144300, 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(0xc000160f00, 0xc0001330e0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000160f00, 0xc0001330e0) /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-15T07:17:43.759Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T07:17:43.759Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T07:17:43.759Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T07:17:43.759Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T07:17:43.760Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T07:17:43.760Z 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(0xc000252800) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000252800) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002c800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +0x66 runtime.resetspinning() /usr/local/go/src/runtime/proc.go:3020 +0x59 runtime.schedule() /usr/local/go/src/runtime/proc.go:3176 +0x2b9 runtime.park_m(0xc000001980) /usr/local/go/src/runtime/proc.go:3318 +0x9d runtime.mcall(0x0) /usr/local/go/src/runtime/asm_amd64.s:327 +0x5b goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7fa82ba8df18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6598, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000e6580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000e6580, 0x10ab789f91a91101, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000ccf0, 0x62f9f334, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000ccf0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0001dc000, 0xab76f0, 0xc00000ccf0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000ccf0, 0xc0001dc000, 0x0, 0x0, 0xaaf020, 0xc000134320, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0001dc000, 0x0, 0x0, 0xaaf020, 0xc000134320, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 11 [chan receive]: main.main.func1(0xaaf020, 0xc000134320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:168 +0xa5 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 15 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fa82ba9db78, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc0001ce310, 0x7fa82ba9db78, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa82ba9db78, 0xc00008cf50, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001cc840, 0x7fa82ba9db78, 0xc00008cf50, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001dc0e0, 0xc0001c6200) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc0001cc9c0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0001dc000, 0xab7900, 0xc0001dc0e0, 0xc0001c6200) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001c0c80, 0xab8818, 0xc0000ab440) /usr/local/go/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(0x7fa82ba8de30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000e6618, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000e6600, 0xc0001ccc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc0000e6600, 0xc0001ccc71, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000083200) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00000e2d8, 0xc0001ccc71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001ccc60) /usr/local/go/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 [copystack]: net/http.NewRequestWithContext(0xab87a8, 0xc0000220b0, 0xa04fba, 0x3, 0x7fff4ef7aef8, 0x28, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/http/request.go:853 +0x89b net/http.NewRequest(...) /usr/local/go/src/net/http/request.go:828 main.(*Exporter).collect(0xc0001b00f0, 0xc000083440, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc0001b00f0, 0xc000083440) /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, 0xc000083440, 0xc0000834a0) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:462 +0x60d goroutine 51 [runnable]: os.newFile(0x8, 0xc000400070, 0xa, 0x1, 0x0) /usr/local/go/src/os/file_unix.go:127 +0x6c os.openFileNolog(0xc000400070, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/os/file_unix.go:240 +0x1ad os.OpenFile(0xc000400070, 0xa, 0x0, 0x0, 0xc000400070, 0xa, 0xc000400070) /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(0xc000400070, 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(0x4732e, 0xc000400010, 0xf, 0xd9c178, 0x1, 0x1, 0x4732d, 0x4732d, 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(0xc00008c9b0, 0xc000083440) /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(0xc00008c9b0, 0xc000083440) /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-15T08:02:14.352Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T08:02:14.353Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T08:02:14.353Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T08:02:14.353Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T08:02:14.353Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T08:02:14.355Z 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(0xc000065400) /usr/local/go/src/runtime/os_linux.go:160 +0x1be runtime.newm1(0xc000065400) /usr/local/go/src/runtime/proc.go:2144 +0xdd runtime.newm(0xa325a0, 0xc00002f000, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc00021c180) /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(0x7fa6da8a9f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00024c080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc00024c080, 0x619b4a4ee8dca01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0002008d0, 0x62f9fdc0, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0002008d0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000250000, 0xab76f0, 0xc0002008d0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0002008d0, 0xc000250000, 0x0, 0x0, 0xaaf020, 0xc00008cd20, 0x0, 0xd8) /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, 0xc00008cd20, 0x0, 0x0) /go/pkg/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, 0xc00008cd20) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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 40 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7fa6da827a58, 0xc000206500, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00020aa10, 0x7fa6da827a58, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7fa6da827a58, 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, 0x7fa6da827a58, 0xc000206500, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0002500e0, 0xc000278000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000210b70, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc000250000, 0xab7900, 0xc0002500e0, 0xc000278000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000262000, 0xab8818, 0xc0002182c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 41 [IO wait]: internal/poll.runtime_pollWait(0x7fa6da8a9e30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc00024c118, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc00024c100, 0xc000210e21, 0x1, 0x1, 0x461f80, 0x461f80, 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 43 [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 44 [runnable]: net/http.(*Transport).connectMethodForRequest(0xc00021a000, 0xc0000ab400, 0xa32200, 0x1, 0xffffffffffffffff, 0x120, 0xc000238240, 0x1007fa7015335b8, 0xc000238240, 0x0) /usr/local/go/src/net/http/transport.go:826 net/http.(*Transport).roundTrip(0xc00021a000, 0xc000278100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:569 +0x733 net/http.(*Transport).RoundTrip(0xc00021a000, 0xc000278100, 0xc00021a000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000278100, 0xaaf4e0, 0xc00021a000, 0x0, 0x0, 0x0, 0xc0002120b0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000210570, 0xc000278100, 0x0, 0x0, 0x0, 0xc0002120b0, 0x0, 0x1, 0xc000278100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000210570, 0xc000278100, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/client.go:717 +0x45f net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:585 main.(*Exporter).collect(0xc00021e000, 0xc000204780, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 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 20 [runnable]: internal/poll.(*fdMutex).rwlock(0xc000083380, 0x1, 0x0) /usr/local/go/src/internal/poll/fd_mutex.go:117 +0x16b internal/poll.(*FD).readLock(...) /usr/local/go/src/internal/poll/fd_mutex.go:221 internal/poll.(*FD).Read(0xc000083380, 0xc000127000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:143 +0x5a os.(*File).read(...) /usr/local/go/src/os/file_posix.go:31 os.(*File).Read(0xc0002120c0, 0xc000127000, 0x1000, 0x1000, 0xab0500, 0xd9bee8, 0x1000000000000) /usr/local/go/src/os/file.go:117 +0x77 bufio.(*Scanner).Scan(0xc0001ff788, 0x13) /usr/local/go/src/bufio/scan.go:214 +0xa9 github.com/prometheus/procfs.Proc.Limits(0x66977, 0xa05a30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /go/pkg/mod/github.com/prometheus/procfs@v0.6.0/proc_limits.go:100 +0x1d9 github.com/prometheus/client_golang/prometheus.(*processCollector).processCollect(0xc00008c9b0, 0xc000204780) /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(0xc00008c9b0, 0xc000204780) /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-15T10:17:06.107Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T10:17:06.107Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T10:17:06.107Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T10:17:06.107Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T10:17:06.107Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T10:17:06.108Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000020001) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0xc000102780) /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(0x7ffb70b2cf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc000128100, 0xfcef6095ea6c401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc0001173b0, 0x62fa1d28, 0xc0000f1b48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001173b0, 0xc0000f1b98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc00028c000, 0xab76f0, 0xc0001173b0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc0001173b0, 0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00028c000, 0x0, 0x0, 0xaaf020, 0xc000206230, 0x0, 0x0) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:188 +0x105 main.main() /app/apache_exporter.go:635 +0xc8a goroutine 24 [chan receive]: main.main.func1(0xaaf020, 0xc000206230) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 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 28 [runnable]: runtime.Gosched(...) /usr/local/go/src/runtime/proc.go:292 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00008c960, 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(0x7ffb70b6c298, 0xc000134780, 0xc000144100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00011be30, 0x7ffb70b6c298, 0xc000134780, 0xc000144100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7ffb70b6c298, 0xc000134780, 0xc000144100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0001235c0, 0x7ffb70b6c298, 0xc000134780, 0xc000144100) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc00028c0e0, 0xc000144100) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000123740, 0xab7900, 0xc00028c0e0, 0xc000144100) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc00028c0e0, 0xc000144100) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc00028c000, 0xab7900, 0xc00028c0e0, 0xc000144100) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc00014eaa0, 0xab8818, 0xc000148440) /usr/local/go/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(0x7ffb70b2ce30, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc000128198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000128180, 0xc0001239f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000128180, 0xc0001239f1, 0x1, 0x1, 0x461f80, 0x461f80, 0xc000132960) /usr/local/go/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000120170, 0xc0001239f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:183 +0x91 net/http.(*connReader).backgroundRead(0xc0001239e0) /usr/local/go/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(0xc000128000, 0xc000132ba0) /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]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000146280, 0xc000132ba0, 0xc000132c00) /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, 0x7ffb977f65b8) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc00015e280) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc00015e390, 0xc0002a2660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc00015e280, 0xc000144200, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc00015e280, 0xc000144200, 0xc00015e280, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc000144200, 0xaaf4e0, 0xc00015e280, 0x0, 0x0, 0x0, 0xc000120180, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc000123140, 0xc000144200, 0x0, 0x0, 0x0, 0xc000120180, 0x0, 0x1, 0xc000144200) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc000123140, 0xc000144200, 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(0xc000160690, 0xc000132ba0, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc000160690, 0xc000132ba0) /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 [waiting]: runtime.ReadMemStats(0xc0001d4000) /usr/local/go/src/runtime/mstats.go:473 +0x36 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000128000, 0xc0001d4000, 0xc00008e120) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:286 +0x38 created by github.com/prometheus/client_golang/prometheus.(*goCollector).Collect /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:285 +0xa9 [ OK ] level=info ts=2022-08-15T13:17:15.946Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T13:17:15.947Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T13:17:15.947Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T13:17:15.947Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T13:17:15.947Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T13:17:15.947Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000071f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f25da409f18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000ba098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000ba080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000ba080, 0xe93bf29eb0dc4a01, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8e8, 0x62fa4794, 0xc00020bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8e8, 0xc00020bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000be000, 0xab76f0, 0xc00000c8e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8e8, 0xc0000be000, 0x0, 0x0, 0xaaf020, 0xc000148dc0, 0x0, 0xd8) /go/pkg/mod/github.com/prometheus/exporter-toolkit@v0.7.0/web/tls_config.go:196 +0x1b0 github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc0000be000, 0x0, 0x0, 0xaaf020, 0xc000148dc0, 0x0, 0x0) /go/pkg/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 8 [chan receive]: main.main.func1(0xaaf020, 0xc000148dc0) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a goroutine 12 [runnable]: net/url.getscheme(0x7ffdb3bf9ef8, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/url/url.go:431 +0x174 net/url.parse(0x7ffdb3bf9ef8, 0x28, 0x100, 0x7ffdb3bf9ef8, 0x28, 0x0) /usr/local/go/src/net/url/url.go:528 +0x114 net/url.Parse(0x7ffdb3bf9ef8, 0x28, 0xa32218, 0x1, 0xffffffffffffffff) /usr/local/go/src/net/url/url.go:478 +0x85 net/http.NewRequestWithContext(0xab87a8, 0xc000138058, 0xa04fba, 0x3, 0x7ffdb3bf9ef8, 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(0xc000096000, 0xc0001a0240, 0x0, 0x0) /app/apache_exporter.go:284 +0x85 main.(*Exporter).Collect(0xc000096000, 0xc0001a0240) /app/apache_exporter.go:578 +0x9a github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 38 [runnable]: runtime.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(0x7f25da37e0a8, 0xc000180230, 0xc0001ca000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00008ea10, 0x7f25da37e0a8, 0xc000180230, 0xc0001ca000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f25da37e0a8, 0xc000180230, 0xc0001ca000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc0000909f0, 0x7f25da37e0a8, 0xc000180230, 0xc0001ca000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0001d8000, 0xc0001ca000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc000090b70, 0xab7900, 0xc0001d8000, 0xc0001ca000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0001d8000, 0xc0001ca000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000be000, 0xab7900, 0xc0001d8000, 0xc0001ca000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc0001b8000, 0xab8818, 0xc0001bc000) /usr/local/go/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 [runnable]: net/http.(*connReader).backgroundRead(0xc0001900f0) /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 40 [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 41 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0001ba040, 0xc0001a0240, 0xc0001a02a0) /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]: time.NewTimer(0x3b9aca00, 0xc000116ee0) /usr/local/go/src/time/sleep.go:86 github.com/prometheus/client_golang/prometheus.(*goCollector).Collect(0xc000196000, 0xc0001a0240) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/go_collector.go:311 +0x62c github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:446 +0x12b created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/registry.go:538 +0xe4d goroutine 43 [runnable]: github.com/prometheus/client_golang/prometheus.(*goCollector).Collect.func1(0xc000196000, 0xc000199800, 0xc0001d40c0) /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-15T16:17:14.989Z caller=apache_exporter.go:606 msg="Starting apache_exporter" version="(version=0.11.0, branch=HEAD, revision=f4fd9dd7e9672fda120a3085f224431550baf2a7)" level=info ts=2022-08-15T16:17:14.990Z caller=apache_exporter.go:607 msg="Build context" build="(go=go1.16.10, user=root@59af51684ea1, date=20211205-05:28:44)" level=info ts=2022-08-15T16:17:14.990Z caller=apache_exporter.go:608 msg="Starting Server: " listen_address=:9117 level=info ts=2022-08-15T16:17:14.990Z caller=apache_exporter.go:609 msg="Collect from: " scrape_uri=http://localhost/whm-server-status/?auto level=info ts=2022-08-15T16:17:14.990Z caller=apache_exporter.go:613 msg="listening and wait for graceful stop" level=info ts=2022-08-15T16:17:14.990Z 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, 0xc000031800, 0x8) /usr/local/go/src/runtime/proc.go:2123 +0xa6 runtime.startm(0x0, 0xc000113f01) /usr/local/go/src/runtime/proc.go:2378 +0xe5 runtime.wakep() /usr/local/go/src/runtime/proc.go:2477 +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(0x7f118587bf18, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:227 +0x55 internal/poll.(*pollDesc).wait(0xc0000c2098, 0x72, 0x0, 0x0, 0xa07b6f) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000c2080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:401 +0x212 net.(*netFD).accept(0xc0000c2080, 0x841e08c431c5c401, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00000c8b8, 0x62fa71c4, 0xc00018bb48, 0x4cf3e6) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00000c8b8, 0xc00018bb98, 0x18, 0xc000000180, 0x6b21fb) /usr/local/go/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc0000c6000, 0xab76f0, 0xc00000c8b8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2961 +0x285 github.com/prometheus/exporter-toolkit/web.Serve(0xab76f0, 0xc00000c8b8, 0xc0000c6000, 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(0xc0000c6000, 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 7 [chan receive]: main.main.func1(0xaaf020, 0xc000220320) /app/apache_exporter.go:614 +0x15b created by main.main /app/apache_exporter.go:612 +0xb9a 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 11 [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(0x7f11857f1a58, 0xc00008c500, 0xc0000ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/http.go:126 +0x99 net/http.HandlerFunc.ServeHTTP(0xc00009aa10, 0x7f11857f1a58, 0xc00008c500, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1(0x7f11857f1a58, 0xc00008c500, 0xc0000ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:40 +0xab net/http.HandlerFunc.ServeHTTP(0xc00009c9f0, 0x7f11857f1a58, 0xc00008c500, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1(0xab7900, 0xc0000c60e0, 0xc0000ec000) /go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/promhttp/instrument_server.go:101 +0xdf net/http.HandlerFunc.ServeHTTP(0xc00009cb70, 0xab7900, 0xc0000c60e0, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2049 +0x44 net/http.(*ServeMux).ServeHTTP(0xde0aa0, 0xab7900, 0xc0000c60e0, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2428 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000c6000, 0xab7900, 0xc0000c60e0, 0xc0000ec000) /usr/local/go/src/net/http/server.go:2867 +0xa3 net/http.(*conn).serve(0xc000020140, 0xab8818, 0xc00009e2c0) /usr/local/go/src/net/http/server.go:1932 +0x8cd created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2993 +0x39b goroutine 12 [runnable]: net/http.(*connReader).backgroundRead(0xc00009ce10) /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 13 [runnable]: fmt.(*ss).doScan(0xc00013f080, 0xc0000dd6b8, 0x16, 0x16, 0x0, 0x0, 0x0) /usr/local/go/src/fmt/scan.go:1070 +0x1bc fmt.Fscan(0xaaed20, 0xc0001eaab0, 0xc0000dd6b8, 0x16, 0x16, 0x1, 0x16, 0x10) /usr/local/go/src/fmt/scan.go:123 +0xb9 github.com/prometheus/procfs.Proc.Stat(0x1556d, 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(0xc000148960, 0xc000082840) /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(0xc000148960, 0xc000082840) /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 14 [runnable]: github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc000022220, 0xc000082840, 0xc0000828a0) /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 15 [runnable]: syscall.Getenv(0xa0783c, 0x7, 0x0, 0x0, 0x0) /usr/local/go/src/syscall/env_unix.go:83 +0xbb os.Getenv(0xa0783c, 0x7, 0x40de10, 0x7f11ac501108) /usr/local/go/src/os/env.go:103 +0x4d net/http.(*Transport).onceSetNextProtoDefaults(0xc0000a0000) /usr/local/go/src/net/http/transport.go:362 +0x5f sync.(*Once).doSlow(0xc0000a0110, 0xc000116660) /usr/local/go/src/sync/once.go:68 +0xec sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 net/http.(*Transport).roundTrip(0xc0000a0000, 0xc0000ec100, 0x30, 0x9db900, 0xd) /usr/local/go/src/net/http/transport.go:503 +0x111c net/http.(*Transport).RoundTrip(0xc0000a0000, 0xc0000ec100, 0xc0000a0000, 0x0, 0x0) /usr/local/go/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc0000ec100, 0xaaf4e0, 0xc0000a0000, 0x0, 0x0, 0x0, 0xc00000e0c0, 0x203000, 0x1, 0x0) /usr/local/go/src/net/http/client.go:251 +0x454 net/http.(*Client).send(0xc00009c570, 0xc0000ec100, 0x0, 0x0, 0x0, 0xc00000e0c0, 0x0, 0x1, 0xc0000ec100) /usr/local/go/src/net/http/client.go:175 +0xff net/http.(*Client).do(0xc00009c570, 0xc0000ec100, 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(0xc0000a2000, 0xc000082840, 0x0, 0x0) /app/apache_exporter.go:291 +0x177 main.(*Exporter).Collect(0xc0000a2000, 0xc000082840) /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