Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2005
    Posts
    359

    File server advice

    Hi guys,
    Im looking for advice on setting up a file server for my customers:

    Im looking for the best performance (software) with capabilities to limit downloads per IP, limit speed etc...

    Im experienced with lighttpd and apache. But which webserver would you suggest?

    Thanks

  2. #2
    Join Date
    Mar 2005
    Posts
    359
    Server hardware is not really the problem.

    Thanks

  3. #3
    Join Date
    Jun 2002
    Location
    sydney.au
    Posts
    246
    I just happened to run into something today that might help you - Download Sentinel++. It's a PHP-based download manager.

    From the site:

    This is an Anti-leech, download limiter / file manager, that uses tokens to verify downloads instead of HTTP_REFERER or IP which can be spoofed or changed. Good coding practice with modern PHP security. XHTML / CSS valid output. Easy to customize with html templates. Usage is dead simple, the included and auto-installed web page does everything for you. Extremely easy to manage all of your download files and very easy to work into your existing web page. Uses flat files so no need for an additional MySQL database.

  4. #4
    Join Date
    Aug 2006
    Location
    Ireland
    Posts
    813
    ^^^ oh boy dont use php based download managers! php leaks memory and will never be as efficient as the webserver that it runs on top when serving files


    yes use lighttpd, it offers alot of features for file hosting



    i found lighttpd to be alot less resource (cpu and memory) hungry than apache when serving files

  5. #5
    Join Date
    Jun 2002
    Location
    sydney.au
    Posts
    246
    Quote Originally Posted by mihd
    ^^^ oh boy dont use php based download managers! php leaks memory
    Sort of. Technically, it doesn't (as far as I know) leak, but it doesn't give memory back either. I use Apache's MaxRequestsPerChild to keep this under control. (It restarts the individual Apache processes after serving a certain number of pages.)

    and will never be as efficient as the webserver that it runs on top when serving files
    Well, no, but if you want to do something that your web server doesn't do, you need something other than your web server.

    i found lighttpd to be alot less resource (cpu and memory) hungry than apache when serving files
    Not that that is hard.

    If lighttpd does what you need, that's probably a good way to go.

  6. #6
    Join Date
    Aug 2006
    Location
    Ireland
    Posts
    813
    yes but lighttpd offers most of the functions (and more) at the server level that the php script mentioned above does at application level hence more efficiency and less resource usage

  7. #7
    Join Date
    Jun 2002
    Location
    sydney.au
    Posts
    246
    Having taken a look at your site, I think I'll defer to your expertise.

Posting Permissions

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