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
|
3
(9) |
4
(1) |
5
(6) |
6
|
|
7
(1) |
8
(2) |
9
(2) |
10
(7) |
11
(12) |
12
(8) |
13
|
|
14
(4) |
15
(3) |
16
(1) |
17
(5) |
18
(4) |
19
|
20
(2) |
|
21
(4) |
22
|
23
(2) |
24
(2) |
25
(2) |
26
(1) |
27
|
|
28
(1) |
29
(3) |
30
(9) |
31
(2) |
|
|
|
|
From: <php...@li...> - 2008-12-20 19:54:14
|
Hi Jost,
Really appreciate you taking time to write lengthy replies.
Another thing that I observed was I was using java_session(). In that case
the memory on the Tomcat server kept increasing with every hit on the page.
Because of that the tomcat server went out of memory very quickly.
I stopped using the java_session to verify that and found that memory didn't
go up that much. I have found a way to get my work done without using
java_session.
Do you know why using a java_session() could create such problem?
Thanks
-Ajit
-----Original Message-----
From: php...@li...
[mailto:php...@li...]
Sent: Saturday, December 20, 2008 2:40 PM
To: php...@li...
Subject: Re: [Php-java-bridge-users] protocol error: ,Invalid document end
at col 16. Check the back end logforOutOfMemoryErrors
Hi Nathan,
I am afraid but this problem cannot be fixed on application level.
PHP/windows contains code to detect a broken connection, but it fails to
detect it if the back end has destroyed the channel w/o waiting for the
client. If the front end doesn't explicitly close the connection, the
connection goes back to the pool and PHP/windows returns it the next time
pfsockopen() is called.
The PHP/Java Bridge back end destroys a channel only if it has to recover
from a java.lang.OutOfMemoryError.
Unfortunately this means that the bridge cannot recover from an OutOfMemory
condition automatically, which is certainly not what we want.
PHP/Java Bridge version 5.4.1 contains code which explicitly destroys a
persistent connection if a protocol error occurred (it calls
"dieWithPersistentConnection(errorCode)" instead of simply "die(errorCode)")
>From the NEWS file:
Version 5.4.1
* If PHP is used within a J2EE server or servlet engine the option
JAVA_PERSISTENT_SERVLET_CONNECTIONS is set. This means that the
servlet option fcgi_children (see WEB-INF/web.xml) must be less than
or equal to the servlet engine's thread pool size. It defaults to
5. The smallest thread pool we've seen is the thread pool of the Sun
J2EE server version 9, with 5 entries.
* If PHP is used within Apache or IIS via the java.so or
php_java.dll the option JAVA_PERSISTENT_SERVLET_CONNECTIONS is
set. This means that Apache/IIS "maxChilds" must be less than or
equal to the servlet engine or J2EE server's "maxThreads" value,
otherwise the additional PHP executables will hang. On Fedora and
RedHat Linux we have verified that Tomcat's maxThreads == Apache
maxChilds. If you're unsure, do not use the php_java.dll/java.so.
* If a windows Java back end is destroyed via the task manager, a
PHP/windows front end keeps using the old persistent connections to
the back end. If your Java back end requires a reboot (usually
because new software has been installed), reboot the entire windows
machine to avoid problems with old resources. Or use a unix machine
as the HTTP server front end instead.
* All options can now be set on the command line. Example:
php-cgi -djava.persistent_servlet_connections=On test.php
However, the fundamental problem, that PHP cannot detect broken connections
on windows, still exists. Please report this problem to the PHP maintainers.
Regards,
Jost Bökemeier
----------------------------------------------------------------------------
--
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-12-20 19:40:27
|
Hi Nathan,
I am afraid but this problem cannot be fixed on application level.
PHP/windows contains code to detect a broken connection, but it fails to detect it if the back end has destroyed the channel w/o waiting for the client. If the front end doesn't explicitly close the connection, the connection goes back to the pool and PHP/windows returns it the next time pfsockopen() is called.
The PHP/Java Bridge back end destroys a channel only if it has to recover from a java.lang.OutOfMemoryError.
Unfortunately this means that the bridge cannot recover from an OutOfMemory condition automatically, which is certainly not what we want.
PHP/Java Bridge version 5.4.1 contains code which explicitly destroys a persistent connection if a protocol error occurred (it calls "dieWithPersistentConnection(errorCode)" instead of simply "die(errorCode)") From the NEWS file:
Version 5.4.1
* If PHP is used within a J2EE server or servlet engine the option
JAVA_PERSISTENT_SERVLET_CONNECTIONS is set. This means that the
servlet option fcgi_children (see WEB-INF/web.xml) must be less than
or equal to the servlet engine's thread pool size. It defaults to
5. The smallest thread pool we've seen is the thread pool of the Sun
J2EE server version 9, with 5 entries.
* If PHP is used within Apache or IIS via the java.so or
php_java.dll the option JAVA_PERSISTENT_SERVLET_CONNECTIONS is
set. This means that Apache/IIS "maxChilds" must be less than or
equal to the servlet engine or J2EE server's "maxThreads" value,
otherwise the additional PHP executables will hang. On Fedora and
RedHat Linux we have verified that Tomcat's maxThreads == Apache
maxChilds. If you're unsure, do not use the php_java.dll/java.so.
* If a windows Java back end is destroyed via the task manager, a
PHP/windows front end keeps using the old persistent connections to
the back end. If your Java back end requires a reboot (usually
because new software has been installed), reboot the entire windows
machine to avoid problems with old resources. Or use a unix machine
as the HTTP server front end instead.
* All options can now be set on the command line. Example:
php-cgi -djava.persistent_servlet_connections=On test.php
However, the fundamental problem, that PHP cannot detect broken connections on windows, still exists. Please report this problem to the PHP maintainers.
Regards,
Jost Bökemeier
|