cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-09-17 Thread mturk
mturk 2005/09/17 04:19:47 Modified:jk/native/common jk_shm.c Log: Use named union for shm header. Some compilers have problems comiling unnamed unions as struct members. Revision ChangesPath 1.21 +21 -21jakarta-tomcat-connectors/jk/native/common/jk_shm.c

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-03-27 Thread mturk
mturk 2005/03/27 22:36:01 Modified:jk/native/common jk_shm.c Log: Remove some extra trailing spaces. No functional change. Revision ChangesPath 1.18 +3 -3 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c ==

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h

2005-03-27 Thread mturk
mturk 2005/03/27 22:27:39 Modified:jk/native/common jk_shm.c jk_shm.h Log: Lower the default shared memory size from 1Mb to 64Kb. Since each worker uses 1024 bytes of data, this gives 64 workers by default, that is enough for any default installation. If more then 64 workers

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h jk_status.c jk_uri_worker_map.c jk_uri_worker_map.h

2005-02-20 Thread mturk
mturk 2005/02/20 10:31:22 Modified:jk/native/common jk_shm.c jk_shm.h jk_status.c jk_uri_worker_map.c jk_uri_worker_map.h Log: Remove shared memory uri mappings. Dynamic update will not work for multi child servers. Updates will be done rereading uriworker

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h jk_uri_worker_map.c jk_uri_worker_map.h

2005-02-20 Thread mturk
mturk 2005/02/20 04:21:10 Modified:jk/native/common jk_shm.c jk_shm.h jk_uri_worker_map.c jk_uri_worker_map.h Log: Use shared memory for uri mappings. It stores only the match type inside shared memory to be able to disable particular map at runtime. Add

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-15 Thread mturk
mturk 2005/02/15 03:41:26 Modified:jk/native/common jk_shm.c Log: Log memory mapped base address. Revision ChangesPath 1.13 +11 -9 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c ===

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-14 Thread mturk
mturk 2005/02/14 01:44:36 Modified:jk/native/common jk_shm.c Log: Use caddr_t as casting type for mmap. Revision ChangesPath 1.12 +3 -3 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c =

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-13 Thread mturk
mturk 2005/02/13 04:43:55 Modified:jk/native/common jk_shm.c Log: Fix some compiler warnings Revision ChangesPath 1.11 +4 -3 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h

2005-02-13 Thread mturk
mturk 2005/02/13 04:08:05 Modified:jk/native/common jk_shm.c jk_shm.h Log: Add logging and global lock file to shared memory. Revision ChangesPath 1.10 +157 -16 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c ===

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h

2005-02-12 Thread mturk
mturk 2005/02/12 09:01:00 Modified:jk/native/common jk_shm.c jk_shm.h Log: Add modification time and lock api interface. Revision ChangesPath 1.9 +50 -6 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h

2005-02-07 Thread mturk
mturk 2005/02/07 11:06:35 Modified:jk/native/common jk_shm.c jk_shm.h Log: Change shared memory API. There will be always one and only shared memory, so make it's instance static. Also use two types of shared memory to lower the memory if JkShmFile is not defined in config. The

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-06 Thread Mladen Turk
Bill Barker wrote: This is really hidious. You're going to allocate huge amounts of useless memory in pre-fork? Not really. Instead allocating from jk_pool, the workers runtime data will be allocated from shared memory, so even if there is no JkSmhFile statement and thus shared memory the memory

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-06 Thread Bill Barker
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 06, 2005 3:20 AM Subject: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c mturk 2005/02/06 03:20:49 Modified:jk/native/common jk_shm.c Log: Use pla

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-06 Thread mturk
mturk 2005/02/06 03:30:02 Modified:jk/native/common jk_shm.c Log: In case filename was not defined use "memory" as filename. Revision ChangesPath 1.6 +3 -2 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-06 Thread mturk
mturk 2005/02/06 03:25:38 Modified:jk/native/common jk_shm.c Log: Add missing hdr variable. Revision ChangesPath 1.5 +2 -1 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c =

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-06 Thread mturk
mturk 2005/02/06 03:20:49 Modified:jk/native/common jk_shm.c Log: Use plain memory if shmem filename was not defined. This enable transparent API, regardles of shm type and JkShmFile. Revision ChangesPath 1.4 +37 -15jakarta-tomcat-connectors/jk/native/common

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c jk_shm.h

2005-02-06 Thread mturk
mturk 2005/02/06 02:35:55 Modified:jk/native/common jk_shm.c jk_shm.h Log: Change shm API to use predefined shm struct since this one is always seerver global singleton. Revision ChangesPath 1.3 +37 -26jakarta-tomcat-connectors/jk/native/common/jk_shm.c

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_shm.c

2005-02-06 Thread mturk
mturk 2005/02/06 02:00:41 Modified:jk/native/common jk_shm.c Log: Fix few typos. Revision ChangesPath 1.2 +4 -4 jakarta-tomcat-connectors/jk/native/common/jk_shm.c Index: jk_shm.c === RC