Summary | attachments randomly not attaching |
Queue | IMP |
Queue Version | 4.1.5 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | babita.rana (at) ualberta (dot) ca |
Created | 12/05/2007 (6394 days ago) |
Due | |
Updated | 12/21/2007 (6378 days ago) |
Assigned | 12/05/2007 (6394 days ago) |
Resolved | 12/18/2007 (6381 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
users) that has been using memcache (circa Horde 3.2) as both the
cache and session backend since this summer without significant
issues.
so many users.
more.
users) that has been using memcache (circa Horde 3.2) as both the
cache and session backend since this summer without significant issues.
more. Horde 3.2 should be final before too long - we just branched, so
the (hopefully) final RC should be just around the corner. There are
patches and upgrade instructions in the RCs already, though you'll
need to grab new binary files like images and compiled translations.
3.1.x, especially when it comes to session handling. Many months of
work have gone into improving this for 3.2.
expect 3.2 to go final? Will there be a patch upgrade path from 3.1.x
or is a fresh install recommended?
seen the issue again since. Coincidentally we also were seeing
problems with logins - after entering your username and password
you'd get kicked back to the login screen with no "login failed"
message. That problem has also vanished with nightly memcached
reboots.
3.1.x, especially when it comes to session handling. Many months of
work have gone into improving this for 3.2.
seen the issue again since. Coincidentally we also were seeing
problems with logins - after entering your username and password you'd
get kicked back to the login screen with no "login failed" message.
That problem has also vanished with nightly memcached reboots.
Just to add to the problem description, we've rebooted the horde
machines as well as the machines running memcached. Since the reboot
we haven't been able to replicate the problem. We did the same thing
last week, but within a few days the problem had returned. It may be
a coincidence and have no relevance to the problem but I figured I
should include it anyway.
directly to the RCs, and there are some new graphics and other binary
files.
running 4.4.1)?
directly to the RCs, and there are some new graphics and other binary
files.
see if the problem is reproducible there?
the RC1 versions via patches or do you recommend a fresh install?
State ⇒ Feedback
issue, or even (likely?) a VFS issue, but an issue with how we build
the MIME message.
Would it be possible for you to try Horde 3.2-RC1 and IMP 4.2-RC1 and
see if the problem is reproducible there? If it happens within 3-4
tries for you reproducing it without deploying to your whole cluster
should be possible.
At the same time, or if that's not possible, I'd focus your debug
logging in the attachFilesFromMessage() and addUploadAttachment()
methods in imp/lib/Compose.php.
All I had to do was to forward a message that had an attachment. The
compose window comes up with the file showing up in the attachments
section, but when you click preview there's nothing to see. On the
attempts that succeeded I did the exact same thing but the preview
actually showed the file that was supposed to be there. I tested this
on the same message each time.
Priority ⇒ 3. High
State ⇒ Unconfirmed
New Attachment: compose.tiff
Queue ⇒ IMP
Summary ⇒ attachments randomly not attaching
Type ⇒ Bug
20x horde machines:
OpenBSD 4.1 (i386)
Horde: 3.1.4
Imp: H3 (4.1.4)
Turba: H3 (2.1.4)
PHP Version: 4.4.1
4x Session Machines:
OpenBSD 4.1 (AMD64)
memcached 1.1.12
Database:
OpenBSD 4.1 (i386)
MySQL 14.12 Distrib 5.0.33
Round Robin Clustering via PF and CARP
shared NFS volume for uploaded attachments.
uploaded files are randomly not being attached, nor can they be
previewed despite the upload confirmation. included is a screen shot
of the composition window after uploading the file where the preview
fails (preview shows blank and the file does not actually get sent
with the message, though the information in the compose window says
the file should be successfully attached). we've modified the logging
system to narrow down the source of the problem. this is the output
from a failed attempt:
--
Dec 5 14:42:56 src@twc1 HORDE[14828]: [imp] webmail2 uploading file
'snmp.txt' with temp filename '/www/tmp/phpSIVDm14828' [on line 465 of
"/var/www/horde/imp/lib/Compose.php"]
Dec 5 14:46:19 src@twc1 HORDE[15844]: [imp] webmail2 attempting to
send message with 0 attachments [on line 302 of
"/var/www/horde/imp/compose.php"]
Dec 5 14:46:20 src@twc1 HORDE[15844]: [imp] 129.128.11.58 -- CCID
webmail2 sent message to webmail2@ualberta.ca [on line 1166 of
"/var/www/horde/imp/compose.php"]
--
this is a successful attempt:
--
Dec 5 14:33:42 src@twc1 HORDE[31967]: [imp] webmail2 uploading file
'snmp.txt' with temp filename '/www/tmp/phpNebwF31967' [on line 465 of
"/var/www/horde/imp/lib/Compose.php"]
Dec 5 14:33:45 src@twc1 HORDE[31967]: [imp] webmail2 attempting to
send message with 1 attachments [on line 302 of
"/var/www/horde/imp/compose.php"]
Dec 5 14:33:45 src@twc1 HORDE[31967]: [imp] webmail2 attaching file
'snmp.txt' [on line 794 of "/var/www/horde/imp/lib/Compose.php"]
Dec 5 14:33:46 src@twc1 HORDE[31967]: [imp] 129.128.11.58 -- CCID
webmail2 sent message to webmail2@ualberta.ca [on line 1166 of
"/var/www/horde/imp/compose.php"]
--
rebooting the machines seems to 'fix' the problem temporarily, but it
shows up again and now it seems to occur more frequently. we thought
it might have been a PEAR issue but the problem occurs on the latest
version as well.
one other thing to note is on subsequent testing we found that if a
second file is uploaded in the same message as one that has already
failed (not showing in preview) the second file appears as attachment
number 1 with the original attachment now gone.