Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Embperl

FastCGI deployment

 

 

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded


alexander.hartmaier at t-systems

Oct 19, 2009, 11:12 AM

Post #1 of 3 (322 views)
Permalink
FastCGI deployment

Hi!

I've migrated my current mod_perl setup to mod_fcgid (not fastcgid,
because fcgid is included in Debian) today but the processes terminate
as soon as the request has been handled which leads to really bad
performance.

Any idea why this is happening?

That's my current apache config

from the vhost:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

mods-enabled/zembperl.conf:

AddType text/html .epl

<IfModule !mod_perl.c>
# CGI version

<IfModule mod_actions.c>
#Action embperl /cgi-bin/embpcgi.pl
#Action embperlobject /cgi-bin/epocgi.pl
Action embperl-fastcgi /cgi-bin/embpfastcgi.pl

AddHandler embperl-fastcgi .epl
</IfModule>
</IfModule>

mods-enabled/fcgid.conf:

<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
SocketPath /var/lib/apache2/fcgid/sock
IPCConnectTimeout 20
</IfModule>


--
best regards, Alex


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe[at]perl.apache.org
For additional commands, e-mail: embperl-help[at]perl.apache.org


richter at ecos

Oct 24, 2009, 3:32 PM

Post #2 of 3 (282 views)
Permalink
AW: FastCGI deployment [In reply to]

Hi,

I never have used mod_fcgid. Maybe it does not work together with FCGI.pm,
which is used by embpfastcgi.pl

Gerald

-----Ursprüngliche Nachricht-----
Von: Alexander Hartmaier [mailto:alexander.hartmaier[at]t-systems.at]
Gesendet: Montag, 19. Oktober 2009 20:12
An: embperl[at]perl.apache.org
Betreff: FastCGI deployment

Hi!

I've migrated my current mod_perl setup to mod_fcgid (not fastcgid,
because fcgid is included in Debian) today but the processes terminate
as soon as the request has been handled which leads to really bad
performance.

Any idea why this is happening?

That's my current apache config

from the vhost:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

mods-enabled/zembperl.conf:

AddType text/html .epl

<IfModule !mod_perl.c>
# CGI version

<IfModule mod_actions.c>
#Action embperl /cgi-bin/embpcgi.pl
#Action embperlobject /cgi-bin/epocgi.pl
Action embperl-fastcgi /cgi-bin/embpfastcgi.pl

AddHandler embperl-fastcgi .epl
</IfModule>
</IfModule>

mods-enabled/fcgid.conf:

<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
SocketPath /var/lib/apache2/fcgid/sock
IPCConnectTimeout 20
</IfModule>


--
best regards, Alex


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
*"*
Notice: This e-mail contains information that is confidential and may be
privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
*"*

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe[at]perl.apache.org
For additional commands, e-mail: embperl-help[at]perl.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe[at]perl.apache.org
For additional commands, e-mail: embperl-help[at]perl.apache.org


alexander.hartmaier at t-systems

Oct 27, 2009, 2:09 AM

Post #3 of 3 (266 views)
Permalink
Re: AW: FastCGI deployment [In reply to]

Hi Gerald!

It is API compatible, so yes it does work.
I use it with Catalyst without a problem.

Can you provide me a sample config for mod_fastcgi?

Am Sonntag, den 25.10.2009, 00:32 +0200 schrieb richter[at]ecos.de:
> Hi,
>
> I never have used mod_fcgid. Maybe it does not work together with FCGI.pm,
> which is used by embpfastcgi.pl
>
> Gerald
>
> -----Ursprüngliche Nachricht-----
> Von: Alexander Hartmaier [mailto:alexander.hartmaier[at]t-systems.at]
> Gesendet: Montag, 19. Oktober 2009 20:12
> An: embperl[at]perl.apache.org
> Betreff: FastCGI deployment
>
> Hi!
>
> I've migrated my current mod_perl setup to mod_fcgid (not fastcgid,
> because fcgid is included in Debian) today but the processes terminate
> as soon as the request has been handled which leads to really bad
> performance.
>
> Any idea why this is happening?
>
> That's my current apache config
>
> from the vhost:
> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> <Directory "/usr/lib/cgi-bin">
> AllowOverride None
> Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
> Order allow,deny
> Allow from all
> </Directory>
>
> mods-enabled/zembperl.conf:
>
> AddType text/html .epl
>
> <IfModule !mod_perl.c>
> # CGI version
>
> <IfModule mod_actions.c>
> #Action embperl /cgi-bin/embpcgi.pl
> #Action embperlobject /cgi-bin/epocgi.pl
> Action embperl-fastcgi /cgi-bin/embpfastcgi.pl
>
> AddHandler embperl-fastcgi .epl
> </IfModule>
> </IfModule>
>
> mods-enabled/fcgid.conf:
>
> <IfModule mod_fcgid.c>
> AddHandler fcgid-script .fcgi
> SocketPath /var/lib/apache2/fcgid/sock
> IPCConnectTimeout 20
> </IfModule>
>
>
> --
> best regards, Alex
>
>
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *"*
> T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
> Handelsgericht Wien, FN 79340b
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *"*
> Notice: This e-mail contains information that is confidential and may be
> privileged.
> If you are not the intended recipient, please notify the sender and then
> delete this e-mail immediately.
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *"*
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: embperl-help[at]perl.apache.org
--
LG Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe[at]perl.apache.org
For additional commands, e-mail: embperl-help[at]perl.apache.org

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.