On 18/12/2009 15:08, Timo Sirainen wrote:
We have something in the region of 1000 concurrent connections and login_max_processes_count * login_max_connections = 128 * 256 should be enough for 32000+ of them!
Would it be better to have login_max_connections = 1024 (or even higher)?
Yes. If you have only one CPU/core you shouldn't have more than 2 login processes.
I'm also confused as to why we never saw the problem on the Solaris box (with more connections as it was during term time).
It was probably doing a better job than Linux of distributing connections to processes.
Ah! That makes sense, as the Solaris box had four processors and 4 * 256 would have probably been enough most of the time. It wouldn't surprise me if the Solaris kernel is better at this as well.
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094