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. |