[Pkg-postgresql-private] Re: postgresql: sleep in startup script
Martin Pitt
martin@piware.de
Tue, 6 Jan 2004 18:14:36 +0100
--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi!
I'm currently walking over postgresql's bug list to clean up a bit.
Does anybody object against closing this bug? If so, I will tag it as
wontfix (see Oliver's explanation below), since this is not going to
be changed.
Otherwise I would like to close this bug.
Thanks and have a nice day!
Martin (package comaintainer)
On 2001-07-12 8:31 +0200, mverdier@chez.com wrote:
> Package: postgresql
> Version: 6.5.3-26
> Severity: wishlist
>=20
> /usr/lib/postgresql/bin/postgresql-startup is called from /etc/init.d/pos=
tgresql
> and has a "sleep 5" command at end. It slows boot process.
> Is this sleep really usefull ?
On 2001-07-12 11:18 +0100, Oliver Elphick wrote:
> mverdier@chez.com wrote:
> >Package: postgresql
> >Version: 6.5.3-26
> >Severity: wishlist
> >
> >/usr/lib/postgresql/bin/postgresql-startup is called from /etc/init.d/=
postgr
> >esql
> >and has a "sleep 5" command at end. It slows boot process.
> >Is this sleep really usefull ?
> =20
> It is designed to ensure that the postmaster has had time to start up bef=
ore
> it is called on to service requests. This is certainly necessary during
> the postinst and possibly at other times. If you remove or shorten the s=
leep
> you should make sure that no process tries to access the postmaster until=
it
> has finished initialising, which is some time after it has disconnected
> from the controlling terminal.
>=20
> --=20
> Oliver Elphick Oliver.Elphick@lfix.co.uk
> Isle of Wight http://www.lfix.co.uk/oliver
> PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
> GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> "Many, O LORD my God, are thy wonderful works which=20
> thou hast done, and thy thoughts which are for us..."=20
> Psalms 40:5=20
--=20
Martin Pitt Debian GNU/Linux Developer
martin@piware.de mpitt@debian.org
http://www.piware.de http://www.debian.org
--J/dobhs11T7y2rNN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQE/+uz6DecnbV4Fd/IRAjn4AKDm9G/8SDAlScjj8QY8vcLzyf1iqQCeJFFx
v+rYEbY/Lcc7zHfArs7kdKY=
=ty4q
-----END PGP SIGNATURE-----
--J/dobhs11T7y2rNN--