1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Random images not loading

Discussion in 'Server Configuration and Hosting' started by danielmo, Oct 22, 2015.

  1. danielmo

    danielmo New Member

    Recently moved to XenForo 1.5.2 from vBulletin 3.8. Running on own server, with LAMP setup. I have memcache and opcache configured (I hope properly).

    Even before setting up memcache and opcache (and installing any add-ons), users, including myself, were/are running into an issue from time to time where an attachment image fails to load (or only partially loads) when a thumbnail is clicked. Right-clicking on the thumbnail to open the image in a new tab (Firefox 41.0.2, but also in other browsers it seems) will sometimes eventually load the resource and other times just get the "Connecting..." tab name with the "spinning" GIF and never deliver the resource.

    Since it seems to be across browsers, I'm guessing it is a server configuration issue. Any suggestions on what to do? Any magic to work with php.ini? Or maybe $config['enableContentLength'] is an issue?
     
  2. Mike

    Mike XenForo Developer Staff Member

    If it's displaying "connecting", that would imply that the web server isn't actually making the connection fully (which is when it would be passed on to XF). I don't think there's really anything XF or PHP is directly involved with here. I suppose it could be some sort of anti-DoS tool that is sporadically blocking requests.
     
  3. danielmo

    danielmo New Member

    In that case, does anyone know an anti-DOS tool that comes packaged with a default RHEL7 / Apache install? Or, hmm. I'm guessing look into the Apache settings... will report back.
     
    Last edited: Oct 22, 2015
  4. danielmo

    danielmo New Member

    Possibly something to do with a too-high MaxWorkersDirective in Apache, monitoring now.
     
  5. danielmo

    danielmo New Member

    Nope, that's not it.
     
  6. danielmo

    danielmo New Member

  7. danielmo

    danielmo New Member

    Thanks. Bumping in case anyone else has any suggestions.
     
  8. danielmo

    danielmo New Member

    ...and another bump. Looking for suggestions of where to look. Users are receiving partially load images sometimes, sometimes no images at all, but most often it is working fine.
     
  9. RoldanLT

    RoldanLT Well-Known Member

    You don't have pagespeed module on your server?
     
  10. Tracy Perry

    Tracy Perry Well-Known Member

    A link to the site may be helpful. That way one could keep banging the page until the error revealed itself and then look at the page source, developer tools, etc. for some possible problems.
     
  11. danielmo

    danielmo New Member

  12. danielmo

    danielmo New Member

    Still having issues, though not able to address them until next week now. If anyone has any ideas, they'd be most welcome.
     
  13. Tracy Perry

    Tracy Perry Well-Known Member

    OK, this may sound off the wall, but are you doing any IP connection throttling on the server? I know recently I was having a similar issue with nginx on my IPS site - turns out apparently my 20 concurrent connections to an IP wasn't enough (I have a static IP) and some of my images were not displaying until I refreshed. Once I upped that limit, I had no more problems.
     
  14. danielmo

    danielmo New Member

    Thanks Tracy, I will look into that. I'll tackle this again this week.
     

Share This Page