Fluid Topics PDF server configuration file - Fluid Topics - 3.9

Fluid Topics Configuration and Administration Guide

Category
Reference Guides
Audience
public
Version
3.9

It is possible to configure the server used to generate PDFs in Fluid Topics in the env.conf file.

The env.conf file is located in /etc/systemd/system/fluidtopics-pdf-server.service.d/

The following lines show an example of the env.conf file:

# NUMBER OF SUB PROCESSES
export FT_PDF_WORKERS=8

# MAXIMUM MEMORY SIZE PER WORKER
export FT_PDF_MAX_MEMORY_SIZE_PER_WORKER_IN_GB=10

# LISTENING PORT
export FT_PDF_PORT=5000

# LISTENING ADDRESS, BY DEFAULT, BIND ON ALL ADDRESSES
export FT_PDF_ADDRESS=0.0.0.0

# USER TO BIND
export FT_PDF_USER=antidot

# GROUP TO BIND
export FT_PDF_GROUP=antidot

# USER HOME DIRECTORY
export FT_PDF_USER_HOMEDIR=/home/antidot

Where:

  • FT_PDF_MAX_MEMORY_SIZE_PER_WORKER_IN_GB is a configuration option introduced with the release of Fluid Topics v3.7.4. It prevents system errors when a user exports a large Personal book to PDF. The correct value depends on the environment being configured (single or multi server, how many sub processes are running, how much RAM is available, etc.).