LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-18-2013, 08:54 AM   #1
smilesourav
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Script getting aborted with exit code 19543


I have a script that downloads a huge file (~4gb) as part files. This script is called from within java thread. This script uses wget utility of linux to download the files. Suddenly the script exits abnormally with the error message "19543 Aborted /usr/bin/wget "

Once the script fails the thread sleeps off for 1 hour and when it wakes ups it again starts downloading. It keeps on downloading for around ~10 mins and again fails with the same error message.

The server from which it downloads, the resource management is fine and no issues with it. Also the CPU usage in the client from which the script runs is fine.

Not understanding why this failure is happening. Earlier the script used to download successfully from the same server with no issues.

It is downloading with 128kbps speed.
 
Old 02-18-2013, 11:04 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Is the client 32bit or 64bit?
32 bits (unsigned) = 4GB
 
Old 02-19-2013, 01:16 AM   #3
smilesourav
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
The machine is 64 bit on which the download is happening.
 
Old 02-19-2013, 02:27 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
What do you get if you run wget manually; show cmd & msgs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Catch exit code before pipe in bash script? prl77 Linux - General 4 05-24-2012 12:09 PM
[SOLVED] Want to retrieve exit code of one script into another prravin1 Programming 4 02-14-2012 05:01 AM
Find the exit code of a program from within a shell script?? yanom Programming 2 09-30-2011 11:47 AM
How do i run a part of code on exit in a shell script? saiteju Programming 2 05-14-2010 05:22 AM
script exit code to system() c function nemobluesix Programming 4 07-06-2009 05:56 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration