Server 500 Error

Moderator: Coursenligne

Server 500 Error

Postby garyberends » 02 Mar 2018, 10:38

Hi guys...
I hope all find you well.

I periodically receive a white screen showing server 500 error.

Apache error log says:

[Fri Mar 02 12:10:47.037661 2018] [php7:error] [pid 1372:tid 1528] [client 41.162.91.61:3507] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 35827712 bytes) in D:\\xampp\\htdocs\\main\\inc\\lib\\document.lib.php on line 415, referer: http://lms.kingsway.co.za:8080/main/document/showinframes.php?cidReq=EMSGRADE9&id_session=0&gidReq=0&gradebook=0&origin=&id=1483

can someone please give me some advice
garyberends
Newbie
 
Posts: 7
Joined: 09 May 2015, 18:11

Re: Server 500 Error

Postby Coursenligne » 21 Mar 2018, 17:58

Hi,
I'm not sure about the conditions in which you get such a message.
It could be (sorry without any further inputs it's only a guess) an error due to oversizing of your course.
As an example, this can happen when you try to use a 30 MB video, when you limited the max size of a document to 20 MB.
Again without the conditions and environments inputs, it is hard to guide you through a solution.
BTW sorry for the delay of answer !
Eric
--------------------------------------------------------------
Avez-vous pensé à devenir membre de l'association ?
Avez-vous songé à vous certifier (Coursebuilder et/ou Administrateur) ?
---------------------------------------------------------------
User avatar
Coursenligne
Moderator
 
Posts: 2375
Joined: 09 Apr 2011, 21:59
Location: France

Re: Server 500 Error

Postby yannick » 08 Aug 2018, 23:31

Hi Gary,

The error message:

PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 35827712 bytes)

Clearly states that there is an issue with the memory available. Apparently, you have something like 32MB of RAM in the "memory_limit" setting in your PHP configuration. While this should work for *most* things in Chamilo, some tasks definitely will take more memory. The recommendation in Chamilo is to set this setting to "128M". This should be largely enough for everything unless you have tens of thousands of students and do some heavy administrative task.

The majority of pages use around 24MB of RAM, but the PHP setting is generic and you cannot ask it to give you a specific memory limit per user.
Yannick Warnier
Chamilo Project Leader & Association President
yannick
Enthousiast
 
Posts: 385
Joined: 02 Jun 2014, 11:03


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest