[Prev][Next][Index][Thread]

Re[2]: makewhatis



Ira Abramov <ira@scso.com> wrote:
>  On Wed, 28 Aug 1996, Evgeny Stambulchik wrote:
>  
>  > >  not to mention my uptime went up to 2.8! it greps, gawks, slices and
>  dices
>  > >  and leaves my server with no room to breath! is this natural?
>  > 
>  > It's not. I run makewhatis on boxes with 16MBsmoothly. Though, I do
>  remember
>  > someone mentioned it before. If I'm right, that was a binary version of
>  > makewhatis. On my systems, makewhatis is a perl script. If yours is the
>  perl
>  > script also, it should be possible to trace the problem down in the
>  debugging
>  > mode.
>  
>  Shell script! standard Picasso thing.
>  running it again as root now... silly me! I should have guessed it would
>  not write the DB when not running as root...
>  
>  
>  uptime
>    2:16am  up 3 days, 11:19,  2 users,  load average: 2.65, 1.77, 0.90
>  
>  not MUCH better...

Shell script?! Of course, it would make a load of 2-3, as any shell script
dealing with hundreds of files on per one basis. Although, I don't understand
what does it use such amounts of RAM for. I can send you perl version, if you
want.

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-9343-610  == | == FAX   : (972)8-9344-106 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny   |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________| 


References: