please find the process wise memory consumption
Private + Shared = RAM used Program
4.0 KiB + 9.5 KiB = 13.5 KiB acpid
4.0 KiB + 9.5 KiB = 13.5 KiB agetty
4.0 KiB + 16.5 KiB = 20.5 KiB rpc.rquotad
4.0 KiB + 20.5 KiB = 24.5 KiB hald-addon-acpi
4.0 KiB + 22.0 KiB = 26.0 KiB hald-runner
4.0 KiB + 23.5 KiB = 27.5 KiB hald-addon-input
4.0 KiB + 27.5 KiB = 31.5 KiB rpc.statd
0.0 KiB + 51.5 KiB = 51.5 KiB udevd (3)
36.0 KiB + 26.0 KiB = 62.0 KiB atd
24.0 KiB + 51.0 KiB = 75.0 KiB mingetty (6)
4.0 KiB + 76.5 KiB = 80.5 KiB abrtd
80.0 KiB + 23.5 KiB = 103.5 KiB rpcbind
64.0 KiB + 44.0 KiB = 108.0 KiB nrpe
136.0 KiB + 27.5 KiB = 163.5 KiB dbus-daemon
136.0 KiB + 28.0 KiB = 164.0 KiB crond
144.0 KiB + 30.5 KiB = 174.5 KiB rpc.idmapd
184.0 KiB + 30.5 KiB = 214.5 KiB auditd
156.0 KiB + 79.0 KiB = 235.0 KiB master
232.0 KiB + 82.0 KiB = 314.0 KiB tlsmgr
308.0 KiB + 33.5 KiB = 341.5 KiB ntpd
368.0 KiB + 18.0 KiB = 386.0 KiB dhclient
356.0 KiB + 32.5 KiB = 388.5 KiB rpc.mountd
344.0 KiB + 83.0 KiB = 427.0 KiB qmgr
400.0 KiB + 46.0 KiB = 446.0 KiB init
748.0 KiB + 69.0 KiB = 817.0 KiB hald
1.0 MiB + 197.0 KiB = 1.2 MiB scache
1.0 MiB + 197.0 KiB = 1.2 MiB pickup
1.2 MiB + 197.0 KiB = 1.3 MiB cleanup
1.2 MiB + 193.0 KiB = 1.4 MiB sudo
964.0 KiB + 678.0 KiB = 1.6 MiB bash (2)
2.5 MiB + 238.0 KiB = 2.7 MiB google_clock_sk
3.1 MiB + 292.5 KiB = 3.3 MiB google_network_
1.0 MiB + 3.0 MiB = 4.0 MiB sshd (5)
4.3 MiB + 39.0 KiB = 4.3 MiB rsyslogd
4.1 MiB + 329.0 KiB = 4.4 MiB google_accounts
11.8 MiB + 2.4 MiB = 14.2 MiB smtp (5)
16.0 MiB + 135.5 KiB = 16.2 MiB stackdriver-collectd
291.0 MiB + 247.5 KiB = 291.2 MiB ruby
* 35.8 GiB + 31.7 MiB = 35.9 GiB httpd (42)*
---------------------------------
* 36.2 GiB*
=================================
$ free -m
total used free shared buffers cached
Mem: 60517 60107 409 162 11075 3266
-/+ buffers/cache: 45765 14751
Swap: 15358 131 15227
The system says 60GB is used, As per-process memory it's 36.2 GB used,
where is the other 34GB?
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:13 PM Rajkumar Adsule <[email protected]> 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 <[email protected]> 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
>> [email protected]
>>
>> 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
>> <[email protected]> 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 <[email protected]> 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
>>>> [email protected]
>>>>
>>>> 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
>>>> <[email protected]> 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 <[email protected]>
>>>>> 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 <[email protected]> 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
>>>>>>> [email protected]
>>>>>>>
>>>>>>> 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
>>>>>>> <[email protected]> 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: [email protected]
>>> For additional commands, e-mail: [email protected]
>>
>>