Perlfect Solutions
 

[Perlfect-search] Re: Processor usage

Webmaster@YourMaine.Com webmaster@yourmaine.com
Fri, 26 Oct 2001 11:07:15 -0400
Thanks, but I'm running Win2k, and have cut it back to only do the indexing
once a day at about 3:00am.

Regards,

Mike

----- Original Message -----
From: "Cameron Moore" <lists@toad.bitstreet.net>
To: <perlfect-search@perlfect.com>
Sent: Thursday, October 25, 2001 2:47 PM
Subject: [Perlfect-search] Re: Processor usage


> On Aug 24, 2001, Mike Achenbach posted a message[1] saying that the
> indexer was hogging his CPU.  I simple fix is to add this to the top of
> your indexer.pl script:
>
>   use POSIX qw(nice);
>   nice 20;
>
> That will renice the process to be less of a hog on a Linux box.  Other
> unices may have a different nice scale, and Win32 may not even support
> it, so check your system for more details.  Thanks
>
> [1] http://perlfect.com/pipermail/perlfect-search/2001-August/000813.html
> --
> Cameron Moore
> / The other day, I went to a tourist information booth and asked, \
> \  "Tell me about some of the people who were here last year".    /
> _______________________________________________
> perlfect-search mailing list
> perlfect-search@perlfect.com
> To unsubscribe, set other personal options or view the list archives
please visit:
> 
>