Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2015, 02:02 AM
helenblog's Avatar
helenblog helenblog is offline
 
Join Date: Dec 2014
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default which tasks in daily cleanup and can I disable crob jobs?

I have a forum vB4xx but sometimes it auto restarts all forum statistics (around 8 AM ) and made my VPS hosting restart

I check cron jobs on VPS, don't have anythings there, I think it comes from cron jobs in vbulletin forum.

I want to disabled all cron jobs or what will be happened if I remove this line in footer template
Quote:
{vb:raw cronimage}
How to find out which made my VPS restart automatically in schedule time like that?



Please helps!

Thanks in advance
Reply With Quote
  #2  
Old 06-23-2015, 02:07 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check server error logs to see if there is any problems as to the cron jobs will need a list of what you have to see if any can be disabled
Reply With Quote
Благодарность от:
helenblog
  #3  
Old 06-23-2015, 02:15 AM
helenblog's Avatar
helenblog helenblog is offline
 
Join Date: Dec 2014
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Check server error logs to see if there is any problems as to the cron jobs will need a list of what you have to see if any can be disabled
I checked /var/log/httpd/domains/mydomainname.com.error.log

but didn't see any abnormal things there

If I want to remove {vb:raw cronimage} in footer template

and do cron jobs manually then it's possible?

what task in hourly cleanup and daily cleanup, how can I control task in them?
Reply With Quote
  #4  
Old 06-23-2015, 03:08 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by helenblog View Post
I checked /var/log/httpd/domains/mydomainname.com.error.log

but didn't see any abnormal things there

If I want to remove {vb:raw cronimage} in footer template

and do cron jobs manually then it's possible?

what task in hourly cleanup and daily cleanup, how can I control task in them?
Can you post the error logs also the cleanups you are looking for are named Daily Cleanup and Hourly Cleanup so they are not hard to find
Reply With Quote
  #5  
Old 06-23-2015, 03:32 AM
helenblog's Avatar
helenblog helenblog is offline
 
Join Date: Dec 2014
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Can you post the error logs also the cleanups you are looking for are named Daily Cleanup and Hourly Cleanup so they are not hard to find
I Pmed you all the details for

mydomain.com.error.log


Daily Cleanup and Hourly Cleanup are cron jobs that I thought it caused auto reset my vps
Reply With Quote
  #6  
Old 06-23-2015, 02:16 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seen the pm yes you are missing some files just upload them and the error will go away
Reply With Quote
  #7  
Old 06-23-2015, 02:42 PM
helenblog's Avatar
helenblog helenblog is offline
 
Join Date: Dec 2014
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Seen the pm yes you are missing some files just upload them and the error will go away
Thanks for your PM

but honestly I couldn't understand why missing files made my Apache (httpd) restarted? (it looks like my site overload or by cron jobs)
Do these files have some functions and they did that?
Reply With Quote
  #8  
Old 06-23-2015, 05:11 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some of these cron jobs are actually files it calls, .php files which contain sql that is run (depending on what cron, if within said file is supposed to run and such) so it could have been a query to remove all expired user sessions or similar or completely different. Please do as force suggested and ensure all files are in place.

Not sure why it should make apache restart unless the query simply made it lose its cool per say... seems odd or perhaps that something is not setup correctly in php.ini or other, if you're not on shared hosting then ask your host to look into this if on a shared server they will more than likely NOT modify php.ini or other pertinent settings as it would affect all clients on the "shared" server where as if on a vps or dedicated it can be done but that all depends on if its something related to that, like I said initially above I don't ever recall in all my years having someone report that cron jobs made their server restart (related to vB) looks as if it can happen though.
Reply With Quote
  #9  
Old 06-25-2015, 02:32 AM
helenblog's Avatar
helenblog helenblog is offline
 
Join Date: Dec 2014
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Some of these cron jobs are actually files it calls, .php files which contain sql that is run (depending on what cron, if within said file is supposed to run and such) so it could have been a query to remove all expired user sessions or similar or completely different. Please do as force suggested and ensure all files are in place.

Not sure why it should make apache restart unless the query simply made it lose its cool per say... seems odd or perhaps that something is not setup correctly in php.ini or other, if you're not on shared hosting then ask your host to look into this if on a shared server they will more than likely NOT modify php.ini or other pertinent settings as it would affect all clients on the "shared" server where as if on a vps or dedicated it can be done but that all depends on if its something related to that, like I said initially above I don't ever recall in all my years having someone report that cron jobs made their server restart (related to vB) looks as if it can happen though.
Seem you said right, I sent you a PM and hope to have your support.

Thanks
Reply With Quote
  #10  
Old 06-25-2015, 03:58 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ I just sent a reply, going to post the gist of it here in case others are curious but I basically asked if in your pm when you said you set session to 12hours... did you mean you set:
> AdminCP > Settings > Options > Cookies and HTTP Header Options

To the seconds value that equals 12hours i.e. is your Session Timeout value still 1800 or are you telling me its now set to 43200?

Cookies and HTTP Header Options
Quote:
Originally Posted by Cookies and HTTP Header Options
Session Timeout
This is the time in seconds that a user must remain inactive before their login session expires. This setting also controls how long a user will remain on Who's Online after their last activity.
When you set this toooooo high it can cause severe issues, you can check the "session" table in the database via phpmyadmin to monitor the number of visitors... if you've set it to 12 hours without making changes to account for such it can cause issues. Let us know though if that's what you meant by session set to 12hours in your last pm - I'm not trying to post private pm convo simply pertinent info others may find useful in the future if a similar issue.

Edit: Also just so you know, removing cronimage from footer can cause scheduled tasks not to run i.e. cron jobs the forum has setup to run etc.
Reply With Quote
Reply


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 11:04 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.10181 seconds
  • Memory Usage 2,266KB
  • Queries Executed 11 (?)
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
  • (7)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
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete