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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2017, 02:15 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Urjent Help bcz site down 4 hours ago

Hello guys i have a problem 4 hours ago my site is down and when i chat from hosting man he clear all unwanted files and others but site going slow and down position after he search found a big problem he says:

Server: showthread.php This file is consuming more cpu resources on the server. I have renamed it for temporary
And now your domain also loading fine with good load speed.

ME: major problem if i open any thread i rec 404 error
Server: I have restored it now
Me: again 100/100 error , before my site is working fine first time today i see this problem
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.
i suggest you to update plugin themes and optimize the domain scripts frequently as well


How to optimize this situation ? Help please

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

I am using 4.2.0 and have some Mods install but not so much
Reply With Quote
  #2  
Old 10-02-2017, 04:01 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, well, if you remove the scripts that make up the forumsoftware (like index.php, or showthread.php), of course load goes down. Making a site completely unusable will do that for you.

You can try disabling your addon system to see if that fixes the issue. If it does not, you need a more powerful server.
Reply With Quote
  #3  
Old 10-02-2017, 04:48 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see some Ips in some specefic threads after i move all threads in Private or Trash and my site going little fine not complete i mean 80% working fine
what is that ? why this happen ? i move threads and all is fine help please

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

I dont want another sections thread be like this please help me to solve this issue not site is fine but i think Ips attacking another section threads
Reply With Quote
  #4  
Old 10-02-2017, 09:19 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As cellarius said, did you try disabling the addon system to see if that fixes the "slowness" of your forum?

It's possible that your host is just being nitpicky and it's time to move from cheap shared? hosting to a VPS (which is almost as much as a shared webhost anyway).
Reply With Quote
Благодарность от:
TheLastSuperman
  #5  
Old 10-02-2017, 10:40 AM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love it when hosts tell you to 'optimize' files that are part of one of the most widely used pieces of software on the internet.

Because yeah, sure, hundreds of thousands of people have used this code without issue but suddenly this host has discovered that the code needs 'optimizing'.

Whenever I see this going on, my response is the same - ask them to tell you the piece of code they think is causing the problem. It's always good for a laugh.
Reply With Quote
2 благодарности(ей) от:
blind-eddie, TheLastSuperman
  #6  
Old 10-02-2017, 11:26 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have no so much knowledge in coding but when server staff change the name of file showthread after my site going fine, before post i says i just hide all threads from 1 section and my site is going fine 4 to 5 hours ago so i am asking again why this happen ? i will private 1 section there already have 1000 about guest. but now fine and dont want this happen to another section
Reply With Quote
  #7  
Old 10-02-2017, 11:48 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanzeelniazi View Post
i have no so much knowledge in coding but when server staff change the name of file showthread after my site going fine,
As I said before: That's like asking "My car consumes too much fuel. If I stop the engine, it stops using so much fuel. What's the problem". If you remove showthread.php, your forum is essentially dead, and of course it won't use many ressources anymore.

Quote:
before post i says i just hide all threads from 1 section and my site is going fine 4 to 5 hours ago so i am asking again why this happen ?
If it's a large enough section, removing it from public access will of course have an impact. If you remove, say, 1/4 of your posts, then there will be 1/4 less site accesses.
Reply With Quote
Благодарность от:
TheLastSuperman
  #8  
Old 10-02-2017, 05:02 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea i know i cant delete showthrad or rename so i am asking for help to avoid another section threads for this situatio
i move 1 thread form trash to problrm section and again i see lots of views again and my site is down whats the problem
Reply With Quote
  #9  
Old 10-02-2017, 05:45 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. Your problem is that your host is crap, upgrade to a better server.
2. You may be under a DDoS attack, which could also cause these problems.
Reply With Quote
  #10  
Old 10-02-2017, 07:45 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ensure your files are clean i.e. has your site been hacked? Are those files consuming more resources because they're actually using them from malicious code being included?

This could be a number of things like Cellarius and Dave mentioned, it could be from a globally called plugin and your host is simply seeing more load on those few pages because they're the most frequented etc etc.

Check, check, and check again until you're sure of the actual issue not just a guess, when you're not guessing anymore then you're actually cooking with bacon and can serve good eggs with it . Me and my analogies lol
Reply With Quote
Благодарность от:
Brandon Sheley
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 06:06 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.05138 seconds
  • Memory Usage 2,268KB
  • 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
  • (2)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
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)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_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
  • 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