Back Midas Rome Roody Rootana
  Midas DAQ System, Page 104 of 155  Not logged in ELOG logo
ID Date Author Topic Subjectdown Text Attachments
  3051   07 Jun 2025 Mark GrimesBug ReportMemory leak in mhttpd binary RPC codeHi,

We applied an intermediate fix
for this locally and it seems to have fixed
 msysmon-mu3ebe-20250601-042124-20250606-122124.png 
  3055   10 Jun 2025 Konstantin OlchanskiBug ReportMemory leak in mhttpd binary RPC codeI confirm that MJSON_ARRAYBUFFER does not
work correctly for zero-size buffers, 
buffer is leaked in the destructor and copied
  
  3058   15 Jun 2025 Mark GrimesBug ReportMemory leak in mhttpd binary RPC codeMany thanks for the fix.  We've applied and
see better memory performance.  We still
have to kill and restart 
  
  3061   23 Jun 2025 Stefan RittBug ReportMemory leak in mhttpd binary RPC codeSince this memory leak is quite obvious, I
pushed the fix to develop.
  
  637   06 Sep 2009 Exaos LeeBug FixMaybe a fixChanging "SQLINTEGER" to "SQLLEN" maybe let
the compiling pass. See the attached diff.
 history_odbc.cxx.diff 
  2380   31 Mar 2022 Stefan RittSuggestionMaximum ODB sizeAnybody some idea what the maximum ODB size
can be? In the old days, the linux 
kernels had a severe limit on shared memory
  
  2381   04 Apr 2022 Konstantin OlchanskiSuggestionMaximum ODB size> Anybody some idea what the maximum ODB size
can be?
  
  2476   27 Apr 2023 Marius KoeppelSuggestionMaximum ODB sizeHi all,

> I agree, I think we can safely bump the
  
  2477   27 Apr 2023 Konstantin OlchanskiSuggestionMaximum ODB size> > I agree, I think we can safely bump the
limit from 100 Mbytes to 1 Gbyte, maybe 1.5
or 
  
  2480   27 Apr 2023 Marius KoeppelSuggestionMaximum ODB size> This is change is wrong. As I wrote, ODB
is not 64-bit clean and it is not 32-bit
clean. We think is is 31-bit clean, so maximum
  
  2481   27 Apr 2023 Konstantin OlchanskiSuggestionMaximum ODB size> You said the writing into .odb is buggy.
Do you mean it’s buggy in general or only
in this specific case?
  
  2482   27 Apr 2023 Konstantin OlchanskiSuggestionMaximum ODB sizemy vote is to bump the ODB size limit to 1999*1000*1000
(not quite 2GB). but this needs to be tested.
especially save and restore from ODB, XML
  
  2483   27 Apr 2023 Stefan RittSuggestionMaximum ODB size> Congratulations. created != "it works".

Two other tings to consider:
  
  2485   28 Apr 2023 Marius KoeppelSuggestionMaximum ODB size> my vote is to bump the ODB size limit to
1999*1000*1000 (not quite 2GB). but this
needs to be tested. especially save and restore
 create_time.pdffails.pdftest_odb.py 
  2486   28 Apr 2023 Stefan RittSuggestionMaximum ODB size> Is this maybe related to what Stefan said
about the run start - so that odbedit needs
some time to load the bigger ODB?
  
  2487   28 Apr 2023 Marius KoeppelSuggestionMaximum ODB size> At the run start mlogger writes the ODB
to the .mid file. This needs conversion (binary
ODB -> XML ASCII) which can take time.
  
  2488   28 Apr 2023 Konstantin OlchanskiSuggestionMaximum ODB size> > Congratulations. created != "it works".

> Two other tings to consider:
  
  2489   28 Apr 2023 Konstantin OlchanskiSuggestionMaximum ODB size> > Is this maybe related to what Stefan said
about the run start - so that odbedit needs
some time to load the bigger ODB?
  
  2525   09 Jun 2023 Konstantin OlchanskiSuggestionMaximum ODB size> > 1) The ODB shared memory is dumped into
a binary file (".ODB.SHM") after the last
client finished ...
  
  2527   12 Jun 2023 Stefan RittSuggestionMaximum ODB size> correction: ODB shared memory is saved to
.ODB.SHM each time a client stops, this is
db_close_database().
  
ELOG V3.1.4-2e1708b5