Menu

Crashing iip image server for many requests using build from trunk

Help
Markus
2013-09-05
2013-09-06
  • Markus

    Markus - 2013-09-05

    We are using a build from the latest trunk due to fixes done by Ruven for bitonal jp2 images. Thank you very much again!

    However, we are facing problems with the iip image server when we request multiple images at the same time. We request 20 of the following images at the same time and this crashes the server.

    fcgi-bin/iipsrv2.fcgi?FIF=/node-1/NLF/3000051777596/19081223_00001.jp2&wid=600&rgn=0.081,0.052,0.282,0.141&cvt=jpeg

    In the server log with verbosity level 5, I only get the following log:

    CVT maximum viewport size set to 3000
    Full Request is FIF=/node-1/NLF/3000051778462/19081124_00002.jp2&wid=600&rgn=0.025,0.045,1.305,0.653&cvt=jpeg
    [1/4]: Command / Argument is FIF : /node-1/NLF/3000051778462/19081124_00002.jp2
    FIF handler reached
    FIF :: URL decoding/filtering: /node-1/NLF/3000051778462/19081124_00002.jp2 => /node-1/NLF/3000051778462/19081124_00002.jp2
    FIF :: Image cache initialisation
    FIF :: JPEG2000 image requested
    FIF :: Created image
    FIF :: Image dimensions are 5544 x 7960
    FIF :: Image timestamp: Thu, 01 Aug 2013 08:34:42 GMT
    FIF :: Total command time 664 microseconds
    [2/4]: Command / Argument is wid : 600
    WID handler reached
    WID :: requested width is 600
    [3/4]: Command / Argument is rgn : 0.025,0.045,1.305,0.653
    RGN handler reached
    RGN :: requested region is 0.025, 0.045, 1.305, 0.653
    [4/4]: Command / Argument is cvt : jpeg
    CVT handler reached
    CVT :: JPEG output handler reached
    CVT :: image set to 693x995 using resolution 2
    CVT :: view port is set: image: 693x995. View Port: 17,45,676,650
    CVT :: Requested scaled region size is 676x650. Nearest pyramid region size is 676x650
    TileManager getRegion :: requesting region directly from image

    Afterwards the server is just down and I need to restart Apache.

    I hope anybody can help me! Thank you very much in advance.

     
  • Ruven

    Ruven - 2013-09-05

    Are you running multiple iipsrv instances in parallel? If so, how many? Try limiting to 1 instance and retrying your simultaneous connection tests.

     
  • Markus

    Markus - 2013-09-06

    Thank you for your answer!

    We actually run only one iipsrv instance.

     

Anonymous
Anonymous

Add attachments
Cancel