[Tickets #5965] attachments randomly not attaching

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Dec 5 22:09:26 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5965
-----------------------------------------------------------------------
 Ticket             | 5965
 Created By         | babita.rana at ualberta.ca
 Summary            | attachments randomly not attaching
 Queue              | IMP
 Version            | 4.1.5
 Type               | Bug
 State              | Unconfirmed
 Priority           | 3. High
 Owners             | 
+New Attachment     | compose.tiff
-----------------------------------------------------------------------


babita.rana at ualberta.ca (2007-12-05 14:09) wrote:

Our setup:

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 at 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 at 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 at twc1 HORDE[15844]: [imp] 129.128.11.58 -- CCID
webmail2 sent message to webmail2 at ualberta.ca [on line 1166 of
"/var/www/horde/imp/compose.php"]
--

this is a successful attempt:

--
Dec  5 14:33:42 src at 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 at 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 at 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 at twc1 HORDE[31967]: [imp] 129.128.11.58 -- CCID
webmail2 sent message to webmail2 at 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.





More information about the bugs mailing list