Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-16-2006, 01:44 AM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,450

Rep: Reputation: 85
Unhappy 7za is causes the computer to freeze

Every time I run 7za to try to compress these files, my computer freezes, and I have to reboot. That happened many times. I can not move my mouse for a long time. Below shows that I tried creating many 7z files, but my computer crashed before they could be finished. Someone asked me if my computer crashed or if my cpu was just running at 100%. I don't know. I couldn't move my mouse for a while, so I restarted the computer.

ubuntu@ubuntu:~/Desktop/A$ ls -lh
total 37G
-rw-r--r-- 1 ubuntu ubuntu   32 2006-08-15 16:04 archive.7z
-rw-r--r-- 1 root   root    12M 2006-08-15 02:56 archive.7z.tmp
-rw-r--r-- 1 ubuntu ubuntu    6 2006-08-15 02:32 foo
-rw-r--r-- 1 ubuntu ubuntu  113 2006-08-15 02:34 foo.7z
-r--r--r-- 1 ubuntu ubuntu 2.4G 2006-07-23 00:31 Music2.tar
-rw-r--r-- 1 ubuntu ubuntu 7.1M 2006-08-15 16:13 Music2.tar.7z
-r--r--r-- 1 ubuntu ubuntu 358M 2006-07-23 00:21 Music3.tar
-r--r--r-- 1 ubuntu ubuntu  13G 2006-07-25 10:27 S2_1.tar
-r--r--r-- 1 ubuntu ubuntu 8.9G 2006-07-25 10:27 S2_1.tar.bz2
-rw------- 1 root   root   2.9G 2006-08-15 02:56 S2_2.tar
-r--r--r-- 1 ubuntu ubuntu 9.5G 2006-07-25 19:32 S2_2.tar.bz2
I am using a command from one of the examples in the man page for 7za because I do not understand all of the options. I am using this.
       7za a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1
              adds all files from directory "dir1" to archive archive.7z using "ultra settings"

       -t7z   7z archive

              lzma method

       -mx=9  level of compression = 9 (Ultra)

              number of fast bytes for LZMA = 64

              dictionary size = 32 megabytes

       -ms=on solid archive = on
The difference is that I am not compressing a directory like that example. I do want to use these.

       -t7z   7z archive

              lzma method

       -mx=9  level of compression = 9 (Ultra)
I am not sure what the other options are for, and if I need them, but I've been using them.

Last edited by fakie_flip; 08-16-2006 at 01:47 AM.
Old 08-16-2006, 10:41 PM   #2
Registered: Mar 2006
Location: Redmond, WA
Distribution: FC4, WinXP Pro
Posts: 37

Rep: Reputation: 15
Which files are you trying to compress? How big are they? Some of the files from that ls command are very large.

Could you show the exact command you're trying to compress with? That way someone else can more easily figure out what's wrong.

What kind of terminal are you running 7za in? xterm? gnome-terminal? konsole? virtual terminal?

If you run the 7za command as a different user with less access, it shouldn't be possible to lock up your mouse, but if the computer has low enough resouces, it might anyway. You could try using the nice command to limit the CPU usage.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between 7z and 7za? fakie_flip Linux - Software 4 06-16-2011 04:52 AM
solutions for computer freeze? bobbens Debian 3 10-20-2005 05:10 AM
Computer Freeze notres SUSE / openSUSE 3 12-16-2004 09:43 PM
Computer freeze on logout jaguar7 Linux - General 2 11-30-2003 06:55 AM
screen saver=computer freeze newbe45 Linux - General 2 08-11-2003 12:53 AM

All times are GMT -5. The time now is 04:57 PM.

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