/usr/include/stropts.h

  • It appears that in FC9 and above that stropts.h has been removed


    My previous attempts in FC7 have successed but I do receive warnings like

    Quote


    fattach is not implemented and will always fail


    What kind of changes should I make to npipe.cpp to safely remove dependancies on stropts.h?


    Interestingly, I found the same problem arising in the Ingres Database project.


    Thanks


    Robbie

  • I made the following changes to npipe.cpp and it seemed to compile (conquestlinux1414)

  • Hi,


    thanks for this update. I do believe this code is never called. The named pipes are an option of the original dgate that is not used in how conquest is installed today. So it may be removed, and certainly in the UNIX build.


    Marcel

  • I seem to be only able to rebuild 200,000 images before I get the following error.


    Quote


    Thu Nov 6 19:38:20 2008 [Regen] /storage/NMUS_Data/dicom/1367206_AE_IT/1.2.840.113663.1500.1.12335.1.99.20040922.162032.203/1.2.528.1.1001.100.3.645.1577.21021204110.20041017024916578/1.2.528.1.1001.100.4.645.1577.20021204110.20043017024916625.dcm -SUCCESS
    Thu Nov 6 19:39:18 2008 ***VR:ReAlloc out of memory allocating 242380800 bytes
    Thu Nov 6 19:39:18 2008 ***A fatal error occurred (out of memory) - closing server


    I try

    Quote


    ./dgate --regendir:MAG0,1367206_AE_IT


    and it seems to be ok.


    Is there a way to get around what looks to be a memory leak problem?


    Thanks

  • I've been tracking the memory usage of dgate and it seems to have a stable low-water mark at 7Mb. It does spike up to 200Mb when regenerating some files.


    It may be that the computer doesn't have enough RAM. It is an old laptop with 256Mb RAM and 256Mb Swapspace. I installed FC9 without Gnome or KDE.


    I tried the following script


    Code
    ./dgate --debuglog_in:debug.log
    ./dgate --debuglevel:4
    ./dgate --log_on:normal.log
    find . -maxdepth 1 -mindepth 1 -type d -exec /usr/loca/src/conquest/dgate --regendir:MAG0,{} \;


    I've also figured out a way to get the dgate server process to restart if it dies.


    I managed to rebuild 600,000 images before postgres reported out of memory errors. Will need to investigate expanding swapspace.

  • I am pleased to report that I managed to successfully rebuild using the following config:



    DICOM data is stored over two NAS devices using "FileNameSyntax = 8". The NAS is mounted using the cifs filesystem driver
    There are about 1700000 images in 2TB and the rebuild took about 3 days.


    Code
    ./dgate --debuglog_in:debug.log
    ./dgate --debuglevel:4
    ./dgate --log_on:normal.log
    find . -maxdepth 1 -mindepth 1 -type d -exec /usr/loca/src/conquest/dgate --regendir:MAG0,{} \;

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!