From: <php...@li...> - 2012-05-08 06:37:22
|
Hi, I would like to increase thread pool from default 20 to bigger value. According to FAQ: "How many threads does the bridge start? Request-handling threads are started from a thread pool, which limits the number of user requests to 20 (default), see system property php.java.bridge.threads. All further requests have to wait until one of the worker threads returns to the pool." I think that setting php.java.bridge.threads as system property is not working properly. I set this parameter in java opt and I see it in system processes: tomcat7 32469 0.7 13.5 5017868 3347932 ? Sl Apr30 69:19 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Dphp.java.bridge.threads=1024 -Xmx3072m ….. Is this how I should set it up? Where else can I look for the cause that our application is not able to utilize the entire resources of the server? php 5.4 tomcat 7.0.23 php/JB 6.1.2.1 Regards Piotr ________________________________ Asseco Business Solutions S.A. ul. Konrada Wallenroda 4c 20-607 Lublin tel.: +48 81 535 30 00 fax: +48 81 535 30 05 Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku VI Wydział Gospodarczy Krajowego Rejestru Sądowego KRS 0000028257 NIP 522-26-12-717 kapitał zakładowy 167 090 965,00 zł (w całości opłacony) www.assecobs.pl ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. |
From: <php...@li...> - 2012-05-08 06:58:56
|
Hi. Please see the Apache Tomcat documentation for details. You shouldn't change the value without adjusting Apache's MaxChilds, too. Again. Running the bridge outside a JEE environment ist NOT supported. Am 08.05.2012 08:37 schrieb <php...@li...>: > > Hi, > > I would like to increase thread pool from default 20 to bigger value. > According to FAQ: > > "How many threads does the bridge start? > > Request-handling threads are started from a thread pool, which limits the > number of user requests to 20 (default), see system property > php.java.bridge.threads. All further requests have to wait until one of the > worker threads returns to the pool." > > I think that setting php.java.bridge.threads as system property is not > working properly. > I set this parameter in java opt and I see it in system processes: > > tomcat7 32469 0.7 13.5 5017868 3347932 ? Sl Apr30 69:19 > /usr/lib/jvm/default-java/bin/java > -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties > -Djava.awt.headless=true -Dphp.java.bridge.threads=1024 -Xmx3072m ….. > > Is this how I should set it up? > > Where else can I look for the cause that our application is not able to > utilize the entire resources of the server? > > php 5.4 > tomcat 7.0.23 > php/JB 6.1.2.1 > > > Regards > Piotr > > ________________________________ > > Asseco Business Solutions S.A. > ul. Konrada Wallenroda 4c > 20-607 Lublin > tel.: +48 81 535 30 00 > fax: +48 81 535 30 05 > > Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku > VI Wydział Gospodarczy Krajowego Rejestru Sądowego > KRS 0000028257 > NIP 522-26-12-717 > kapitał zakładowy 167 090 965,00 zł (w całości opłacony) > www.assecobs.pl > > ________________________________ > > Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub > podmiotu, do którego jest adresowana i może zawierać informacje o > charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie > informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący > jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca > korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne > zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej > treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. > > ________________________________ > > Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. > > ________________________________ > > This information is intended only for the person or entity to which it is > addressed and may contain confidential and/or privileged material. > Unauthorized use of this information by person or entity other than the > intended recipient is prohibited by law. If you received this by mistake, > please immediately contact the sender by e-mail or by telephone and delete > this information from any computer. Thank you. Asseco Business Solutions > S.A. > > ________________________________ > > Please consider your environmental responsibility before printing this > e-mail. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2012-05-08 08:21:34
|
Thanks for the tips Wiadomość napisana przez <php...@li...<mailto:php...@li...>> <php...@li...<mailto:php...@li...>> w dniu 8 maj 2012, o godz. 08:58: Hi. Please see the Apache Tomcat documentation for details. You shouldn't change the value without adjusting Apache's MaxChilds, too. do you mean maxthreads in tomcat ? I have: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" maxThreads="200" redirectPort="8443" /> Again. Running the bridge outside a JEE environment ist NOT supported. Am 08.05.2012 08:37 schrieb <php...@li...<mailto:php...@li...>>: Hi, I would like to increase thread pool from default 20 to bigger value. According to FAQ: "How many threads does the bridge start? Request-handling threads are started from a thread pool, which limits the number of user requests to 20 (default), see system property php.java.bridge.threads. All further requests have to wait until one of the worker threads returns to the pool." I think that setting php.java.bridge.threads as system property is not working properly. I set this parameter in java opt and I see it in system processes: tomcat7 32469 0.7 13.5 5017868 3347932 ? Sl Apr30 69:19 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Dphp.java.bridge.threads=1024 -Xmx3072m ….. Is this how I should set it up? Where else can I look for the cause that our application is not able to utilize the entire resources of the server? php 5.4 tomcat 7.0.23 php/JB 6.1.2.1 Regards Piotr ________________________________ Asseco Business Solutions S.A. ul. Konrada Wallenroda 4c 20-607 Lublin tel.: +48 81 535 30 00 fax: +48 81 535 30 05 Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku VI Wydział Gospodarczy Krajowego Rejestru Sądowego KRS 0000028257 NIP 522-26-12-717 kapitał zakładowy 167 090 965,00 zł (w całości opłacony) www.assecobs.pl<http://www.assecobs.pl> ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li...<mailto:php...@li...> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li...<mailto:php...@li...> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. |