Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2010, 01:52 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help Needed with Cron and RSS Locking up

Im having a heck of a time with my scheduled tasks and really could use a hand.

Ive got several hacks but everything worked fine until I tried the RSS poster. Since then the crons are sporadic. Sometimes they work and sometimes they lock up. I tried rebuilding the tables many times and Ive reset ever cron manually untold times. Sometimes it stops on the RSS cron other times another cron. Its never the same one 2 times in a row.

Ive disabled every hack and uninstalled a few all together. I tried new RSS feeds. Ive removed the RSS feeds and even shut down the crons one at a time trying to figure out what task what locking it.

Like I said until I ran the RSS poster it all worked perfectly with all the hacks being nice to each other.

Im really stuck and I need to get it fixed so the site can go live at the end of the month. Can someone please take a look and help me out. Here....
Reply With Quote
  #2  
Old 06-04-2010, 02:15 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the logs say?
Reply With Quote
  #3  
Old 06-04-2010, 02:37 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I turned on the logs for each cron so I could get a report. Last night after resetting everything again manually it stopped on the RSS heres a copy of the current logs.

63 RSS Poster Robot 11:34, 4th Jun 2010 Inserted the following:

* Ed Roth
o Vintage Ed Roth Rat Fink Beatnik Bandit 2 Un-assembled
o car club weirdo jacket,ed roth, rockabilly jacket
o Ed Big Daddy Roth MYSTERION Show Rod in Collector Tin

62 Hourly Cleanup #2 11:33, 4th Jun 2010 Hourly Cleanup #2 Completed
61 CMS Daily Cleanup 10:51, 4th Jun 2010
60 CMS Daily Cleanup 08:58, 4th Jun 2010
59 Daily Cleanup 08:57, 4th Jun 2010 Daily Cleanup Completed
58 Attachment Views 01:19, 4th Jun 2010 Attachment Views Updated
57 Hourly Cleanup 01:13, 4th Jun 2010 Hourly Cleanup #1 Completed
56 Subscriptions 01:11, 4th Jun 2010 Paid Subscriptions Updated
55 Daily Digest 01:11, 4th Jun 2010 Daily Digest Sent
54 Daily Statistics Log 01:03, 4th Jun 2010 Daily Statistics Updated
53 Thread Views 01:03, 4th Jun 2010 Thread Views Updated


The next cron to run is the event reminder and that was to run last night at 1:25 am.

No activity since then.

And Harleyparts I really appreciate the help. I've noticed your helping allot of VB's lately. Way to go man, thats mighty nice of you..... :up:

Daniel
Reply With Quote
  #4  
Old 06-04-2010, 04:40 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did 60 and 61 cron jobs complete?

so it stopped at that point after inserting 3 links?



man i would check out my rss links
i bet one is misconfigured in a way thats jaming it up

go in and delete all your rss bot jobs and make 1 good one that runs every 30 minutes

go grab ebay or something

PHP Code:
i{feed:description}[url={feed:link}]More...[/url
may be the forth one to run maybe the third one is doing it check out the body and title templates
Attached Images
File Type: jpg data.jpg (35.3 KB, 0 views)
Reply With Quote
  #5  
Old 06-04-2010, 05:03 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can force the feed to run here if you want to

man whats up with my pics being so small today :>
Attached Images
File Type: jpg try.jpg (18.9 KB, 0 views)
Reply With Quote
  #6  
Old 06-04-2010, 05:05 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, it locked up after the lost RSS cron. Funny thing is I just checked it and its been locked up since 1am now it ran a few crons and locked up again at 5am +/-. but didn't give me that info only 1 hour ago. And yes my time is set correctly both on the board on in the profile.

As for the RSS Manager theres only one set up now and its a copy of one I use with another board. No problems on that one.

The RSS I have is from eBay. Same [BB] code as you provided but minus the (i) right before {feed:description}



Ive set up the error log paths like you instructed in the PM. Im just waiting on those.

--------------- Added [DATE]1275674814[/DATE] at [TIME]1275674814[/TIME] ---------------

Quote:
Originally Posted by harleyparts View Post
you can force the feed to run here if you want to

man whats up with my pics being so small today :>
Yes Ive done that and it works but still waiting on it to do it auto...

--------------- Added [DATE]1275675050[/DATE] at [TIME]1275675050[/TIME] ---------------

Just checked and 2 crons ran but its off by about 3 or 4 minutes. Could that just be a propagation delay?
Reply With Quote
  #7  
Old 06-04-2010, 05:16 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea not sure, i was hopeing it was just a misconfigured feed, but sounds like something more with rss maybe a corrupt file os something

you say you did an edit in search.php?

--------------- Added [DATE]1275675762[/DATE] at [TIME]1275675762[/TIME] ---------------

if all else fails , i would take a backup of public_html
then i would take vbulletinsuite_4-0-3_Patch_Level_1
and i would remove the images directory and the favicon and the includes/install,php
i would then upload it and reinstall over the files you have . cant hurt anything really. and may fix it.
Reply With Quote
  #8  
Old 06-04-2010, 05:22 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes its the edit to exclude some forums from the whats new tab.

Heres a copy of the code, note the part that reads (Start Hack) and (End Hack) this line is simply added to the script.

PHP Code:
{
    global 
$vbulletin;

    
//figure out forums
    //This follows the logic of the original search.  If a forum is specified then use it and its
    //children.  If an include list is specified, then use it without its children.
    //Do not honor the exclude list if we are using the provided forumid
    
if ($vbulletin->GPC['f'])
    {
        
$criteria->add_forumid_filter($vbulletin->GPC['f'], true);
    }
    else
    {
        if (
$vbulletin->GPC['include'])
        {
            
$list explode(','$vbulletin->GPC['include']);

            if (
is_array($list))
            {
                
$list array_map('intval'$list);
                
$criteria->add_forumid_filter($listfalse);
            }
        }
          
// start hack
        
$vbulletin->GPC['exclude'] .= '20,21,22,25,27,30,37,38,39,41,43,45,49,50,52,56,58,60,71,73,75,89,90,91,92';
          
// end hack 
        
if ($vbulletin->GPC['exclude'])
        {
            
$list explode(','$vbulletin->GPC['exclude']);

            if (
is_array($list))
            {
                
$list array_map('intval'$list);
                
$criteria->add_excludeforumid_filter($list);
            }
        }
    }

Reply With Quote
  #9  
Old 06-04-2010, 05:25 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats this mod ?

Page Time: 0.20324 seconds Memory: 5,400 KB Queries: 14 Templates: 33
Server Uptime: 20 hours 13 mins Server Load: 0.51 : 0.51 : 0.46
Reply With Quote
  #10  
Old 06-04-2010, 05:26 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dumb questions.

If a cron has nothing to do it doesn't log, right?

For example the Infractions Cleanup cron ran (about 10 minutes late but it ran) without logging even though its set to log the cron.

--------------- Added [DATE]1275676072[/DATE] at [TIME]1275676072[/TIME] ---------------

Quote:
Originally Posted by harleyparts View Post
whats this mod ?

Page Time: 0.20324 seconds Memory: 5,400 KB Queries: 14 Templates: 33
Server Uptime: 20 hours 13 mins Server Load: 0.51 : 0.51 : 0.46
8WR Micro Debug

Installed after the fact trying to debug the system.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03994 seconds
  • Memory Usage 2,285KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete