Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236

    apache max clients question

    Well i run "The Linux Mirror Project" and have done so for the past few months now.

    anyway, the past week, downloads, any any one time, have gone into 4 digit numbers, and i have a question about apache.

    What we do, is mirror linux distributions over bit torrent, so our apache isn't actually servering the files.

    Now, the bit torrent tracker, is running over apache. Now each user, who is conencted to the tracker, and downloading a distro, will connect to apache approx every 10 minutes.

    so if there is a connection, say once every 10 secs, to grab about 1k of data, maybe 2k, would apache, if set to max clients of 2048, be able to allow 20,000 users connected to the tracker, if each user connects once every 10 mins.

    its not a question of will the hardware support it, we have that sorted, its more of a question of will 2048 max clients support 20,000 users connecting once every 10 mins (they will be at random times not all together).

    also, when i last compiled the kernel, it asked for max file descriptors, now, thats the maximum amount of files you can have open per process isn't it?

    well it said enter a number between 256 - 2048, is there no way to compile the kernel for say, 8000?

    thanx

  2. #2

    Re: apache max clients question

    You can also set those values using /etc/sysctl.conf

    I use:
    /etc/sysctl.conf
    fs.file-max = 65535

    Then type 'sysctl -p' to load the value.

    -- Matthew


    Originally posted by matt2kjones
    also, when i last compiled the kernel, it asked for max file descriptors, now, thats the maximum amount of files you can have open per process isn't it?
    well it said enter a number between 256 - 2048, is there no way to compile the kernel for say, 8000?
    thanx [/B]

  3. #3
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236
    thanx for that....

    i didn't no, i thought you had to recompile the kernel to change it

    wow, thats really handy to know, thanx

  4. #4
    Also if you are looking for a faster webserver to do minimum HTTP/1.1.

    You might want to take a look at
    http://www.acme.com/software/thttpd/
    Datums Internet Solutions, LLC
    Systems Engineering & Managed Hosting Services
    Complex Hosting Consultants

  5. #5
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    i agree thttpd sounds like it would be good for this, small footprint and its fast!
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  6. #6
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236
    thttpd doesn't support php tho does it?

    (the tracker is php + mysql)

    look on the thhpd site but couldn't find into on thttpd + php anyway

    thanx for all the replies

Posting Permissions

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