Posts by rodaquba

    Prefetcherthread, only started with Prefetcher=1 in dicom.ini ( i have not configured these values on DICOM.ini.

    I will be monitoring my PACS and DB with some values will be changed and checked. ( on Database side).SHOW GLOBAL STATUS LIKE 'Threads%';
    SHOW GLOBAL STATUS LIKE 'Connections';
    SHOW GLOBAL STATUS LIKE 'Aborted%';
    SHOW GLOBAL STATUS LIKE 'Created_tmp%';
    SHOW GLOBAL STATUS LIKE 'Slow_queries';
    SHOW GLOBAL STATUS LIKE 'Opened_tables';
    SHOW GLOBAL STATUS LIKE 'Table_open_cache%';

    I will check these and update.
    I will implement these values on DB side and check what will be results.

    SET GLOBAL wait_timeout = 1800; 30 mints
    SET GLOBAL interactive_timeout = 600;

    SET GLOBAL wait_timeout = 600; 10 mints
    SET GLOBAL interactive_timeout = 600;

    SET GLOBAL wait_timeout = 300; 5 mints
    SET GLOBAL interactive_timeout = 300;


    Conquest does keep a few database sessions open during its entire runtime (6 sounds reasonable)
    So i can change session time in mysql db with 5 mints to 10 mints.

    I run all my servers with sqlite so I have not much recent experience. It may be there may be a code change made that fails to close a database connection somewhere. What activities were running when you ran out of connections? Exactly which version were you using?

    1. Conquest version 1.5.d
    2. XAMMP is used with Apache MYSQL and Tomcat for Weasis web. (weasis PACS connector Protcol)
    in mysql (.ini)
    max connection set to 300.

    Studies archived 450000+ on conquest server uncompressed DICOM data.

    My actual question is that what is best parameters session time with DB and conquest server.

    Default MySQL wait_timeout 28800 Idle connections can remain open for 8 hours this is current setting (as you mentioned Conquest does keep a few database sessions open during its entire runtime.(6 sounds reasonable)

    I want to change my wait_timeout to 300 (5 mints) interactive_timeout = 300; so cannot keep long sessions (300 plus hits on server with weasis web and Radiant viewer.

    After study all mentioned parameters DB side needs to addresses session time and interactive_timeout need to in idle for 5 mints as per my understanding by studying on different forums.

    Question-1: Conquest PACS running on verbose mode with XAMMP (MySQL DB Apache and tomcat for web) but at after some i am getting slow response while loading images after restarting conquest service it gets idle loading images ??

    Question-2: What is idle session time in MySQL wait_time by default is 28800 ( up to 8 hours). Can be changed ??

    What my finding is idle session time in MySQL wait_time by default is 28800 ( up to 8 hours) and my max-connection reached up to 301.

    These was also error too many connection ( this can be reason conquest PACS application was inactive) unable to loading images server was in inactive status.

    Question-2: During this process Conquest PACS application and MYSQL DB response was inactive and after restarting Xammp and conquest PACS all service were working.

    Executed these commands and these were my results

    SHOW STATUS LIKE 'Threads_connected';
    SHOW STATUS LIKE 'Threads_running';
    SHOW STATUS LIKE 'Max_used_connections';
    SHOW VARIABLES LIKE 'max_connections';
    SHOW VARIABLES LIKE 'wait_timeout';
    SHOW STATUS LIKE 'Uptime';
    SHOW VARIABLES LIKE 'interactive_timeout';
    SHOW FULL PROCESSLIST;

    Results
    Threads_connected 6
    Threads_running 1
    max_connections 300
    Max_used_connections 301
    MySQL wait_timeout 28800 Idle connections can remain open for 8 hours.

    I will share screeshot as well where my PACSNEW (PACS server in sleep mode during this whole issue for 2.5 hours has maintained session)

    marcel  kashiffc

    I think J2 is very fast, but each storage and retrieval will compress (on very old test 16ms for 512x512 ct slice) and decompress (old test 4ms per slice) each image. If you know how many slices per second you typically read, you can estimate the overhead.
    Thank you for the reply

    i have enable J2 on one PACS site-1 working fine.
    Now i will implement it on Site-2.
    Using the timings you gave:

    • Compression (store): 16 ms per 512×512 CT slice
    • Decompression (retrieve): 4 ms per slice

    So per slice:

    • Store = 16 ms
    • Retrieve = 4 ms
    • Store + Retrieve = 20 ms

    For multiple slices:

    Number of slicesCompressionDecompressionTotal
    1001.6 s0.4 s2.0 s
    5008 s2 s10 s
    1,00016 s4 s20 s
    2,00032 s8 s40 s
    3,00048 s12 s60 s
    5,00080 s20 s100 s (1 min 40 s)
    10,000160 s40 s200 s (3 min 20 s)

    Throughput

    • Compression: 1 / 0.016 ≈ 62.5 slices/second
    • Decompression: 1 / 0.004 = 250 slices/second

    Yes i will keep you updated as what i have done in dicom.ini
    TCPIPTimeOut = 300
    ACSETimeOut = 30
    DimseTimeOut = 300
    MaxClients = 64
    RetryDelay = 5
    RetryCount = 6

    EnableJpeg = 1
    EnableJpeg2000 = 1
    # ---------------- Performance buffers ----------------
    FileBufferSize = 65536
    ReadBufferSize = 65536
    WriteBufferSize = 65536

    I have this configuration in my dicom.ini conquest version 1.5.0d.

    I have done these parameters on dicom.ini for performance tuning as i have studies on forums and groups *** connection terminated***
    Question- I wonder if you can restrict the number of simultaneous connections on XAMPP?
    Answer- Have to do performance tuning on DB side and tomcat as well then may issue will be resolved as increasing threats on DB side and tomcat as well.

    DICOM.ini
    TCPIPTimeOut = 300
    ACSETimeOut = 30
    DimseTimeOut = 300
    MaxClients = 128
    RetryDelay = 5
    RetryCount = 6

    Another Question what will be at best dicom.ini configuration which related to conquest performance tuning (now i am talking about DICOM.ini).
    If i run conquest as archiving server.
    Conquest and DB.