Skip to content

MemGator crashes after an hour with moderate usage #137

@machawk1

Description

@machawk1

I am encountering an issue with my MemGator instance at https://aggregator.matkelly.com that has recently had an uptick in traffic with its deferral in Mink since the ODUCS MemGator instance has been down. I have not been able to isolate the problem but thought I might report it here.

I am running MemGator 1.0-rc8 on Debian 10 in a screen session with memgator -l /logs/memgator.log -b /logs/memgator.bm --contact=me@matkelly.com --spoof -t 10s -T 2m30s -r 3m0s -c "@machawk1" --proxy=https://aggregator.matkelly.com server

There does not appear to be any indication of a failure in the .log or .bm file but I can provide those if they would be helpful. Otherwise, the partial trace is below.

Caddy is being used as a reverse proxy.

...
bufio.(*Reader).ReadSlice(0xc0008f15c0, 0xc00038790a, 0x43c4df, 0xc0003879c0, 0x40bd06, 0xc00364ae00, 0x100)
        /opt/hostedtoolcache/go/1.14/x64/src/bufio/bufio.go:359 +0x3d
bufio.(*Reader).ReadLine(0xc0008f15c0, 0xc0003879c8, 0xc000032700, 0x7f3b78e18108, 0x0, 0x0, 0xc0005cf000)
        /opt/hostedtoolcache/go/1.14/x64/src/bufio/bufio.go:388 +0x34
net/textproto.(*Reader).readLineSlice(0xc00097a030, 0xc00364ae00, 0x0, 0x4350ac, 0xc000387a28, 0x0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/textproto/reader.go:58 +0x6c
net/textproto.(*Reader).ReadLine(...)
        /opt/hostedtoolcache/go/1.14/x64/src/net/textproto/reader.go:39
net/http.readRequest(0xc0008f15c0, 0x0, 0xc00364ae00, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/request.go:1015 +0xa4
net/http.(*conn).readRequest(0xc0002ca0a0, 0x7e3dc0, 0xc0020880c0, 0x0, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/server.go:966 +0x191
net/http.(*conn).serve(0xc0002ca0a0, 0x7e3dc0, 0xc0020880c0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/server.go:1822 +0x6d4
created by net/http.(*Server).Serve
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/server.go:2933 +0x35c

goroutine 4137 [select, 2 minutes]:
net/http.(*persistConn).writeLoop(0xc0004447e0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:1648 +0xc7b

goroutine 823 [IO wait]:
internal/poll.runtime_pollWait(0x7f3b5219f3c8, 0x72, 0xffffffffffffffff)
        /opt/hostedtoolcache/go/1.14/x64/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc00048ff98, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
        /opt/hostedtoolcache/go/1.14/x64/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
        /opt/hostedtoolcache/go/1.14/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00048ff80, 0xc0001c7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.14/x64/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc00048ff80, 0xc0001c7000, 0x1000, 0x1000, 0xc000176900, 0xc0000ccda8, 0xc0000ccc38)
        /opt/hostedtoolcache/go/1.14/x64/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00000e3f8, 0xc0001c7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc000011680, 0xc0001c7000, 0x1000, 0x1000, 0xc0000cceb0, 0x45edc0, 0xc0000cceb0)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc00018b4a0)
        /opt/hostedtoolcache/go/1.14/x64/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc00018b4a0, 0x1, 0x2, 0x0, 0x0, 0xc00005c100, 0x0)
        /opt/hostedtoolcache/go/1.14/x64/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000011680)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:1647 +0xc56

goroutine 3961 [select, 2 minutes]:
net/http.(*persistConn).readLoop(0xc000011200)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:2099 +0x99e
created by net/http.(*Transport).dialConn
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:1647 +0xc56

goroutine 3962 [select, 2 minutes]:
net/http.(*persistConn).writeLoop(0xc000011200)
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
        /opt/hostedtoolcache/go/1.14/x64/src/net/http/transport.go:1648 +0xc7b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions