Skip to main content

Video Uploading with delay

Issue:

Video upload take 5 to 45 minutes to upload. The log shows “too many files open”

Solution:

Increase the files open threshold

ssh to Server and create a backup of /var/lib/pqsql/data/postgresql.conf

Edit postgresql.conf file and change the value of max_files_per_process to 150.

Create a backup of /etc/sysctl.conf

Edit sysctl.conf then Add fs.file-max = 100000.

Create a backup of /etc/security/limits.con

Edit that file and add * hard nofile, * soft nofile 10240

Restart flashback service

Restart postgresql