Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: memory Limit

memory Limit 2 years 3 months ago #79172

  • lex
  • lex's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Hello,

I've upgraded to latest version (120418) on my server (PHP Version 5.3.3-7+squeeze8).
I have 100+ surveys active with hundrets of conditions each. Most of them are plain text, no picture what else in.
Befor update, we sometimes run into a timeout. Now, trying to edit a survey's conditions, I'll get a Fatal Error (cant allocate more memory at 2048M).

I set php memory_limit up to 4096M (!) and then ran into a server timeout.
This is a horrible scenario for our webhoster in security terms.

How can I avoid this, or better, how is this even possible? Looks to me like a memory leak.

Spec:
Apache 2
PHP Version 5.3.3-7
debian linux
The administrator has disabled public write access.

Aw: memory Limit 2 years 3 months ago #79300

  • lex
  • lex's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
no one have a hint?
I've set memory_limit up to 8GB of ram! the Server has then swapped data to hdd. and still running into this error.
what can I do?

edit: in admin/conditionshandling.php on line 752
Last Edit: 2 years 3 months ago by lex.
The administrator has disabled public write access.

Re: Aw: memory Limit 2 years 3 months ago #79310

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 745
  • Thank you received: 100
  • Karma: 87
Sorry, never heard of this. Since it seems to be working for everyone else it does not look like a LimeSurvey bug to me or something that may happen under very rare circumstances.
Hard to tell from the distance.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Aw: Re: Aw: memory Limit 2 years 3 months ago #79313

  • lex
  • lex's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
ok thanks. I'll advice my surveyeditors to split big surveys into parts.
The administrator has disabled public write access.

Re: Aw: Re: Aw: memory Limit 2 years 3 months ago #79337

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
1. You can test if this is fixed at the latest version by testing our online demo which always runs the latest Limesurvey version.
Username: admin
Password: test
If you can reproduce the problem there please

2. Maybe this is caused by some invalid condition?

3. Can you reproduce the problem with each survey or only with one certain survey?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Aw: Re: Aw: memory Limit 2 years 3 months ago #79368

  • lex
  • lex's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Hi, thanks for this online demo!
i've importet my survey, and this error occurs at your server as well:
demo.limesurvey.org/admin/admin.php?acti...n=editconditionsform

in your error log, this fatal error came up a minute ago (11:02), i guess
The administrator has disabled public write access.

Re: Aw: Re: Aw: memory Limit 2 years 3 months ago #79381

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
Please open a ticket at the bugtracker and...
  1. Give as much information as possible
  2. Attach your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.
  3. Provide step-by-step instructions how to reproduce the problem.
  4. If possible/helpful please provide screenshots

Afterwards please post the link to the bugtracker so we can follow the progress.

Thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Aw: Re: Aw: memory Limit 2 years 3 months ago #79406

  • lex
  • lex's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
thank you, here you'll find the ticket: bugs.limesurvey.org/view.php?id=6048
The administrator has disabled public write access.

Re: Aw: Re: Aw: memory Limit 2 years 3 months ago #79443

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
Thanks, we'll look into it and might ask further questions at the bugtracker.

In the meantime you might want to remove conditions step by step to check at which question/condition the problem occurs and if it could be related to incorrect conditions.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Aw: Re: Aw: memory Limit 2 years 2 months ago #79682

  • lex
  • lex's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
my editor reportet me, that when she split the survey into parts the maximum number of conditions to set decrease from survey to survey. is there a global max condition value?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.129 seconds
Donation Image