Current time: 12-13-2018, 11:44 AM Hello There, Guest! (LoginRegister)


Post Reply 
Fastcgi-2.4.SNAP + Error500
Author Message
pick Offline
Junior Member
*

Posts: 51
Joined: Jun 2008
Reputation: 1
Post: #1
Fastcgi-2.4.SNAP + Error500
Hello,

Sorry for my poor english , I'm a french guy.

I tested fastcgi-SNAP and debianised source packet, this is a succes and in seen I have no more error 500.
I modified default values in mod_fastcgi.h and compiled this package.
values modified
Code:
#define MOD_FASTCGI_VERSION "mod_fastcgi-2.4.7"

#define FCGI_DEFAULT_IDLE_TIMEOUT 30
#define FAILED_STARTS_DELAY 120
#define FCGI_DEFAULT_MAX_PROCS  100        
#define FCGI_DEFAULT_MAX_CLASS_PROCS 20  
#define FCGI_DEFAULT_KILL_INTERVAL 60
#define FCGI_DEFAULT_UPDATE_INTERVAL 60
#define FCGI_DEFAULT_THRESHOLD_1 1
#define FCGI_DEFAULT_PROCESS_SLACK 10
#define FCGI_DEFAULT_AUTOUPDATE 1
fastcgi-2.4.7.deb for lenny
fastcgi-2.4.7.deb for etch
This is a beta test , I'm not responsible a unstable server. My server is stable and attempt a return for me.

bye
Pick
(This post was last modified: 01-25-2009 08:18 PM by pick.)
01-18-2009 07:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Fastcgi-2.4.SNAP + Error500
Thanks for Info!
How long does your Server now run with this FastCGI version ?

Greez BeNe
01-19-2009 05:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pick Offline
Junior Member
*

Posts: 51
Joined: Jun 2008
Reputation: 1
Post: #3
RE: Fastcgi-2.4.SNAP + Error500
hy,

My server run for 3 days with this version.


Traffic server is 8000/per days and +/- 15gg /per days

Bye

Pierrick
01-19-2009 07:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #4
RE: Fastcgi-2.4.SNAP + Error500
Thx for this info, I stick the thread!
01-20-2009 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pick Offline
Junior Member
*

Posts: 51
Joined: Jun 2008
Reputation: 1
Post: #5
RE: Fastcgi-2.4.SNAP + Error500
hy;

My server is very stable since fastcgi-2.4.7 .
Nobody test this module ?


Pierrick
01-24-2009 11:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Fastcgi-2.4.SNAP + Error500
My Server runs well the last Month so i don´t see here any needs.
And my TestServer runs with OpenBSD theese days... sorry!

Can you see any changes about needed Memory on your Server with this Module ? Does it take more/less/same RAM ?

Greez BeNe
(This post was last modified: 01-26-2009 04:50 AM by BeNe.)
01-26-2009 04:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pick Offline
Junior Member
*

Posts: 51
Joined: Jun 2008
Reputation: 1
Post: #7
RE: Fastcgi-2.4.SNAP + Error500
Hy thanks Bene ,

My server loaded forward ( 20 < 150 ) and user totaly memory and swap.
Since used fastcgi-2.4.7 , my server don't load tremendously is used 50% of memory and no swap.

My config :

Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2

         # FastCgiConfig -minProcesses 5 \
         #         -maxClassProcesses 20 \
          #        -multiThreshold 100 \
           #       -killInterval 60 \
            #      -startDelay 2 \
             #     -restart-delay 2 \
              #    -autoUpdate \
        #         -init-start-delay 1 \
        #         -processSlack 5 \
        ##        -maxProcesses 400 \
        #         -singleThreshold 100
                  #-updateInterval 100
                  #-maxProcesses 300 \

        FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300

        #
        # PHP5 SUPPORT
        #

        AddHandler php-fastcgi .php .php5 .php4 .php3

        <Location /php5/php5-fcgi-starter>
                SetHandler fastcgi-script
                Options +ExecCGI
        </Location>

        Action php-fastcgi /php5/php5-fcgi-starter
        AddType application/x-httpd-php .php .php5 .php3 .php4
</IfModule>

Code:
#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/master/php5/"

export PHPRC
PHP_FCGI_CHILDREN=3
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=200
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php-cgi

This server not used mysql-server , I dedicated server for mysql.

Pierrick
01-26-2009 07:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
menki Offline
Member
***

Posts: 643
Joined: May 2008
Reputation: 0
Post: #8
RE: Fastcgi-2.4.SNAP + Error500
i have the same problem on my servers....the programmer of the fastcgi says me that i must install a newer version of fastcgi to solve the problem.

can i install and compile it without problems witd ispcp and apache ?
i have debian etch 64bit server with ispcp RC6.

i have over 1100 domains on one very fast server. when something does not work than i have a big problem. Smile

in this thread i can found deb files for 32 bit debian but not for 64bit??

THANKS

MENKI
(This post was last modified: 02-03-2009 08:26 AM by menki.)
02-03-2009 02:25 AM
Find all posts by this user Quote this message in a reply
pick Offline
Junior Member
*

Posts: 51
Joined: Jun 2008
Reputation: 1
Post: #9
RE: Fastcgi-2.4.SNAP + Error500
hello,

This releases is for debian 32 etch or lenny .
I can you it compiled for debian 64 on other server.

Pick

this package for 64bits mod_fastcgi_64bits

Wink
(This post was last modified: 02-05-2009 09:11 PM by pick.)
02-04-2009 10:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
menki Offline
Member
***

Posts: 643
Joined: May 2008
Reputation: 0
Post: #10
RE: Fastcgi-2.4.SNAP + Error500
thank you for the 64bit deb. the problem is solved. Smile

the 2.4.2 version ist buggy on high load networks. 2.4.7 is much better.

MENKI
02-07-2009 05:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)