[prev in list] [next in list] [prev in thread] [next in thread]
List: debian-user
Subject: Re: "ps -o %mem" and free memory in Linux
From: Victor Sudakov <vas () sibptus ! ru>
Date: 2020-09-29 15:57:11
Message-ID: 20200929155711.GE61876 () admin ! sibptus ! ru
[Download RAW message or body]
tomas@tuxteam.de wrote:
>
> > Those are kind of virtual things, as far as I understand. If not %mem, then
> > what `ps` parameter can show me how many php-fpm workers I can safely start
> > before RAM is exhausted?
>
> This is a seemingly easy question with a surprisingly difficult answer.
>
> I don't have a good reference ready for you, but I poked a bit the
> Intertubes and this [1] at least might give you a rough impression
> of what kinds of things are involved.
>
> Cheers
>
> [1] https://stackoverflow.com/questions/131303/how-can-i-measure-the-actual-memory-usage-of-an-application-or-process
>
Thank you, a very helpful, and about /proc/*/spams too.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic