You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
(1) |
|
3
|
4
(2) |
5
(3) |
6
(1) |
7
|
8
(3) |
9
|
|
10
(1) |
11
|
12
|
13
(4) |
14
(6) |
15
(3) |
16
(4) |
|
17
(1) |
18
(6) |
19
(2) |
20
(7) |
21
(7) |
22
(1) |
23
(2) |
|
24
|
25
(1) |
26
|
27
(2) |
28
(1) |
29
|
30
(1) |
|
From: <php...@li...> - 2007-06-28 15:56:53
|
Hi,
[please excuse the delay]
> of tomcat are running within 15 to 30 min one of the
> tomcat instances stops responding and a browser
I could reproduce something like this when running
2700 instances of the sessionSharing.jsp. The reason
for the failure was an OutOfMemoryError in the session
replicator.
> We have not found exception in the log files
I have started both instances with catalina.sh run,
the error message appeared in the console window.
However, I have attached the proposed tomcat cluster
howto that someone has asked for:
----------------------------------------------
Ho do I set up a tomcat cluster?
Download tomcat 5 or higher, a Java JRE 5 or higher
and the PHP/Java Bridge 4.1.5 or higher.
The following example uses two nodes running on two
machines called "carlos" and "diego". The web server
is running on a third machine which has full access to
both nodes (at least it needs access to the ports from
the range [9267, [9367).
On all nodes: Extract the tomcat distribution into a
directory.
On "diego" add the following to conf/server.xml:
<Cluster
className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="8">
<Manager
className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false"
notifyListenersOnReplication="true"/>
<Channel
className="org.apache.catalina.tribes.group.GroupChannel">
<Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="diego"
port="4000"
autoBind="100"
selectorTimeout="5000"
maxThreads="6"/>
</Channel>
</Cluster>
On "carlos" add the following to conf/server.xml:
<Cluster
className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="8">
<Manager
className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false"
notifyListenersOnReplication="true"/>
<Channel
className="org.apache.catalina.tribes.group.GroupChannel">
<Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="carlos"
port="4000"
autoBind="100"
selectorTimeout="5000"
maxThreads="6"/>
</Channel>
</Cluster>
Copy the "JavaBridge.war" into the "webapps" directory
on "diego" and "carlos" and start both nodes. For
example with the command:
JAVA_OPTS="-Dphp.java.bridge.promiscuous=true"
JAVA_HOME=/opt/jdk1.5 bin/catalina.sh run
Start the web server on the third computer "timon".
For example with the command:
apachectl restart
Create a PHP script called "sessionSharing-diego.php"
and copy it into the web server document root (usually
"/var/www/html" or "~/public_html") on "timon":
<?php
require_once("http://diego:8080/JavaBridge/java/Java.inc");
$session = java_session();
if(is_null($session->get("counter")))
$session->put("counter", new
Java("java.lang.Integer", 1));
$counter = java_values($session->get("counter"));
print "HttpSession variable \"counter\":
$counter<br>\n";
$next = new Java("java.lang.Integer", $counter+1);
$session->put("counter", $next);
?>
Create a PHP script called "sessionSharing-carlos.php"
and copy it into the web server document root (usually
"/var/www/html" or "~/public_html") on "timon":
<?php
require_once("http://carlos:8080/JavaBridge/java/Java.inc");
$session = java_session();
if(is_null($session->get("counter")))
$session->put("counter", new
Java("java.lang.Integer", 1));
$counter = java_values($session->get("counter"));
print "HttpSession variable \"counter\":
$counter<br>\n";
$next = new Java("java.lang.Integer", $counter+1);
$session->put("counter", $next);
?>
Start a web brower and remove all cookies
Browse to http://timon/sessionSharing-carlos.php and
check the generated cookie. It should have the key
"JSESSIONID", host attribute "timon" and the path
attribute "/". The value should be "1". Click on the
browser refresh button to increase the value.
Use the same browser window and navigate to
http://timon/sessionSharing-diego.php and check if
there is still only one cookie with the same
attributes as before. The value should be "3"
Use the same browser window and navigate to
http://timon/sessionSharing-carlos.php and check if
there is still only one cookie with the same
attributes as before. The value should be "4".
Switch off "diego" and start it again.
Use the same browser window and navigate to
http://timon/sessionSharing-diego.php and check if
there is still only one cookie with the same
attributes as before. The value should be "5"
Switch off "carlos".
Use the same browser window and navigate to
http://timon/sessionSharing-carlos.php and check if
you get an exception.
Start "carlos".
Use the same browser window and navigate to
http://timon/sessionSharing-carlos.php and check if
there is still only one cookie with the same
attributes as before. The value should be "6"
Please see your HTTP server documentation how to set
it up as a load balancer. This differs from the
architecture described above in that the load balancer
forwards the requests to the nodes and the nodes run
PHP using the FastCGI mechanism.
---------------------------------------------------
Regards,
Jost Boekemeier
__________________________________ Die besten Tipps und Tricks fürs Grillen. BE A BETTER GRILLMEISTER! www.yahoo.de/clever
|