busy web server: logs on separate disks?

From: N.J. Thomas (njt_at_ayvali.org)
Date: 11/29/05

  • Next message: Robert Huff: "Re: Waaaaay OT, sorry."
    Date: Tue, 29 Nov 2005 13:38:17 -0500
    To: freebsd-questions@freebsd.org
    
    

    Given a webserver under moderately high load (where the httpd log files
    grow at the rate of 400MB per day) and two disks, which of the following
    is a better option:

        1. put the OS and everything on disk 1, and put the logs on disk2.

        2. put everything on one drive and mirror the disks

    With #1, you get max performance since the second disk is pretty much a
    write only disk. The downside is that in case the root disk crashes,
    your server goes down.

    With #2, you get the overhead and performance of two writes instead of
    one, but a disk crash doesn't hurt as much -- you just run in degraded
    mode until it is replaced.

    Thomas

    -- 
    N.J. Thomas
    njt@ayvali.org
    Etiamsi occiderit me, in ipso sperabo
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Robert Huff: "Re: Waaaaay OT, sorry."

    Relevant Pages

    • Re: Software RAID problem
      ... installed and of course HP management tools. ... > Hi Thomas, ... > and it's doing the same thing as you describe (resync after every reboot). ... >> There are no errors or warnings in the eventlog and also in Disk ...
      (microsoft.public.windows.server.sbs)
    • Re: Backup to file - swapping harddisk!
      ... Thomas ... > I do this with Ghost and it creates a bootable hard disk for offsite backup ... Ghost clones my source disc partitions and all directly ... >> needs to be shut down to do the swap - and that's ok, ...
      (microsoft.public.windows.server.sbs)
    • Re: Format drive A error message
      ... if your CD drive is acting up too, ... Thomas ... tracomm wrote: ... > Disk is useable in all other machines. ...
      (microsoft.public.win2000.hardware)