Manuel Holtgrewe
2006-Mar-27 12:40 UTC
[Rails] dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe
Manuel Holtgrewe wrote:> Hi. > > I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I > have configured lighttpd to do adaptive spawning of the FastCGI > processes. > > However, after shutting down lighttpd the FastCGI processes remain > running. > > Did this problem occur to anyone of you? Is there a fix? > > I''d be really grateful for every answer. > > Regards, > > Manuel Holtgrewe > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >I had the same issue on my ubuntu box (which I believe uses similar deb intalls). I had many hang-ups on the software I installed using apt-get. I havent found a solution. I was also using an older version of lighttpd. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
Manuel Holtgrewe wrote:> Hi. > > I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I > have configured lighttpd to do adaptive spawning of the FastCGI > processes. > > However, after shutting down lighttpd the FastCGI processes remain > running. > > Did this problem occur to anyone of you? Is there a fix? > > I''d be really grateful for every answer. > > Regards, > > Manuel HoltgreweHi Manuel - I haven''t found out why they hang.. but in the meantime, do a kill all on them like this: ps aux | grep yourappname | egrep -v grep | awk ''{print $2}'' | xargs kill -9 Replace the "yourappname" with whatever shows up in your dispatch.fcgi process when you do ps -ef Dave -- Posted via http://www.ruby-forum.com/.