Opened 13 years ago

Closed 10 years ago

#7419 closed Bug report (fixed)

Memory leak under load on x64 system

Reported by: barry.clarke@speedwellweather.com Owned by:
Priority: normal Component: FileZilla Server
Keywords: Memory leak Cc: shengqiu1@…
Component version: Operating system type: Windows
Operating system version: Windows Server 2008 SP2 x64

Description

Host:
Windows Server 2008 SP2 x64

Version:
FileZilla Server 0.9.39

Issue:
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.

Observations:
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.

thanks!

Attachments (1)

ftpit.zip (353 bytes ) - added by barry.clarke@speedwellweather.com 13 years ago.

Download all attachments as: .zip

Change History (4)

by barry.clarke@speedwellweather.com, 13 years ago

Attachment: ftpit.zip added

comment:1 by sqiu, 13 years ago

Cc: shengqiu1@… added

have you tested on win 32 platform? I tested this version on XP had not found any memory leak issue.

comment:2 by sqiu, 13 years ago

Yep... You have tested it on a 32bit machine. Maybe you can try disabling the log. I also found the logging can lead to memory problem.

comment:3 by Tim Kosse, 10 years ago

Resolution: Nonefixed
Status: newclosed

Some memory leaks have been fixed in recent versions. Please update to the most recent version of FileZilla Server.

Note: See TracTickets for help on using tickets.