Visit Our UNIX and Linux User Community


solaris or linux sftp/ftp-server

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support solaris or linux sftp/ftp-server
# 1  
Old 10-01-2009
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
# 2  
Old 10-01-2009
Anything else being "slowed" down?
(FIN_WAIT type issue?)
# 3  
Old 10-01-2009
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
# 4  
Old 10-02-2009
Might sound silly...
Have you tried rebooting the server? Has no effect?
Is it using java stuff (possible issue with j garbage collector?)
# 5  
Old 10-02-2009
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

Code:
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

Last edited by funksen; 10-02-2009 at 05:54 AM..
# 6  
Old 10-02-2009
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?
# 7  
Old 10-02-2009
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?

Previous Thread | Next Thread
Test Your Knowledge in Computers #394
Difficulty: Medium
POSIX mandates 1024-byte default block sizes for the df and du utilities, reflecting the typical size of blocks on disks.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Sftp,[put] all files that are .csv to server. Linux Ubuntu

Hello all, I am trying to sftp files to a server, I am using keys as authentication and I can connect with no problems. I can also put a sample file on the server. When I tried to automate this process with a .sh file I get the "couldn't canonicalize: Failure". This is my script: sftp... (5 Replies)
Discussion started by: KidKoder
5 Replies

2. UNIX for Beginners Questions & Answers

How to ftp or sftp from workplace to UNIX server?

Hi All, Seeking for your assistance on how to ftp or sftp from workplace to unix server? i tried ftp user/pass but it says "command not found" i tried sftp user@localhost i can't connect. Please advise, Thanks, (1 Reply)
Discussion started by: znesotomayor
1 Replies

3. Linux

SFTP files to a server from Linux.

Hi, I am looking for a shell script to sftp to a file server and copy all the files from a directory after the script is run. The server name should be a user input parameter and of-course the username/password as well. Rest all should be handled by the script. I tried with below snippet:- ... (1 Reply)
Discussion started by: happysingh
1 Replies

4. UNIX for Dummies Questions & Answers

Changing from FTP to SFTP server

Hi everyone, I am having problems with changing a script (originally it is used to transfer file from an FTP server to another place). Now the company change the FTP to SFTP server, so I need to change the script accordingly. Basically, I have trouble with the log in authentication, here is the... (4 Replies)
Discussion started by: warmboy610
4 Replies

5. IP Networking

How to transfer files from UNIX server to windows machine or vice versa using ftp or sftp commands?

hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command.. thanks very much, (3 Replies)
Discussion started by: Little
3 Replies

6. Shell Programming and Scripting

Transfer files from linux server to windows using secure ftp (sftp)

HI, I have to transfer files from linux server to windows using secure ftp (sftp) .Kindly help me out. (3 Replies)
Discussion started by: manushi88
3 Replies

7. Shell Programming and Scripting

Using SFTP and FTP to transfer data from One Remote Server To Another

HI I need to write a script in 415univ server which should go to 534unix server and move the files from there to windows server. I am not able to get it bcoz sftp prompt is not allowing ftp command. Can some one plz help me Thanks in advance (3 Replies)
Discussion started by: himakiran9
3 Replies

8. Solaris

FTP Server on Solaris

Hi, For past couple of years I have managed FTP Server requirement in my org by configuring default ftp server that comes with Solaris. I am evaluating new 3rd party ftp server that runs on Solaris/Linux. I have zeroed down on jscape FTP server which works both on Solaris/Linux as per... (3 Replies)
Discussion started by: menonk
3 Replies

9. Shell Programming and Scripting

SFTP vs FTP and going UNIX to LINUX

I have automated an ftp process that FTP's files from one UNIX box to another in the following format: ftp -n -v $REMOTE_SERV << EOF user $FTP_USER $FTP_PASS cd $REMOTE_PATH put $CUR_NAME $NEW_NAME bye But how can I accomplish this SFTPing from a UNIX box to a LINUX box? I've seen... (4 Replies)
Discussion started by: TimBurke
4 Replies

10. UNIX for Dummies Questions & Answers

Linux ftp server

I have taken an old Pentium-75 Compaq with 32Mb memory, formatted the hard drive, and loaded Redhat 5.2 on it. All I really want is an ftp server to allow vendors to download files from it as they need them. I was told that these old pentiums with little memory would work well with Linux. The ftp... (2 Replies)
Discussion started by: kwalter
2 Replies

Featured Tech Videos