Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2002
    Posts
    32

    would a dedicated thttpd image server be good for me now ?

    Hello, this is my current setup : 2 x pentium4 2.8ghz 1gig ram, acting as webserver for php scripts, and 1 dual xeon 2.4ghz 2gig ram, having the mysql database. The webservers also hold all images uploaded by my users, each ftp-ing new content to each other whenever something is added on one of the servers.

    The load on my db server is quiet ok, but the load on one of my webserver can jump very high unexpectedly (to 600-900), and after 10 mins or so the other mostly starts getting high loads too. I guess that this is because of the ftp-actions they do to eachother, and that it makes them too dependent on eachother. So if one goes down, it takes the other with him.

    I've been looking around for solutions , and one of the things I came across was a dedicated image server with thttpd, wich should replace all the image dirs on the webservers. It falls within the budget, and I dont need to make big changes to my site for this, but I'm still not very convinced

    Would an image server take away a lot of load from the webservers ? From what I found , some say it does and others say it doesnt. An average page on my site has about 10-20 unique images (userpics, avatars), and about 10 commonly used images (smileys, icons). Is this enough to justify an image server ?

    And what specs would I need ? I'm looking at a pentium4 2.4ghz with 512 ram running debian, a simple server from the same company I have my other servers with.

    Any suggestions are welcome, I just want to make sure I would be taking the right path with this, as I never used a dedicated image server before

  2. #2
    We need more information before we can suggest throwing more hardware at a problem. What sort of software are you running? How many users are normally on your site at one time? How many pages are you serving with apache?
    Matt Wade
    Christian Web Hosting
    http://codewalkers.com/ - Home of the PHP Coding Contest
    http://phphosts.codewalkers.com/ - Directory of PHP Web Hosts. Free Listing.

  3. #3
    Join Date
    Oct 2002
    Posts
    702
    Http://lighttpd.net will solve both your image and php load issues. Get away from apache. You will be much happier.

    Also what software are you using for ftp?
    ServerMatingProject.com
    The World's first server mating experiment
    We give new meaning to I/O intensive and hot swap

  4. #4
    Join Date
    Oct 2003
    Location
    Long Island, New York
    Posts
    220
    Server hardware for a server running thttpd need not be too extensive... thttpd is highly efficient. It does however benefit you to place a large amount of memory in the machine, because thttpd likes to cache all it can in memory to save disk IO.
    TWSites.com - Business Web Hosting Solutions & Server Management Since 2003

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •