[SOLVED] Memory leak in 1.11.11?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

[SOLVED] Memory leak in 1.11.11?

Post by stefhoesli »

I upgraded from 1.10.3 to 1.11.11, switched to OneEleven as backend template, replaced {stylesheet} with {cms_stylesheet} and finally started to upgrade modules. When upgrading certain modules, like CompanyDirectory, the whole CMS breaks with memory exhausted messages like this one:

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 99 bytes) in /home/exact/public_html/modules/JQueryTools/lang/en_US.php on line 58, referer: http://www2.igexact.org/admin/moduleint ... et_prefs=1

At that point both front end and back and are broken and I have to go one step back with a backup I made from my public_html folder.
Last edited by stefhoesli on Mon Dec 15, 2014 9:05 am, edited 1 time in total.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Memory leak in 1.11.11?

Post by staartmees »

Please post system info
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Re: Memory leak in 1.11.11?

Post by stefhoesli »

Here you go:

Cms Version: 1.11.11
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.14.4
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.44.3
FrontEndUsers: 1.25.1
CustomContent: 1.8.3
JQueryTools: 1.1.1
Uploads: 1.18.5
CGCalendar: 1.14.4
CGSimpleSmarty: 1.7.4
CompanyDirectory: 1.14.4
EventsManager: 1.2.7
CMSPrinting: 1.0.5
MicroTiny: 1.2.7
Gallery: 1.6.1
Statistics: 1.1.3
CGUserDirectory: 1.4.5
AireLibs: 1.3.2

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 128000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.4-14+deb7u12
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 512M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 128M
upload_max_filesize: 128M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.38
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Re: Memory leak in 1.11.11?

Post by stefhoesli »

After I followed this:

http://forum.cmsmadesimple.org/viewtopi ... =3&t=55024

and installed the newer modules via upload of the XML files, it is looking much better! One fly in the ointment still however: I also uploaded the XML of the latest JQueryTools 1.3.4. However, in Extensions -> Modules I still see the old version referenced:

JQueryTools 1.1.1 Needs Upgrade

But looking at the "About" section really confirms that I am running version: 1.3.4.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Memory leak in 1.11.11?

Post by Dr.CSS »

Anything uploaded in Extensions > Modules needs to be installed/upgraded manually, click the link that says install or upgrade...
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Re: Memory leak in 1.11.11?

Post by stefhoesli »

I was afraid, that this would break the CMS again... But it worked!

Thanks a lot!
Locked

Return to “[locked] Installation, Setup and Upgrade”