memory Limit

More
5 years 5 months ago #79172 by lex
lex created the topic: memory Limit
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

Please Log in to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #79300 by lex
lex replied the topic: Aw: memory Limit
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: 5 years 5 months ago by lex.

Please Log in to join the conversation.

More
5 years 5 months ago #79310 by c_schmitz
c_schmitz replied the topic: Aw: memory Limit
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.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 5 months ago #79313 by lex
lex replied the topic: Aw: Re: Aw: memory Limit
ok thanks. I'll advice my surveyeditors to split big surveys into parts.

Please Log in to join the conversation.

More
5 years 5 months ago #79337 by Mazi
Mazi replied the topic: Aw: Re: Aw: memory Limit
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)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 5 months ago #79368 by lex
lex replied the topic: Aw: Re: Aw: memory Limit
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

Please Log in to join the conversation.

More
5 years 5 months ago #79381 by Mazi
Mazi replied the topic: Aw: Re: Aw: memory Limit
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)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 5 months ago #79406 by lex
lex replied the topic: Aw: Re: Aw: memory Limit
thank you, here you'll find the ticket: bugs.limesurvey.org/view.php?id=6048

Please Log in to join the conversation.

More
5 years 5 months ago #79443 by Mazi
Mazi replied the topic: Aw: Re: Aw: memory Limit
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)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 5 months ago #79682 by lex
lex replied the topic: Aw: Re: Aw: memory Limit
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?

Please Log in to join the conversation.

More
5 years 5 months ago #79779 by lex
lex replied the topic: Aw: Re: Aw: memory Limit
thank you for committing a fix to branch. will this move to a new build? and by when?

Please Log in to join the conversation.

More
5 years 5 months ago #79904 by lex
lex replied the topic: memory Limit
Hello,
thank you for looking at the problem, but i've still got the same error on my dev machine. I've altered all 3 files from master 60443e5c. Have you been able to solve it on your environment?

Please Log in to join the conversation.

More
5 years 5 months ago #79914 by lex
lex replied the topic: memory Limit
great! now it works!

Please Log in to join the conversation.

More
5 years 5 months ago #80103 by Mazi
Mazi replied the topic: memory Limit

lex wrote: great! now it works!

You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now