vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   which tasks in daily cleanup and can I disable crob jobs? (https://vborg.vbsupport.ru/showthread.php?t=319182)

helenblog 06-23-2015 02:02 AM

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

ForceHSS 06-23-2015 02:07 AM

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

helenblog 06-23-2015 02:15 AM

Quote:

Originally Posted by ForceHSS (Post 2548431)
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?

ForceHSS 06-23-2015 03:08 AM

Quote:

Originally Posted by helenblog (Post 2548434)
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

helenblog 06-23-2015 03:32 AM

Quote:

Originally Posted by ForceHSS (Post 2548435)
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

ForceHSS 06-23-2015 02:16 PM

Seen the pm yes you are missing some files just upload them and the error will go away

helenblog 06-23-2015 02:42 PM

Quote:

Originally Posted by ForceHSS (Post 2548473)
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?

TheLastSuperman 06-23-2015 05:11 PM

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.

helenblog 06-25-2015 02:32 AM

Quote:

Originally Posted by TheLastSuperman (Post 2548491)
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

TheLastSuperman 06-25-2015 03:58 AM

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


All times are GMT. The time now is 03:55 AM.

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.01670 seconds
  • Memory Usage 1,749KB
  • 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
  • (7)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