Dear Moodlers,
I would like to share with you a problem that we faced during an exam on Moodle
We are using the LMD
- Moodle 3.1 (Postgresql 9.2.2; PHP Version 5.5.26) with
- Server RedHatEnterpriseServer 5.3 Tikanga (Apache/2.2.4) RAM 8GB; CPU 3,07 GHz
We've faced a problem during the exam and in the log file we noticed that on
[Fri Jan 13 08:31:57 2017] [error] [client 172.17.34.16] PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: sorry, too many clients already in /usr/local/apache2/htdocs/moodle2.2/lib/dml/pgsql_native_moodle_database.php on line 159, referer: https://moodle.usj.edu.lb/mod/quiz/attempt.php?attempt=82596
The max_connection of PostgreSQL is set to 100,
Does it mean that I can only have a quiz of 100 students at the same time ?
If this is the case, what is the best number of max_connection with my server's specifications?
Many Thanks.
Mario.