500 to 700 concurrent users is not much. We go upto 1500+ concurrent users with 1GB RAM.
Deepak "The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi" +91 73500 12833 deic...@gmail.com Facebook: https://www.facebook.com/deicool LinkedIn: www.linkedin.com/in/deicool "Plant a Tree, Go Green" Make In India : http://www.makeinindia.com/home On Fri, May 27, 2022 at 4:01 PM Rajkumar Adsule <rads...@opendr.com.invalid> wrote: > We are running a multi-tenant application on this web server and it's > heavily used approx 500 to 700 concurrent users. > > > Regards, > Rajkumar Adsule > OpenDoctor > > *Hello: (347) 686-8581 Extn: 112* > > *The content of this email is confidential and intended for the recipient > specified in the message only. It is strictly forbidden to share any part > of this message with any third party, without the written consent of the > sender. If you received this message by mistake, please reply to this > message and follow with its deletion, so that we can ensure such a mistake > does not occur in the future.* > > > > > On Fri, May 27, 2022 at 2:59 PM Deepak Goel <deic...@gmail.com> wrote: > >> 1. The best configuration depends on the number of people (users) >> accessing your webserver, and what kind of things they need to do (how >> heavy is your application. >> >> 2. 40 httpd threads eating 1gb each is a bit tough for me to understand. >> I use fpm and there are typically 4 processes of them run on my webserver >> eating about 10MB each. Of Course the load (users) which I cater to is less. >> >> Deepak >> "The greatness of a nation can be judged by the way its animals are >> treated - Mahatma Gandhi" >> >> +91 73500 12833 >> deic...@gmail.com >> >> Facebook: https://www.facebook.com/deicool >> LinkedIn: www.linkedin.com/in/deicool >> >> "Plant a Tree, Go Green" >> >> Make In India : http://www.makeinindia.com/home >> >> >> On Fri, May 27, 2022 at 2:14 PM Rajkumar Adsule >> <rads...@opendr.com.invalid> wrote: >> >>> yes, what would be the best configuration for 32CPU and 64GB RAM server, >>> and why it is eating that much memory. >>> >>> <IfModule mpm_event_module> >>> ServerLimit 4000 >>> StartServers 40 >>> MinSpareThreads 25 >>> MaxSpareThreads 2000 >>> ThreadLimit 64 >>> ThreadsPerChild 25 >>> MaxRequestWorkers 4000 >>> MaxClients 4000 >>> MaxConnectionsPerChild 0 >>> </IfModule> >>> >>> >>> Regards, >>> Rajkumar Adsule >>> OpenDoctor >>> >>> *Hello: (347) 686-8581 Extn: 112* >>> >>> *The content of this email is confidential and intended for the >>> recipient specified in the message only. It is strictly forbidden to share >>> any part of this message with any third party, without the written consent >>> of the sender. If you received this message by mistake, please reply to >>> this message and follow with its deletion, so that we can ensure such a >>> mistake does not occur in the future.* >>> >>> >>> >>> >>> On Fri, May 27, 2022 at 2:10 PM Deepak Goel <deic...@gmail.com> wrote: >>> >>>> Most of the memory is eaten by https threads. I guess they are about 40 >>>> of them eating 1gb each. >>>> >>>> Deepak >>>> "The greatness of a nation can be judged by the way its animals are >>>> treated - Mahatma Gandhi" >>>> >>>> +91 73500 12833 >>>> deic...@gmail.com >>>> >>>> Facebook: https://www.facebook.com/deicool >>>> LinkedIn: www.linkedin.com/in/deicool >>>> >>>> "Plant a Tree, Go Green" >>>> >>>> Make In India : http://www.makeinindia.com/home >>>> >>>> >>>> On Fri, May 27, 2022 at 1:45 PM Rajkumar Adsule >>>> <rads...@opendr.com.invalid> wrote: >>>> >>>>> Hi, >>>>> Please find attached the output of top command >>>>> >>>>> >>>>> Regards, >>>>> Rajkumar Adsule >>>>> OpenDoctor >>>>> >>>>> *Hello: (347) 686-8581 Extn: 112* >>>>> >>>>> *The content of this email is confidential and intended for the >>>>> recipient specified in the message only. It is strictly forbidden to share >>>>> any part of this message with any third party, without the written consent >>>>> of the sender. If you received this message by mistake, please reply to >>>>> this message and follow with its deletion, so that we can ensure such a >>>>> mistake does not occur in the future.* >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, May 27, 2022 at 1:38 PM Deepak Goel <deic...@gmail.com> wrote: >>>>> >>>>>> Can you run the top command on the server and give us the output? >>>>>> >>>>>> Deepak >>>>>> "The greatness of a nation can be judged by the way its animals are >>>>>> treated - Mahatma Gandhi" >>>>>> >>>>>> +91 73500 12833 >>>>>> deic...@gmail.com >>>>>> >>>>>> Facebook: https://www.facebook.com/deicool >>>>>> LinkedIn: www.linkedin.com/in/deicool >>>>>> >>>>>> "Plant a Tree, Go Green" >>>>>> >>>>>> Make In India : http://www.makeinindia.com/home >>>>>> >>>>>> >>>>>> On Fri, May 27, 2022 at 1:34 PM Rajkumar Adsule >>>>>> <rads...@opendr.com.invalid> wrote: >>>>>> >>>>>>> Please find the output of apachectl -M >>>>>>> $ apachectl -M >>>>>>> Loaded Modules: >>>>>>> core_module (static) >>>>>>> so_module (static) >>>>>>> http_module (static) >>>>>>> mpm_event_module (static) >>>>>>> authn_file_module (shared) >>>>>>> authn_core_module (shared) >>>>>>> authz_host_module (shared) >>>>>>> authz_groupfile_module (shared) >>>>>>> authz_user_module (shared) >>>>>>> authz_core_module (shared) >>>>>>> access_compat_module (shared) >>>>>>> auth_basic_module (shared) >>>>>>> deflate_module (shared) >>>>>>> socache_shmcb_module (shared) >>>>>>> filter_module (shared) >>>>>>> mime_module (shared) >>>>>>> log_config_module (shared) >>>>>>> logio_module (shared) >>>>>>> env_module (shared) >>>>>>> expires_module (shared) >>>>>>> headers_module (shared) >>>>>>> setenvif_module (shared) >>>>>>> proxy_module (shared) >>>>>>> session_module (shared) >>>>>>> ssl_module (shared) >>>>>>> unixd_module (shared) >>>>>>> autoindex_module (shared) >>>>>>> cgid_module (shared) >>>>>>> dir_module (shared) >>>>>>> alias_module (shared) >>>>>>> rewrite_module (shared) >>>>>>> php5_module (shared) >>>>>>> >>>>>>> $ free -m >>>>>>> total used free shared buffers >>>>>>> cached >>>>>>> Mem: 60517 59155 1361 162 7344 >>>>>>> 6487 >>>>>>> -/+ buffers/cache: 45324 15192 >>>>>>> Swap: 15358 133 15225 >>>>>>> >>>>>>> The problem is Memory utilization is always 95% - 98% >>>>>>> >>>>>>> Regards, >>>>>>> Rajkumar Adsule >>>>>>> OpenDoctor >>>>>>> >>>>>>> *Hello: (347) 686-8581 Extn: 112* >>>>>>> >>>>>>> *The content of this email is confidential and intended for the >>>>>>> recipient specified in the message only. It is strictly forbidden to >>>>>>> share >>>>>>> any part of this message with any third party, without the written >>>>>>> consent >>>>>>> of the sender. If you received this message by mistake, please reply to >>>>>>> this message and follow with its deletion, so that we can ensure such a >>>>>>> mistake does not occur in the future.* >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, May 27, 2022 at 9:43 AM Frank Gingras <thu...@apache.org> >>>>>>> wrote: >>>>>>> >>>>>>>> Also, I hope you are using the php-fpm approach for the php >>>>>>>> content, as mixing event and mod_php is a bad idea. >>>>>>>> >>>>>>>> Can you show apachectl -M ? >>>>>>>> >>>>>>>> On Thu, 26 May 2022 at 12:51, Deepak Goel <deic...@gmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> What exactly is the problem? Can you please post the error? >>>>>>>>> >>>>>>>>> >>>>>>>>> Deepak >>>>>>>>> "The greatness of a nation can be judged by the way its animals >>>>>>>>> are treated - Mahatma Gandhi" >>>>>>>>> >>>>>>>>> +91 73500 12833 >>>>>>>>> deic...@gmail.com >>>>>>>>> >>>>>>>>> Facebook: https://www.facebook.com/deicool >>>>>>>>> LinkedIn: www.linkedin.com/in/deicool >>>>>>>>> >>>>>>>>> "Plant a Tree, Go Green" >>>>>>>>> >>>>>>>>> Make In India : http://www.makeinindia.com/home >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, May 26, 2022 at 9:54 PM Rajkumar Adsule >>>>>>>>> <rads...@opendr.com.invalid> wrote: >>>>>>>>> >>>>>>>>>> Hi Team, >>>>>>>>>> >>>>>>>>>> I have a lamp configured with CentOs6.10 , PHP5.4 and Apache >>>>>>>>>> 2.4.53 on a GCP Server with Config 32CPU and 64GB RAM. >>>>>>>>>> >>>>>>>>>> Configured event mpm with following values >>>>>>>>>> >>>>>>>>>> <IfModule mpm_event_module> >>>>>>>>>> ServerLimit 4000 >>>>>>>>>> StartServers 40 >>>>>>>>>> MinSpareThreads 25 >>>>>>>>>> MaxSpareThreads 2000 >>>>>>>>>> ThreadLimit 64 >>>>>>>>>> ThreadsPerChild 25 >>>>>>>>>> MaxRequestWorkers 4000 >>>>>>>>>> MaxClients 4000 >>>>>>>>>> MaxConnectionsPerChild 0 >>>>>>>>>> </IfModule> >>>>>>>>>> >>>>>>>>>> please suggest a solution. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Rajkumar Adsule >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >>>>> For additional commands, e-mail: users-h...@httpd.apache.org >>>> >>>>