ihsn / nada

National Data Archive (NADA) is an open source data cataloging system that serves as a portal for researchers to browse, search, compare, apply for access, and download relevant census or survey information. It was originally developed to support the establishment of national survey data archives.

Home Page:http://nada.ihsn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generating PDF with over 4000 variables timeout

t3chbg opened this issue · comments

Hi Mehmood - We have nested study publication with four data files and unable to generate the Metadata in PDF - It seems to timeout. Are there any limitations with publishing study with over 4k variables?

Incidentally, we see this behaviour with studies with 2k variables as well but not for studies with 1k variables or less. Seems 1k is the sweet spot. Any ideas where I should be looking at or is this limitation in NADA?

This could be related to your PHP timeout settings, the default timeout value is 30 seconds. For studies with 4k variables, you will need to increase the timeout value. Check your php.ini for "max_execution_time" and increase the value to 120.

Thanks Mehmood - I also increased the memory_limit - That seemed to do the trick.