Sean-Der / fail2rest

REST server for fail2ban
107 stars 24 forks source link

fail2rest out of memory killed process #32

Open rcv211 opened 6 years ago

rcv211 commented 6 years ago

Hi,

I install fail2rest/fail2web on a centOS 7 and after I start fail2rest in anout a minute consume 4GB RAM and 4GB SWAP until process killed...

I follow the instructions on your site and use defauit config, I see it has only two options anyway...

Sean-Der commented 6 years ago

Well that is no good!

Does fail2rest consume memory even with no incoming HTTP requests? Are you trying to access fail2web during that minute, or is fail2rest just sitting idle?

What version of fail2ban and Go are you using?

If you feel comfortable with Go, this is the tool I would recommend to debug.

sorry for the wait! I will be quicker with response during the week

rcv211 commented 6 years ago

Hi, OS: Centos 7.4.1708 go version go1.8.3 linux/amd64 fail2ban 0.9.7

as long as I make one http request and even when I close the browser, the memory starts it's way up to consume all memory in a few seconds...

Regards