Page 1 of 1

cmsms 1.6.6 is generating huge core.#### files

Posted: Fri Sep 10, 2010 4:48 pm
by newagekat
Hi:

My client's server is running
MySQL version  5.0.91-community
Apache version 2.0.63
PHP version 5.2.14

Following a recent crash and OS restore of the server, I've noticed that Huge Core files are re-appearing and eating up space in record time.

I activated the debug function in config and got the following results:

Code: Select all

Debug: (7.0E-5) - (674548)

loading smarty

Debug: (0.005387) - (949992)

loading adodb

Debug: (0.007439) - (1037508)

loading page functions

Debug: (0.013368) - (1213408)

loading content functions

Debug: (0.016889) - (1412244)

loading pageinfo functions

Debug: (0.017747) - (1445976)

loading translation functions

Debug: (0.018349) - (1463928)

loading events functions

Debug: (0.019949) - (1548104)

loading php4 entity decode functions

Debug: (0.022264) - (1742124)

done loading files

Debug: (0.03739) - (2441172)

<br>
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
 Error (0): <br>

Debug: (0.04333) - (2533136)

<br>
(mysql): SELECT * FROM cms_userplugins<br>
 Error (0): <br>

Debug: (0.059862) - (3180976)

<br>
(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name<br>
 Error (0): <br>

Debug display of 'End of include':(0.085918) - (4817720)
Debug: (0.086061) - (4771208)

Session found.  Moving on...

Debug: (0.086131) - (4771452)

Session found.  Moving on...

Debug: (0.088384) - (4848508)

<br>
(mysql): SELECT ug.user_id FROM cms_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 1<br>
 Error (0): <br>

Debug: (0.089565) - (4850060)

<br>
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1<br>
 Error (0): <br>

Debug display of 'Load Content Operations':(0.090823) - (4852196)
Debug display of 'End Load Content Operations':(0.100588) - (5402856)
Debug: (0.941099) - (5426268)

<br>
(mysql): SELECT * FROM cms_templates ORDER BY template_name<br>
 Error (0): <br>

Debug: (0.948756) - (5866084)

Session found.  Moving on...

Debug: (0.949511) - (5869244)

<br>
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'<br>
 Error (0): <br>

Debug: (0.949833) - (5868404)

Session found.  Moving on...

Debug: (0.961169) - (6212192)

<br>
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'<br>
 Error (0): <br>

Debug: (0.961708) - (6214548)

<br>
(mysql): SELECT group_id FROM cms_user_groups WHERE user_id = '1'<br>
 Error (0): <br>

Debug: (0.962107) - (6214008)

<br>
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)<br>
 Error (0): <br>

Debug: (0.965596) - (6214148)

<br>
(mysql): SELECT content_id FROM cms_content WHERE owner_id = '1'<br>
 Error (0): <br>

Debug: (0.966448) - (6218708)

<br>
(mysql): SELECT user_id,content_id FROM cms_additional_users<br>
 Error (0): <br>

Debug: (0.966968) - (6221400)

<br>
(mysql): SELECT ug.user_id FROM cms_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 2<br>
 Error (0): <br>

Debug: (0.975192) - (6278184)

<br>
(mysql): SELECT count(news_id) FROM cms_module_news n
                   WHERE status != 'published'
                     AND (( IFNULL(end_time, '1969-12-31 17:00:01')  = '1969-12-31 17:00:01') OR (end_time > '2010-09-10 10:13:11')) <br>
 Error (0): <br>

Debug: (0.975766) - (6276620)

<br>
(mysql): SELECT version from cms_version<br>
 Error (0): <br>

Debug: (0.979051) - (6321236)

<br>
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template FROM cms_templates WHERE default_template = 1<br>
 Error (0): <br>

Debug: (0.980229) - (6322404)

<br>
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template FROM cms_templates WHERE default_template = 1<br>
 Error (0): <br>

Debug: (1.001507) - (7091584)

<br>
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
        INNER JOIN cms_events e ON e.event_id = eh.event_id
        ORDER BY eh.handler_order ASC<br>
 Error (0): <br>

Since the version of php is NOT 5.2.10, can anyone point me in the right direction?

Re: cmsms 1.6.6 is generating huge core.#### files

Posted: Sat Sep 11, 2010 3:51 am
by Nullig
Are you sure you're using PHP5 - this line in the debug output would seem to indicate otherwise:

loading php4 entity decode functions

Nullig

Re: cmsms 1.6.6 is generating huge core.#### files

