View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20779Bug reportsSpeed optimizationpublic2026-10-20 17:06
Reporterginosupport Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version7.5.x 
Summary20779: Importing large survey (.lss) takes a long time, leading to gateway timeout
Description

Importing attached lss file triggers a gateway timeout for me. I know it's a large survey, and I can probably tweak some server configuration settings to get rid of the gateway timeout, but I thought it would still be good to have a look if there's any performance improvements to be made.
The concept works ok, I just hope it's possible to make it faster.

Any suggestions for improving the configurations are welcome.

The file is well below the default allowed 8MB, so someone might upload even bigger surveys.

Steps To Reproduce

Steps to reproduce

Import attached .lss file

Expected result

Imported survey

Actual result

Gateway timeout

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)7.5.1+261007
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgres 17
Server OS (if known)
Webserver software & version (if known)
PHP Version8.4.x
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

ginosupport

ginosupport

2026-10-20 11:42

reporter   ~86544

Note that the survey contains some large lists of answer options (country selection). If i tweak those lists to only have 6 common options and an 'other' option, then the import works (import takes 53 seconds, so within my current 1min limit). So it seems that especially large sets of answer options slow it down. Perhaps that can help point to some potential improvement?

c_schmitz

c_schmitz

2026-10-20 12:07

administrator   ~86545

On what OS does the Postgres server run?

c_schmitz

c_schmitz

2026-10-20 12:12

administrator   ~86546

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40926

LimeBot

LimeBot

2026-10-20 17:06

administrator   ~86564

Fixed in Release 7.7.0+261020

Related Changesets

LimeSurvey: master b7c63020

2026-10-20 12:11

c_schmitz


Details Diff
Fixed issue 20779: Importing a large survey takes a long time and can run into a gateway timeout Affected Issues
20779
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2026-10-20 10:51 ginosupport New Issue
2026-10-20 10:51 ginosupport File Added: JEJG PGO5 2025-2026 v4-1-test.lss
2026-10-20 11:42 ginosupport Note Added: 86544
2026-10-20 11:42 ginosupport Bug heat 0 => 2
2026-10-20 12:07 c_schmitz Note Added: 86545
2026-10-20 12:07 c_schmitz Bug heat 2 => 4
2026-10-20 12:12 c_schmitz Changeset attached => LimeSurvey master b7c63020
2026-10-20 12:12 c_schmitz Note Added: 86546
2026-10-20 12:12 c_schmitz Assigned To => c_schmitz
2026-10-20 12:12 c_schmitz Status new => resolved
2026-10-20 12:12 c_schmitz Resolution open => fixed
2026-10-20 17:06 LimeBot Note Added: 86564
2026-10-20 17:06 LimeBot Status resolved => closed
2026-10-20 17:06 LimeBot Bug heat 4 => 6