Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  15 Feb 2017, NguyenMinhTruong, Bug Report, increase event buffer size 
    Reply  16 Feb 2017, Konstantin Olchanski, Bug Report, increase event buffer size 
       Reply  20 Feb 2017, NguyenMinhTruong, Bug Report, increase event buffer size 
          Reply  20 Feb 2017, Konstantin Olchanski, Bug Report, increase event buffer size 
             Reply  20 Feb 2017, Konstantin Olchanski, Bug Report, increase event buffer size 
This is a draft message, edit and submit it to make it permanent  
Message ID: 1242     Entry time: 20 Feb 2017     In reply to: 1241
Author: Konstantin Olchanski 
Topic: Bug Report 
Subject: increase event buffer size 
> memory in my PC is 16 GB 

You can safely go to buffer size 100 Mbytes or more.

> I check the contents of .SHM_TYPE.TXT and it is "POSIXv2_SHM".

Good.

> But there is no buffer sizes in "/Experiment" 

This is strange. How old is your midas? What does it say on the "help" page in "Revision"?

> After run "ipcrm -M 0x4d040761 size0x204a3c"

This command is wrong. It probably gave you an error instead of removing the shared memory, that's why
nothing worked afterwards.

My copy of system.c reads this:
cm_msg(MERROR, "ss_shm_open", "Shared memory segment with key 0x%x already exists, please remove it manually: ipcrm -M 0x%x", key, key);

Note how there is no text "size0x..." in my copy? What does your copy say? Did somebody change it?

> remove .SYSTEM.SHM and run MIDAS again, I still get error "Shared memory segment
> with key 0x4d040761 already exists, please remove it manually: ipcrm -M 0x4d040761 size0x204a3c" M.T

Yes, that's because the ipcrm command is wrong and did not work,
it should read "ipcrm -M 0x4d040761" without the spurious "size..." text.

K.O.
ELOG V3.1.4-2e1708b5