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 πŸ”₯

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 πŸ¦‹πŸ’–βœ¨πŸŽ€