• Previous message: [greg-dev] Stable upgrade
  • Next message: [greg-dev] Stable upgrade
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Stable upgrade

    Yup, hit the same problem with IIS, been checking the database and even 
    though the timeout in update.php has been increased to 6 hours, the update 
    always dies after 5 mins (300 secs). Gutted!
    
    I'm an ASP developer and so not familiar with the nuances of PHP but if this 
    was an ASP app the IIS setting for a particular page could be overridden by 
    any timeout declarations in the page code i.e <% Server.ScriptTimeout = 
    50000 %>, does a similar setting exist in PHP or is there no way to override 
    the server timeout using page code in PHP?
    
    Paul
    
    
    ----- Original Message ----- 
    From: "Sameer D'Costa" <sameerslists at gmail.com>
    To: "Marco Bonetti" <mbonetti at gmail.com>; <gregarius-dev at sinless.org>
    Sent: Monday, September 26, 2005 1:12 PM
    Subject: Re: [greg-dev] Stable upgrade
    
    
    > In the interest of completeness (if someone is reading thread later on
    > the archive) apache also has a timeout directive which I think is set to
    > 300 seconds by default. So unless you have control over your webserver or
    > this timeout is set favourably, this change will not help.
    >
    > The real solution would be to somehow fork the feed updating mechanism
    > and do it in parallel.
    >
    > Sameer
    >
    > On Mon, Sep 26, 2005 at 10:46:14AM +0200, Marco Bonetti wrote:
    >
    >> Date: Mon, 26 Sep 2005 10:46:14 +0200
    >> From: Marco Bonetti <mbonetti at gmail.com>
    >> To: gregarius-dev at sinless.org
    >> Subject: Re: [greg-dev] Stable upgrade
    >> Reply-To: Marco Bonetti <mbonetti at gmail.com>, gregarius-dev at sinless.org
    >>
    >> I just committed changeset 906 which sets a script timeout of ten
    >> seconds per subscribed feed.
    >>
    >>  -m
    >>
    >>
    >> On 9/26/05, Sameer D'Costa <sameerslists at gmail.com> wrote:
    >> > > ini_set('max_execution_time', 300);
    >> > >
    >> > > Is this anything to do with it?
    >> >
    >> > Yes it looks like it does. In my earlier email I mentioned
    >> > max_execution_time in the php.ini file.
    >> > http://sinless.org/pipermail/gregarius-dev/2005-September/000507.html I
    >> > am sorry I didnt know it was being set in the gregarius code.
    >> >
    >> > If you change that number to something higher it might solve your CGI
    >> > error. Please let us know if that happens.
    >> >
    >> > Sameer
    >> > _______________________________________________
    >> > gregarius-dev mailing list
    >> > gregarius-dev at sinless.org
    >> > http://sinless.org/mailman/listinfo/gregarius-dev
    >> >
    >>
    >> _______________________________________________
    >> gregarius-dev mailing list
    >> gregarius-dev at sinless.org
    >> http://sinless.org/mailman/listinfo/gregarius-dev
    > _______________________________________________
    > gregarius-dev mailing list
    > gregarius-dev at sinless.org
    > http://sinless.org/mailman/listinfo/gregarius-dev 
    
    
    Posted by D2 Computing [reply] at Tue Sep 27 23:45:48 CEST 2005