Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into awesome_stuff
- Loading branch information
Showing
6 changed files
with
153 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.TH "passenger-config" "1" "1.1.0" "Phusion Passenger" "User Commands" | ||
.SH "NAME" | ||
.LP | ||
passenger\-config \- Show configuration settings for Phusion Passenger | ||
.SH "SYNOPSIS" | ||
.LP | ||
\fBpassenger\-config\fR \fI\-\-root\fR | \fI\-\-version\fR | ||
.SH "DESCRIPTION" | ||
.LP | ||
\fBpassenger\-config\fR shows the current configuration settings for Phusion Passenger. You need to select one of the following options. | ||
.SH "OPTIONS" | ||
.TP | ||
\fB\-\-root\fR | ||
Shows the Phusion Passenger root directory | ||
.TP | ||
\fB\-\-version\fR | ||
Shows the current Phusion Passenger version number | ||
.SH "SEE ALSO" | ||
.LP | ||
passenger\-memory\-stats (1), passenger\-stress\-test (1), passenger-status (8) | ||
.LP | ||
Users guide at http://www.modrails.com/documentation.html | ||
.SH "AUTHOR" | ||
.LP | ||
Phusion Passenger is written by Phusion (http://www.phusion.nl) | ||
.LP | ||
"Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. | ||
.LP | ||
This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.TH "passenger-memory-stats" "1" "1.1.0" "Phusion" "User Commands" | ||
.SH "NAME" | ||
.LP | ||
passenger\-memory\-stats \- reports a snapshot of the Apache and Phusion Passenger memory statistcs | ||
.SH "SYNTAX" | ||
.LP | ||
\fBpassenger\-memory\-stats\fR | ||
.SH "DESCRIPTION" | ||
.LP | ||
\fBpassenger\-memory\-stats\fR allows you to easily analyze the real memory usage of Phusion Passenger and Apache. | ||
.LP | ||
Process inspection tools such as \fIps\fR and \fItop\fR are useful, but they rarely show the correct memory usage. The real memory usage is usually lower than what \fIps\fR and \fItop\fR report. | ||
.LP | ||
There are many technical reasons why this is so, but an explanation is beyond the scope of this page. We refer the interested reader to operating systems literature about virtual memory and copy\-on\-write. | ||
.LP | ||
When you run this tool the \fIPrivate\fR or \fIprivate dirty RSS\fR field shows the real memory usage of processes. | ||
.SH "ENVIRONMENT VARIABLES" | ||
.LP | ||
.TP | ||
\fBHTTPD\fR | ||
The full filename to the Apache executable. By default, Passenger will attempt to autodetect the Apache executable. If autodetection fails for whatever reason, then Apache processes will not be shown in the memory statistics. In that case, you may manually specify the location to the Apache executable using this environment variable. | ||
.SH "SEE ALSO" | ||
.LP | ||
passenger\-status(8), ps(1), top(1), | ||
.LP | ||
Users guide at http://www.modrails.com/documentation.html | ||
.SH "AUTHOR" | ||
.LP | ||
Phusion Passenger is written by Phusion (http://www.phusion.nl) | ||
.LP | ||
"Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. | ||
.LP | ||
This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.TH "passenger-status" "8" "1.1.0" "Phusion Passenger" "Adminstration Commands" | ||
.SH "NAME" | ||
.LP | ||
passenger\-status \- inspect Phusion Passenger's internal status | ||
.SH "SYNTAX" | ||
.LP | ||
\fBpassenger\-status\fR [\fIpid\fR] | ||
.SH "DESCRIPTION" | ||
.LP | ||
\fBpassenger\-status\fR looks at the current status of a Phusion Passenger installation. It will locate Phusion Passenger automatically if it is running and will give you a list of instances if there is more than one Phusion Passenger instance running. You can then select the instance by specifying the relevant PID on the command line. | ||
.LP | ||
The \fIgeneral information\fR section shows the following details: | ||
.TP | ||
max | ||
The maximum number of application instances that Phusion Passenger will spawn. This equals the value given for \fIRailsMaxPoolSize\fR in the configuration. | ||
.TP | ||
count | ||
The number of application instances that are currently alive. This value is always less than or equal to \fImax\fR. | ||
.TP | ||
active | ||
The number of application instances that are currently processing requests. This value is always less than or equal to \fIcount\fR. | ||
.TP | ||
inactive | ||
The number of application instances that are currently not processing requests, i.e. are idle. Idle application instances will be shutdown after a while, as can be specified with \fIRailsPoolIdleTime\fR in the configuration. The value of \fIinactive\fR equals \fIcount\fR \- \fIactive\fR. | ||
.LP | ||
The \fIapplications\fR section shows each application instance, which directory it belongs to. The \fIsessions\fR field shows how many HTTP client are currently being processed by that application instance. | ||
.SH "OPTIONS" | ||
.LP | ||
.TP | ||
\fBpid\fR | ||
The process ID of the Phusion Passenger instance you want to look at | ||
.SH "SEE ALSO" | ||
.LP | ||
passenger\-memory\-stats(1), ps(1), top(1) | ||
.LP | ||
Users guide at http://www.modrails.com/documentation.html | ||
.SH "AUTHOR" | ||
.LP | ||
Phusion Passenger is written by Phusion (http://www.phusion.nl) | ||
.LP | ||
"Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. | ||
.LP | ||
This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.TH "passenger-stress-test" "1" "1.1.0" "Phusion Passenger" "User Commands" | ||
.SH "NAME" | ||
.LP | ||
passenger\-stress\-test \- stress tests a Phusion Passenger powered website. | ||
.SH "SYNTAX" | ||
.LP | ||
\fBpassenger\-stress\-test\fR <\fIhostname\fR> <\fIapp_roo\fRt> [\fIoptions\fR] | ||
.SH "DESCRIPTION" | ||
.LP | ||
Stress test the given (Phusion Passenger\-powered) website by | ||
.LP | ||
\- crawling it with multiple concurrently running crawlers. | ||
.LP | ||
\- gracefully restarting Apache at random times | ||
.LP | ||
\- restarting the target (Phusion Passenger\-powered) application at random times | ||
.SH "OPTIONS" | ||
.LP | ||
.TP | ||
\fB\-c, \-\-concurrency\fR <\fInumber\fR> | ||
Number of crawlers to start (default = 20) | ||
.TP | ||
\fB\-p, \-\-apache\-restart\-interval\fR <\fIinterval\fR> | ||
Gracefully restart Apache after <\fIinterval\fR> minutes (default = 1440) | ||
.TP | ||
\fB\-a, \-\-app\-restart\-interval\fR <\fIinterval\fR> | ||
Restart the application after <\fIinterval\fR> minutes (default = 55) | ||
.TP | ||
\fB\-h, \-\-help\fR | ||
Output help information and exit. | ||
|
||
.SH "SEE ALSO" | ||
.LP | ||
passenger\-config(1), passenger\-memory\-stats(1) | ||
.LP | ||
Users guide at http://www.modrails.com/documentation.html | ||
.SH "AUTHOR" | ||
.LP | ||
Phusion Passenger is written by Phusion (http://www.phusion.nl) | ||
.LP | ||
"Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. | ||
.LP | ||
This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). |