Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Oct 2017, 04:15
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
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 02 Oct 2017 at 04:18 ---------------

I am using 4.2.0 and have some Mods install but not so much
Reply With Quote
  #2  
Old 02 Oct 2017, 06:01
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
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.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #3  
Old 02 Oct 2017, 06:48
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
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 02 Oct 2017 at 06:58 ---------------

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 02 Oct 2017, 11:19
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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).
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #5  
Old 02 Oct 2017, 12:40
Mark.B Mark.B is offline
 
Join Date: Feb 2004
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.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #6  
Old 02 Oct 2017, 13:26
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
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 02 Oct 2017, 13:48
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
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.

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.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #8  
Old 02 Oct 2017, 19:02
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
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 02 Oct 2017, 19:45
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #10  
Old 02 Oct 2017, 21:45
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
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
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #11  
Old 04 Oct 2017, 10:49
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
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
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #12  
Old 06 Oct 2017, 15:14
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
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://www.vbulletin.org/forum/showthread.php
Sorry for my bad enlgish

--------------- Added 06 Oct 2017 at 15:19 ---------------

Also i see lots of error in error log file looks like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #13  
Old 06 Oct 2017, 23:15
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by tanzeelniazi View Post

Also i see lots of error in error log file looks like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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://www.vbulletin.org/forum/showthread.php?t=245531

Edit: Your English is fine since its ESL, you're doing great!
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #14  
Old 09 Oct 2017, 15:53
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2nd is: /public_html/.htaccess

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #15  
Old 10 Oct 2017, 18:30
Stingray27 Stingray27 is offline
 
Join Date: Jan 2006
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



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 02:38.

Layout Options | Width: Wide Color: