
pmillard at examinetics
Jan 20, 2005, 8:15 AM
Post #1 of 1
(4729 views)
Permalink
|
|
Losing parameters in Get and Post
|
|
We recently moved to a load balanced environment for a large mod_perl, mason based application using mod_backhand from a 1 server environment, to a 3 server environment. We are using Apache 1.3.33, mod_backhand 1.2.2 and mod_perl 1.29 on Suse Linux 9.1. We have an unusual configuration in that we are running on port 81. We have a front-end apache that runs mod_ssl and mod_rewrite and handles all the SSL so the back-end servers don't have the overhead of dealing with ssl. The front-end servers are utilizing mod_rewrite with proxy to send request to the back-end server, that is running the application. We have had quite a few problems since doing this that seem to be directly related to mod_backhand. It intermittently responds from Get requests, by dropping the parameters and going to the default screen(s). For instance, when listing a client screen that shows an alphabetical list of all clients that begin with S, we have the parameters that look like ?start=s&all=1 after the URL to our mason component. Occasionally, the URL shows the parameter list correctly, but lists the A list, which is the default if not start parameter is listed. This is just one example. Out of the hundreds of screens in the app, many are losing parameters, causing the user to have to reload to resolve the issue. Our initial configuration on all three boxes was exactly the same as from the examples of the Configuration Help screen - http://www.backhand.org/mod_backhand/configuring.shtml. <IfModule mod_backhand.c> # This directorty must be readable and writable by euid of apache (nobody) # The mod_backhand-Arriba and the AF_UNIX domain files are stored in here. UnixSocketDir /var/backhand/backhand # This would be the way to do ethernet broadcast # MulticastStats 128.220.221.255:4445 # but we choose to use the following IP multicast address with a TTL of 1 MulticastStats 239.255.221.20:4445,1 # We want to accept resource information originating from any IP on our # network. AcceptStats 128.220.221.0/24 </IfModule> <Directory "/var/backhand/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all Backhand byAge Backhand byRandom Backhand byLogWindow Backhand byLoad </Directory> We have experimented with many options including having the primary server remove itself from the cluster, and have the secondary servers with no backhand directory options(all retain their IfModule sections): The primary server: <Directory "/var/backhand/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all Backhand byAge Backhand removeSelf Backhand byRandom Backhand byLoad </Directory> The secondary servers: <Directory "/var/backhand/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> Has anyone else found issues with parameters being lost? Also, the issue with incorrect memory being displayed as 4294967295 MB 4294967295 MB For Total Mem and Available Mem. Paul Millard This email and any files transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please let us know by replying to the sender, and immediately delete this email from your system. Please note that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. We apologize for any inconvenience that may have been caused to you. Examinetics, Inc. does not accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network.
|