Passenger is unable to shut down your process because those processes
are still busy handling requests (see the "Sessions: 1" indicator; a
non-zero value means that there are open requests). Normally Passenger
waits until all requests for a process are finished, and then it tells
the process to exit. Passenger then gives that process at most 1
minute time to exit, after which it will forcefully kill the process.
But since your processes never finish their requests, the shutdown
time limit never kicks in.
There are two other time limits you can use:
- You can use an application-level time limiter, e.g. Rack::Timeout
(if you're using Ruby). It aborts the request by using the 'timeout'
library. In extreme cases where your app is stuck in native
extensions, this library will not be able to abort your request.
- You can use the PassengerMaxRequestTime feature. It aborts the
process by using the SIGKILL signal so it's always capable of aborting
the process. It's an Enterprise feature though.
The OOB GC causing process count to exceed MaxPoolSize thing has been
fixed a few released ago.
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
phusion-passen...@googlegroups.com.
> To post to this group, send email to
phusion-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/phusion-passenger/dafefb89-a84f-4692-8031-d4e5e1e61ee9%40googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
Phusion | Ruby & Rails deployment, scaling and tuning solutions
Web:
http://www.phusion.nl/
E-mail:
in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)