D
D
Dmitry Khaperets2014-02-12 22:12:36
PostgreSQL
Dmitry Khaperets, 2014-02-12 22:12:36

Why do I get an error when running PHPUnit tests (~260) on the server?

When running tests on the PHPUnit server (~260), an error occurs:
PDOException: SQLSTATE[08006] [7] FATAL: remaining connection slots are reserved for non-replication superuser connections
How can I fix it? Didn't work with Postgresql before, how to configure it correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Khaperets, 2014-02-25
@Khaperets

It was necessary to configure sysctl:
sysctl -w kernel.shmmax=134217728
sysctl -w kernel.shmall=2097152

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question