Hi.

I just had a problem as well where dbmail-imapd died on me.
Since It is just my server I did take a bit of time to create memory dumps and core files

strace showed me this (again and again so some loop):
...
read(4, 0x1efbca0, 11) = -1 EAGAIN (Resource temporarily unavailable) write(13, "Q", 1) = -1 EAGAIN (Resource temporarily unavailable)
...

i checked what fd 13 was and it is some sort of pipe

I did install gdb on the server and then used gcore to dump a core + alos manually dumped some memory however I am rather reluctant to put that dump anywhere, since it might contain passwords I assume.

I am a bit rusty with gdb, but if you want me to look for anything specific in the coredump I can do that.

it does also seem to be some internally used pipe since:

 28735 # ls -l fd
lr-x------ 1 root root 64 21. Aug 10:25 0 -> /dev/null
l-wx------ 1 root root 64 21. Aug 10:25 1 -> /var/log/dbmail.log
lrwx------ 1 root root 64 21. Aug 10:25 10 -> socket:[32607688]
lrwx------ 1 root root 64 21. Aug 10:25 11 -> anon_inode:[eventfd]
lr-x------ 1 root root 64 21. Aug 10:25 12 -> pipe:[32607689]
l-wx------ 1 root root 64 21. Aug 10:25 13 -> pipe:[32607689]
lrwx------ 1 root root 64 21. Aug 10:25 14 -> socket:[32607690]
lrwx------ 1 root root 64 21. Aug 10:25 15 -> socket:[32607691]
l-wx------ 1 root root 64 21. Aug 10:25 16 -> /run/dbmail/dbmail-imapd.pid
l-wx------ 1 root root 64 21. Aug 10:25 2 -> /var/log/dbmail.err
lrwx------ 1 root root 64 21. Aug 10:25 3 -> socket:[32603656]
lrwx------ 1 root root 64 21. Aug 10:25 4 -> socket:[32609285]
lrwx------ 1 root root 64 21. Aug 10:25 5 -> socket:[32606718]
lrwx------ 1 root root 64 21. Aug 10:25 6 -> socket:[32608621]
lrwx------ 1 root root 64 21. Aug 10:25 7 -> socket:[32608625]
lrwx------ 1 root root 64 21. Aug 10:25 8 -> anon_inode:[eventpoll]
lrwx------ 1 root root 64 21. Aug 10:25 9 -> socket:[32607687]

28735 # (find /proc -type l | xargs ls -l | fgrep 'pipe:[32607689]') 2>/dev/null lr-x------ 1 root root 64 21. Aug 10:25 /proc/28735/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:25 /proc/28735/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28735/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28735/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28748/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28748/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28754/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28754/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28755/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28755/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28756/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28756/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28757/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28757/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28758/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28758/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28759/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28759/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28760/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28760/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28761/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28761/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28762/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28762/fd/13 -> pipe:[32607689] lr-x------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28764/fd/12 -> pipe:[32607689] l-wx------ 1 root root 64 21. Aug 10:33 /proc/28735/task/28764/fd/13 -> pipe:[32607689]

mind you this is after the restart since I didn't spend the time on finding this out before, but it does seem to match what was there before (i did check the <pid>/fd before too

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to