Ticket #1602 (new defect)

Opened 4 months ago

Last modified 3 weeks ago

LigHTTPD 1.4.19 freezes FreeBSD

Reported by: todesskrahe@gmail.com Assigned to: jan
Priority: high Milestone:
Component: core Version: 1.4.19
Severity: critical Keywords:
Cc: Blocking:
Need Feedback: 0

Description

When uploading files(php script) with size greater than 1MB, lighttpd freezes a freebsd box (i tested it only in my FreeBSD 7.0 STABLE). Files with size lesser than 1mb are uploaded without problems.

Attachments

lighttpd_crash_on_file_upload.strace (18.0 kB) - added by mortengb@gmail.com on 06/16/2008 12:58:42 PM.
strace captured lighttpd crash

Change History

04/01/2008 05:55:27 PM changed by todesskrahe@gmail.com

I got this error again today, but with a 80kb file. Only very very tiny files doesn't crash my freebsd box =[.

04/08/2008 11:42:04 AM changed by mgb

I have experiences this several times as well

04/08/2008 12:58:43 PM changed by mortengb@gmail.com

I thought I should supply a bit more info ~> lighttpd -V lighttpd-1.4.19 (ssl) - a light and fast webserver Build-Date: Apr 5 2008 02:24:25

Event Handlers:

+ select (generic) + poll (Unix)

  • rt-signals (Linux 2.4+)
  • epoll (Linux 2.6)
  • /dev/poll (Solaris) + kqueue (FreeBSD)

Network handler:

+ sendfile

Features:

  • IPv6 support + zlib support + bzip2 support + crypt support + SSL Support + PCRE support
  • mySQL support
  • LDAP support
  • memcached support
  • FAM support + LUA support
  • xml support
  • SQLite support + GDBM suppor

I have only tested this through https( I had to disable the feature before I could do extensive testing) do to users taking down the system with their fileuploads. If more info is needed or I can do anything to help you can contact me by email.

(follow-up: ↓ 6 ) 05/12/2008 02:19:30 PM changed by Olaf van der Spek

Does the entire operating system crash? If so, have you reported this to FreeBSD? Could you post the link to that bug report?

05/23/2008 03:35:51 AM changed by anonymous

I am having the same problem on a FreeBSD 7.0-STABLE box.

(in reply to: ↑ 4 ) 06/16/2008 12:54:23 PM changed by mortengb@gmail.com

Replying to Olaf van der Spek:

Does the entire operating system crash? If so, have you reported this to FreeBSD? Could you post the link to that bug report?

- No I have not made a bug report.

The system becomes unresponsive (http|ssh(new and current sessions)) I can however still ping the machine. I am sitting remotely and can only cut the power to make it reboot. The freeze will happen even if uploads is disabled in php. Though I have not been able to reproduce the problem when posting a fileupload to a static html file.

I have made struss and strace outputs. but to me they are just nonsens :) I will try to attach the strace file as it seems to have a peculiar ending.

06/16/2008 12:58:42 PM changed by mortengb@gmail.com

  • attachment lighttpd_crash_on_file_upload.strace added.

strace captured lighttpd crash


Add/Change #1602 (LigHTTPD 1.4.19 freezes FreeBSD)




Change Properties