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) |
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
9
|
10
|
11
(1) |
12
(3) |
13
(4) |
14
(11) |
15
|
|
16
|
17
(2) |
18
(7) |
19
(2) |
20
(2) |
21
(5) |
22
(2) |
|
23
(1) |
24
(1) |
25
(3) |
26
(2) |
27
(2) |
28
(1) |
29
|
|
30
|
31
|
|
|
|
|
|
|
From: <php...@li...> - 2011-01-13 14:40:42
|
sorry, of course that command does not use 256 but only 128 MB. I use the same values for Xms and Xmx because it should be faster then continuously allocating more memory. On Thu, Jan 13, 2011 at 3:33 PM, Zagoti Bagon <za...@gm...> wrote: > Ok, i did some testing for you in a 1 GB virtual machine (virtual box - > ubuntu). > > The php-java-bridge starts a local servlet container. > But it doesnt stop it. So you should first check that > all java processes have terminated. > > ps -ef | grep java > > if there still is a java process, kill it. > > kill <pid> > (The pid is in the second column of ps -ef) > if this does not help: > kill -9 <pid> > > After that try this: > > java -Xms128m -Xmx128m -cp JavaBridge.war > > If it still complains about php-cgi, then as root: > > apt-get install php5-cgi > > Before you retry check again if the all java processes have terminated. > > I dont know if 256 M will be enough for your production environment. > > Regards > David > > > On Thu, Jan 13, 2011 at 1:23 PM, < > php...@li...> wrote: > >> Hi, >> >> thx for the help. It's a VPS with 1 GB real memory. I see the problem java >> does not let me change its max memory with >> >> java -Xmx512m (unknown identifier) >> >> instead I tried >> >> export JAVA_OPTS="-Xms256m -Xmx512m" >> export CATALINA_OPTS="-Xms256m -Xmx512m" >> >> running the testinstallation produced: >> >> >> Starting a simple servlet engine: >> [/usr/lib/jvm/java-6-openjdk/jre/bin/java, >> -jar, /opt/tomcat/webapps/ext/JavaBridge.jar, SERVLET_LOCAL:8080] >> Jan 13 13:15:45 JavaBridge INFO : VM : >> 1.6.0_0@http://java.sun.com/ >> Jan 13 13:15:45 JavaBridge INFO : JavaBridge version : 6.2.1 >> Jan 13 13:15:45 JavaBridge INFO : logFile : >> Jan 13 13:15:45 JavaBridge INFO : default logLevel : 3 >> Jan 13 13:15:45 JavaBridge INFO : socket : SERVLET_LOCAL:8080 >> Jan 13 13:15:45 JavaBridge INFO : java.ext.dirs : >> /usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext >> Jan 13 13:15:45 JavaBridge INFO : php.java.bridge.base: /root >> Jan 13 13:15:45 JavaBridge INFO : thread pool size : 20 >> Jan 13 13:15:45 JavaBridge INFO : JavaBridgeRunner started on port >> INET_LOCAL:8080 >> Invoking php: [php-cgi, -n, -d, allow_url_include=On, >> /opt/tomcat/webapps/test.php] >> java.lang.RuntimeException: Could not run PHP ([php-cgi, -n, -d, >> allow_url_include=On, /opt/tomcat/webapps/test.php]), please check if >> php-cgi is in the path. >> at TestInstallation.start(TestInstallation.java:332) >> at TestInstallation.main(TestInstallation.java:252) >> Caused by: java.io.IOException: Cannot run program "php-cgi": >> java.io.IOException: error=12, Cannot allocate memory >> at java.lang.ProcessBuilder.start(ProcessBuilder.java:474) >> at java.lang.Runtime.exec(Runtime.java:610) >> at java.lang.Runtime.exec(Runtime.java:526) >> at TestInstallation.start(TestInstallation.java:330) >> ... 1 more >> Caused by: java.io.IOException: java.io.IOException: error=12, Cannot >> allocate memory >> at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) >> at java.lang.ProcessImpl.start(ProcessImpl.java:81) >> at java.lang.ProcessBuilder.start(ProcessBuilder.java:467) >> ... 4 more >> >> And then >> >> Free -m (821 m free, prior it was already up to 1024m full an leaking) >> >> The question is how much real ram should I install to be safe. Whats with >> the message "please check if php-cgi is in the path" >> >> Thx for your help - appreciated >> >> -----Original Message----- >> From: php...@li... >> [mailto:php...@li...] >> Sent: Donnerstag, 13. Januar 2011 09:14 >> To: php...@li... >> Subject: Re: [Php-java-bridge-users] Installation of JavaBridge causes >> problems - what am i missing >> >> Hello, >> >> i had a similar problem in a different context. I guess your problem is >> not >> the php-java-bridge. >> On a virtual host you often have very limited memory available. How much >> memory did you order for your virtual server? >> >> You can use linux commands like >> free -m >> to find out how your current memory usage is. >> >> Look at your error message. Quite at the start it says: >> >> Caused by: java.io.IOException: Cannot run program >> "/usr/lib/jvm/java-6-openjdk/ >> jre/bin/java": java.io.IOException: error=12, >> Cannot allocate memory >> >> So find out how much memory you have available and then adjust the start >> scripts of the php test program and of your tomcat. >> Look for the java options -Xms and -Xmx >> Documentation: >> http://download.oracle.com/javase/6/docs/technotes/tools/solaris/java.html >> >> Also dont run too many jvm instances at the same time. I believe the >> php-java-bridge test programm starts its own jvm, so dont start the test >> while tomcat is runing. I think your virtual machine might not have enough >> memory for both instances. >> >> Regards, David >> >> >> On Wed, Jan 12, 2011 at 1:55 PM, < >> php...@li...> wrote: >> >> > Please see http://php-java-bridge.sourceforge.net/pjb/installation.php >> > >> > With "original software" I mean Java from Oracle and Tomcat from Apache. >> > The >> > crap shipped with Debian OS doesn't work. >> > >> > >> >> ---------------------------------------------------------------------------- >> -- >> > Protect Your Site and Customers from Malware Attacks >> > Learn about various malware tactics and how to avoid them. Understand >> > malware threats, the impact they can have on your business, and how you >> > can protect your company and customers by using code signing. >> > http://p.sf.net/sfu/oracle-sfdevnl >> > _______________________________________________ >> > php-java-bridge-users mailing list >> > php...@li... >> > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > >> >> ---------------------------------------------------------------------------- >> -- >> Protect Your Site and Customers from Malware Attacks >> Learn about various malware tactics and how to avoid them. Understand >> malware threats, the impact they can have on your business, and how you >> can protect your company and customers by using code signing. >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> php-java-bridge-users mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> >> >> >> ------------------------------------------------------------------------------ >> Protect Your Site and Customers from Malware Attacks >> Learn about various malware tactics and how to avoid them. Understand >> malware threats, the impact they can have on your business, and how you >> can protect your company and customers by using code signing. >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> php-java-bridge-users mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > > |
|
From: <php...@li...> - 2011-01-13 14:33:55
|
Ok, i did some testing for you in a 1 GB virtual machine (virtual box - ubuntu). The php-java-bridge starts a local servlet container. But it doesnt stop it. So you should first check that all java processes have terminated. ps -ef | grep java if there still is a java process, kill it. kill <pid> (The pid is in the second column of ps -ef) if this does not help: kill -9 <pid> After that try this: java -Xms128m -Xmx128m -cp JavaBridge.war If it still complains about php-cgi, then as root: apt-get install php5-cgi Before you retry check again if the all java processes have terminated. I dont know if 256 M will be enough for your production environment. Regards David On Thu, Jan 13, 2011 at 1:23 PM, < php...@li...> wrote: > Hi, > > thx for the help. It's a VPS with 1 GB real memory. I see the problem java > does not let me change its max memory with > > java -Xmx512m (unknown identifier) > > instead I tried > > export JAVA_OPTS="-Xms256m -Xmx512m" > export CATALINA_OPTS="-Xms256m -Xmx512m" > > running the testinstallation produced: > > > Starting a simple servlet engine: > [/usr/lib/jvm/java-6-openjdk/jre/bin/java, > -jar, /opt/tomcat/webapps/ext/JavaBridge.jar, SERVLET_LOCAL:8080] > Jan 13 13:15:45 JavaBridge INFO : VM : > 1.6.0_0@http://java.sun.com/ > Jan 13 13:15:45 JavaBridge INFO : JavaBridge version : 6.2.1 > Jan 13 13:15:45 JavaBridge INFO : logFile : > Jan 13 13:15:45 JavaBridge INFO : default logLevel : 3 > Jan 13 13:15:45 JavaBridge INFO : socket : SERVLET_LOCAL:8080 > Jan 13 13:15:45 JavaBridge INFO : java.ext.dirs : > /usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext > Jan 13 13:15:45 JavaBridge INFO : php.java.bridge.base: /root > Jan 13 13:15:45 JavaBridge INFO : thread pool size : 20 > Jan 13 13:15:45 JavaBridge INFO : JavaBridgeRunner started on port > INET_LOCAL:8080 > Invoking php: [php-cgi, -n, -d, allow_url_include=On, > /opt/tomcat/webapps/test.php] > java.lang.RuntimeException: Could not run PHP ([php-cgi, -n, -d, > allow_url_include=On, /opt/tomcat/webapps/test.php]), please check if > php-cgi is in the path. > at TestInstallation.start(TestInstallation.java:332) > at TestInstallation.main(TestInstallation.java:252) > Caused by: java.io.IOException: Cannot run program "php-cgi": > java.io.IOException: error=12, Cannot allocate memory > at java.lang.ProcessBuilder.start(ProcessBuilder.java:474) > at java.lang.Runtime.exec(Runtime.java:610) > at java.lang.Runtime.exec(Runtime.java:526) > at TestInstallation.start(TestInstallation.java:330) > ... 1 more > Caused by: java.io.IOException: java.io.IOException: error=12, Cannot > allocate memory > at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) > at java.lang.ProcessImpl.start(ProcessImpl.java:81) > at java.lang.ProcessBuilder.start(ProcessBuilder.java:467) > ... 4 more > > And then > > Free -m (821 m free, prior it was already up to 1024m full an leaking) > > The question is how much real ram should I install to be safe. Whats with > the message "please check if php-cgi is in the path" > > Thx for your help - appreciated > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] > Sent: Donnerstag, 13. Januar 2011 09:14 > To: php...@li... > Subject: Re: [Php-java-bridge-users] Installation of JavaBridge causes > problems - what am i missing > > Hello, > > i had a similar problem in a different context. I guess your problem is not > the php-java-bridge. > On a virtual host you often have very limited memory available. How much > memory did you order for your virtual server? > > You can use linux commands like > free -m > to find out how your current memory usage is. > > Look at your error message. Quite at the start it says: > > Caused by: java.io.IOException: Cannot run program > "/usr/lib/jvm/java-6-openjdk/ > jre/bin/java": java.io.IOException: error=12, > Cannot allocate memory > > So find out how much memory you have available and then adjust the start > scripts of the php test program and of your tomcat. > Look for the java options -Xms and -Xmx > Documentation: > http://download.oracle.com/javase/6/docs/technotes/tools/solaris/java.html > > Also dont run too many jvm instances at the same time. I believe the > php-java-bridge test programm starts its own jvm, so dont start the test > while tomcat is runing. I think your virtual machine might not have enough > memory for both instances. > > Regards, David > > > On Wed, Jan 12, 2011 at 1:55 PM, < > php...@li...> wrote: > > > Please see http://php-java-bridge.sourceforge.net/pjb/installation.php > > > > With "original software" I mean Java from Oracle and Tomcat from Apache. > > The > > crap shipped with Debian OS doesn't work. > > > > > > ---------------------------------------------------------------------------- > -- > > Protect Your Site and Customers from Malware Attacks > > Learn about various malware tactics and how to avoid them. Understand > > malware threats, the impact they can have on your business, and how you > > can protect your company and customers by using code signing. > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > php-java-bridge-users mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > > > ---------------------------------------------------------------------------- > -- > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2011-01-13 08:14:36
|
Hello, i had a similar problem in a different context. I guess your problem is not the php-java-bridge. On a virtual host you often have very limited memory available. How much memory did you order for your virtual server? You can use linux commands like free -m to find out how your current memory usage is. Look at your error message. Quite at the start it says: Caused by: java.io.IOException: Cannot run program "/usr/lib/jvm/java-6-openjdk/ jre/bin/java": java.io.IOException: error=12, Cannot allocate memory So find out how much memory you have available and then adjust the start scripts of the php test program and of your tomcat. Look for the java options -Xms and -Xmx Documentation: http://download.oracle.com/javase/6/docs/technotes/tools/solaris/java.html Also dont run too many jvm instances at the same time. I believe the php-java-bridge test programm starts its own jvm, so dont start the test while tomcat is runing. I think your virtual machine might not have enough memory for both instances. Regards, David On Wed, Jan 12, 2011 at 1:55 PM, < php...@li...> wrote: > Please see http://php-java-bridge.sourceforge.net/pjb/installation.php > > With "original software" I mean Java from Oracle and Tomcat from Apache. > The > crap shipped with Debian OS doesn't work. > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |