Memory leak under load on x64 system
|Reported by:||email@example.com||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:||Windows Server 2008 SP2 x64|
Windows Server 2008 SP2 x64
FileZilla Server 0.9.39
Filezilla server process consumes an increasing amount of memory under load. On a busy system over few days to a week it eventually reaches 2GB of memory and ceases responding. A restart of the service resets usage to ~5MB, and growth begins again.
We have two instances of FZ server running on x64, a service system and a soon-to-be service system. So I have an opportunity if you can come up with tests to run.
It appears that each connection consumes a small amount of memory that is not released.
I am running the filezilla service under a domain account. switching to localsystem does not cure the issue.
This does not appear to happen on a 32-bit host machine we have that runs FZ server - this is an older version though and is not necessarily a fair test.
Over the last day or so I have had fun creating different types of load profiles. I've not been utterly scientific about this but have tested:
Single client instance repeatedly uploading/downloading 10MB file - little problem
Single client instance repeatedly uploading/downloading 10KB file - some leak
Multiple client instances repeatedly uploading/downloading 5Byte files - large leak.
Attached is a zipfile containing:
ftpit.cmd - the script I used to create the files and the parallel connections.
ftptest.txt - the ftp commands run to create activity (ftp-b is a cname to the server)
Open to suggestions/ideas/observations.