Hi,

On Jun 17,  2:43pm, Kapil Hari Paranjape wrote:
> Once you have killed the process it is not really using anything
> except possibly keeping some swap space tied up.

_If_ it got killed. But it did not. Take a look at that snippet from top, it
was RUNNING and eating 100% CPU. This was AFTER sending several SIGKILLs to
it. The only thing that helped was rebooting the machine.

Additional note: I checked my system stats to find out that 100% of CPU used
was used in kernel space. So I guess it might be kernel bug as well.

> 1. The upstream author does not consider this as a bug in the program.

Becoming an unkillable CPU eater is not a bug? I certainly not think so!

> 2. The problem is with the way index++ is invoked by a cron job which

For reference, it was not invoked from cron job, it was invoked from
debian-policy's postinst script. So it's not specific to dwww's cronjob.

> in turn is installed by "dwww" and not by "swish++". As a crude
> example, you could start a cron job invoking the script
>       #!/bin/sh
>       while true do
>               {put any time consuming program here}
>               sleep 1
>       done
> This may eat up some resources but you could not count it as a bug in

Yeah, this eats a lot of resources, but I can kill it.

> 3. The problem is that the default configuration for "swish++"
> cannot anticipate all the different contexts in which it is run.
>       (a) Someone running an indexing service for a library may not
>       want to limit resources and will be happy if the job takes
>       a week but produces a complete index.
>       (b) On the other hand someone wanting to setup an index for
>       e-mail may not want to wait that long.

I'm afraid the problem here is not that it eats a lot of CPU cycles, but that
one cannot kill it. This has nothing to do with different usage contexts and
don't think different configuration will help.

Kind regards,

        Pawel

-- 
 (___)  | Pawel Wiecek ----------------- Coven / Svart --------------------- |
< o o > |  http://www.coven.vmh.net/    <[EMAIL PROTECTED]>    GSM: 
+48603240006 |
 \ ^ /  | GPG/PGP info in message headers  *  [ Debian GNU/Linux developer ] |
  (")   |    Night is so beautiful (we need her as much as we need Day).  -B |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to