Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-14-2010, 06:52 PM   #1
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
Linux server, high disc io- can this be done?

hi,

I have a server with 3 x 500 gig drives. (It has only around 300gigs of data being used.)

currently only 2 drives are being used. 1drive is primary and the other is just backing up the data from the first drive. 3rd drive not really used or mounted at the moment.

I have been told the site is failing due to high disc io. There are 3 domains being used on there. The data is not critical and i have local backups.

I was wondering if it is possible on a server to allocate 1 domain to each of the 3 drives? so splitting the load over 3 drives, each domain is actually using rought the same BW.

Is this possible ? since the rest of the resourses like memory and cpu are not used much.

Would using raid be a better option ?and if so which raid to use for fastest speed and highest tolerance to disc io considering i have 3 drives and no real need of backups?

I have been told raid is going to cost quite a bit more so i am hoping to be able to just put 1 domain on each drive thus splitting the load that way if possible ,or if it will even be effective.

thanks
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 07:13 PM   #2
Domain Broker
So Fucking Banned
 
Industry Role:
Join Date: Oct 2004
Posts: 2,427
You're an idiot.
Domain Broker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 07:14 PM   #3
Supz
Arthur Flegenheimer
 
Supz's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: New York City
Posts: 11,056
change from SATA to SAS drives.
Supz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 07:32 PM   #4
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
Quote:
Originally Posted by Domain Broker View Post
You're an idiot.
You're a pest.
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 07:41 PM   #5
Iron Fist
Too lazy to set a custom title
 
Join Date: Dec 2006
Posts: 23,400
Why not ask your hosting support for options....
__________________
i like waffles
Iron Fist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 08:21 PM   #6
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
hi,

Yeah i have asked on the ticket, just waiting for a reply - can take sometime depending on if they're busy. Just wanted to hear other ideas. SAS drives may work like someone suggested, or if i can't split the domains on to different drives in the server then i will probably just go for the hardware raid option. Another person mentioned ssd drives, just reading up on those now, but the storage size seems rather small.

TBh since i know nothing about server admin, i can't really know if what they suggest is the best option. They seemed to be unable to cure the server crashing once it had 300 max connections. I got another person to check on the server and he simply made some adjustments in the apache build and now it runs fine. He turned off some stuff that wasn't needed. He suggested i scrap apache altogether for a more efficient method like lighttpd or some other one, however i really need cpanel and whm or else i'd be stuck. So for now apache will be ok but if the site grows i guess i will have to learn to live without those and adopt lighttpd.

A long time ago - before i had this disc io issue, someone mentioned they had had the same problem and simply split his domains up and put them on different drives and cured his io issue. That's the reason i just asked here, maybe that is a common solution, because if i used raid, then if 1 drive breaks i will lose all the data for all 3 domains, however with spreading the domains on different drives i would only lose 1 domain, and maybe the os would still work if it was not the primary drive that failed. I was told discs under high load constantly are likely to fail at some point.
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 08:54 PM   #7
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,589
sure can be done .. pretty standard.
Name your 2 other drives ( like home2 and home 3 ).
Then create the domain account accordingly , pointing to the respective drive.

Will help a bit ...
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 09:29 PM   #8
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
thanks for that, i'm going to give it a try and see if it cures the problem
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 10:21 PM   #9
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Depends what the I/O is caused by, if it's all MySQL queries then shifting a site's HTML, scripts and logs to another drive will probably make no difference...

... and if it is all MySQL, you can probably find a way to optimize your queries or database structure in order to reduce load...
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2010, 10:38 PM   #10
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
hi,

The server is only used for serving movie files, there is no database usage at all.
The files are not that large 40megs max. I'd say only around 50 files are ever popular at one time. I'm reading it maybe possible to push a lot of that into ram using some apache mod. The ram is not really taxed much at all.

Oh well time to learn a little bit about server admin, if i even knew how to command ssh im sure i could resolve some issues and reboot when i can't reach the site via whm.

Looking at an easy apache guide to see what could be done that way that could take some stress off of the drives also maybe.
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2010, 01:41 AM   #11
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Definitely get rid of that bloated cpanel.
Use a fine tuned apache or lighttpd.
Split the IO load among the three disks.
Add more ram (as much as you afford), it will be used for caching in favor of IO load.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2010, 01:59 AM   #12
abshard
Confirmed User
 
abshard's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: AZ
Posts: 6,303
SSD's work good for high IO
abshard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2010, 07:38 AM   #13
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
try using zfs and an ssd drive for caching
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2010, 07:51 AM   #14
Spudstr
Confirmed User
 
Spudstr's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: In a Tater Patch
Posts: 2,321
Quote:
Originally Posted by k0nr4d View Post
try using zfs and an ssd drive for caching
depending on the IO.. you need some DAMN fast ssd's that wont do the sync() or flush() on the ssds. Caching on the ssds is great if your ssd drive plays nicely with zfs. A ssd that plays nicely with zfs is ungodly expensive. zfs's nvram on drive cache flushing is what kills it.
__________________
Managed Hosting - Colocation - Network Services
Yellow Fiber Networks
icq: 19876563
Spudstr is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.