Ticket #1444 (closed defect: duplicate)

Opened 10 months ago

Last modified 5 weeks ago

Crashes when running out of FDs

Reported by: Olaf van der Spek Owned by: jan
Priority: normal Milestone: 1.4.20
Component: core Version: 1.4.13
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

Hi,

The server appears to crash when it runs out of FDs. Changing max-fds from 1 k to 2 k avoids the crashes. Strace showed memory corruption.

fdevent.c.171: aborted
*** glibc detected *** malloc(): memory corruption: 0x0a319dd8 ***
*** glibc detected *** free(): invalid next size (fast): 0x094023b8 ***

Linux: 2.6.9-42.0.2.ELsmp

Attachments

Change History

Changed 10 months ago by Olaf van der Spek

Just FYI: the three lines are from three different crashes.

Changed 10 months ago by anonymous

  • priority changed from normal to highest
  • version changed from 1.4.18 to 1.5.x-svn
  • component changed from core to mod_speed
  • pending set
  • summary changed from Crashes when running out of FDs to Crashes when running out of Mps

Changed 7 months ago by Olaf van der Spek

  • component changed from mod_speed to core
  • summary changed from Crashes when running out of Mps to Crashes when running out of FDs
  • priority changed from highest to normal
  • version changed from 1.5.x-svn to 1.4.18
  • milestone changed from 1.5.0 to 1.4.19
  • pending unset

Changed 7 months ago by Olaf van der Spek

  • version changed from 1.4.18 to 1.4.13

The same error occurs in 1.4.13:

ioctl(982, FIONREAD, [0])               = 0
read(982, 0x8649ed0, 1471)              = -1 EAGAIN (Resource temporarily unavailable)
time(NULL)                              = 1203496074
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLOUT}, {fd=7, events=POLLOUT}, {fd=8, events=POLLOUT}, {fd=9, events=POLLOUT}, {fd=10, events=POLLOUT}, {fd=16, events=POLLOUT}, {fd=18, events=POLLOUT}, {fd=20, events=POLLOUT}, {fd=22, events=POLLOUT}, {fd=24, events=POLLOUT}, {fd=26, events=POLLOUT}, {fd=28, events=POLLOUT}, {fd=30, events=POLLOUT}, {fd=32, events=POLLOUT}, {fd=34, events=POLLOUT}, {fd=36, events=POLLOUT}, {fd=38, events=POLLOUT}, {fd=40, events=POLLOUT}, {fd=41, events=POLLOUT}, {fd=44, events=POLLOUT}, {fd=46, events=POLLOUT}, {fd=48, events=POLLOUT}, {fd=50, events=POLLOUT}, {fd=52, events=POLLOUT}, {fd=190, events=POLLOUT}, {fd=56, events=POLLOUT}, {fd=124, events=POLLOUT}, {fd=58, events=POLLOUT}, {fd=60, events=POLLOUT}, {fd=62, events=POLLOUT}, {fd=64, events=POLLOUT}, ...], 530, 1000) = 1
write(2, "fdevent.c.171: aborted\n", 23) = 23
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(19774, 19774, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
Process 19774 detached

Changed 5 weeks ago by stbuehler

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #1562, fixed.

Add/Change #1444 (Crashes when running out of FDs)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.