Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I try to deploy my app to EC2 son Amazon via nginx and passenger. I did what the passenger installation comments say. But when I run my nginx and try to enter my site it does not respond even withan error message. It loops forever. I looked the pstree output for my non-workign nginx:

init─┬─PassengerWatchd─┬─PassengerHelper─┬─ruby─┬─ruby─┬─ruby─┬─ruby───{ruby}
     │                 │                 │      │      │      └─{ruby}
     │                 │                 │      │      └─{ruby}
     │                 │                 │      └─2*[{ruby}]
     │                 │                 └─27*[{PassengerHelper}]
     │                 ├─PassengerLoggin───{PassengerLoggin}
     │                 └─3*[{PassengerWatchd}]
     ├─acpid
     ├─atd
     ├─avahi-daemon───avahi-daemon
     ├─cron
     ├─dbus-daemon
     ├─dhclient3
     ├─6*[getty]
     ├─mysqld───17*[{mysqld}]
     ├─nginx───nginx
     ├─rsyslogd───3*[{rsyslogd}]
     ├─sshd───sshd───sshd───bash───pstree
     ├─udevd───2*[udevd]
     ├─upstart-socket-
     ├─upstart-udev-br
     └─whoopsie───{whoopsie}

also I have nginx in my laptop and it is working fine and it gives this pstree output (partially)just after it is got an request:

├─PassengerWatchd─┬─PassengerHelper─┬─ruby
     │                 │                 └─27*[{PassengerHelper}]
     │                 ├─PassengerLoggin───{PassengerLoggin}
     │                 └─3*[{PassengerWatchd}]

I see that there are some zombie processes on my EC2 instance after an request:

What you think about the problem and any suggestion to solve it?

After a wait it gives Gateway Timeout 504

share|improve this question
    
This has been cross-posted (stackoverflow.com/questions/10480501/…) - as such, I'll close this for now. –  fossfreedom May 8 '12 at 8:56
add comment

closed as off topic by fossfreedom May 8 '12 at 8:56

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.