cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
227 Views
Registered: ‎09-28-2018

Linux hangs while unzipping gzip file

Using the Zynq board and Petalinux 2016.2, I'm making the following process.
1. get gzip file by ftp
2. unzip the gzip file
3. read the file data

When unzipping a gzip file placed in home/root,
Linux sometimes hangs.

The larger the file size after unzip,
the more likely it is that Linux will hang.

Linux may hang even if the file size after unzip is about 30MB,
and the probability increases further if it exceeds 200MB.

When I checked the free memory with the "df -Th" and "free" command,
I got the following result.

 

devtmpfs devtmpfs 367.6M 0 367.6M 0% /dev
tmpfs tmpfs 377.0M 20.0K 377.0M 0% /run
tmpfs tmpfs 377.0M 16.0K 377.0M 0% /var/volatile


total used free shared buffers
Mem: 772148 35692 736456 6816 0
-/+ buffers: 35692 736456
Swap: 0 0 0


What could be causing this hang?

Could you tell me what to be careful about when handling large files on Linux on Zynq board?

Thank you.

0 Kudos
Reply
0 Replies