View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 11145 | Bug reports | Survey taking | public | 2016-05-10 12:55 | 2018-09-28 14:12 |
| Reporter | asshank | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.50.x | ||||
| Fixed in Version | 2.06+ | ||||
| Summary | 11145: memory_limit is set to 128M if host memory_limit is set in G | ||||
| Description | When taking a survey with a lot of questions and present it as 'All in One' you may encounter a 500 error.. memory_limit to small. It happend to us with a particular survey (All in One can also be al very large group we think) | ||||
| Steps To Reproduce | A large survey.. present it 'All in One' | ||||
| Additional Information | In config-defaults.php the memory-limit is set to 128. IMHO it is to small for normal operations. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 160415 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | 258 | ||||
| Server OS (if known) | * | ||||
| Webserver software & version (if known) | * | ||||
| PHP Version | * | ||||
|
You can set your own limit in config file. Not a bug |
|
|
Not a bug : you confirm ? |
|
|
Not a bug. Memory setting is a server setting - just raise it. |
|
|
IMHO It is a Bug! When I increased the config['memory_limit'] the 500 went away! |
|
|
I just test : no issue : if you set 512Mo in virtual host and 64Mo in LS config : stay 512Mo But maybe you have an issue on your hoster (i never see a 4G limit ....) Did you have a look at a phpversion.php file out of limesurvey ? |
|
|
The 4G (it is allowed) attempt was because of my search to a solution. From the log: and mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /usr/share/ayh/limesurvey/framework/web/CUrlManager.php on line 791 This was to me the evidence that the 128M memory_limit was still in place. BTW It happend during a reload (loadall/reload/scid/...) of a survey! |
|
|
I already say : my config is 64, but my host is at 512Mo : final memoty_limit : 512 If you have issue : review your host or the mod_fcgid system. And try toi set 'memory_limit'=>'512', in you config file. Not a bug : if you really found an issue : send your http://php.net/manual/function.phpinfo.php file (the one provided by LimeSurvey + another one you create on your server) |
|
|
Actually there is a bug if you don't define the size in your PHP.ini as MB, |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=18937 |
|
|
Arg .... right .... Sorry asshank, and thanks for reporting |
|
|
Fix committed to 2.06lts branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=18938 |
|
|
Thank you for not closing this issue.. I did a lot of testing on this one.... and I know PHP and php.ini and limits. (int)G is allowed. (int)M is normal. |
|
|
Version 2.50 Build 160512 released |
|
|
Fix committed to 2.06lts branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=28087 |
|
|
LimeSurvey: master 50325dd2 2016-05-10 17:28 Details Diff |
Fixed issue 11145: PHP memory_limit being set too low even though php.in defines a higher one |
Affected Issues 11145 |
|
| mod - application/controllers/InstallerController.php | Diff File | ||
| mod - application/core/LSYii_Controller.php | Diff File | ||
|
LimeSurvey: 2.06lts fbb35ff8 2016-05-10 17:32 Details Diff |
Fixed issue 11145: PHP memory_limit being set too low even though php.in defines a higher one |
Affected Issues 11145 |
|
| mod - application/core/LSYii_Controller.php | Diff File | ||
|
LimeSurvey: 2.06lts ae5c4be7 2016-05-10 19:32 Committer: DenisChenu Details Diff |
Fixed issue 11145: PHP memory_limit being set too low even though php.in defines a higher one |
Affected Issues 11145 |
|
| mod - application/core/LSYii_Controller.php | Diff File | ||
|
LimeSurvey: 2.06lts e6df45ab 2016-05-12 10:42 Details Diff |
[fix][official] Fixed issue 11145: PHP memory_limit being set too low See https://github.com/LimeSurvey/LimeSurvey/commit/fbb35ff889491749585f7b2d9fcbb7002ac6683d |
Affected Issues 11145 |
|
| mod - README.md | Diff File | ||
| mod - application/config/version.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-05-10 12:55 | asshank | New Issue | |
| 2016-05-10 15:31 | DenisChenu | Note Added: 38276 | |
| 2016-05-10 15:31 | DenisChenu | Note Added: 38277 | |
| 2016-05-10 15:31 | DenisChenu | Assigned To | => c_schmitz |
| 2016-05-10 15:31 | DenisChenu | Status | new => feedback |
| 2016-05-10 15:35 | c_schmitz | Note Added: 38280 | |
| 2016-05-10 15:35 | c_schmitz | Status | feedback => closed |
| 2016-05-10 15:35 | c_schmitz | Resolution | open => no change required |
| 2016-05-10 15:44 | asshank | Note Added: 38281 | |
| 2016-05-10 15:44 | asshank | Status | closed => feedback |
| 2016-05-10 15:44 | asshank | Resolution | no change required => reopened |
| 2016-05-10 16:17 | DenisChenu | Note Added: 38283 | |
| 2016-05-10 17:18 | asshank | Note Added: 38285 | |
| 2016-05-10 17:18 | asshank | Status | feedback => assigned |
| 2016-05-10 17:22 | DenisChenu | Note Added: 38286 | |
| 2016-05-10 17:22 | DenisChenu | Status | assigned => closed |
| 2016-05-10 17:22 | DenisChenu | Resolution | reopened => no change required |
| 2016-05-10 17:27 | c_schmitz | Note Added: 38287 | |
| 2016-05-10 17:27 | c_schmitz | Status | closed => feedback |
| 2016-05-10 17:27 | c_schmitz | Resolution | no change required => reopened |
| 2016-05-10 17:28 | c_schmitz | Changeset attached | => LimeSurvey master 50325dd2 |
| 2016-05-10 17:28 | c_schmitz | Note Added: 38288 | |
| 2016-05-10 17:30 | DenisChenu | Note Added: 38289 | |
| 2016-05-10 17:30 | DenisChenu | Status | feedback => confirmed |
| 2016-05-10 17:30 | c_schmitz | Status | confirmed => resolved |
| 2016-05-10 17:30 | c_schmitz | Fixed in Version | => 2.5 |
| 2016-05-10 17:30 | c_schmitz | Resolution | reopened => fixed |
| 2016-05-10 17:32 | DenisChenu | Status | resolved => confirmed |
| 2016-05-10 17:32 | DenisChenu | Resolution | fixed => reopened |
| 2016-05-10 17:32 | DenisChenu | Fixed in Version | 2.5 => |
| 2016-05-10 17:32 | DenisChenu | Summary | memory_limit 128 to small => memory_limit is set to 128M if host memory_limit is set in G |
| 2016-05-10 17:32 | c_schmitz | Changeset attached | => LimeSurvey 2.06lts fbb35ff8 |
| 2016-05-10 17:32 | c_schmitz | Note Added: 38290 | |
| 2016-05-10 17:33 | c_schmitz | Status | confirmed => resolved |
| 2016-05-10 17:33 | c_schmitz | Fixed in Version | => 2.06+ |
| 2016-05-10 17:33 | c_schmitz | Resolution | reopened => fixed |
| 2016-05-10 17:34 | asshank | Note Added: 38291 | |
| 2016-05-12 10:39 | c_schmitz | Note Added: 38436 | |
| 2016-05-12 10:39 | c_schmitz | Status | resolved => closed |
| 2018-09-28 14:12 | DenisChenu | Changeset attached | => LimeSurvey 2.06lts ae5c4be7 |
| 2018-09-28 14:12 | DenisChenu | Changeset attached | => LimeSurvey 2.06lts e6df45ab |
| 2018-09-28 14:12 | DenisChenu | Note Added: 49184 |