[imp] shared memory error

Lars Hecking lhecking@nmrc.ucc.ie
Tue, 19 Jun 2001 12:21:16 +0100


> > When trying to access IMP I do get the following error message:
> > Warning: not enough shared memory left in ct_shm.inc on line 5
> >
> > There where some postings about this on this and other mailing lists.
> > None of them seemed to give a solution. Chuck (if I remember
> > correctly) proposed to increased shm_size in ct_shm.inc. I tried this
> > (now 4096000 instead of 64000 ...). This does not work.
 
 Yep, that's not correct. If you take a look at ct_shm.inc:

class CT_Shm {
        ##
        ## Define these parameters by overwriting or by
        ## deriving your own class from it (recommened)
        ##
...

 The class that's derived from it is in local.inc:

class HordeCT extends CT_Shm {
  var $max_sessions   = 500;               // number of maximum sessions
  var $shm_key        = 0x123754;          // unique shm identifier
  var $shm_size       = 64000;             // size of segment
}

 I had the very same problem (on Solaris), and I upped _this_ version
 of $shm_size to 128000. Case closed :-)