I see Niklas and Sai are already helping you out but just in case ... Which version of Apache Ftpserver are you using? We had some issues with passive data transfers ( related to SSL connections). Are you using plain or SSL connections?
As Niklas said, netstat -an report would be of much help. You can of course "mask the ip-addresses" if you want to keep private information private :-) Still, if you saw something like thousands of connections in fin_wait2 status - it is clear that there's a problem somewhere ( In this case, I think you just need to upgrade to latest version). Depending on your FtpServer version, upgrading the Sun jvm to 1.6.12+ version couldalso be a solution for you. 2009/10/8 <a...@safe-mail.net>: > Hi. > > I have an issue with apache FtpServer. > It's set to use passive mode, and it looks like all of the ports are being > used, which stops any new connections from being connected and the whole ftp > server just hangs. If you try to connect it just reaches time out. > > Here what I get after this happens, in the log: > > [ INFO] 2009-10-08 09:04:44,347 [] [65.75.250.58] CREATED > [ INFO] 2009-10-08 09:04:44,753 [] [64.90.174.226] CREATED > [ INFO] 2009-10-08 09:04:45,284 [] [72.89.239.125] CREATED > [ INFO] 2009-10-08 09:04:45,909 [] [195.14.162.97] CREATED > [ INFO] 2009-10-08 09:04:47,018 [] [85.225.141.116] CREATED > [ INFO] 2009-10-08 09:04:47,909 [] [38.99.250.2] CREATED > [ INFO] 2009-10-08 09:04:48,268 [] [114.111.139.57] CREATED > [ INFO] 2009-10-08 09:04:48,972 [] [80.34.69.143] CREATED > [ INFO] 2009-10-08 09:04:49,456 [] [111.67.83.18] CREATED > [ INFO] 2009-10-08 09:04:49,472 [] [202.150.209.90] CREATED > [ INFO] 2009-10-08 09:04:49,472 [] [118.243.143.178] CREATED > [ INFO] 2009-10-08 09:04:49,550 [] [81.247.77.182] CREATED > [ INFO] 2009-10-08 09:04:49,768 [] [220.236.247.154] CREATED > [ INFO] 2009-10-08 09:04:50,347 [] [79.172.211.17] CREATED > [ INFO] 2009-10-08 09:04:50,550 [] [174.133.32.49] CREATED > [ INFO] 2009-10-08 09:04:50,565 [] [81.247.77.182] CREATED > [ INFO] 2009-10-08 09:04:51,612 [] [75.127.87.129] CREATED > > And it's just keeps going on like that. > > I have about 1000 connections every 5 minutes which creates about 35gb of > daily incoming traffic, so I think I'm hitting the limit of the apache > FtpServer. How can I avoid it? Is there a workaround? > > Also, since only one connection is allowed per port, is there a way to > virtually increase the number of ports to allow more simultaneous connections? > > Thanks. >