Re: Re: issue when decoding large rar files over a long period of activity

Doug McLaren <[email protected]> Thu, 1 May 2003 13:43:07 -0500
Newsgroups gmane.network.ubh
Message-ID <[email protected]>
On Wed, Apr 23, 2003 at 02:00:45PM -0000, and3hm wrote:

| When downloading multiple large files (in my case an ISO image) 51 x 
| 15mb files UUENCODED or Yenc. The ubh process consumes all available 
| memory and will eventually crash/lock the server. 
| 
| Is this something I should just work around as Im using the Stable3 
| beta 3.01b version? Or is it just a bug?

I haven't tried ubh3 -- still using ubh2.  So maybe what I'm about to
say may not apply to ubh3, but I find this unlikely ...

ubh's decoders are really slow -- perl just isn't good at doing
bit-by-bit operations.  You can *greatly* increase decoding speed by
using uudeview to do the decoding -- seriously, it's like 10x as fast.

Here's the lines for the ubhrc --

   OPT_A = 1
   DECODER = uudeview -i -a -m -p %d %f

You can get uudeview at http://www.fpx.de/fp/Software/UUDeview/.

With these lines, it's pretty much a `drop-in' replacement for ubh's
internal decoders.  The only downside is that ubh does some logging in
it's decoding routines, so this won't be done.

Not only will it speed things up, but it'll insulate you from any
memory leaks in the decoding routines (ubh used to have some in it's
internal decoders, but I think that many of them have been fixed) --
the decoder process lasts only as long as it's needed, then it goes
away.

-- 
Doug McLaren, [email protected]
I used to think I was indecisive, but now I'm not so sure.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/KXUxcA/fNtFAA/uetFAA/IHFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/