solaris or linux sftp/ftp-server

Hi,

we have a big problem,

history:
we migrated our companies ftp and sftp-server, which were vsftp and openssh, to one server, software is called JSCAPE ftp server professional edition
for the first time everything was great, but after one or two months, our uploads hang, 0 byte files are created, very very slow uploads in comparison to openssh, users are dying, means they can't log in from one moment to another and must be recreated, and so on
new installs on the same machine or other machines with different operating systems leaded to the same troubles after a period of time
support is doing nothing, response time up too one! week
so we must go away from this product

we need a sftp/ftp server with centralized user management, having an chroot environment, (I don't mean something like jailkit, copying needed binarys, special files and /etc files to a subfolder, I mean a real chroot like vsftp or proftp provide, eg. the user must not change above his ftp home directory)
an admin should be able to choose sftp/ftp or both for every user
filesystem quotas for ftp and sftp

platform can be linux/bsd/solaris x86 or sparc solaris,

does anyone know such a product, open source or not? or a way to configure basic tools like openssh, vsftp like that?

I really need your help guys!

thanks in advance

funksen

Anything else being "slowed" down?
(FIN_WAIT type issue?)

hi vbe,

just sftp and ftp over jscape, ftp and sftp over os openssh and ftpd are working fine

same through firewall and in the same subnet

the main problem are hanging uploads, resulting in 0 byte files

Might sound silly...
Have you tried rebooting the server? Has no effect?
Is it using java stuff (possible issue with j garbage collector?)

I've rebooted the systems several times ( was running on sparc sol 10, then centos 5.3)

the ftp-server is completely written in java, should have known that it MUST give trouble with a java ftp server ^^

the garage collector runs every few seconds
I've written a script, running in cron, uploading files and logging times

091002095201 22                                                                                                                                                                                                    
091002095301 5                                                                                                                                                                                                     
091002095401 3                                                                                                                                                                                                     
091002095501 16                                                                                                                                                                                                    
091002095601 6                                                                                                                                                                                                     
091002095701 42                                                                                                                                                                                                    
091002095801 2                                                                                                                                                                                                     
091002095901 2                                                                                                                                                                                                     
091002100001 22                                                                                                                                                                                                    
091002100101 5
091002100201 6
091002100301 1
091002100401 4
091002100501 5
091002100601 2
091002100701 3
091002100801 24
091002100901 3
091002101001 2
091002101101 3
091002101201 11
091002101301 7
091002101401 7
091002101501 4
091002101601 2
091002101701 1
091002101801 2
091002101901 6
091002102001 3
091002102101 9
091002102201 1
091002102301 4
091002102401 2
091002102501 2
091002102601 6
091002102701 7
091002102801 5
091002102901 1
091002103001 2
091002103101 2
091002103201 3
091002103301 2
091002103401 8
091002103501 10
091002103601 2
091002103701 2
091002103801 5
091002103901 3
091002104001 33
091002104101 1
091002104201 5
091002104301 6
091002104401 6
091002104501 1
091002104602 1
091002104701 2
091002104801 7

timestamp on the left, seconds needed on the right
it's always the same 2mb file

could it be when the OS flushes its buffers? ( And so need to reduce the size of file cache?... ( happens when cache exceed the GBs (>3GB the symptoms becomes noticeable ), when it synces, the server behaves like MS... you wait to se your cursor move etc...)

---------- Post updated at 17:05 ---------- Previous update was at 17:03 ----------

or java running out of resources?

Humm, the requirement for user quotas negates the ability to go the usual virtual users/PAM/database route. What made you move away from vsftpd and openssh?

By the way here is a sofware we use:
Action Soft (Fr)

thank you vbe and fpmurphy for your answers

@vbe
java has enough resources, 4gb for an ftp-server should be enough, maximum of 10 concurrent users
but I'll check this issue

and thanks for the tool, unfortunately it has no sftp support, just ftps

@fpmurphy
we moved because we wanted one single product with one administration interface.
vsftp was administrated from a http gui, mysql database, and openssh over local machine users. know that it's possible to use openldap for authentication for both, and perhaps we will do this

I've found another ftp-server that is capable of sftp with extension modules, the good old proftpd :slight_smile:

any experiences on this?

cheers funksen

Edit:
got another requirement, grml
users must be able to change their passwords, over http interface or ftp directly, site command or something like that

look into lftp

thanks, but seems like this is a client vgersh99

sorry - my bad.....