Re: workers.properties confusion
[EMAIL PROTECTED] schrieb: I think that really depends on the path you use inside your httpd.conf. That's the place where you specify which workers.properties to use. Cheers. Yes, as the others said, Tomcat does not read or use a workers.properties. It is only used by mod_jk and you can put it wherever you like, as long as your JkWorkersFile directive contains the correct path. Sometimes the confusion comes from the fact, that tomcat can be configured to *write* a jk config (auto configuration), but this is partially broken. Also, since mod_jk is not part of the httpd project, instead part of the Tomcat project, the files get put into CATALINA_HOME/conf by some distributors. mod_jk should be fine with prefork MPM (single thread) and with worker MPM (multi-threaded). Unless you need to go into extreme situations, modern hardware and OSes can handle quite high load with both of them. Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: workers.properties confusion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerhardus, [EMAIL PROTECTED] wrote: However I am a bit confused between the /etc/httpd/conf/workers.properties for apache and /usr/share/tomcat/conf/workers.properties You only need one workers.properties file: it configures mod_jk for connections to the various Tomcat instances you want to use. Another potential issue is that we are using apache prefork. From what I have googled so far it looks like apache mpm would be better for us. We typically have one apache box sitting in front of 12 tomcats. Prefork works just fine with mod_jk. IIRC, mpm does /not/ work well with mod_jk (or maybe you just have to be careful?). - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzubP9CaO5/Lv0PARAoBvAJ9EYXMnQ5PZmEj768goCfTOap/k5QCeKf6+ S/IYcgNVyeSFW7FjI0d4j74= =Qra3 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: workers.properties confusion
I think that really depends on the path you use inside your httpd.conf. That's the place where you specify which workers.properties to use. Cheers. --- [EMAIL PROTECTED] escribió: Cool, it is starting to make a bit more sense. Does that mean that setting settings in apache:/etc/httpd/conf/workers.properties will override any workers.properties set in tomcat servers? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 24 August 2007 15:10 To: Tomcat Users List Subject: Re: workers.properties confusion [EMAIL PROTECTED] wrote: However I am a bit confused between the /etc/httpd/conf/workers.properties for apache and /usr/share/tomcat/conf/workers.properties You only need one workers.properties file: it configures mod_jk for connections to the various Tomcat instances you want to use. Another potential issue is that we are using apache prefork. From what I have googled so far it looks like apache mpm would be better for us. We typically have one apache box sitting in front of 12 tomcats. Prefork works just fine with mod_jk. IIRC, mpm does /not/ work well with mod_jk (or maybe you just have to be careful?). One less thing to worry about then for now. Only reason I thought it might be an issue was because some web pages suggest mpm scales better, and works better on multi cpu systems. Regards __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ¡Sé un mejor fotógrafo! Perfecciona tu técnica y encuentra las mejores fotos. http://mx.yahoo.com/promos/mejorfotografo.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: workers.properties confusion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerhardus, [EMAIL PROTECTED] wrote: Does that mean that setting settings in apache:/etc/httpd/conf/workers.properties will override any workers.properties set in tomcat servers? Tomcat never deals with workers.properties at all. Only mod_jk (within Apache httpd) reads this file. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzuyk9CaO5/Lv0PARAjNdAJ9jkrqsJsEuu8J+FBLmA7WnDhTvwQCgufj3 r5K5aJDiKJrTZhiys7UVpV8= =Fjhh -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]