Mailinglist Archive: opensuse (3263 mails)
| < Previous | Next > |
suse10.[23] beagle indexing automatically uses "ionice" if installed (was Re: [opensuse] Beagle under 10.3 is really eating up my CPU)
- From: Linda Walsh <suse@xxxxxxxxx>
- Date: Sat, 22 Dec 2007 15:17:00 -0800
- Message-id: <476D9AEC.9090906@xxxxxxxxx>
Aaron Kulkis wrote:
I just checked suse10.2 packages...
If you have the "ionice" program (/usr/bin/ionice) installed
under SuSE-10.3 OR -10.2, daily beagle indexing will automatically use it
to set the beagle-indexing process to lowest (idle) priority using
the command format "ionice -c 3". The relevant lines in file
/etc/cron.daily/beagle-crawl-system (fr suse10.3, beagle-0.2.12-28):
lines 65-70:
65 IONICE=`which ionice 2>/dev/null`
66 if [ -n "$IONICE" ]; then
67 IONICE="$IONICE -c 3"
68 fi
69
70 eval nice -n 19 $IONICE su -s /bin/bash $CRAWL_USER -c \"MONO_SH
ARED_DIR=$MONO_SHARED_DIR /usr/sbin/beagle-build-index --target /var/cache/b
eagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" > /dev/null 2>&1
71 fi
(don't know about 10.1, SLED, or 10.0 as I don't have those packages locally
accessible, but shouldn't be too hard for someone to verify)...
Linda
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
ah... ionice seems to be a new invention.---
I'll give it a try when I build a new system this month.
I just checked suse10.2 packages...
If you have the "ionice" program (/usr/bin/ionice) installed
under SuSE-10.3 OR -10.2, daily beagle indexing will automatically use it
to set the beagle-indexing process to lowest (idle) priority using
the command format "ionice -c 3". The relevant lines in file
/etc/cron.daily/beagle-crawl-system (fr suse10.3, beagle-0.2.12-28):
lines 65-70:
65 IONICE=`which ionice 2>/dev/null`
66 if [ -n "$IONICE" ]; then
67 IONICE="$IONICE -c 3"
68 fi
69
70 eval nice -n 19 $IONICE su -s /bin/bash $CRAWL_USER -c \"MONO_SH
ARED_DIR=$MONO_SHARED_DIR /usr/sbin/beagle-build-index --target /var/cache/b
eagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" > /dev/null 2>&1
71 fi
(don't know about 10.1, SLED, or 10.0 as I don't have those packages locally
accessible, but shouldn't be too hard for someone to verify)...
Linda
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |