Re: [xwiki-users] BUG: Attachments become empty after a while
Caleb James DeLisle wrote: This will only happen to attachments which fail to upload, I'm guessing this only happens on the largest attachments. You will find a lot more information inside your tomcat log. You might try searching the logs for XWikiHibernateAttachmentStore. Caleb There they are logged all failures. Thanks! Should this errors trigger a warning in the web interface as some other problems do? But there must be anything else. Some attachments fail once, then succeed on a next attempt. Without changing anything. I've seen this in old installations. I'll check if that is still true with XE/XEM 2.4.30451. Greetings! Ricardo -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] BUG: Attachments become empty after a while
Hi, I'm facing some trouble with attachments becoming empty (zero bytes) after some time they were uploaded. I'm using XWiki Enterprise 2.4.30451. I've searched the mail archives and it seems to exist a bug in the cache coherency. I could not find anything related on JIRA. My -Xms and -Xmx are both 768m. Although my max packet size on MySQL is 20Mb for attachments, the files that are becoming empty are docs, pictures and xls's of a few Kbytes. Can someone point me some cause and solution on this please? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] BUG: Attachments become empty after a while
This is almost definitely caused by the attachment not saving properly. Despite the failure to save, the cache holds the attachment for a time but eventually it is cleared and the attachment appears to vanish. The cache inconsistency is fixed as of 2.5M1. As far as the attachment not saving properly and showing no sign, usually we start by blaming mysql max_packet_size. If you upload an attachment about the size of the largest attachment you ahve uploaded so far, check the tomcat log and you will probably see an exception trace. This will tell you what caused the problem. Caleb On 10/05/2010 02:04 PM, Ramon Gomes Brandão - SERINT wrote: Hi, I'm facing some trouble with attachments becoming empty (zero bytes) after some time they were uploaded. I'm using XWiki Enterprise 2.4.30451. I've searched the mail archives and it seems to exist a bug in the cache coherency. I could not find anything related on JIRA. My -Xms and -Xmx are both 768m. Although my max packet size on MySQL is 20Mb for attachments, the files that are becoming empty are docs, pictures and xls's of a few Kbytes. Can someone point me some cause and solution on this please? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] BUG: Attachments become empty after a while
Caleb James DeLisle wrote: This is almost definitely caused by the attachment not saving properly. Despite the failure to save, the cache holds the attachment for a time but eventually it is cleared and the attachment appears to vanish. The cache inconsistency is fixed as of 2.5M1. As far as the attachment not saving properly and showing no sign, usually we start by blaming mysql max_packet_size. If you upload an attachment about the size of the largest attachment you ahve uploaded so far, check the tomcat log and you will probably see an exception trace. This will tell you what caused the problem. But, please, why does the failure happen once in a bunch and not always? Thanks! -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] BUG: Attachments become empty after a while
This will only happen to attachments which fail to upload, I'm guessing this only happens on the largest attachments. You will find a lot more information inside your tomcat log. You might try searching the logs for XWikiHibernateAttachmentStore. Caleb On 10/05/2010 04:54 PM, [Ricardo Rodriguez] eBioTIC. wrote: Caleb James DeLisle wrote: This is almost definitely caused by the attachment not saving properly. Despite the failure to save, the cache holds the attachment for a time but eventually it is cleared and the attachment appears to vanish. The cache inconsistency is fixed as of 2.5M1. As far as the attachment not saving properly and showing no sign, usually we start by blaming mysql max_packet_size. If you upload an attachment about the size of the largest attachment you ahve uploaded so far, check the tomcat log and you will probably see an exception trace. This will tell you what caused the problem. But, please, why does the failure happen once in a bunch and not always? Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users