Messages in this thread | | | Date | Sat, 24 Jan 2009 00:11:33 +0100 | From | Peter Palfrader <> | Subject | Re: 2.6.28, rlimits, performance and debian etch |
| |
On Fri, 23 Jan 2009, David Daney wrote:
> The real solution is to convert your user space programs to use the new > syscalls that allow for race-free setting of close-on-exec. Then you no > longer need to mess around with iterating over these things.
It's python's popen2 implementation that does that for us. At least for python2.4 and 2.5.
In our particular case moving away from calling external tools and doing more within the scripts themselves brought a real speedup, but it's probably not just us :)
-- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The universal http://www.palfrader.org/ | `. `' Operating System | `- http://www.debian.org/
| |