25 * 2000 = 50.000 threads. May be you have to setup ulimit in your OS. B.R.
2016-09-22 6:32 GMT+02:00 Rashmi Srinivasan <rashmisrinivasan2...@gmail.com> : > Hi, > Below is the issue encountered when i am trying to use apache 2.4 to > validate performance using the benchmarking tool(ab tool). > > ab is invoked with 2000/1000 concurrent requests and subjected to 80000 > cgi requests. The module enabled is mod_cgid. Occurs with worker/event mpm > enabled > > MPM configuration is: > <IfModule mpm_worker_module> > ServerLimit 80 > StartServers 3 > MinSpareThreads 75 > MaxSpareThreads 250 > ThreadsPerChild 25 > MaxRequestWorkers 2000 > MaxConnectionsPerChild 0 > </IfModule> > > ================================================ > 2000 concurrent requests > > Benchmarking x.x.x.x (be patient) > socket: Too many open files (24) > > OR > > 1000 concurrent requests > > Benchmarking x.x.x.x (be patient) > Completed 8000 requests > apr_socket_recv: Connection timed out (110) > Total of 8972 requests completed > ================================================ > > This occurs on RHEL as well as on HP-UX. > Please help if anyone has encountered the same problem. > > > Thanks, > RS > -- *Rubén Toribio Aldeguer* Técnico Sistemas DataCenter Informática Área Sistemas (+34) 971743030 www.riu.com / www.riuplaza.com -- [image: Facebook] <http://www.facebook.com/Riuhoteles> [image: Twitter] <http://twitter.com/#%21/RiuHoteles> [image: Flickr] <http://www.flickr.com/photos/riuhotels/collections/> [image: Youtube] <http://www.youtube.com/user/RiuHotelsandResorts> [image: Google Plus] <https://plus.google.com/102337793674910512804/posts> This e-mail and its attachments, if any, are confidential and may be legally privileged. If you have received it in error, you are on notice of this status. Please do not copy or use it for any other purpose or disclose its contents to any other person: to do so could be a breach of confidence. You may contact us at +34 971 74 30 30 or at sender's e-mail address. [image: Facebook] *Please, consider the environment before printing this email.* <http://www.riu.com/es/sostenibilidad/inicio.jsp>