hi,
i wanted to debug the apache process by running strace, but i do not
want passenger to spawn/kill a processes.
I want one process to be running at all times so that i can run strace
on it.
I have his configuration:
http://pastie.org/979733
* why are 5 processed started even when PassengerMaxPoolSize is given
as 2
* passenger-status does not show any info under 'Domains'
* how can i tell which process is doing what, does passenger have
something like mongrel_proctitle, i can do a lsof but it is too
cumbersome.
==== START copy of
http://pastie.org/979733
mod_passenger config:
<IfModule passenger_module>
PassengerRoot /home/deepak/.rvm/gems/ree-1.8.7-2010.01/gems/
passenger-2.2.11
PassengerRuby /home/deepak/.rvm/bin/passenger_ruby
###debugging
PassengerMaxPoolSize 2
PassengerMaxInstancesPerApp 0
PassengerMaxRequests 0
PassengerPoolIdleTime 30000
PassengerStatThrottleRate 12000
PassengerLogLevel 3
PassengerDefaultUser www-data
</IfModule>
ps axjf dump: (why are 5 processed started even when
PassengerMaxPoolSize is given as 2)
/usr/sbin/apache2 -k start
8313 8337 8313 8313 ? -1 Sl 0 0:00 \_ /home/
deepak/.rvm/gems/ree-1.8.7-2010.01/gems/passenger-2.2.11/ext/apache2/
ApplicationPoolServerExecutable 3 /home/deepak/.rvm/gems/
ree-1.8.7-2010.01/gems/passenger-2.2.11/bin/passenger-spawn-server /
home/deepak/.rvm/bin/passenger_ruby /tmp/passenger.8313
8337 8338 8313 8313 ? -1 S 0 0:00 | \_
Passenger spawn
server
8313 8342 8313 8313 ? -1 S 33 0:00 \_ /usr/sbin/
apache2 -k start
8313 8343 8313 8313 ? -1 S 33 0:00 \_ /usr/sbin/
apache2 -k start
8313 8344 8313 8313 ? -1 S 33 0:00 \_ /usr/sbin/
apache2 -k start
8313 8345 8313 8313 ? -1 S 33 0:00 \_ /usr/sbin/
apache2 -k start
8313 8346 8313 8313 ? -1 S 33 0:00 \_ /usr/sbin/
apache2 -k start
sudo /home/deepak/.rvm/gems/ree-1.8.7-2010.01/bin/passenger-status
----------- General information -----------
max = 2
count = 0
active = 0
inactive = 0
Waiting on global queue: 0
----------- Domains -----------
==== END copy of
http://pastie.org/979733
> On Tue, May 25, 2010 at 2:47 PM, deepak kannan <
kannan.dee...@gmail.com> wrote:
> > Thanks for the reply.
>
> > can u point me to the simplest working code with upload.
>
> It's not your code. The error message indicates a problem in either
> Apache or the network connection. You didn't do anything wrong in the
> app, the problem is likely in the environment.
>
> --
> Phusion | The Computer Science Company
>
> Web:
http://www.phusion.nl/
> E-mail:
i...@phusion.nl