Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

large survey time-out on survey logic file

  • duvemyster
  • duvemyster's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 10 months ago #229453 by duvemyster
large survey time-out on survey logic file was created by duvemyster
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.3.18+220530
Own server or LimeSurvey hosting: Own server
Survey theme/template: LimeSurvey Bootwatch Theme
==================
We are running into a 504 Gateway Time-out error at 30 seconds when attempting to load the survey logic file on our largest survey. All other survey logic files load as expected, and no issues have been observed in use of the survey where the logic file is timing out with a 504. Any suggestions on what setting we should extend to allow more processing time?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229466 by holch
Replied by holch on topic large survey time-out on survey logic file
I would have a look at the maximum execution time setting in PHP as the first point.

www.simplified.guide/php/increase-max-execution-time

It is probably at 30s (php default?) and Limesurvey probably needs more time to process the survey logic file of this large survey.

See what happens if you increase it.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • duvemyster
  • duvemyster's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 10 months ago #229467 by duvemyster
Replied by duvemyster on topic large survey time-out on survey logic file
It's something else -- max_execution_time is set to 1800.

Please Log in to join the conversation.

More
1 year 10 months ago #229469 by jelo
Gateway timeout is an generic error message. What webstack is used?
Webserver, php handler or an reverse proxy can cause the timeout.

The 30seconds is an indication for an Apache2 timeout.

Syntax: TimeOut seconds
Default: TimeOut 300
Context: server config, virtual host

Consult the documentation for your apache server.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • duvemyster
  • duvemyster's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 10 months ago #229505 by duvemyster
Replied by duvemyster on topic large survey time-out on survey logic file
It is indeed Apache2, however it is a cluster of web nodes behind a load balancer (cloud site). The load-balancer has a hardcoded timeout of 30 seconds.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose