Help - Search - Members - Calendar
Full Version: Subdomain OVERKILL!
The Planet Forums > Control Panels > cPanel/WHM
mau1986
I found my Dual Xeon (the 1GB ram version!) had crashed today!

It has just over 300 sites, and had been running under .5 load for the entire length of it's life. I couldn't do anything, couldn't login, could only ping it. Requested a reboot.. server came back, and I find that the top processes belong to a users subdomain:

admin.theirdomain.com

It was showing the processes as using 99% of the CPU. So I loaded the site... and it just hung for a bit, checked top, and it was eating 99% of a CPU. (thankfully there are ~ four CPUs icon_smile.gif So just loading the page once didn't kill the server)

I checked their files, and they didn't have anything but a cleared .htaccess file, and a cgi-bin folder in their subdirectory. So I loaded theirdomain.com/admin/ -- came up with a site. Not the nothing I was expecting, but an actual site.

theirdomain.com/admin/ works fine when the subdomain is enabled, just admin.theirdomain.com causes the server to crash. Any ideas? :confused:

Regards,
Matt
underzen
QUOTE
Originally posted by mau1986
I found my Dual Xeon (the 1GB ram version!) had crashed today!

It has just over 300 sites, and had been running under .5 load for the entire length of it's life. I couldn't do anything, couldn't login, could only ping it. Requested a reboot.. server came back, and I find that the top processes belong to a users subdomain:

admin.theirdomain.com

It was showing the processes as using 99% of the CPU. So I loaded the site... and it just hung for a bit, checked top, and it was eating 99% of a CPU. (thankfully there are ~ four CPUs icon_smile.gif So just loading the page once didn't kill the server)

I checked their files, and they didn't have anything but a cleared .htaccess file, and a cgi-bin folder in their subdirectory. So I loaded theirdomain.com/admin/ -- came up with a site. Not the nothing I was expecting, but an actual site.

theirdomain.com/admin/ works fine when the subdomain is enabled, just admin.theirdomain.com causes the server to crash. Any ideas? :confused:

Regards,
Matt




wow...not sure. Sounds wierd and aussie could be having the same problem. Are you using cpanels auto update? If so are you using a the stable tree updates. Maybe its an update cpanel released but I doubt it.

I would think a run away cgi or php script.

Defitnely keep us up to date on this one
mau1986
No developments yet... we're running the stable tree.

I checked httpd.conf, and the subdomain was pointing to the correct directory, and the directory was present. It had nothing in it but a folder and a .htaccess (clear). It may have been a .htaccess from his public_html folder, I'll have to check that.

Regards,
Matt
aventure
QUOTE
Originally posted by mau1986
(thankfully there are ~ four CPUs icon_smile.gif So just loading the page once didn't kill the server)


Regards,
Matt [/B]



Erm, your Xeon only has 2 CPUs, hyperthreading in the processors make it appear as 4 CPUs in linux.
mau1986
Reason for the ~

Regards,
Matt
aventure
Ah Got ya icon_wink.gif
RisingHost
if you load http://admin.theirdomain.com with IE does it seem to go into an infinite loop where it appears to be reloading and reloading only eventually to time out? If so I may have a solution.
simply delete the subdomain and redirection from cpanel (you may also want to delete the .htaccess file) and only recreate the subdomain. When you you create a subdomain.theirdomain.com it automatically redirects to theirdomain.com/subdomain.. if you setup redirection for that subdomain to the same dir you will end up with an infinite loop which might be causing your load issues that you are receiving.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.