httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Sklenar" <Lukas.skle...@detica.com>
Subject RE: [users@httpd] webservice clustering trouble
Date Mon, 17 Jan 2011 09:06:46 GMT
Hi Jeroen, actually I am using the latest versions. It just appears to
you that I am not because of the mod_jk-1.2.31-httpd-2.2.3.so filename.

My httpd is version 2.2.17. And as far as I can see on the Tomcat
Connectors download homepage, the latest version of those is 1.2.3.

But I guess the fact that the filename says "-httpd-2.2.3" is weird. I
got it from here :
http://apache.mirror.anlx.net//tomcat/tomcat-connectors/jk/binaries/win3
2/jk-1.2.31/

In my conf file I keep all the defaults (except for updating the ips,
ports, and paths to doc root, log file locations, etc.). Since it works
when not running a load test, I assume it is ok.

Here is the bit where I load my module and add some extra properties for
the loadtest:

# Load module
 
LoadModule jk_module "<snip path>/mod_jk-1.2.31-httpd-2.2.3.so"
 
# Specify path to worker configuration file
JkWorkersFile "<snip path>/workers.properties"
 
# Configure logging and memory
JkLogFile "logs/mod_jk.log" 
JkLogLevel fine

# loadbalancer is the lb worker
JkMount / loadbalancer 
JkMount /* loadbalancer


# Configure monitoring
JkMount /jkmanager/* jkstatus
<Location /jkmanager>
Order deny,allow
Deny from all
Allow from localhost
</Location>

# And some extra properties for the loadtests
MaxRequestsPerChild 100000
ThreadsPerChild 1000
KeepAlive On



I mean it works when asking it to do stuff one by one slowly. But breaks
on the loadtest.

Could 
"
14-Jan-2011 15:18:45 org.apache.coyote.ajp.AjpMessage processHeader
SEVERE: Invalid message recieved with signature 28276
"
Mean some sort of network trouble? Headers being corrupted due to too
many of them or something?

Any ideas would be greatly appreciated.

Thanks,

Lukas


______________________________________________

Lukas Sklenar
t +44 (0)1483 817132 | m +44 (0) 7786 374324 www.detica.com

p.s. The disclaimers get added on automatically ;-)




-----Original Message-----
From: Jeroen Geilman [mailto:jeroen@adaptr.nl] 
Sent: 15 January 2011 23:20
To: users@httpd.apache.org
Subject: Re: [users@httpd] webservice clustering trouble

On 1/14/11 5:29 PM, Lukas Sklenar wrote:
> Hello,
>
> I have deployed 3 tomcat6.0.29 webapps, each of which exposes a
> webservice, and am using apache2.2 and mod_jk-1.2.31-httpd-2.2.3.so to
> cluster them - a performance exercise.

2.2.3 is quite old.

Also, mod_jk is deprectaed in favour of mod_proxy_ajp.

<snipped non-httpd stuff>

> I am ready to post my config if need be, but wanted to know if someone
> has come across this before?

You apache httpd config, if relevant to the issue, is welcome.

> I can find some reference in the archives which suggests I should
update
> tomcat/apache/java etc but I have the latest versions already.

No you don't. Apache httpd is at least 14 versions behind.

> This message should be regarded as confidential.

Not really.

> If you have received this email in error

You tell me.

>   please notify the sender and destroy it immediately.

Will do!

Idiot disclaimers.

-- 
J.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error
please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised
signatory.  The contents of this email may relate to dealings with other companies within
the Detica Limited group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message