Posted: Mon Sep 13, 2010 4:32 pm
by newagekat
Hi Nulig:

Good to talk to you again.  I know the server was still being adjusted and that it is now running normally.  I even upgraded the client to v1.8.2 this past weekend.  however the core files are still being generated.  i ran the debug again, and now it reads as follow:

Code: Select all

Debug: (4.79999999999E-5) - (677704)

loading smarty

Debug: (0.005355) - (953160)

loading adodb

Debug: (0.007433) - (1041656)

loading page functions

Debug: (0.011679) - (1248740)

loading content functions

Debug: (0.015207) - (1453116)

loading pageinfo functions

Debug: (0.016048) - (1486880)

loading translation functions

Debug: (0.017486) - (1548584)

loading events functions

Debug: (0.01909) - (1633636)

loading php4 entity decode functions

Debug: (0.021795) - (1837284)

done loading files

Debug: (0.036834) - (2534568)

(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs

Debug: (0.042369) - (2614016)

(mysql): SELECT * FROM cms_userplugins

Debug: (0.05245) - (3096048)

(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name

Debug display of 'End of include':(0.089228) - (5044604)
Debug: (0.090134) - (5014168)

Session found.  Moving on...

Debug: (0.090216) - (5014412)

Session found.  Moving on...

Debug: (0.092289) - (5091528)

(mysql): SELECT ug.user_id FROM cms_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 1

Debug: (0.094056) - (5093044)

(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1

Debug: (0.102224) - (5539176)

Session found.  Moving on...

Debug: (0.10288) - (5541896)

(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'

Debug: (0.103215) - (5541004)

Session found.  Moving on...

Debug: (0.103281) - (5540904)

before theme load

Debug display of 'Load Content Operations':(0.105294) - (5647216)
Debug display of 'End Load Content Operations':(0.115536) - (6216092)
Debug: (0.115962) - (6217924)

(mysql): SELECT content_id FROM cms_content WHERE default_content = 1

Debug: (0.117898) - (6218184)

(mysql): SELECT content_id FROM cms_content

Debug: (0.11836) - (6219664)

(mysql): SELECT * FROM cms_content WHERE content_id = '51'

Debug: (0.139828) - (6676348)

(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'

Debug: (0.140285) - (6678668)

(mysql): SELECT group_id FROM cms_user_groups WHERE user_id = '1'

Debug: (0.140575) - (6678088)

(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)

Debug: (0.143986) - (6678184)

(mysql): SELECT content_id FROM cms_content WHERE owner_id = '1'

Debug: (0.144906) - (6682700)

(mysql): SELECT user_id,content_id FROM cms_additional_users

Debug: (0.145288) - (6685340)

(mysql): SELECT ug.user_id FROM cms_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 2

Debug: (0.145982) - (6664784)

after theme load

Debug: (0.146108) - (6665400)

before populate admin navigation

Debug: (0.146167) - (6665632)

before menu items

Debug: (0.149676) - (6697220)

after menu items

Debug: (0.150226) - (6699284)

before syste modules

Debug: (0.150718) - (6705344)

before module menu items

Debug: (0.151068) - (6705628)

after module menu items

Debug: (0.154801) - (6723668)

after populate admin navigation

Debug: (0.154888) - (6723828)

before theme-y stuff

Debug: (0.156329) - (6723984)

after theme-y stuff

Debug: (0.1577) - (6729604)

(mysql): SELECT count(news_id) FROM cms_module_news n
                   WHERE status != 'published'
                     AND (( IFNULL(end_time, '1969-12-31 17:00:01')  = '1969-12-31 17:00:01') OR (end_time > '2010-09-13 10:20:39')) 

Debug: (0.157943) - (6725748)

before notifications

Debug: (0.158122) - (6726376)

after notifications

Debug: (0.158519) - (6728028)

(mysql): SELECT version from cms_version

Debug: (0.167755) - (6968352)

(mysql): SELECT * FROM cms_modules WHERE active=1

Debug: (0.374556) - (7780320)

(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
        INNER JOIN cms_events e ON e.event_id = eh.event_id
        ORDER BY eh.handler_order ASC
Do you need system information to help me diagnose the problem?  I could really use some help.

Re: cmsms 1.6.6 is generating huge core.#### files

Posted: Mon Sep 13, 2010 6:41 pm
by Nullig
I don't think this is a CMSMS issue - you need to have the system admin check out the core files. He/she should be able to narrow the problem down.


Nullig