vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   cron.php high cpu usage (https://vborg.vbsupport.ru/showthread.php?t=317847)

farsgsm 03-22-2015 09:11 AM

Quote:

Originally Posted by HM666 (Post 2541164)
Possibly your problem is related to this?



Note that it says it sends it out twice an hour! Maybe cut that back to once a day or once every couple of days...

i disabled it last night
i see now it runs once and not finished yet. maybe later more cron.php but now only one
Pid Owner Priority CPU % Memory % Command
27127 (Trace) (Kill) farsgsm 0

99.3 0.1 /usr/bin/php /home/vbulletin/public_html/cron.php

I also try to upgrade to 3.8.9 and will inform result here
thanks

kh99 03-22-2015 10:10 AM

It may turn out to be the Event Reminder, but the error messages here:
Code:

Process 23618 attached - interrupt to quit
poll([{fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "H", 1, MSG_PEEK, NULL, NULL) = 1
poll([{fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "H", 1, MSG_PEEK, NULL, NULL) = 1
poll([{fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "H", 1, MSG_PEEK, NULL, NULL) = 1
poll([{fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "H", 1, MSG_PEEK


refer to the operating system functions poll() and recvfrom() which have to do with reading from sockets (network connections), so the problem doesn't necessarily have anything to do with vbulletin events or polls.

If the problem still exists after upgrading to vb3.8.9, I would look at things that make network connections, like sending emails (birthdays?) or getting RSS feeds (if you have any of those defined).

farsgsm 03-22-2015 09:12 PM

from the day that i disabled EVENTS mod, it take effect on the problem
and i see daily max two cron.php running together.

the problem reduced but not resolved completely.
I also disabled RSS feeder to check again

thanks for helps.
i will paste result here again
not upgraded to 3.8.9 yet

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

i upgraded my vb to ver 3.8.9 and it seems problem solved.
thanks to all for help :)

farsgsm 04-07-2015 06:43 AM

when i enable RSS POSTER the problem appears again.
why?

kh99 04-07-2015 03:06 PM

Quote:

Originally Posted by farsgsm (Post 2542501)
when i enable RSS POSTER the problem appears again.
why?

I don't know, but you could try disabling individual feeds (if you have more than one), and maybe you can narrow it down to one causing a problem.


All times are GMT. The time now is 07:00 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.01449 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_code_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
  • (5)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