hello Christoph, Christoph Berg [2012-11-26 15:37 +0100]: > - @options = ($pg_ctl, 'start', '-D', $info{'pgdata'}); > + @options = ('/usr/bin/numactl', '--interleave=all', $pg_ctl, 'start', > '-D', $info{'pgdata'});
I don't know what numactl does, so I cannot comment on whether it's a good idea to do this, and whether it's always safe to do. However, if you want to apply this, you need to check whether numactl is actually available. Preferably, call `which numactl` and use that path, and if that fails don't use it at all. It's in the "numactl" package which isn't installed by default. A more generic approach which would also allow strace, gdb, etc. is to add a new option --pg-ctl-prefix or environment variable $PG_CTL_PREFIX? Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature