Forking process

2002-10-09 Thread Anton Permyakov
Hi all, I need to start process, which would get big amount of data from another server into my DataBase, and while it will do it, my browser should show me progress-bar on this data extraction. I have mod_perl based web-server, so, i should not use fork(), as explained in Mod_perl docs. But

[mp 2] Redefining the problem (was Re: Problem installingMod_perl_1.99 with apache_2.0.39)

2002-10-09 Thread Ian Stuart
Right, I now have a mod-perl enables apache server, however I consider this a bodge-fix. What I have: Server Version: Apache/2.0.39 (Unix) mod_perl/1.99_07-dev Perl/v5.6.1 How I get here: 1) I build apache with: TARGET=httpd2.mod_perl ./configure --build=i686 --enable-layout=Lucas.mod_perl

[mp 2] Bug report - mod-perl install process.

2002-10-09 Thread Ian Stuart
Server Version: Apache/2.0.39 (Unix) mod_perl/1.99_07-dev Perl/v5.6.1 I believe that the install process does not test for the presence (or lack of..) of the apache_server_root/modules directory. This causes a problem during the mod_perl installation as the pseudo-command cp $SOURCE/mod_perl.so

Re: Forking process

2002-10-09 Thread Rafiq Ismail
On Wed, 9 Oct 2002, Anton Permyakov wrote: Hi all, I need to start process, which would get big amount of data from another server into my DataBase, and while it will do it, my browser should show me progress-bar on this data extraction. I have mod_perl based web-server, so, i should not

Re: Forking process

2002-10-09 Thread Aaron Johnson
On Wed, 2002-10-09 at 05:25, Anton Permyakov wrote: Hi all, I need to start process, which would get big amount of data from another server into my DataBase, and while it will do it, my browser should show me progress-bar on this data extraction. I have mod_perl based web-server, so, i

Re: Forking process

2002-10-09 Thread Perrin Harkins
Aaron Johnson wrote: So in a nutshell - Create a temp (flag) file - Generate and send the HTML to the browser which includes a meta refresh - Add the temp file to their session data (or something similar) - Exec a process and send the temp file name to it - On page refresh look to see if

httpd defunct - where are these zombies coming from?

2002-10-09 Thread Tim Gardner
I'm having trouble with zombies. Red Hat 7.1 on a Dell server with 1 GB memory. The following ps output shows a somewhat typical output. Sometimes there are no zombies, but most of the time there are several, and often as many as this. Performance often seems sluggish, and I am assuming

[OT] migrating from Apache to iPlanet; any mod_perl counterpart?

2002-10-09 Thread Paul
I know there are servlets, but I was led to believe that I would almost be able to drop my mod_perl modules into the iPlanet server, as if it has some equivelent functionality. If so, I can't find any evidence of it, and I'm rather skeptical. The company is making us migrate (some baloney about

Re: [OT] migrating from Apache to iPlanet; any mod_perl counterpart?

2002-10-09 Thread Steve Grazzini
On Wed, Oct 09, 2002 at 02:43:18PM -0700, Paul wrote: I know there are servlets, but I was led to believe that I would almost be able to drop my mod_perl modules into the iPlanet server, as if it has some equivelent functionality. If so, I can't find any evidence of it, and I'm rather

Strange encoding type

2002-10-09 Thread Tiago Almeida
Hello all, i have this strange problem with (i think with mod_perl or apache).I have some content that i retrieve from a XML file with XML::Simple and i display it into a web page.The problem is when i show that content i see some strange chars instead of the latin char that i was

Re: memory usage problem!

2002-10-09 Thread Marcin Kasperski
Plamen Stojanov [EMAIL PROTECTED] writes: I load 2Mb data from a database in perl hash and perl takes 15Mb memory. As I use this under mod_perl - perl never returns this memory to the OS. I must set a little number for MaxRequestsPerChild in order to restart perl interpreter not to eat a lot

Re: Copying Apache/Mod_perl/perl installation

2002-10-09 Thread Bruce W. Hoylman
Ged == Ged Haywood [EMAIL PROTECTED] writes: [...] If I can use RPM under SCO Open Server 5.0.6, and it gives me perl with all the modules, Apache, and mod_perl, I 'd definitely go for that. Anyone used RPM to copy installation under SCO? [...] My approach is to build perl, Apache,

How would you organize custom logging?

2002-10-09 Thread Marcin Kasperski
I am to provide some custom logging in my mod_perl application. Omitting some unnecessary details, I need to store some information after processing each request, putting this info into some central log (be it file or database) common for all apache processes and (if possible) common for multiple

Re: How would you organize custom logging?

2002-10-09 Thread Victor Tsang
Instead of developing something new, how about extending the combined/common log format? That what I'm doing in my place, where we have to store a few extra bits of info so to make the log more useful for debugging, I added a little routine in my startup.pl, to setup a few additional env