passenger-memory-stats(8)
β¨ passenger-memory-stats β NAME β¨
okay so bestie, this is a section 8 admin command (Administration Commands, periodt π) called passenger-memory-stats, and what it does is report a snapshot of the Apache and Phusion Passenger memory statistics. that's the whole vibe. it's giving "let me see what's actually going on in there" π
π SYNOPSIS π
passenger-memory-stats
that's it. no flags, no arguments, no drama. just run it. iconic behavior honestly π¦
π DESCRIPTION π
passenger-memory-stats lets you easily analyze the real memory usage of Phusion Passenger and Apache. like, the actual real memory usage. not the fake one. π«Ά
so here's the tea β β process inspection tools like ps and top are useful, sure, they're fine, they're doing their best, no hate. but they rarely show the correct memory usage. the real memory usage is usually lower than what ps and top report. yes, lower. they be overreporting. it's not their fault, it's just how it is π
there are many technical reasons why this happens, but an explanation is beyond the scope of this page. we're not gonna get into it here bestie, that's a whole other conversation. the interested reader is referred to operating systems literature about virtual memory and copy-on-write. go read a book, it's good for you πβ¨
πΈ when you run this tool, the Private or private dirty RSS field shows the real memory usage of processes. that's the one you want. look at that field. that's your girl. that's the truth π
π ENVIRONMENT VARIABLES π
HTTPDβ the full filename to the Apache executable. by default, Passenger will attempt to autodetect the Apache executable for you, no effort required, slay β¨. but if autodetection fails for whatever reason (it happens, we don't judge π), then Apache processes will not be shown in the memory statistics. and in that case, you may manually specify the location to the Apache executable using this environment variable. you got this πͺ
π₯ SEE ALSO π₯
passenger-status(8)ps(1)top(1)- user guide at https://www.phusionpassenger.com/documentation_and_support
iykyk, go read the user guide too, it's got lore ππ
π AUTHOR π
Phusion Passenger is written by Phusion (http://www.phusion.nl) π«Ά
this manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). so yes, other people can use it too, sharing is caring fr fr πΈ
and that's the whole page bestie!! this one's from Phusion Passenger, version 2.0, and it's the passenger-memory-stats(8) manual page. go check your private dirty RSS and have the best day ever π¦πβ¨π
π¦ where this page comes from
- debian bookworm: passenger 6.0.17+ds-1 Β· MIT
- debian trixie: passenger 6.0.26+ds-1.1 Β· MIT
- ubuntu jammy: passenger 6.0.10-3build2
- ubuntu noble: passenger 6.0.17+ds-1ubuntu5 Β· MIT
- ubuntu questing: passenger 6.0.26+ds-1.1
- ubuntu resolute: passenger 6.1.1+ds-1 Β· MIT
- ubuntu stonking: passenger 6.1.1+ds-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms