Re: Bug#67481: Should a package increase a kernel parameter? (Re: Bug#67481)
Andrew McMillan wrote:
>Correct me if I'm wrong, but I think the shmmax parameter is actually
>setting the maximum size. If I run two PostgreSQL postmasters with
>lot's of buffers they won't need A + B they'll need MAX(A,B).
I don't see that. Two postmasters (and two databases, therefore) will
require separate chunks of shared memory, so surely it will be A + B.
shmax is indeed the maximum, but it has to provide sufficient for all
simultaneous demands, so it will be A + B +...+N.
The kernelparm package would have to add up the requirements from
each package and provide the maximum, subject to override by user-edited
parameters -- the sysadmin may know or decree that foo and bar will
not run simultaneously.
>Now, if only I could get through New Maintainer I could even build such
>a beast :-)
I'll sponsor it while you wait...
--
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
========================================
"Behold, what manner of love the Father hath bestowed
upon us, that we should be called the sons of God..."
I John 3:1
Reply to: