LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-28-2005, 03:20 PM   #1
hsegtreas
Member
 
Registered: May 2004
Distribution: Slackware 9.1
Posts: 47

Rep: Reputation: 15
ramdisk for apache on an old computer


I have a webserver running on an old P233 MMX.
I fear that running a 7 years old hard drive 24/24h isn't a very good idea, so I would like to install apache and its folders on a ramdisk so my hard drive doesn't die too quickly.. (even though it's just a 3 Gb, i would have a hard time finding another one that fits on that computer..)
I found some tutorials on how to make a ramdisk, but what i would really like to know is: is it really worth it?
I assume a couple of cron jobs would have to be moved on the ramdisk too, so is it realistic to think the hard drive would wake up only once a week for backups and cron jobs?

Thanks!
 
Old 01-28-2005, 04:52 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
IMHO no.

How much RAM do you have in this PC? If it is still running I wouldn't bother changing a thing. Its the power on cycles that are harder on the drive then just keeping it powered.

Using a RAM disk will take some memory which might cause the webserver to use more swap which will in effect access the drive more.
 
Old 01-28-2005, 07:57 PM   #3
hsegtreas
Member
 
Registered: May 2004
Distribution: Slackware 9.1
Posts: 47

Original Poster
Rep: Reputation: 15
There's only 64MB of ram.. you're right, i would have to install some more ram to make sure it doesn't need to swap memory on the hard drive.
128Mb SDRAM is 55$CAN.. which is probably the price of a small new HD.

So powering up&down once a week would be worse that running it continuously?

hmmm... i can't make up my mind
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 03:08 PM
Apache - serving to external hosts from a computer on my internal network Khang Linux - Networking 4 01-24-2005 05:10 PM
creating a ramdisk runtime from another ramdisk code123 Linux From Scratch 0 10-11-2004 08:59 AM
ramdisk clu Slackware 0 05-08-2003 02:25 AM
ramdisk brav012 Linux - Software 6 01-17-2002 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration