Hi Armin, I try to describe it in english: 1. I call the NLB i.e http://gisnlb:8080/pmapper. If there's no session active, I had to call it twice. 2. the page appears with it's initial layers, in my database-table (I added a field to know which machine creates the session) I see server A 3. then I zoom in or change the layers. The browser says very fast "Ready", but the loading picture is still there, no pic appears, but in my table now there's Server B working with this session (the one created in 1). 4. if I refresh with the refresh-button of the browser, I get the picture I expected before and "my" session in the table is again from server A My nlb configuration is "lbbyrequest". No errors in the access- or error.log of my nlb-Apache. For ev'ry action my nlb changes the server. I think the problem is the tmp-dir. Unfortunately I using Windows, so there I have a problem with NFS. Do you know whether the mapfile can handle unc-paths? Greets ... Guido
> -----Ursprüngliche Nachricht----- > Von: Armin Burger [mailto:armin.bur...@gmail.com] > Gesendet: Mittwoch, 10. Dezember 2008 18:26 > An: Geografisches Informationssystem > Cc: > Betreff: *SPAM-Verdacht* Re: [pmapper-users] Help needed with Load > Balancing > > On 10/12/2008 07:41, Geografisches Informationssystem wrote: > > Hello, > > are there any experiences with pmapper and load-balancing or nlb > (Apache mod_proxy_balancer)? > > I would like to realize a NLB with 2 pmapper installations (3.x). > > I switched the session handling to database (PostGres). Each server > alone works ok, but if I use it with the Apache-internal NLB, the > applications won't work, then I get only one time the initial page but > no zooming or moving nor changing layers. > > Greets > > Guido > > It's the usual thing: it's impossible to say anything about the problem > if you do not add the error logs of PHP/Javascript. One quick guess is > that the path to the produced map image file could be pointing to the > wrong server (depending if you have sticky sessions or not). > > At work we are using a piece of p.mapper with sessions in PG and Apache > proxy/balancer. The tmp dir for the produced images is on an NFS > network > mount, so it will be found by both servers. If this is the problem in > your case you can also just use NFS on one server mounting the tmp of > the other (this way not requiring a network storage solution). > > armin ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users