schollz / find

High-precision indoor positioning framework for most wifi-enabled devices.
https://www.internalpositioning.com/
GNU Affero General Public License v3.0
5.05k stars 368 forks source link

too many open files #179

Open gulo-gulo opened 7 years ago

gulo-gulo commented 7 years ago

[GIN] 2017/10/01 - 22:16:42 | 200 | 12.639455ms | 10.0.1.94 | POST /track WARN : 2017/10/01 22:16:42 posterior.go:25: Not in network DEBUG: 2017/10/01 22:16:42 posterior.go:26: none false map[] {dangerousdog 347a60847f44 unknown 0 [{raspberrypi -41}]} open /Users/justin/tempfind/find/data/dangerousdog.db: too many open files

And the server stops running. any idea why this might be happening?

schollz commented 7 years ago

Try changing your ulimit:

ulimit -n 90000