473,244 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,244 software developers and data experts.

Mod_Perl vs PHP in memory, speed, varibles

I tried mod_perl. It is too troublesome. Many old scripts stopped running.
Even those running eat memory like crazy.

I wonder why mod_php does not have the problems in mod_perl, such as memory
hog, varible initialization etc.

Is there a way to use Perl scripts at the same speed of PHP without worrying
about those clearing varibles etc in mod_perl.

Jul 23 '05 #1
6 4408
nntp wrote:
I tried mod_perl. It is too troublesome. Many old scripts stopped running.
Even those running eat memory like crazy.
Did you study this document about porting CGI scripts to mod_perl:
http://perl.apache.org/docs/1.0/guide/porting.html
I wonder why mod_php does not have the problems in mod_perl, such as memory
hog, varible initialization etc.


The perceived difference may have something to do with the fact that
while there are many old CGI scripts that were never designed with
mod_perl in mind, PHP scripts that weren't designed with mod_php in mind
are of rare occurrence.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Jul 23 '05 #2
> nntp wrote:
I tried mod_perl. It is too troublesome. Many old scripts stopped running. Even those running eat memory like crazy.
Did you study this document about porting CGI scripts to mod_perl:
http://perl.apache.org/docs/1.0/guide/porting.html

That does not work. Even with PerlRun, there are huge memory leak.
I wonder why mod_php does not have the problems in mod_perl, such as memory hog, varible initialization etc.


The perceived difference may have something to do with the fact that
while there are many old CGI scripts that were never designed with
mod_perl in mind, PHP scripts that weren't designed with mod_php in mind
are of rare occurrence.

PHP programmers don't need to worry about initializtion, and the PHP itself
will clear all memory after usage. I don't understand why mod_perl can not
do it. This really kills perl in majority. Anyone can write php, but only
few can write mod_perl.
Jul 23 '05 #3
nntp wrote:
Gunnar Hjalmarsson wrote:
Did you study this document about porting CGI scripts to mod_perl:
http://perl.apache.org/docs/1.0/guide/porting.html


That does not work.


I should have realized that you are just a pitiful troll. Show us some
hard evidence supporting your claim, or else there is no reason to talk.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Jul 23 '05 #4
> nntp wrote:
Gunnar Hjalmarsson wrote:
Did you study this document about porting CGI scripts to mod_perl:
http://perl.apache.org/docs/1.0/guide/porting.html
That does not work.


I should have realized that you are just a pitiful troll. Show us some
hard evidence supporting your claim, or else there is no reason to talk.

Fuck off. Stupid shit.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Jul 24 '05 #5
nntp wrote:
nntp wrote:
Gunnar Hjalmarsson wrote:

Did you study this document about porting CGI scripts to mod_perl:
http://perl.apache.org/docs/1.0/guide/porting.html

That does not work.


I should have realized that you are just a pitiful troll. Show us some
hard evidence supporting your claim, or else there is no reason to talk.


Fuck off. Stupid shit.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl



LOL.

Gunnar,

You got him nailed. Typical troll response.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 24 '05 #6

[ Followups set ]
nntp <nn**@alexa.com> wrote:
nntp wrote:
> Gunnar Hjalmarsson wrote:

Show us some
hard evidence supporting your claim, or else there is no reason to talk.

Fuck off. Stupid shit.

Very intellectual of you, we are surely impressed.

I guess that means that you cannot support your claim.

We were all wondering if Gunnar had it right or not, thanks for
posting your confirmation of which way it is.
--
Tad McClellan SGML consulting
ta***@augustmail.com Perl programming
Fort Worth, Texas
Jul 24 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bill Warner | last post by:
I am looking for a good mod_perl/mysql application to study. I have been teaching myself perl for a few years now and have been doing things the way I have interpreted documentation. There are...
0
by: Pablo S | last post by:
Hi there mod_perl/Pg folks, I have 2 systems, one OLD, (linux 2.4 running postgresql-7.2.1-5 with a perl web db on Apache/1.3.23 mod_perl 1.26 and dbi 1.37 with peristent db connections via...
0
by: Ben Fitzgerald | last post by:
Hi, I've built apache under a temp dir so I can package and install it, which I have done. I also have built and installed perl this way. Now I'm trying to build mod_perl under a temp...
29
by: Mainlander | last post by:
An ISP I belong to uses Majordomo for their mailing list system. I'd like to encourage them to move to a system that uses a database, preferably psql which they already run on their server....
4
by: Chang Byun | last post by:
I have question about memory allocation. I have a trouble when I run a C program. My C program has several big double pointer(** var) variables to structure data like 4 by 5000000. It is...
6
by: M a n i s h | last post by:
is there any difference in how the realloc() reallocates memory to varibles which were being allocated memory using malloc() and calloc ?
6
by: zl2k | last post by:
hi, there I am using a big, sparse binary array (size of 256^3). The size may be changed in run time. I first thought about using the bitset but found its size is unchangeable. If I use the...
3
by: jayakumarrt | last post by:
Hi, I need to download mod_perl (binary)for solaris 8 for running perl scripts thru web browser.Can any body please provide the link for downloading ? I downloaded source mod_perl from Net.I am...
1
by: sbettadpur | last post by:
Hi every body i have searched some of the sites for installing mod_perl under linux. Actually i installed apache and as well as perl under linux redhat3 but how to configure mod_perl please give...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.