[Pkg-sysvinit-devel] speed of /etc/init.d/umountfs
Petter Reinholdtsen
pere at hungry.com
Sat Jan 26 13:13:45 UTC 2008
[Ralf Dreibrodt]
> 1/10 is wrong.
>
> We have at a bigger server 2418 entries in /proc/mounts.
>
> Sort needs 0,5 seconds. The above script needs about 1200 seconds.
>
> So the speed is 1/2400, which is very slow. Perhaps you can optimize this.
I agree with you that 1200 seconds way to slow. Any idea how to fix
it.
Depending on programs in /usr/ is not acceptable at that point of
shutdown, as it might be umounted already in umountnfs. :(
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list