Just installed poormans cron and am now getting stack traces on every page led up by the above message. My server is debian based hence my PHP has suhosin installed. In any case the stack trace (below) shows poormanscron_exit() several times and it's depth is questionable.

Maybe this is normal behavior for poormanscron? If so is there a known php.ini setting to make to allow a deeper stack? If this is normal shouldn't this behavior be documented?

Fatal error: Maximum function nesting level of '100' reached, aborting! in /var/vhosts/www.7gen.com/includes/xmlrpc.inc on line 430
Call Stack
#	Time	Memory	Function	Location
1	0.0001	61648	{main}( )	../index.php:0
2	1.2454	24709456	drupal_page_footer( )	../index.php:39
3	1.2454	24709456	module_invoke_all( )	../common.inc:1575
4	1.2469	24710992	call_user_func_array ( )	../module.inc:471
5	1.2469	24710992	poormanscron_exit( )	../module.inc:0
6	1.2480	24710992	module_invoke_all( )	../poormanscron.module:61
7	4.3786	24856092	call_user_func_array ( )	../module.inc:471
8	4.3786	24856092	search_cron( )	../module.inc:0
9	4.3790	24857924	module_invoke( )	../search.module:273
10	4.3790	24857924	call_user_func_array ( )	../module.inc:450
11	4.3790	24857924	node_update_index( )	../module.inc:0
12	4.3823	24859420	_node_index_node( )	../node.module:1801
13	4.3944	25464672	node_build_content( )	../node.module:1819
14	4.3945	25465208	node_invoke( )	../node.module:1077
15	4.3945	25465208	blog_view( )	../node.module:653
16	4.3946	25465208	node_prepare( )	../blog.module:111
17	4.3946	25465208	check_markup( )	../node.module:1036
18	4.3960	25467328	module_invoke( )	../filter.module:457
19	4.3960	25467856	call_user_func_array ( )	../module.inc:450
20	4.3960	25467856	php_filter( )	../module.inc:0
21	4.3960	25467856	drupal_eval( )	../php.module:82
22	4.3962	25511104	eval( ''?>\n\n\nElectronic Privacy Information Center http://www.epic.org/\n\nPrivacy International http://www.privacyinternational.org/\n\nBig Brother Awards http://www.privacyinternational.org/bigbrother/ is a Privacy International project to spotlight both abuses of personal privacy and champions thereof. This is done with awards, the Orwell Award for government agencies that are the most invasive of personal privacy, and the Brandeis awards for its champions.'' )	../common.inc:1645
23	4.3962	25511104	drupal_goto( )	../common.inc(1645) : eval()'d code:1
24	4.3967	25514252	module_invoke_all( )	../common.inc:321
25	4.3969	25514600	call_user_func_array ( )	../module.inc:471
26	4.3969	25514600	poormanscron_exit( )	../module.inc:0
27	4.3980	25515516	module_invoke_all( )	../poormanscron.module:61
28	4.4140	25530264	call_user_func_array ( )	../module.inc:471
29	4.4140	25530264	search_cron( )	../module.inc:0
30	4.4144	25534752	module_invoke( )	../search.module:273
31	4.4144	25534752	call_user_func_array ( )	../module.inc:450
32	4.4144	25534752	node_update_index( )	../module.inc:0
33	4.4169	25536328	_node_index_node( )	../node.module:1801
34	4.4177	25538488	node_build_content( )	../node.module:1819
35	4.4178	25539168	node_invoke( )	../node.module:1077
36	4.4179	25539168	blog_view( )	../node.module:653
37	4.4179	25539168	node_prepare( )	../blog.module:111
38	4.4179	25539168	check_markup( )	../node.module:1036
39	4.4184	25540848	module_invoke( )	../filter.module:457
40	4.4184	25541376	call_user_func_array ( )	../module.inc:450
41	4.4184	25541376	php_filter( )	../module.inc:0
42	4.4184	25541376	drupal_eval( )	../php.module:82
43	4.4185	25585012	eval( ''?>\n\n\nElectronic Privacy Information Center http://www.epic.org/\n\nPrivacy International http://www.privacyinternational.org/\n\nBig Brother Awards http://www.privacyinternational.org/bigbrother/ is a Privacy International project to spotlight both abuses of personal privacy and champions thereof. This is done with awards, the Orwell Award for government agencies that are the most invasive of personal privacy, and the Brandeis awards for its champions.'' )	../common.inc:1645
44	4.4186	25585012	drupal_goto( )	../common.inc(1645) : eval()'d code:1
45	4.4187	25587832	module_invoke_all( )	../common.inc:321
46	4.4189	25588408	call_user_func_array ( )	../module.inc:471
47	4.4189	25588408	poormanscron_exit( )	../module.inc:0
48	4.4198	25589032	module_invoke_all( )	../poormanscron.module:61
49	4.4343	25602356	call_user_func_array ( )	../module.inc:471
50	4.4343	25602356	search_cron( )	../module.inc:0
51	4.4346	25610484	module_invoke( )	../search.module:273
52	4.4346	25610484	call_user_func_array ( )	../module.inc:450
53	4.4346	25610484	node_update_index( )	../module.inc:0
54	4.4372	25612028	_node_index_node( )	../node.module:1801
55	4.4383	25614140	node_build_content( )	../node.module:1819
56	4.4384	25614820	node_invoke( )	../node.module:1077
57	4.4385	25614820	blog_view( )	../node.module:653
58	4.4385	25614820	node_prepare( )	../blog.module:111
59	4.4385	25614820	check_markup( )	../node.module:1036
60	4.4390	25616708	module_invoke( )	../filter.module:457
61	4.4391	25617236	call_user_func_array ( )	../module.inc:450
62	4.4391	25617236	php_filter( )	../module.inc:0
63	4.4391	25617236	drupal_eval( )	../php.module:82
64	4.4392	25660592	eval( ''?>\n\n\nElectronic Privacy Information Center http://www.epic.org/\n\nPrivacy International http://www.privacyinternational.org/\n\nBig Brother Awards http://www.privacyinternational.org/bigbrother/ is a Privacy International project to spotlight both abuses of personal privacy and champions thereof. This is done with awards, the Orwell Award for government agencies that are the most invasive of personal privacy, and the Brandeis awards for its champions.'' )	../common.inc:1645
65	4.4392	25660592	drupal_goto( )	../common.inc(1645) : eval()'d code:1
66	4.4394	25664532	module_invoke_all( )	../common.inc:321
67	4.4396	25665108	call_user_func_array ( )	../module.inc:471
68	4.4396	25665108	poormanscron_exit( )	../module.inc:0
69	4.4406	25665800	module_invoke_all( )	../poormanscron.module:61
70	4.4561	25678664	call_user_func_array ( )	../module.inc:471
71	4.4561	25678664	search_cron( )	../module.inc:0
72	4.4564	25686880	module_invoke( )	../search.module:273
73	4.4565	25686880	call_user_func_array ( )	../module.inc:450
74	4.4565	25686880	node_update_index( )	../module.inc:0
75	4.4592	25688444	_node_index_node( )	../node.module:1801
76	4.4600	25690556	node_build_content( )	../node.module:1819
77	4.4601	25691236	node_invoke( )	../node.module:1077
78	4.4602	25691236	blog_view( )	../node.module:653
79	4.4602	25691236	node_prepare( )	../blog.module:111
80	4.4602	25691236	check_markup( )	../node.module:1036
81	4.4607	25693124	module_invoke( )	../filter.module:457
82	4.4608	25693652	call_user_func_array ( )	../module.inc:450
83	4.4608	25693652	php_filter( )	../module.inc:0
84	4.4608	25693652	drupal_eval( )	../php.module:82
85	4.4609	25737008	eval( ''?>\n\n\nElectronic Privacy Information Center http://www.epic.org/\n\nPrivacy International http://www.privacyinternational.org/\n\nBig Brother Awards http://www.privacyinternational.org/bigbrother/ is a Privacy International project to spotlight both abuses of personal privacy and champions thereof. This is done with awards, the Orwell Award for government agencies that are the most invasive of personal privacy, and the Brandeis awards for its champions.'' )	../common.inc:1645
86	4.4609	25737008	drupal_goto( )	../common.inc(1645) : eval()'d code:1
87	4.4611	25739908	module_invoke_all( )	../common.inc:321
88	4.4625	25740896	call_user_func_array ( )	../module.inc:471
89	4.4625	25740896	poormanscron_exit( )	../module.inc:0
90	4.4635	25741416	module_invoke_all( )	../poormanscron.module:61
91	4.4646	25742072	call_user_func_array ( )	../module.inc:471
92	4.4646	25742072	ping_cron( )	../module.inc:0
93	4.4649	25742072	_ping_notify( )	../ping.module:32
94	4.4649	25742072	module_invoke_all( )	../ping.module:42
95	4.4650	25742128	call_user_func_array ( )	../module.inc:471
96	4.4650	25742240	ping_ping( )	../module.inc:0
97	4.4650	25742304	xmlrpc( )	../ping.module:52
98	4.4651	25742668	call_user_func_array ( )	../common.inc:2534
99	4.4651	25743148	_xmlrpc( )	../common.inc:0

Comments

gpk’s picture

Category: bug » support

Looks like you have a page which has PHP code that uses drupal_goto() to redirect somewhere else. This is a common cause of problems with search indexing and is not specific to poormanscron.module. Do you get the same happening if you run cron via the run-cron link on the system status page?

Dave Reid’s picture

Status: Active » Closed (works as designed)

No response from poster. Problem is clearly redirection code in node's PHP code. This will cause problems if poormanscron is used or not.