Actions
Bug #1444
closedCrashes when running out of FDs
ASK QUESTIONS IN Forums:
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
Updated by admin about 17 years ago
Just FYI: the three lines are from three different crashes.
Updated by admin almost 17 years ago
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
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to duplicate
Duplicate of #1562, fixed.
Actions
Also available in: Atom