Mailing List Archive

[DBMail 0001062]: TimsieveD dies/get's zombie after 2/3 days running
A NOTE has been added to this issue.
======================================================================
http://dbmail.org/mantis/view.php?id=1062
======================================================================
Reported By: jasb
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1062
Category: Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility: always
Severity: block
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 06-Nov-14 22:16 CET
Last Modified: 11-Nov-14 13:05 CET
======================================================================
Summary: TimsieveD dies/get's zombie after 2/3 days running
Description:
Hi,

TimsieveD, is the daemon that less work has, and after 2 or 3 days it gets
zombie, with about 700MB of ram usage, LMTPD that has much more work than
it, after 3 days is only consuming ~70MB of ram.
When it gets zombie, I can see using strace that is with the open files
problem.
I believe that for SIEVED 4096 open files should be enough.
======================================================================

----------------------------------------------------------------------
(0003684) jasb (reporter) - 10-Nov-14 17:52
http://dbmail.org/mantis/view.php?id=1062#c3684
----------------------------------------------------------------------
Hi,

Added the stack trace when it dies with too many files open.
It was also filling up my system logs with this info,

----------------------------------------------------------------------
(0003685) jasb (reporter) - 11-Nov-14 13:05
http://dbmail.org/mantis/view.php?id=1062#c3685
----------------------------------------------------------------------
Hi,

Added a new stack trace from today, this time it was not writing to the
logs the "too many open files", but the problem was the same, got zombie
due to that issue.
Meanwhile strace -p `pidof dbmail-timsieved` show's the same info:

socket(PF_FILE, 0x80002 /* SOCK_??? */, 0) = -1 EMFILE (Too many open
files)
epoll_ctl(8, EPOLL_CTL_ADD, 12, {EPOLLIN, {u32=12, u64=12}}) = 0
epoll_wait(8, {{EPOLLIN, {u32=12, u64=12}}}, 32, -1) = 1
clock_gettime(CLOCK_MONOTONIC, {136751, 182918465}) = 0
gettimeofday({1415707484, 577533}, NULL) = 0
epoll_ctl(8, EPOLL_CTL_DEL, 12, {EPOLLIN, {u32=12, u64=12}}) = 0
accept(12, 0, NULL) = -1 EMFILE (Too many open files)
time(NULL) = 1415707484
socket(PF_FILE, 0x80002 /* SOCK_??? */, 0) = -1 EMFILE (Too many open
files)
epoll_ctl(8, EPOLL_CTL_ADD, 12, {EPOLLIN, {u32=12, u64=12}}) = 0
epoll_wait(8, {{EPOLLIN, {u32=12, u64=12}}}, 32, -1) = 1
clock_gettime(CLOCK_MONOTONIC, {136751, 183271966}) = 0
gettimeofday({1415707484, 577886}, NULL) = 0
epoll_ctl(8, EPOLL_CTL_DEL, 12, {EPOLLIN, {u32=12, u64=12}}) = 0
accept(12, 0, NULL) = -1 EMFILE (Too many open files)

Issue History
Date Modified Username Field Change
======================================================================
06-Nov-14 22:16 jasb New Issue
10-Nov-14 17:51 jasb File Added: timsieved stack trace.txt

10-Nov-14 17:52 jasb Note Added: 0003684
11-Nov-14 13:03 jasb File Added: dbmail-timsieved, 11-11-2014.txt

11-Nov-14 13:05 jasb Note Added: 0003685
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[DBMail 0001062]: TimsieveD dies/get's zombie after 2/3 days running [ In reply to ]
The following issue has been SUBMITTED.
======================================================================
http://dbmail.org/mantis/view.php?id=1062
======================================================================
Reported By: jasb
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1062
Category: Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility: always
Severity: block
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 06-Nov-14 22:16 CET
Last Modified: 06-Nov-14 22:16 CET
======================================================================
Summary: TimsieveD dies/get's zombie after 2/3 days running
Description:
Hi,

TimsieveD, is the daemon that less work has, and after 2 or 3 days it gets
zombie, with about 700MB of ram usage, LMTPD that has much more work than
it, after 3 days is only consuming ~70MB of ram.
When it gets zombie, I can see using strace that is with the open files
problem.
I believe that for SIEVED 4096 open files should be enough.
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
06-Nov-14 22:16 jasb New Issue
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[DBMail 0001062]: TimsieveD dies/get's zombie after 2/3 days running [ In reply to ]
A NOTE has been added to this issue.
======================================================================
http://dbmail.org/mantis/view.php?id=1062
======================================================================
Reported By: jasb
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1062
Category: Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility: always
Severity: block
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 06-Nov-14 22:16 CET
Last Modified: 10-Nov-14 17:52 CET
======================================================================
Summary: TimsieveD dies/get's zombie after 2/3 days running
Description:
Hi,

TimsieveD, is the daemon that less work has, and after 2 or 3 days it gets
zombie, with about 700MB of ram usage, LMTPD that has much more work than
it, after 3 days is only consuming ~70MB of ram.
When it gets zombie, I can see using strace that is with the open files
problem.
I believe that for SIEVED 4096 open files should be enough.
======================================================================

----------------------------------------------------------------------
(0003684) jasb (reporter) - 10-Nov-14 17:52
http://dbmail.org/mantis/view.php?id=1062#c3684
----------------------------------------------------------------------
Hi,

Added the stack trace when it dies with too many files open.
It was also filling up my system logs with this info,

Issue History
Date Modified Username Field Change
======================================================================
06-Nov-14 22:16 jasb New Issue
10-Nov-14 17:51 jasb File Added: timsieved stack trace.txt

10-Nov-14 17:52 jasb Note Added: 0003684
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev