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

Reply
 
Thread Tools Display Modes
  #11  
Old 10-04-2017, 08:49 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
These files consuming high cpu on the server Because of that you are facing this issue.
i suggest you to update plugin themes and optimize the domain scripts frequently as well


Did you do this?

Are you running the latest and greatest
Are you running excisive plugins that aren't helping
Are your plugins and style made with quality code?

Temporally disable all your plugins and use the default style.

Does that help?
If so add one plugin at a time and stop with your cpu crashes.


Oh... and ofc you'll need to have showthread.php spelled correctly, wouldn't hurt to upload a fresh copy of your vb files as well.


Take a backup

The host isn't 100% at fault here, they are trying to help. Your site is bogging the server down, it's very likely a poorly coded plugin.

make a backup before doing anything crazy
Reply With Quote
  #12  
Old 10-06-2017, 01:14 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use vbulletin from 2012, first time i see this issue on my site, i have some plugins i think 1 year ago no and new plugin will be installed, My host is good not a host problem,
I have 4.2.0
all plugins updated
Before i says lots of guest just seeing only 1 section before i remove all threads the my forum working cool now i made 2 threads in this section again after i see lots of guest comes again in 2 threads have lots of views,
Can i paste here showthread.php ? also 1 more thing some time i see in whois online some guest seeing this link like https://vborg.vbsupport.ru/showthread.php
Sorry for my bad enlgish

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

Also i see lots of error in error log file looks like
PHP Code:
2017-10-06 11:15:10.802 [INFO] [1**.1**.2**.1**:2***3File not found [/home/XXXXX/public_html/404.shtml
Reply With Quote
  #13  
Old 10-06-2017, 09:15 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanzeelniazi View Post

Also i see lots of error in error log file looks like
PHP Code:
2017-10-06 11:15:10.802 [INFO] [1**.1**.2**.1**:2***3File not found [/home/XXXXX/public_html/404.shtml
That means the file is not found, you can specify in .htaccess which file you want as your 404, if you do not have that file on the server i.e. 404.shtml then its producing errors because its trying to tell the guests or members that a page does not exist, except that page does not exist!

Open your .htaccess file and look for something similar to:
Code:
ErrorDocument 404 /404.shtml
If its not there then it would be via vbseo/dbseo you can specify in settings where/what your 404 page is. If you do not have a 404 page you can try this: https://vborg.vbsupport.ru/showthread.php?t=245531

Edit: Your English is fine since its ESL, you're doing great!
Reply With Quote
  #14  
Old 10-09-2017, 01:53 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found file here: /public_html/vb/exception/404.php
Is this is 404.php file ?
also i have 2 .htaccess files
First one in /.htaccess

PHP Code:
<IfModule mod_deflate.c>
    
SetOutputFilter DEFLATE
    
<IfModule mod_setenvif.c>
        
# Netscape 4.x has some problems...
        
BrowserMatch ^Mozilla/4 gzip-only-text/html

        
# Netscape 4.06-4.08 have some more problems
        
BrowserMatch ^Mozilla/4\.0[678no-gzip

        
# MSIE masquerades as Netscape, but it is fine
        # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        # the above regex won't work. You can use the following
        # workaround to get the desired effect:
        
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

        
# Don't compress images
        
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    
</IfModule>

    <
IfModule mod_headers.c>
        
# Make sure proxies don't deliver the wrong content
        
Header append Vary User-Agent env=!dont-vary
    
</IfModule>
</
IfModule
2nd is: /public_html/.htaccess
PHP Code:
RewriteEngine on
<Files .htaccess>
order allow,deny
deny from all
</Files>

php_value max_input_vars 100000 
Reply With Quote
  #15  
Old 10-10-2017, 04:30 PM
Stingray27 Stingray27 is offline
 
Join Date: Jan 2006
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanzeelniazi View Post
Server: Yes its not the issue from the server
I request you to optimise the below file on your domain

index.php
showthread.php
newreply.php

These files consuming high cpu on the server Because of that you are facing this issue.
Find a proper host as that reply suggests the one you have are clueless - and probably running a badly overloaded server.
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 11:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09524 seconds
  • Memory Usage 2,225KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_code
  • (4)bbcode_php
  • (3)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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete