View Single Post
  #1  
Old 06-28-2011, 01:09 AM
  ecommweb's Avatar 
ecommweb ecommweb is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 49
 

Default Firetank Feed Manager Fast CGI

I'm having trouble with the Feed Manager module from Firetank.

We moved the site to a new server and had xcart techs improve the speed of the server. (Great value by the way, server is easily twice as fast as before)

One of the things they did was implement fast cgi, which improves the number of pages the server can handle at one time.

The cronjobs for one of the two cart sites on the server stopped working. These are the feed manager autourls. This module worked fine on the previous server and the cronjob syntax was copied directly across.

the cronjobs are running, but the task fails to complete. Within feed manager the log tells us that
Quote:
2011-06-27 17:39:21] [81.157.198.90]: Auto url 'Qaoemd2Ua9vQ' called
[2011-06-27 17:40:01] [81.157.198.90]: Auto url '' called
[2011-06-27 17:40:02] [81.157.198.90]: Failed loading libraries
[2011-06-27 17:41:15] [81.157.198.90]: Auto url '' called
[2011-06-27 17:41:15] [81.157.198.90]: Failed loading libraries

we paid Firetank for a ticket to look at the issue as they are sure its not their issue, and they said

Quote:
Fast CGI is killing the AutoURL page after 40 seconds. This is from your apache error logs:

[Mon Jun 13 17:56:43 2011] [warn] [client 72.208.167.87] mod_fcgid: read data timeout in 40 seconds, referer: http://www.xxx-xxx.co.uk/admin/fts_fc_index.php?show
AutoUrls=Y
[Mon Jun 13 17:56:43 2011] [error] [client 72.208.167.87] Premature end of script headers: autofeed.php, referer: http://www.xxx-xxx.co.uk/admin/fts_fc_index.php?showAutoUrls=Y
[Mon Jun 13 17:56:51 2011] [warn] mod_fcgid: process 8214 graceful kill fail, sending SIGKILL

Firetank were not keen to edit the settings for fast cgi, and looking around it appears that it would degrade the value of the fast cgi for all the sites on the server to change the timeout and anyway the changes would get overwritten during WHM updates and would have to be be redone every time there was an update.

We have tried to get around the apache issue by using the syntax
Code:
/usr/bin/php /home/adoffi/public_html/autofeed.php?Qaoemd2Ua9vQ /usr/bin/php /home/adoffi/public_html/autofeed.php Qaoemd2Ua9vQ
instead of the more usual
Code:
lynx --dump http://www.office-online.co.uk/autofeed.php?Qaoemd2Ua9vQ
but that doesn't help

Other people must have had this same issue, anybody got an idea?
__________________
www.ecommweb.co.uk
Custom X-Cart design and functions
eCommerce SEO

www.hubmaster.co.uk
Combine all your eCommerce channels in your existing website admin

+44 (0)1302 325 032
Reply With Quote