Ticket #624 (closed defect: fixed)

Opened 2 years ago

Last modified 2 weeks ago

Lighttpd hangs or fails to start through SSH

Reported by: turnip@turnipspatch.com Assigned to: jan
Priority: normal Milestone:
Component: core Version: 1.4.19
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

Description

I believe my problem is related to this debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355865

No idea whether that patch would work for me as I am using a custom restart script written in Ruby. I have tried forking a new thread to start lighttpd and then detaching it but that hasn't worked.

Basically, when starting lighty through SSH it tends to hang. I have been deploying a Rails app with Capistrano. In this circumstance *sometimes* Capistrano will not hang, but instead the process will start successfully and then immediately stop. Either way I tend to have to intervene when deploying which is of course not ideal.

The development server I've been using is Ubuntu Breezy, and the deployment server is FC1. I have the problem on both.

Let me know if I can provide any more information.

Thanks

Attachments

Change History

04/22/2006 08:08:11 AM changed by moo

that means lighttpd may not detach correctly (in case u don't use -D) workaround: lighttpd -f conf </dev/null >/dev/null 2>&1.

i'll keep this ticket open..

10/17/2007 11:27:35 PM changed by ryand-ruby@zenspider.com

  • blocking changed.
  • pending changed.

I just came across this exact problem, but on FreeBSD (on textdrive). I was using vlad, not capistrano, so odd ssh issues are out of the question as well. I can confirm that moo's workaround indeed works. It would be nice if lighttpd detached properly.

04/25/2008 11:00:52 AM changed by stbuehler

  • status changed from new to closed.
  • resolution set to fixed.

I cannot reproduce it in current version, so i guess this was fixed.

Please give more details if you disagree (attach config)

04/29/2008 09:04:48 PM changed by stbuehler

  • version changed from 1.4.11 to 1.4.19.

Darix told me i am wrong, so i looked at it again; it seems that (at least) debian has a workaround in the ssh server for this, so i had to use lsof to see lighty having the files still open.

I hope i fixed that problems in [2163] now.


Add/Change #624 (Lighttpd hangs or fails to start through SSH)




Change Properties
Action