Hi Gediminas, The imaging workspace is a pure cache for the generated image-variations. For this reason I would not cluster the imaging workspace. You will have more reliable and faster operation by having each public node have its own imaging workspace.
Note also that there are other workspaces (e.g. mgnlSystem) which should not be clustered between the nodes. Regards from Vienna, Richard > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag von Gediminas Zalys (via Magnolia Forums) > Gesendet: Donnerstag, 28. Juli 2016 07:55 > An: Magnolia Dev List > Betreff: [magnolia-dev] Problem with imaging module on clustered > environment > > We have two public instances, that are clustered and are using NFS > shared repository directory (/repositories/magnolia/repository/) > The cluster ID is specified in magnolia.properties file for both > public instances. We used > samuelschmitt.net/2013/09/step-by-step-magnolia-cms- > clustering/ guide to achieve clustering. > Everything seems to be working fine apart from images. > > > We keep on getting below error messages each time a call is made to > retrieve an image. > > [code] > 2016-07-28 12:49:01,704 ERROR > info.magnolia.module.cache.filter.CacheFilter > : A request started to cache but failed with an exception (ImagingException: > Can't load image from > /places/KFYIR5SWED5a/KFYIR5SWED5a_0_537x720.jpg/jcr:content). > [url=http://uatloadbalancer-1471990206.ap-southeast- > 1.elb.amazonaws.com:8080/uatPublic/.imaging/hero_x3/dam/places/KFYIR5 > SWED5a/KFYIR5SWED5a_0_537x720.jpg] > 2016-07-28 12:49:01,704 ERROR > info.magnolia.module.cache.filter.CacheFilter > : A request started to cache but failed with an exception (ImagingException: > Can't load image from > /places/OPPIR5TY9POs/OPPIR5TY9POs_0_1440x1920.jpg/jcr:content). > [url=http://uatloadbalancer-1471990206.ap-southeast- > 1.elb.amazonaws.com:8080/uatPublic/.imaging/hero_x3/dam/places/OPPIR > 5TY9POs/OPPIR5TY9POs_0_1440x1920.jpg] > 2016-07-28 12:49:01,704 ERROR > info.magnolia.module.cache.filter.CacheFilter > : A request started to cache but failed with an exception (ImagingException: > Can't load image from > /places/TRSYIR5S0KGXm/TRSYIR5S0KGXm_0_720x540.jpg/jcr:content). > [url=http://uatloadbalancer-1471990206.ap-southeast- > 1.elb.amazonaws.com:8080/uatPublic/.imaging/hero_x3/dam/places/TRSYIR > 5S0KGXm/TRSYIR5S0KGXm_0_720x540.jpg] > [/code] > > Whats interesting, is that we get this only on one of the instances > (magnoliaPublic 2). Public 2 is NFS mounted onto public 1. > Another point to add, we noticed this error message is thrown only > once for one image. When you attempt to load this image again, it > tends to work, however this behaviour is intermittent. > > Please also note that we are using load balancer to route the traffic > to public > 1 or public 2. > > Any advice will be appreciated. > > -- > Context is everything: http://forum.magnolia- > cms.com/forum/thread.html?threadId=c9a18b1f-e47a-4d11-9c15- > 448c5e14a519 > > > ---------------------------------------------------------------- > For list details, see: http://www.magnolia-cms.com/community/mailing- > lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ To > unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
