mod_jk2 property - [shm]
I have beeng working with workers2.properties, But i cound not understand one thing in that file. [shm] file=C:/Program Files/Apache Group/Apache2/shm.file size=1048576 What is this shared memory file? I have never seen anything written to it. How would it be used? well! i could guess on this, but i wanted to be more sure. Thank for the help my friends, BK __ For information about the Standard Bank group visit our web site www.standardbank.co.za __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the group. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of the group. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. ___
Re: mod_jk2 property - [shm]
Shared Memory File is a cool feature:) (I haven't looked at mod_jk sources for details of its implementation, but the idea should be the same). Generally speaking, it's an ordinary file (with name, attributes, inode, ...), but it isn't used with conventional read/writes. Instead of them, two (or more) processes gain access to this file to map it's contents to a single shared memory segment. Treat this as naming convention for shared memory segments. - Original Message - From: Kommuru, Bhaskar [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 21, 2004 6:42 PM Subject: mod_jk2 property - [shm] I have beeng working with workers2.properties, But i cound not understand one thing in that file. [shm] file=C:/Program Files/Apache Group/Apache2/shm.file size=1048576 What is this shared memory file? I have never seen anything written to it. How would it be used? well! i could guess on this, but i wanted to be more sure. Thank for the help my friends, BK __ For information about the Standard Bank group visit our web site www.standardbank.co.za __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the group. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of the group. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. ___ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 and shm
I keep getting errors like the following from my mod_jk2 installation. Everything seems to work fine but my apache_error log has errors relating to the shm worker which I don't even configure in workers.properties since I don't see that it's in any way required for a simple channel.socket configuration. My load balancing through Apache seems to work fine too so I'm pretty confused. I've inlined the errors followed by OS and Apache information followed by my workers2.properties. I'm using Tomcat 4.1.24. Should I be configuring Apache to use an on-disk scoreboard file and should I be configuring the shm worker to point to that file? I've tried this and the shm.init(): No file error goes away but that's it. Thanks ahead of time for the help! Jamey ** ** apache_error.log ** ** [Thu Jun 05 13:54:45 2003] [error] shm.init(): No file [Thu Jun 05 13:54:45 2003] [notice] workerEnv.init() ok /home/jamey/cvs/inunison /pt30/server/conf/workers2.properties [Thu Jun 05 13:54:45 2003] [error] mod_jk child init 1 -2 [Thu Jun 05 13:54:46 2003] [error] jk2_init() Can't find child 11023 in scoreboa rd * ** OS Info ** * SunOS viagra 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-60 Solaris * ** Apache Info ** * Server version: Apache/2.0.45 Server built: May 8 2003 09:58:18 Server's Module Magic Number: 20020903:0 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/worker -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_PROC_PTHREAD_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/apps/apache/2.0.45 -D SUEXEC_BIN=/apps/apache/2.0.45/bin/suexec -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf * ** workers2.properties ** * # only at beginning. In production comment it out [logger.apache2] level=DEBUG # First socket channel, override port and host. [channel.socket:localhost:6670] host=localhost port=6670 tomcatId=localhost group=lb:balanced # Define the first worker [ajp13:localhost:6670] channel=channel.socket:localhost:6670 # Define a status worker [status:stat] # URI mapping [uri:/*] group=ajp13:localhost:6670 # Status URI mapping (should not be publicly accessible!!!) [uri:/jk2status] group=status:stat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 and shm explanations
I'm experiencing Tomcat-4.1.17/mod_jk2/Apache-2.0.43/Windows- 2000. After some difficulties, the whole configuration seems to be OK but I haven't understood all what I've done ...! Particulary, in workers2.properties, [shm] component is still obscur to me and documentation il very poor on this subject. So, does anyone can explain me : - what is exactly the fonction of this module - what kind of data is written in shm file? - which file size should I configure (actually 100 but don't know why ...)? Thanks in advance for any response. Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]