tidwall / tile38

Real-time Geospatial and Geofencing
https://tile38.com
MIT License
9.15k stars 570 forks source link

Too Many Open Files #371

Open mineofcode opened 6 years ago

mineofcode commented 6 years ago

114482018/10/22 02:52:04 [ERRO] accept tcp [::]:9851: accept4: too many open files 2018/10/22 02:52:04 [FATA] accept tcp [::]:9851: accept4: too many open files



| | | | | | Tile38 1.10.0 (206f499) 64 bit (amd64/linux) | | | Port: 9851, PID: 11448 |____ | | | | | tile38.com |____||

tile server gettings crashed after few minutes

amorskoy commented 6 years ago

It depends on your hardware, but generally, without any investigations: ulimit -n 100000

proelkady commented 6 years ago

i guess you have to increase your os limits, have a look at this https://easyengine.io/tutorials/linux/increase-open-files-limit/

mineofcode commented 6 years ago

Hooks keep opening grpc connection.

mineofcode commented 6 years ago

Have already added ulimt unlimited.

I m using grpc hooks and in that I'm getting this issue. Please help me to solve this thanks.

Also some time it's hang.

On Mon, Oct 22, 2018, 12:45 PM Mohamed Elkady notifications@github.com wrote:

i guess you have to increase your os limits, have a look at this https://easyengine.io/tutorials/linux/increase-open-files-limit/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tidwall/tile38/issues/371#issuecomment-431756651, or mute the thread https://github.com/notifications/unsubscribe-auth/AV0jtnNPjnmYhBJuzVERPk9SD5HnI7tOks5unXB4gaJpZM4XyyOb .

tidwall commented 5 years ago

@masagatech we're you able to resolve this issue?