Package: swish++ Version: 6.1.5-1 Followup-For: Bug #459611
Testing the new package with 'rlimit'. Opinions & observations: 1) 'rlimit' should be executable and in the path. That way users don't have to keep track of it, and the packaging system will be able to find it, purge it, etc. 2) Even with the example given in README.Debian: FilterFile *.pdf rlimit -t 3600 -- pdftotext %f @%F.txt ...I don't understand how to use 'rlimit' to fix 'swish++' yet. Exactly which file should the user edit? What numbers should we feed it? (I see that "-t 3600" sets the CPU limit to 1 hour max; but how is one to know how much time is enough?) How might it affect other cron jobs, should I replace or delete any that already exist? 3) I agree with N. Ramsey; expecting users to cope with minutiae is adding another point of failure. 4) 'rlimit' as a pipe-ready 'ulimit' wrapper util seems like a good idea, and may be useful enough that it belongs in some other general purpose package. Perhaps its own package, or thrown in with 'moreutils', 'cpulimit', or something appropriate. 5) 'rlimit' is still rough around the edges: % rlimit --help exec: 22: help: not found ...and code like: [ -n "$cmd" ] || exit 0 Should the exit code be "0" if there's no command? Looks like an error, unless I missed the point. Calling '/bin/sh' might be unreliable, as different shells do 'ulimit' differently, i.e. more flags in 'bash' than 'dash', etc. 6) Some kind of 'rlimit' before/after benchmark or example, the kind that anyone can test, (not system critical), would be good. Thanks for writing this interesting little util. HTH... -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages swish++ depends on: ii libc6 2.7-8 GNU C Library: Shared libraries ii libstdc++6 4.2.2-4 The GNU Standard C++ Library v3 ii perl [perl5] 5.8.8-12 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime swish++ recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]