web server maximum number of users apache can handle?

后端 未结 4 586
余生分开走
余生分开走 2020-12-13 11:03

My question is what is the maximum number of users that Apache webserver 2.2.2 can handle, i have a website which sometimes gets over 300+ concurrent users, however apache d

4条回答
  •  隐瞒了意图╮
    2020-12-13 11:35

    Recommendations

    Please use Keep Alive as it will increase the performance of your server. Disable keep Alive settings only when there is a firewall in between web or app. Or you are facing package drop issues/connection reset msg.

    • You can increase max client limit but the limit will totally depends upon your server configuration. On an average each apache thread will take let say 25MB , then in that case you have keep max client value to (MAX*load on each thread)/(RAM allocated*threads). Always maintain this ratio to 1/2.
    • You can increase your users to any numbers as explained above by increase max client and server limits of your systems.
    • Always define min-maxspare or min-maxthread limits.
    • One very important point if you are unable to increase the max client limit , just increase the listen backlog limit it will take the extra requests in the queue which in turn prevents the connection drop.

提交回复
热议问题