Results 1 to 11 of 11

FastCGI problems, site stuck in a loop

This is a discussion on FastCGI problems, site stuck in a loop within the General Discussion forums, part of the vBSEO SEO Plugin category; vBseo seems to cause FastCGI problems on my server: http://www.d3scene.com/errors.txt It happens randomly and only for 30 minutes. For those ...

  1. #1
    Senior Member Hendricius's Avatar
    Real Name
    Hendrik Kleinwaechter
    Join Date
    Jun 2007
    Location
    Hamburg
    Posts
    173
    Liked
    3 times
    Blog Entries
    5

    FastCGI problems, site stuck in a loop

    vBseo seems to cause FastCGI problems on my server:

    http://www.d3scene.com/errors.txt

    It happens randomly and only for 30 minutes. For those 30 minutes however the site almost completely freezes.

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello Hendrik ,

    Does the errors stop when you temporary disable vBSEO from vBSEO Cp and what is your .htaccess content ?
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    I'd suggest using php as an apache module instead of fast cgi if you can. fast cgi is better suited for windows

  4. #4
    Senior Member Hendricius's Avatar
    Real Name
    Hendrik Kleinwaechter
    Join Date
    Jun 2007
    Location
    Hamburg
    Posts
    173
    Liked
    3 times
    Blog Entries
    5
    The error that then pops up:

    A timeout occured while waiting for the script output (in: /usr/www/users/d3scene/forum/vbseo.php).

    I am using the default .htaccess in the folder /forum/
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /

    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    This is what vBulletin shows me about php:
    2009-05-19_0255 on Flickr - Photo Sharing!

    Seems to be running as fast cgi as Brian said. I am running on a managed server, I don't know whether my server folks can change it :(. The link to the settings I can change: 2009-05-19_0257 on Flickr - Photo Sharing!

    There is no way around it?

    Thanks for the information so far.

  5. #5
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    a quick google of the problem says:

    Possible reasons (and solutions) for this error are:
    Session files are not configured correctly - often when you're moving between server types. Delete the sessions in your /tmp folder, run "killall -usr1 dispatch.fcgi", and give it another go.


    try that?


    If you're on a managed server you could ask the support folks if its possible to
    a) upgrade apache to 2.2
    b) with php as a module instead of cgi

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    also check the shebang line for your php options (this might need to be done by the host too)

    #!/usr/local/bin/php

    make sure that path is correct

  7. #7
    nfn
    nfn is offline
    Senior Member
    Real Name
    Nuno
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    276
    Liked
    1 times
    Hi ...

    I have run php as fastcgi with nginx, fcgid with apache2 and mod_php with apache2. I must say that none of this configurations made me happy.

    After some digging, I stop by setting apache2 + mod_php with nginx in front to deal with static files and proxying php files to apache backend.

    I must say that this is the most stable configuration I ever had in my linode.

    With this setup I have the better of two worlds ... fast static files served with nginx and all the juice of apache just serving php requests.

    Apache or Lighttpd? - Page 2 - vBulletin Community Forum

  8. #8
    Senior Member Hendricius's Avatar
    Real Name
    Hendrik Kleinwaechter
    Join Date
    Jun 2007
    Location
    Hamburg
    Posts
    173
    Liked
    3 times
    Blog Entries
    5
    Thanks for the suggestions brian and nfn.

    I'll call my hosting company Friday and let you know.

  9. #9
    Senior Member Hendricius's Avatar
    Real Name
    Hendrik Kleinwaechter
    Join Date
    Jun 2007
    Location
    Hamburg
    Posts
    173
    Liked
    3 times
    Blog Entries
    5
    Talked to the company, unfortunately those options are not possible. Are there any alternatives?

    I'd have to switch to a root server again to enable the features mentioned here, which is unfortunately no option for me.

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hello,

    can you please check your access logs to compare it with date/time in that error log and find out which URLs where requested and ended up with error?

    (upgrading to Apache2/php module is still the best way to go though)

  11. #11
    Senior Member Hendricius's Avatar
    Real Name
    Hendrik Kleinwaechter
    Join Date
    Jun 2007
    Location
    Hamburg
    Posts
    173
    Liked
    3 times
    Blog Entries
    5
    Thanks a ton Oleg for answering my ticket :-).

    I don't know why my server-management team wants to stick to apache 1.

Similar Threads

  1. Redirect Loop problems after updating vB and vB SEO
    By tweakmonkey in forum Troubleshooting
    Replies: 4
    Last Post: 03-12-2009, 12:23 PM
  2. VBseo works with php fastcgi?
    By MarkoP in forum Pre-Sales Questions
    Replies: 9
    Last Post: 08-04-2008, 10:05 PM
  3. Bluehost FastCGI
    By sum41live in forum Türkçe
    Replies: 10
    Last Post: 01-22-2008, 11:55 AM
  4. FastCGI problem
    By sum41live in forum General Discussion
    Replies: 1
    Last Post: 07-26-2007, 10:47 AM
  5. I'd been wondering why my site was stuck at...
    By curriertech in forum General Discussion
    Replies: 1
    Last Post: 08-19-2006, 12:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •