vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Help Needed with Cron and RSS Locking up (https://vborg.vbsupport.ru/showthread.php?t=243939)

Scalemotorcars 06-04-2010 01:52 PM

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....

your24hourstore 06-04-2010 02:15 PM

whats the logs say?

Scalemotorcars 06-04-2010 02:37 PM

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

your24hourstore 06-04-2010 04:40 PM

1 Attachment(s)
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

your24hourstore 06-04-2010 05:03 PM

1 Attachment(s)
you can force the feed to run here if you want to

man whats up with my pics being so small today :>

Scalemotorcars 06-04-2010 05:05 PM

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}

:D

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 (Post 2048302)
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?

your24hourstore 06-04-2010 05:16 PM

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.

Scalemotorcars 06-04-2010 05:22 PM

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);
            }
        }
    }



your24hourstore 06-04-2010 05:25 PM

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

Scalemotorcars 06-04-2010 05:26 PM

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 (Post 2048321)
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.


All times are GMT. The time now is 07:59 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.01199 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete