Connection timeouts and long running tasks
Possible cause
In heavy loading scenarios, several report generation tasks are scheduled every second. If you experience long run times or timeouts, it could mean that there are not enough available connections to the PostgreSQL database.
Proposed action
Check the Qlik NPrinting scheduler service nprinting_scheduler.log file for connection errors. If you have limit problems, you will find errors related to:
- database connection issues
- timeouts during wait from pooled connections
This means you need to increase the maximum number of connections to the PostgreSQL database.
Do the following:
- Log into the computer where the Qlik NPrinting scheduler service is running. The PostgreSQL database is located on this computer.
- Open the %ProgramData%\NPrinting\data folder.
- Open the postgresql.conf file with a text editor.
- Find the parameter max_connections. The parameter is set to 100 by default.
- Set max_connections to a greater value.
- Restart the Qlik NPrinting scheduler service.