EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

New Export Engine PDF export times out after 30 minutes in job execution list. Export Engine trying to render to a remote x11 server in MicroStrategy 2021


Daniel Klajnberg

Cloud Support Migrations Engineer II • MicroStrategy


This Knowledge base article describes a timeout error on the New Export Engine-NEE on Linux operating systems. When executing a PDF export, job stays in the execution queue for 30 minutes and error message appears rendered on the PDF pages: Page rendering exceeded the maximum limit of 300 seconds and was terminated. Please contact the administrator to increase the timeout value of the renderer process of the configuration file and then restart the Export Engine Services to try again. This can be related to Chrome trying to render the PDF to a remote x11 server and failing to do so, breaking the NEE – New Export Engine.

Symptom


When trying to export a PDF, timeout error gets rendered on PDF pages after 30 minutes of wait time.

ka0PW0000000v4jYAA_0EM4W0000070OOf.jpeg

 

Cause


If the Export Engine has a remote X11 server display set, chrome will try to render remotely and will fail to connect. This issue is related to the environment variables.
The error rendered on PDF: Page rendering exceeded the maximum limit of 300 seconds and was terminated. Please contact the administrator to increase the timeout value of the renderer process of the configuration file and then restart the Export Engine Services to try again can also have other causes.
 

Action


To check if display is set on the NEE, first you need to get the PID number for the Export Engine and then run the following command to get environment variables.

¨strings /proc/<PID number of NEE java program>/environ¨

If on the variables you see the statement:
DISPLAY = IP ADRESS
, it means x11 server is set for the export engine and should be unset.

ka0PW0000000v4jYAA_0EM4W0000070OOz.jpeg

 

Workaround


To unset display you need to edit the Export Engine Bash Script. If you are running a clustered environment, this should be done for each node.
Go to the Export Engine Main folder - /opt/mstr/MicroStrategy/install/Export
    
And edit the pdfexporter.sh file adding

unset DISPLAY
line.

ka0PW0000000v4jYAA_0EM4W0000070OPT.jpeg

Save the file and restart the Export Engine.
 


Comment

0 comments

Details

Knowledge Article

Published:

March 17, 2023

Last Updated:

February 26, 2024