AIX6: Getting Out of memory error during SFTP


 
Thread Tools Search this Thread
Operating Systems AIX AIX6: Getting Out of memory error during SFTP
# 1  
Old 12-12-2012
AIX6: Getting Out of memory error during SFTP

Hi all the gurus out there, I am trying to SFTP about 30000 small files (4MB each at most) but I'm getting "xrealloc: out of memory" error. Anyone encountered this before? I'm on AIX6.
# 2  
Old 12-12-2012
how you are doing the sftp ?

one by one ? or in single shot?
# 3  
Old 12-12-2012
AIX6: Getting Out of memory error during SFTP

Hi there, thanks for your reply. I'm doing it in a single sftp command.
# 4  
Old 12-12-2012
man sftp

Code:
     -R num_requests               Specifies  how  many  requests
                                   can  be outstanding at any one
                                   time.  Increasing   this   can
                                   slightly improve file transfer
                                   speed  but  increases   memory
                                   usage.  The default is 16 out-
                                   standing requests.

I guess, you can list all the get/put commands in one file, and use the -b option in sftp. It will put/get the files one by one.

Code:
 
 
     -b batchfile                  Batch mode reads a  series  of
                                   commands  from an input batch-
                                   file instead of  stdin.  Since
                                   it  lacks user interaction, it
                                   should be used in  conjunction
                                   with non-interactive authenti-
                                   cation. sftp aborts if any  of
                                   the  following  commands fail:
                                   get, rm, and lmkdir.

# 5  
Old 12-13-2012
AIX6: Getting Out of memory error during SFTP

Thanks dude. Will try and let you know the outcome. Thanks again.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Upgrade AIX 5.3 to AIX6.1

Dear Guys .. I'm going to Upgrade one of the servers AIX 6.1 I want to stop rootvg mirror to save the mirror then upgrade to AIX 6.1 this is to help me in rollback if something goes wrong but .. can anyone help me how to make sure that system is relay mirrored and how to know that second... (10 Replies)
Discussion started by: top.level
10 Replies

2. AIX

How many Core in AIX6 & AIX7?

How many Core in AIX6 & AIX7 .. Please guys I want commands to know how many Core in these two different version please i need exact command ? (2 Replies)
Discussion started by: top.level
2 Replies

3. AIX

NFS problem AIX6.1

Hello, I have a problem with an NFS file system. Both AIX servers are AIX6.1 and uses NFS version 3. The problem is that at some point the client server cannot connect to the NFS anymore and when i do df -k it displays the message NFS server <server> not responding still trying. i run the... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

4. AIX

Java7 installation for user in AIX6.1

Hello Team, We are trying to install Java7 for weblogic user in a particular location(not default /usr location). I have tried following method but no luck, Need your suggestion on this. Issue details : 1) smitty installp >> When trying this there is no option to relocate the... (4 Replies)
Discussion started by: gowthamakanthan
4 Replies

5. Shell Programming and Scripting

SFTP-how to log individual sftp command error while executing shell script

Hi, I have situation where i need to automate transferring 10000+ files using sftp. while read line do if ; then echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt fi done< files.txt sftp -b sftpCommand.txt stu@192.168.2.1 The above... (1 Reply)
Discussion started by: noobrobot
1 Replies

6. AIX

UnsatisfiedLinkError with Java1.6 in AIX6.1

Hi Folks, I'm facing the below error when loading my library on AIX6.1 java.lang.UnsatisfiedLinkError: marimba (A file or directory in the path name do es not exist.) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1013) at... (7 Replies)
Discussion started by: Bharath_M
7 Replies

7. UNIX for Dummies Questions & Answers

Permit sftp load /etc/profile on AIX6.1

Hi, I've set on /etc/profile: TMOUT=3600 readonly TMOUT It seems to work when I connect using ssh client, putty for example, but not when connect through sftp. What am I missing on sshd configuration? regards Israel. (2 Replies)
Discussion started by: iga3725
2 Replies

8. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

9. AIX

Setup DNS server on AIX6.1

I'm planning of setting up a DNS server on AIX 6.1. Could someone shed me some lights on the step-by-steps of how to set this up? Thanks. (2 Replies)
Discussion started by: famasutika
2 Replies

10. AIX

SFTP to AIX6.1 EFS

Hello all, my first post so please be gentle! I have 2 x AIX 6.1.4.0 environments, one has EFS enabled and the other does not. I have installed SSH & SSL on both systems, and configured SFTP using SSL authentication between both boxes: openssh.base.client 5.2.0.5300 COMMITTED Open Secure... (3 Replies)
Discussion started by: PJMCK
3 Replies
Login or Register to Ask a Question