#63 VideoDB down if dvdb.de down

closed-works-for-me
nobody
None
7
2008-02-07
2007-10-17
No

Hi,

Sometimes i experience a problem with my videodb installation. The page hangs completely and the connection does time out.
After a short check, i see that the site www.dvdb.de is also down and does timeout on connect.

I was not yet able to find a reason why my videodb seems to be connecting to www.dvdb.de on connect, and i would think that this should not be necessary.

Is there any hints on that topic?

Regards,
Frank

Discussion

  • Frank Altpeter

    Frank Altpeter - 2007-10-17
    • priority: 5 --> 7
     
  • Andreas Goetz

    Andreas Goetz - 2007-10-17

    Logged In: YES
    user_id=391980
    Originator: NO

    I cannot confirm your problem. What are you doing when the connection hangs? Which process is connecting to dvdb.de?

    I've found however, that I'm experiencing hangs when videoDB unsucessfully tries to connect to youtube though, e.g. as result of wrong proxy setting. I do not currently understand how this causes the hang as the request is asynchronously executed by the client?

     
  • Andreas Goetz

    Andreas Goetz - 2007-11-21

    Logged In: YES
    user_id=391980
    Originator: NO

    Never received an update. Please provide more details or close bug.

     
  • Frank Altpeter

    Frank Altpeter - 2007-11-21

    Logged In: YES
    user_id=145970
    Originator: YES

    I don't know which process exactly is running when it hangs. I was able to confirm that my videodb did time out on index.php access, and i saw in the netstat on the machine, that there was a connection to www.dvdb.de in TIME_WAIT status. I tried to access www.dvdb.de manually within my browser and it was hanging too. I assume, that it's the link to the cover image, which is for example saved as http://www.dvdb.de/dvdpix/big/0-0335.jpg when i look into the configuration of an item. So, if dvdb.de hangs, the image cannot be fetched and if it's not cached previously, the page won't load.

    So, perhaps it might make sense to not link the cover images to the respective data provider, but to fetch the image and link it locally?

     
  • Andreas Goetz

    Andreas Goetz - 2007-11-22

    Logged In: YES
    user_id=391980
    Originator: NO

    This is strange. The images are requests to img.php which are read asynchronously from index.php. The only thing I can imagine is that the page contains so many images that the web server process cannot handle all the requests at once:
    1) index.php
    2) img.php?external image1
    3) img.php?external image2
    4)...

    At this point it might happen that the web server starts queueing requests instead of parallelizing, potentially starving the initial request. This would need to be fixed by configuring the server. Cannot imagine any other cause.

     
  • Andreas Goetz

    Andreas Goetz - 2007-11-22
    • status: open --> open-works-for-me
     
  • Frank Altpeter

    Frank Altpeter - 2007-11-22

    Logged In: YES
    user_id=145970
    Originator: YES

    Sorry to disagree :-)
    As i already stated, i was able to confirm that www.dvdb.de was down while the videodb installation was down. I checked both sites from my pc at home and both were running into timeout. Besides that, if i look into the configuration of an item, i see (for example) the value for the field "Cover URL" is filled with the URL http://www.dvdb.de/dvdpix/big/f-1176.jpg - When i look at the main page, where my DVDs are listed with Cover image, i see the link stated as http://media.foxalpha.de/cache/img/79d98d439db265b8bf4aabc1dcfba778.jpg . So, If a newly added DVD has to be displayed on the main page, the videodb has to fetch the Cover from the defined Cover URL, e.g. www.dvdb.de/dvdpix/... and if that fails because the target server www.dvdb.de doesn't answer but timeout the request, the index.php which wants to fetch the cover image does also timeout.
    So, AFAIK the only thing that needs to be done would be that img.php gets some kind of connection timeout falling back to the nocover.gif image.
    And no, my server can handle a lot of parallelized requests :)

    Hopefully, this does clarify what i'm trying to commit :)

    However, VideoDB is still a great masterpiece of software and i like it :)

     
  • Andreas Goetz

    Andreas Goetz - 2007-11-23

    Logged In: YES
    user_id=391980
    Originator: NO

    Sorry- not sure what you're saying. As img.php loads are asynchronous from index.php I do not see how this can stall the main page load. In fact, this is exactly what a browser is supposed to handle.

     
  • Andreas Goetz

    Andreas Goetz - 2008-02-07
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks