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
(3) |
2
|
3
(4) |
4
(8) |
5
|
|
6
(1) |
7
(2) |
8
(2) |
9
(1) |
10
|
11
|
12
(2) |
|
13
(11) |
14
|
15
|
16
|
17
(3) |
18
|
19
|
|
20
|
21
(4) |
22
(2) |
23
(7) |
24
(8) |
25
(2) |
26
(1) |
|
27
(2) |
28
(11) |
29
(2) |
30
|
|
|
|
|
From: <php...@li...> - 2009-09-13 22:25:58
|
Easier to handle is relative, no? I have -0- experience running Java
App Servers. This is why I run it standalone; it is plenty fast, has
been very reliable for me, and it's only 1 process to manage, so it's
simple for me to understand. If a java app server has problems, I have
no idea how to easily deal with it...
Is it *bad* to run it standalone? What would I gain by switching?
Alan
On Sep 13, 2009, at 6:19 PM, php-java-bridge-
us...@li... wrote:
> There is one in the CVS attic.
>
> However, Tomcat or JEE servers are easier to handle, please use them
> as the
> Java back end, if you can. -- these don't have obscure options like
> SERVLET
> or SERVLET_LOCAL either. :)
>
> Regards,
> Jost Boekemeier
>
> On Sep 14, 2009 12:13 AM, <php-java-bridge-
> us...@li...>
> wrote:
>
> Here is a little init script I wrote that I use to start/stop a php-
> java-bridge standalone instance on my machine.
>
> It took quite a bit of messing around to get all the various pieces
> working and robust (ie logging startup failure output to the log file;
> properly detecting the PID of java, etc).
>
> I am not 100% confident that the line that launches the bridge is
> perfect; so use your own knowledge to correct it. I am talking to Jost
> in another thread about it at this time.
>
> JAVA=/path/to/java
> JAVA_BRIDGE_PATH=/path/to/JavaBridge.jar
> CONTAINER_DIR=/path/to/my/project
>
>
> #!/bin/zsh
> PIDFILE=$CONTAINER_DIR/runtime/jvm.pid
>
> start() {
> echo "Starting JVM: "
> LOGFILE=$CONTAINER_DIR/log/jvm.log
> $JAVA -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -
> jar $JAVA_BRIDGE_PATH SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
> echo $! > $PIDFILE
> echo "waiting 5s for JVM to finish starting up..."
> sleep 5
> PID=`cat $PIDFILE`
> ps -p $PID > /dev/null
> if [ $? = 0 ]; then
> echo "Java Bridge VM started in background, detached from
> shell. PID=$PID"
> exit 0
> else
> echo "Java Bridge VM failed to start."
> exit 1
> fi
> }
> stop() {
> pid=`cat $PIDFILE`
> echo "Stopping JVM (alleged pid $pid}): "
> ps -p `cat $PIDFILE` | grep java
> if [ $? = 0 ]; then
> kill `cat $PIDFILE`
> rm -f $PIDFILE
> exit 0
> else
> echo "PID is not a jvm. Aborting stop."
> exit 1
> fi
> }
>
> case "$1" in
> start)
> start
> ;;
> stop)
> stop
> ;;
> *)
> echo $"Usage: runbridge.sh {start|stop}"
> exit 1
> esac
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-09-13 22:20:11
|
There is one in the CVS attic.
However, Tomcat or JEE servers are easier to handle, please use them as the
Java back end, if you can. -- these don't have obscure options like SERVLET
or SERVLET_LOCAL either. :)
Regards,
Jost Boekemeier
On Sep 14, 2009 12:13 AM, <php...@li...>
wrote:
Here is a little init script I wrote that I use to start/stop a php-
java-bridge standalone instance on my machine.
It took quite a bit of messing around to get all the various pieces
working and robust (ie logging startup failure output to the log file;
properly detecting the PID of java, etc).
I am not 100% confident that the line that launches the bridge is
perfect; so use your own knowledge to correct it. I am talking to Jost
in another thread about it at this time.
JAVA=/path/to/java
JAVA_BRIDGE_PATH=/path/to/JavaBridge.jar
CONTAINER_DIR=/path/to/my/project
#!/bin/zsh
PIDFILE=$CONTAINER_DIR/runtime/jvm.pid
start() {
echo "Starting JVM: "
LOGFILE=$CONTAINER_DIR/log/jvm.log
$JAVA -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -
jar $JAVA_BRIDGE_PATH SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
echo $! > $PIDFILE
echo "waiting 5s for JVM to finish starting up..."
sleep 5
PID=`cat $PIDFILE`
ps -p $PID > /dev/null
if [ $? = 0 ]; then
echo "Java Bridge VM started in background, detached from
shell. PID=$PID"
exit 0
else
echo "Java Bridge VM failed to start."
exit 1
fi
}
stop() {
pid=`cat $PIDFILE`
echo "Stopping JVM (alleged pid $pid}): "
ps -p `cat $PIDFILE` | grep java
if [ $? = 0 ]; then
kill `cat $PIDFILE`
rm -f $PIDFILE
exit 0
else
echo "PID is not a jvm. Aborting stop."
exit 1
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
*)
echo $"Usage: runbridge.sh {start|stop}"
exit 1
esac
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-09-13 22:18:35
|
>> r SERVLET:9676
>
> SERVLET does set promiscuous mode. For local communication please use
> SERVLET_LOCAL.
Awesome! Just did that and bye-bye temp files. Thanks so much for the
quick response.
> However, Java.inc should delete the fifo if the back end doesn't
> want to use
> it, of course.
Of course! Glad I could help to find the bug.
Thanks again!
Alan
>
> On Sep 14, 2009 12:00 AM, <php-java-bridge-
> us...@li...>
> wrote:
>
> Hi Jost-
>
> Glad to report the bug! Sadly I seem to be good at finding them ;)
>
> This is the *only* setup I use for getting the bridge going. If this
> either of these settings turns on promiscuous mode, I didn't do it on
> purpose.
>
> // PHP side (duh)
> define ("JAVA_HOSTS", "127.0.0.1:9676");
> define ("JAVA_PREFER_VALUES", true); # required for BC with the way
> we wrote our php-java-bridge code. Could try to debug and fix but no
> downside to this.
> require_once('/Users/alanpinstein/dev/sandbox/showcase2/showcase2/
> classes/dieselpoint/Java.inc');
>
> // bridge side
> java -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -jar /
> path/to/JavaBridge.jar SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
>
> I read the docs just now on promiscuous mode and I am not certain I
> understand what it does. I sort of see what it's used for, but it's
> not really clear exactly what it does, and consequently, what
> technically doesn't happen if it's not on.
>
> In fact I have a nice wrapper script for starting/stopping a
> standalone bridge (which frankly I think is really convenient for
> people that aren't already running an app server). I will post the
> script in a separate email if you want to use it in the project.
>
> Alan
>
> On Sep 13, 2009, at 5:45 PM, php-java-bridge-
>
> us...@li... wrote: > Hi, > > Yes, if your back end
> rejects
> the local fifo (in promi...
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-09-13 22:13:22
|
Here is a little init script I wrote that I use to start/stop a php-
java-bridge standalone instance on my machine.
It took quite a bit of messing around to get all the various pieces
working and robust (ie logging startup failure output to the log file;
properly detecting the PID of java, etc).
I am not 100% confident that the line that launches the bridge is
perfect; so use your own knowledge to correct it. I am talking to Jost
in another thread about it at this time.
JAVA=/path/to/java
JAVA_BRIDGE_PATH=/path/to/JavaBridge.jar
CONTAINER_DIR=/path/to/my/project
#!/bin/zsh
PIDFILE=$CONTAINER_DIR/runtime/jvm.pid
start() {
echo "Starting JVM: "
LOGFILE=$CONTAINER_DIR/log/jvm.log
$JAVA -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -
jar $JAVA_BRIDGE_PATH SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
echo $! > $PIDFILE
echo "waiting 5s for JVM to finish starting up..."
sleep 5
PID=`cat $PIDFILE`
ps -p $PID > /dev/null
if [ $? = 0 ]; then
echo "Java Bridge VM started in background, detached from
shell. PID=$PID"
exit 0
else
echo "Java Bridge VM failed to start."
exit 1
fi
}
stop() {
pid=`cat $PIDFILE`
echo "Stopping JVM (alleged pid $pid}): "
ps -p `cat $PIDFILE` | grep java
if [ $? = 0 ]; then
kill `cat $PIDFILE`
rm -f $PIDFILE
exit 0
else
echo "PID is not a jvm. Aborting stop."
exit 1
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
*)
echo $"Usage: runbridge.sh {start|stop}"
exit 1
esac
|
|
From: <php...@li...> - 2009-09-13 22:07:01
|
> r SERVLET:9676
SERVLET does set promiscuous mode. For local communication please use
SERVLET_LOCAL.
However, Java.inc should delete the fifo if the back end doesn't want to use
it, of course.
On Sep 14, 2009 12:00 AM, <php...@li...>
wrote:
Hi Jost-
Glad to report the bug! Sadly I seem to be good at finding them ;)
This is the *only* setup I use for getting the bridge going. If this
either of these settings turns on promiscuous mode, I didn't do it on
purpose.
// PHP side (duh)
define ("JAVA_HOSTS", "127.0.0.1:9676");
define ("JAVA_PREFER_VALUES", true); # required for BC with the way
we wrote our php-java-bridge code. Could try to debug and fix but no
downside to this.
require_once('/Users/alanpinstein/dev/sandbox/showcase2/showcase2/
classes/dieselpoint/Java.inc');
// bridge side
java -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -jar /
path/to/JavaBridge.jar SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
I read the docs just now on promiscuous mode and I am not certain I
understand what it does. I sort of see what it's used for, but it's
not really clear exactly what it does, and consequently, what
technically doesn't happen if it's not on.
In fact I have a nice wrapper script for starting/stopping a
standalone bridge (which frankly I think is really convenient for
people that aren't already running an app server). I will post the
script in a separate email if you want to use it in the project.
Alan
On Sep 13, 2009, at 5:45 PM, php-java-bridge-
us...@li... wrote: > Hi, > > Yes, if your back end rejects
the local fifo (in promi...
|
|
From: <php...@li...> - 2009-09-13 22:06:39
|
> I have just looked at the code, pipes are NOT used if $this->host is
> not
> 127.0.0.1.
Ok, well I am using that IP to connect to the bridge:
define ("JAVA_HOSTS", "127.0.0.1:9676");
> Why have you switched off the local channel in the back end if both
> components are running on the same machine?
I have no idea! There are so many options for the bridge that it is
unfortunately a bit of information overload for me.
I have not worked heavily on the innards of server design, especially
on UNIX, and frankly I don't have a very good understanding of how
unix options such as pipe/socket/channels?/etc work. I really only
understand it on the IP side.
I would be grateful if you could elucidate these for me, or point me
to a good "guide" to them, or simply just tell me what to do :)
Right now I am just running the standalone server like so:
java -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -jar /
path/to/JavaBridge.jar SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
on the same machine as PHP.
In the near future I might have the Java server on a single instance
and have 2 web servers both talk to the same java bridge server over IP.
Thanks!
Alan
>
> On Sep 13, 2009 11:45 PM, "Jost Bekemeier" <jos...@go...
> >
> wrote:
>
> Hi,
>
> Yes, if your back end rejects the local fifo (in promiscuous mode),
> Java.inc
> creates a new pair and tries again in the next request.
>
> The fifos are only used on security enhanced linux, please disable
> them by
> setting JAVA_PIPE_DIR to null.
>
> Thank you very much for reporting this bug. -- It has been there
> since 5
> years. I guess you are the first person who enabled promiscuous mode
> in the
> back end w/o setting the host value in the front end.
>
> Regards,
> Jost Boekemeier
>
>>> On Sep 13, 2009 11:07 PM, <php...@li...
>>> >
> wrote: > > Oops the imag...
>
> us...@li... wrote: > My /tmp directory ran out of
> space (or
> inodes or something) to...
>
>>>> You can see that the bridge exhausted all inodes on /dev/shm then
>>>> as >
>> soon as that was ful...
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-09-13 22:00:45
|
Hi Jost-
Glad to report the bug! Sadly I seem to be good at finding them ;)
This is the *only* setup I use for getting the bridge going. If this
either of these settings turns on promiscuous mode, I didn't do it on
purpose.
// PHP side (duh)
define ("JAVA_HOSTS", "127.0.0.1:9676");
define ("JAVA_PREFER_VALUES", true); # required for BC with the way
we wrote our php-java-bridge code. Could try to debug and fix but no
downside to this.
require_once('/Users/alanpinstein/dev/sandbox/showcase2/showcase2/
classes/dieselpoint/Java.inc');
// bridge side
java -server -Xmx1200m -Dphp.java.bridge.default_log_level=5 -jar /
path/to/JavaBridge.jar SERVLET:9676 2>$LOGFILE 1>$LOGFILE &
I read the docs just now on promiscuous mode and I am not certain I
understand what it does. I sort of see what it's used for, but it's
not really clear exactly what it does, and consequently, what
technically doesn't happen if it's not on.
In fact I have a nice wrapper script for starting/stopping a
standalone bridge (which frankly I think is really convenient for
people that aren't already running an app server). I will post the
script in a separate email if you want to use it in the project.
Alan
On Sep 13, 2009, at 5:45 PM, php-java-bridge-
us...@li... wrote:
> Hi,
>
> Yes, if your back end rejects the local fifo (in promiscuous mode),
> Java.inc
> creates a new pair and tries again in the next request.
>
> The fifos are only used on security enhanced linux, please disable
> them by
> setting JAVA_PIPE_DIR to null.
>
> Thank you very much for reporting this bug. -- It has been there
> since 5
> years. I guess you are the first person who enabled promiscuous mode
> in the
> back end w/o setting the host value in the front end.
>
> Regards,
> Jost Boekemeier
>
> On Sep 13, 2009 11:07 PM, <php-java-bridge-
> us...@li...>
> wrote:
>
> Oops the image got stripped. Here's a link to it:
>
> http://idisk.me.com/apinstein/Public/Pictures/Skitch/php-java-bridge_tmp_files_problem-20090913-170627.jpg
>
> Alan
>
> On Sep 13, 2009, at 5:01 PM, php-java-bridge-
>
> us...@li... wrote: > My /tmp directory ran out of
> space (or
> inodes or something) to...
>> You can see that the bridge exhausted all inodes on /dev/shm then as
>> soon as that was full it "failed-over" (by accident, based on a look
>> at the code) to /tmp.
>>
>> Please advise.
>>
>> Regards,
>> Alan
>>
> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.
> http://p.sf.net/sfu/bobj-july_______________________________________________
>> php-java-bridge-users mailing list
>> php...@li...
>> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-09-13 21:56:01
|
I have just looked at the code, pipes are NOT used if $this->host is not 127.0.0.1. Why have you switched off the local channel in the back end if both components are running on the same machine? On Sep 13, 2009 11:45 PM, "Jost Bekemeier" <jos...@go...> wrote: Hi, Yes, if your back end rejects the local fifo (in promiscuous mode), Java.inc creates a new pair and tries again in the next request. The fifos are only used on security enhanced linux, please disable them by setting JAVA_PIPE_DIR to null. Thank you very much for reporting this bug. -- It has been there since 5 years. I guess you are the first person who enabled promiscuous mode in the back end w/o setting the host value in the front end. Regards, Jost Boekemeier > > On Sep 13, 2009 11:07 PM, <php...@li...> wrote: > > Oops the imag... us...@li... wrote: > My /tmp directory ran out of space (or inodes or something) to... > > > You can see that the bridge exhausted all inodes on /dev/shm then as > > soon as that was ful... |
|
From: <php...@li...> - 2009-09-13 21:45:28
|
Hi, Yes, if your back end rejects the local fifo (in promiscuous mode), Java.inc creates a new pair and tries again in the next request. The fifos are only used on security enhanced linux, please disable them by setting JAVA_PIPE_DIR to null. Thank you very much for reporting this bug. -- It has been there since 5 years. I guess you are the first person who enabled promiscuous mode in the back end w/o setting the host value in the front end. Regards, Jost Boekemeier On Sep 13, 2009 11:07 PM, <php...@li...> wrote: Oops the image got stripped. Here's a link to it: http://idisk.me.com/apinstein/Public/Pictures/Skitch/php-java-bridge_tmp_files_problem-20090913-170627.jpg Alan On Sep 13, 2009, at 5:01 PM, php-java-bridge- us...@li... wrote: > My /tmp directory ran out of space (or inodes or something) to... > You can see that the bridge exhausted all inodes on /dev/shm then as > soon as that was full it "failed-over" (by accident, based on a look > at the code) to /tmp. > > Please advise. > > Regards, > Alan > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-09-13 21:07:19
|
Oops the image got stripped. Here's a link to it: http://idisk.me.com/apinstein/Public/Pictures/Skitch/php-java-bridge_tmp_files_problem-20090913-170627.jpg Alan On Sep 13, 2009, at 5:01 PM, php-java-bridge- us...@li... wrote: > My /tmp directory ran out of space (or inodes or something) today. > > When I went and looked, there were 350,000+ tmp files left over from > the bridge, like: > > -rw------- 1 apache apache 0 Sep 11 > 20:34 .php_java_bridge7ZE0oM > prw-rw-rw- 1 apache apache 0 Sep 11 > 20:34 .php_java_bridge7ZE0oM.i > prw-rw-rw- 1 apache apache 0 Sep 11 > 20:34 .php_java_bridge7ZE0oM.o > > It actually ended up using all space on /tmp and killed my server! > > I see that it's the php Java.inc file that's doing this. I see that > the files are created, but never where they're cleaned up. > > Not knowing much about how the bridge's life cycle works, I am a bit > anxious to just start ramming code in there to clean up, but clearly > there is a problem. Here's a graph of inode usage on my server since > upgrading to the latest php-java-bridge: > > > > > You can see that the bridge exhausted all inodes on /dev/shm then as > soon as that was full it "failed-over" (by accident, based on a look > at the code) to /tmp. > > Please advise. > > Regards, > Alan > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-09-13 21:01:36
|
My /tmp directory ran out of space (or inodes or something) today. When I went and looked, there were 350,000+ tmp files left over from the bridge, like: -rw------- 1 apache apache 0 Sep 11 20:34 .php_java_bridge7ZE0oM prw-rw-rw- 1 apache apache 0 Sep 11 20:34 .php_java_bridge7ZE0oM.i prw-rw-rw- 1 apache apache 0 Sep 11 20:34 .php_java_bridge7ZE0oM.o It actually ended up using all space on /tmp and killed my server! I see that it's the php Java.inc file that's doing this. I see that the files are created, but never where they're cleaned up. Not knowing much about how the bridge's life cycle works, I am a bit anxious to just start ramming code in there to clean up, but clearly there is a problem. Here's a graph of inode usage on my server since upgrading to the latest php-java-bridge: |