You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a VERY simple ftp server that is based on the MemDriver example. All the server is trying to do is accept PUTs from an authorized user and then putting the content of that file onto a RabbitMQ. It seems to do perfectly at first and then over time (and after a lot of people/bots trying to poke it) it will get to the point that it wont accept any connects and doesn't out put anything to the terminal until I hit a key and then all at once the terminal is filled with the log below
For context the server name is "customFTP to RabbitMQ":
Would love to hear any ideas! Happy to add more info on request, but I checked and we seem to be handling all the Close() calls for the various connections and the rest of the system seems stable, so I don't think it's a memory leak. For other context this is running on a windows server, not sure if that makes a difference! Thanks!
The text was updated successfully, but these errors were encountered:
mclark4386
changed the title
Stops
Stops accepting connections after a time.
Apr 21, 2021
I'm actually not running graval in production any more myself, so my knowledge is a bit rusty.
It definitely sounds like a resource exhaustion issue, even if it's not memory. I wonder what other resources you could monitor to see if they're growing unreasonably.
What about running goroutines, or maybe open TCP sockets.
or other context this is running on a windows server, not sure if that makes a difference
Sadly I haven't really used windows for a long time, so I'm not sure if it makes a difference. It might, although everything in graval should be pretty OS agnostic 🤔
We have a VERY simple ftp server that is based on the MemDriver example. All the server is trying to do is accept PUTs from an authorized user and then putting the content of that file onto a RabbitMQ. It seems to do perfectly at first and then over time (and after a lot of people/bots trying to poke it) it will get to the point that it wont accept any connects and doesn't out put anything to the terminal until I hit a key and then all at once the terminal is filled with the log below
For context the server name is "customFTP to RabbitMQ":
Would love to hear any ideas! Happy to add more info on request, but I checked and we seem to be handling all the
Close()
calls for the various connections and the rest of the system seems stable, so I don't think it's a memory leak. For other context this is running on a windows server, not sure if that makes a difference! Thanks!The text was updated successfully, but these errors were encountered: