[SLE] how beagled is scheduled to run?
- From: 张韡武 <zhangweiwu@xxxxxxxxxx>
- Date: Mon, 31 Jul 2006 10:18:08 +0800
Hello. I have an X terminal server ... as perhaps everybody already
knows because I keep asking stupid questions... Sometimes beagled and
its related process (e.g. parse-metadata) suddenly come up and take
everybody by surprise by taking 100% CPU resource and slowing everything
down. This keeps 10 minutes and everybody decide to get a coffee.
Usually every user's beagled process start together.
I know how to shutdown beagled gracefully as it's easy to get this
knowledge on google. What I didn't find on google is how to change
scheduling of beagle and make sure beagled doesn't start in working
hour. If beagled wish to index some files, it should do it in the
evening, don't do it in working hour! Is it possible at all?
First I thought beagle is started by cron, but I am not sure if I should
remove beagle-crawl-system from cron.daily. I think perhaps beagled is
started as a per-user process but cron is used to manage system process.
Besides, removing beagle completely from cron is stupid, because beagle
is useful, it simply decided to work in wrong time.
Best approach: how about SuSE design it in this way? That "beagled only
starts if load average in the past 10 minute is lower then 0.5
(configurable)". This gives beagled a smart brain, it can even start
itself in launch time when noticed nobody used the desktop for a while.
--
锐业软服(国内业务) http://www.realss.cn
Real SoftService http://www.realss.com
销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German,
English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)
Attachment:
signature.asc
Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?=
- Follow-Ups:
- Re: [SLE] how beagled is scheduled to run?
- From: Joachim Schrod
- Re: [SLE] how beagled is scheduled to run?
- From: Jan Engelhardt
- Re: [SLE] how beagled is scheduled to run?
- Prev by Date: Re: [SLE] partition size ??
- Next by Date: Re: [SLE] screensaver in KDE
- Previous by thread: [SLE] New laptop -- which version?
- Next by thread: Re: [SLE] how beagled is scheduled to run?
- Index(es):