GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Shared hosting account problem diagnosis? (https://gfy.com/showthread.php?t=1285761)

wehateporn 11-29-2017 10:58 AM

Shared hosting account problem diagnosis?
 
When there is a problem on a shared hosting account where lots of your own blogs are located, too much CPU usage, any tips on diagnosing the site it's coming from?

TheDynasty 11-29-2017 11:01 AM

contact your host and they will tell you?

wehateporn 11-29-2017 11:02 AM

Quote:

Originally Posted by TheDynasty (Post 22089855)
contact your host and they will tell you?

They prefer to suspend the whole thing, they just give general tips on speeding things up, but there seems to be a new cause out of nowhere

klinton 11-29-2017 11:05 AM

for any normal sys admin its just 1 minute of work - to tell where is the problem exactly..they want to kick you out...just buy some cheap VPS and move on

wehateporn 11-29-2017 11:06 AM

Quote:

Originally Posted by klinton (Post 22089876)
for any normal sys admin its just 1 minute of work..they want to kick you out...just buy some cheap VPS and move on

I have some other hosting accounts too, including a decent VPS, just wanted to see if there was a quick solution without doing the move as all my stuff there is a clusterf**k

onwebcam 11-29-2017 11:11 AM

It's been a long while since I relieved myself of these issues but if you're running a lot of PHP scripts on shared it's likely most of the problem.

wehateporn 11-29-2017 11:13 AM

Quote:

Originally Posted by onwebcam (Post 22089906)
It's been a long while since I relieved myself of these issues but if you're running a lot of PHP scripts on shared it's likely most of the problem.

Have a number of wordpress blogs and some HTML sites there. One mystery is that a relative was creating a wordpress blog there, not sure if it's got a bit heavy

Sly 11-29-2017 11:16 AM

My guess is you have all of your WordPress installs under the same user. One, or more, got exploited and it's leaking throughout all of your sites and the whole shared server. I'm surprised they haven't already turned your account off.

Your best bet is to get a VPS and move each blog over one by one, under different users, completely cleaning as you go. This is an extremely tedious task but once one user is exploited, the nuclear option is your only real fix.

Sly 11-29-2017 11:18 AM

Pro Tip: WordPress is NOT "set and forget." If you use WordPress on any sites, you need to actively keep it up-to-date or disaster will strike.

klinton 11-29-2017 11:34 AM

Quote:

Originally Posted by Sly (Post 22089921)
Pro Tip: WordPress is NOT "set and forget." If you use WordPress on any sites, you need to actively keep it up-to-date or disaster will strike.

there is a plugin named automatic updates :winkwink::winkwink::winkwink:

directfiesta 11-29-2017 11:36 AM

Quote:

Originally Posted by onwebcam (Post 22089906)
It's been a long while since I relieved myself

:1orglaugh:1orglaugh

Sly 11-29-2017 11:37 AM

Quote:

Originally Posted by klinton (Post 22089939)
there is a plugin named automatic updates :winkwink::winkwink::winkwink:

There are tons of automatic tools. None of them are 100% fool proof. ;-)

Not if, when. WordPress' new slogan.

chaze 11-30-2017 01:16 AM

Quote:

Originally Posted by wehateporn (Post 22089846)
When there is a problem on a shared hosting account where lots of your own blogs are located, too much CPU usage, any tips on diagnosing the site it's coming from?

With us, we can check the daily process and apache logs to track it down some. PHP can block which actual files are overloading and just say PHP though. In that case it's really tricky.

In my experience, not having caching added to a WP blog and too many posts on one page are the biggest culprits.

hdbuilder 11-30-2017 09:44 AM

Its gonna be very hard to find the issue if you don't have root access and see whats up. With share hosting you rely and your host pretty much for them to tell you whats wrong where

onwebcam 11-30-2017 10:17 AM

Quote:

Originally Posted by directfiesta (Post 22089951)
:1orglaugh:1orglaugh

Believe me it was like the greatest shit and piss ever taken.

As I said its been awhile but if remember correctly I had to install a php compiler of sorts yo lighten my process loads. But this isn't something you can do on a shared. I had a dedicated but was running a little over 100 city portals all built on joomla and them some.

rogueteens 11-30-2017 10:19 AM

on your wordpress installs, try using P3 (Plugin Performance Profiler) to see if it can find any issues.

wehateporn 12-03-2017 06:04 AM

And then it mysteriously went away, after Hostgator did something, but they never communicated what it was. I do see they've made a change to every htaccess file on the account

I think there was a virus in there which they don't want to tell me about

Seems like with a shared account our business in the hands of the Gods

Zverka 12-03-2017 06:47 AM

Quote:

Originally Posted by wehateporn (Post 22097388)
And then it mysteriously went away, after Hostgator did something, but they never communicated what it was. I do see they've made a change to every htaccess file on the account

I think there was a virus in there which they don't want to tell me about

Seems like with a shared account our business in the hands of the Gods

I suppose it might be something to do with xmlrpc, as this is one thing that will put server on its knees when someone try to break in via api login on xnlrpc.php. I see how it looks like when thousands bots trying to guess credentials it looks like mini DDOS, and most of the bots are hosted on amazon aws, it is hard to blacklist all those IPs.

Google this https://www.google.nl/search?dcr=0&e....0.Kd-LVKt53s0

and my recommendation is to forbid direct access from public on this file xmlrpc.php via htaccess if you are not using api access, and most people don't.

wehateporn 12-03-2017 06:51 AM

Quote:

Originally Posted by Zverka (Post 22097400)
I suppose it might be something to do with xmlrpc, as this is one thing that will put server on its knees when someone try to break in via api login on xnlrpc.php. I see how it looks like when thousands bots trying to guess credentials it looks like mini DDOS, and most of the bots are hosted on amazon aws, it is hard to blacklist all those IPs.

Google this https://www.google.nl/search?dcr=0&e....0.Kd-LVKt53s0

and my recommendation is to forbid direct access from public on this file xmlrpc.php via htaccess if you are not using api access, and most people don't.

This appeared on htaccess

<Files 403.shtml>
order allow,deny
allow from all
</Files>

Zverka 12-03-2017 07:24 AM

they might be blocking wpsite.com/xmlrpc.php on apache config level you have no access on shared hostings and this in htaccess might be something that it is needed after that.

try this url on your wp site wpsite.com/xmlrpc.php and see outcome if output is blank of forbidden than access to xnlrpc.php file was denied but if you see

XML-RPC server accepts POST requests only.

than it is something else and my opinion is that you should consider deny access to xmlrpc.php on every wp unless you use it but anyway if you are using it you have ability to give access to IP's of other sites you use for api access and deny to generic public

Bladewire 12-03-2017 07:30 AM

Quote:

Originally Posted by wehateporn (Post 22097388)
And then it mysteriously went away, after Hostgator did something, but they never communicated what it was. I do see they've made a change to every htaccess file on the account

I think there was a virus in there which they don't want to tell me about

Seems like with a shared account our business in the hands of the Gods

... and your paranoia leaks into yet another aspect of your life.

Never have anything that matters, isn't instantly portable & backed up daily on VPS.

Brad Mitchell 12-03-2017 10:06 AM

Make your problems our responsibility. Let us compete for your business! Free white glove move assistance.

Brad


All times are GMT -7. The time now is 11:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123