Hi, Just happened again so I've killed pop3d and started with gdb. When starting with gdb I got the below output though - is this expected?:-
" gdb /usr/local/sbin/dbmail-pop3d GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... (gdb) run -D Starting program: /usr/local/sbin/dbmail-pop3d -D (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)....(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 101160] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 805007400 (LWP 101160/dbmail-pop3d)] [New Thread 80500a400 (LWP 101845/dbmail-pop3d)] (no debugging symbols found)... " If so, when it does happen I presume I just ctr+c and run 'bt'. Regarding the last lock up before I ran with gdb:- Below is the output I got from a trace, fstat and top at the time of the last issue before I started it again with gdb:- fstat -p `pidof dbmail-pop3d` USER CMD PID FD MOUNT INUM MODE SZ|DV R/W nobody dbmail-pop3d 60093 text /usr/local 17852 -rwxr-xr-x 27730 r nobody dbmail-pop3d 60093 wd / 4 drwxr-xr-x 29 r nobody dbmail-pop3d 60093 root / 4 drwxr-xr-x 29 r nobody dbmail-pop3d 60093 0 /dev 19 crw-rw-rw- null r nobody dbmail-pop3d 60093 1 - 40 -rw------- 0 w nobody dbmail-pop3d 60093 2 - 41 -rw------- 18366091 w nobody dbmail-pop3d 60093 3* local dgram fffffe01a7d48960 <-> fffffe001ee361e0 nobody dbmail-pop3d 60093 4* local stream fffffe03ab616b40 <-> fffffe01a90c3780 nobody dbmail-pop3d 60093 5* local stream fffffe016c75ea50 <-> fffffe01a54b9d20 nobody dbmail-pop3d 60093 6* local stream fffffe03a394e2d0 <-> fffffe00cefd92d0 nobody dbmail-pop3d 60093 7* local stream fffffe016c768d20 <-> fffffe0350cda5a0 nobody dbmail-pop3d 60093 8* local stream fffffe0570076a50 <-> fffffe00cefd9000 nobody dbmail-pop3d 60093 9 nobody dbmail-pop3d 60093 10* pipe fffffe04801e9888 <-> fffffe04801e99e0 0 rw nobody dbmail-pop3d 60093 11* pipe fffffe04801e99e0 <-> fffffe04801e9888 0 rw nobody dbmail-pop3d 60093 12* internet stream tcp fffffe01acf4f3d0 nobody dbmail-pop3d 60093 13 /var/run 67 -rw-r--r-- 6 w nobody dbmail-pop3d 60093 14* internet stream tcp fffffe0589ab9000 nobody dbmail-pop3d 60093 15* internet stream tcp fffffe025fa16000 nobody dbmail-pop3d 60093 16* internet stream tcp fffffe01e223d3d0 nobody dbmail-pop3d 60093 17* internet stream tcp fffffe057beb47a0 nobody dbmail-pop3d 60093 18* internet stream tcp fffffe03b2e9c7a0 nobody dbmail-pop3d 60093 19* internet stream tcp fffffe0102e3d7a0 nobody dbmail-pop3d 60093 21* internet stream tcp fffffe0031fe17a0 nobody dbmail-pop3d 60093 22* internet stream tcp fffffe0093cf23d0 nobody dbmail-pop3d 60093 23* internet stream tcp fffffe04809333d0 nobody dbmail-pop3d 60093 24* internet stream tcp fffffe020f796000 nobody dbmail-pop3d 60093 25* internet stream tcp fffffe006a736000 nobody dbmail-pop3d 60093 26* internet stream tcp fffffe0110afe7a0 nobody dbmail-pop3d 60093 27* internet stream tcp fffffe041e3c5000 nobody dbmail-pop3d 60093 28* internet stream tcp fffffe029b3d07a0 nobody dbmail-pop3d 60093 29* internet stream tcp fffffe04ac4d67a0 nobody dbmail-pop3d 60093 30* internet stream tcp fffffe02d4233b70 nobody dbmail-pop3d 60093 31* internet stream tcp fffffe01a2b1b000 nobody dbmail-pop3d 60093 32* internet stream tcp fffffe059847c3d0 nobody dbmail-pop3d 60093 33* internet stream tcp fffffe016cd29000 nobody dbmail-pop3d 60093 34* internet stream tcp fffffe0480e5bb70 nobody dbmail-pop3d 60093 35* internet stream tcp fffffe003d0d73d0 nobody dbmail-pop3d 60093 36* internet stream tcp fffffe04d0d4ab70 nobody dbmail-pop3d 60093 37* internet stream tcp fffffe029b6f1b70 nobody dbmail-pop3d 60093 38* internet stream tcp fffffe031d104b70 nobody dbmail-pop3d 60093 39* internet stream tcp fffffe0498e7c7a0 nobody dbmail-pop3d 60093 40* internet stream tcp fffffe02359527a0 nobody dbmail-pop3d 60093 41* internet stream tcp fffffe02559b13d0 nobody dbmail-pop3d 60093 42* internet stream tcp fffffe0098e05000 nobody dbmail-pop3d 60093 43* internet stream tcp fffffe03a3b37000 nobody dbmail-pop3d 60093 44* internet stream tcp fffffe013650db70 nobody dbmail-pop3d 60093 45* internet stream tcp fffffe00937563d0 nobody dbmail-pop3d 60093 46* internet stream tcp fffffe051f2df7a0 nobody dbmail-pop3d 60093 47* internet stream tcp fffffe0100e087a0 nobody dbmail-pop3d 60093 48* internet stream tcp fffffe0174075000 nobody dbmail-pop3d 60093 49* internet stream tcp fffffe029bbad7a0 nobody dbmail-pop3d 60093 50* internet stream tcp fffffe048eef57a0 [root@redacted /usr]# truss -p`pidof dbmail-pop3d` write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' SIGNAL 17 (SIGSTOP) write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' write(18,"MNgtzzxWZL\r\nLvB3YAI/WqSvfyHFu/"...,262143) ERR#35 'Resource temporarily unavailable' (repeated a lot) PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 60093 nobody 2 20 0 156M 69860K uwait 7 17:19 100.00% dbmail-pop3d 43154 nobody 11 20 0 513M 251M uwait 10 46:28 2.29% dbmail-imapd 35214 nobody 1 20 0 132M 48568K sbwait 8 30:48 0.78% dbmail-lmtpd Best regards, James Greig -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Reindl Harald Sent: 14 March 2014 14:03 To: [email protected] Subject: Re: [Dbmail] Iphone HTML emails Am 14.03.2014 14:52, schrieb Reindl Harald: > > > Am 14.03.2014 14:43, schrieb Paul J Stevens: >> On 14-03-14 14:38, James Greig wrote: >>> Are you thinking it could be the contents of a particular users mailbox >>> that's the culprit? >>> >>> Using freebsd the equivalent I believe is fstat so the output would >>> be similar to this:- >> >> That confirms that the filehandle 15 in your previous truss log was >> most likely a network socket being written to. >> >> Now why it's hanging in a loop is unclear. Maybe write(2) behaves >> slightly different on fbsd. I don't now. But a gdb backtrace would be >> helpful. > > not only FreeBSD, happens also randomly on Linux looking at my > dovecot-proxy log extremely rare also for dbmail-imapd > > i can't even say if it is really the same issue and if there are also > CPU spikes because the time that happens is so unpredictable making it > hard to fire up debug commands, i only face "it happened in the past" it also seems to happen more often after the service is running a longer time the whole friday after reboot at thursday evening not a single time Reboot for kernel-udpate: 2014-03-06 19:14:54 Mar 05 13:46:35 Updated: dbmail-3.1.12-1.fc19.20140305.rh.3.1.12.x86_64 Mar 4 10:30:47 mail dovecot: imap-login: Error Mar 8 11:31:28 mail dovecot: pop3-login: Error Mar 8 14:40:12 mail dovecot: pop3-login: Error Mar 8 14:48:26 mail dovecot: pop3-login: Error Mar 8 16:57:48 mail dovecot: pop3-login: Error Mar 8 18:16:12 mail dovecot: pop3-login: Error Mar 8 20:44:17 mail dovecot: pop3-login: Error Mar 10 20:54:43 mail dovecot: pop3-login: Error Mar 10 20:54:48 mail dovecot: pop3-login: Error Mar 10 20:54:50 mail dovecot: pop3-login: Error Mar 10 20:54:51 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 10 20:54:57 mail dovecot: pop3-login: Error Mar 11 19:00:40 mail dovecot: imap-login: Error Mar 13 01:59:23 mail dovecot: pop3-login: Error Mar 13 06:10:18 mail dovecot: pop3-login: Error Mar 13 06:30:37 mail dovecot: pop3-login: Error Mar 13 06:56:34 mail dovecot: pop3-login: Error Mar 13 09:12:31 mail dovecot: imap-login: Error Mar 13 09:34:39 mail dovecot: pop3-login: Error Mar 13 10:37:22 mail dovecot: imap-login: Error Mar 13 10:51:51 mail dovecot: pop3-login: Error Mar 13 11:57:12 mail dovecot: pop3-login: Error Mar 13 14:37:34 mail dovecot: imap-login: Error Mar 13 16:52:54 mail dovecot: pop3-login: Error Mar 13 18:44:41 mail dovecot: pop3-login: Error Mar 13 19:28:48 mail dovecot: pop3-login: Error Mar 13 19:4 1:21 mail dovecot: pop3-login: Error Mar 13 19:55:32 mail dovecot: pop3-login: Error Mar 13 19:55:32 mail dovecot: pop3-login: Error Mar 13 20:03:49 mail dovecot: pop3-login: Error Mar 14 00:54:37 mail dovecot: pop3-login: Error Mar 14 03:30:47 mail dovecot: pop3-login: Error Mar 14 04:54:32 mail dovecot: pop3-login: Error Mar 14 09:07:40 mail dovecot: pop3-login: Error Mar 14 09:11:24 mail dovecot: pop3-login: Error Mar 14 11:28:22 mail dovecot: pop3-login: Error Mar 14 11:45:16 mail dovecot: pop3-login: Error Mar 14 12:36:51 mail dovecot: pop3-login: Error Mar 14 13:11:06 mail dovecot: pop3-login: Error Mar 14 14:17:36 mail dovecot: pop3-login: Error _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
