Skip to content

panic: too many open files #5

Open
@yitu2020

Description

@yitu2020

[GIN-debug] Listening and serving HTTP on :9033
panic: too many open files

goroutine 7 [running]:
main.checkErr(...)
/Users/mac/Desktop/goadmin-vue-example/backend/main.go:171
main.watch.func3(0xc00003a3e0, 0x15, 0x4f98bc0, 0xc0000b5ad0, 0x0, 0x0, 0x0, 0xc000062d48)
/Users/mac/Desktop/goadmin-vue-example/backend/main.go:154 +0xde
path/filepath.walk(0xc00003a3e0, 0x15, 0x4f98bc0, 0xc0000b5ad0, 0xc000062f88, 0x0, 0x0)
/usr/local/Cellar/go/1.13.5/libexec/src/path/filepath/path.go:362 +0xe3
path/filepath.walk(0xc0003c81c0, 0x11, 0x4f98bc0, 0xc0002a60d0, 0xc000062f88, 0x0, 0xc000056ee0)
/usr/local/Cellar/go/1.13.5/libexec/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc0003c81c0, 0x11, 0xc000056f88, 0xc0000cba40, 0xc0002644f0)
/usr/local/Cellar/go/1.13.5/libexec/src/path/filepath/path.go:404 +0xff
main.watch(0xc0003c81c0, 0x11, 0x4abb7c0, 0x5, 0x7ffeefbffa50, 0x7, 0x0)
/Users/mac/Desktop/goadmin-vue-example/backend/main.go:148 +0x219
created by main.main
/Users/mac/Desktop/goadmin-vue-example/backend/main.go:84 +0xd02

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