Anyone using HTML::HTML5::Builder ?

2018-03-31 Thread Igor Chudov
I have some websites such as algebra.com. I used CGI.pm extensively, including for HTML generation. I am looking for other modules to generate HTML from perl code and I stumbled upon HTML::HTML5::Builder . It ce

CGI module deprecation

2017-11-26 Thread Igor Chudov
I am a very long term user of the famous CGI module. My biggest project is www.algebra.com. There are al;so many others. Let me mention that my use of perl on the web, a very long time ago, started out with Embperl. At that time, I thought that use of HTML templates with perl code sprinkled in is

Re: Alternatives to CGI perl module

2016-09-11 Thread Igor Chudov
This mathml and asciimath is extremely interesting! Thank you! You are awesome! I was a little unclear what browsers it works with, I would have to do some testing. I hope that it is compatible with all modern browsers and cell phones and such. If not it would not work, but if it is then I would b

Re: Alternatives to CGI perl module

2016-09-11 Thread Igor Chudov
CGI.pm became unavailable) but it is certainly a concern. Are there any alternatives to it? On Sun, Sep 11, 2016 at 5:50 PM, Ruben Safir wrote: > On 09/11/2016 05:36 PM, Igor Chudov wrote: > > Examples of graphics are here: > > > > https://www.algebra.com/services/rend

Re: Alternatives to CGI perl module

2016-09-11 Thread Igor Chudov
On Sun, Sep 11, 2016 at 11:08 AM, Ruben Safir wrote: > On 09/11/2016 11:38 AM, Igor Chudov wrote: > > About maybe half of those responses are images generated by > mod_perl/CGI.pm > > scripts that draw pictures of math formulas like x/(x+1) etc. > > > > I agree t

Re: Alternatives to CGI perl module

2016-09-11 Thread Igor Chudov
On Sun, Sep 11, 2016 at 10:23 AM, Ruben Safir wrote: > On Sun, Sep 11, 2016 at 09:46:52AM -0500, Igor Chudov wrote: > > Ruben, thank you for your opinion. You have your own opinion and I have > > mine, and that is what makes the Internet beautiful. > > > > Take

Re: Alternatives to CGI perl module

2016-09-11 Thread Igor Chudov
Eugene, sorry for my ignorant questions. I see several of these frameworks. Is that correct that the result of setting up and programming the framework is a running perl script? It needs a reverse proxy in front of it? (I use nginx as a reverse proxy). Does nginx proxy to those? Do you need se

Re: Alternatives to CGI perl module

2016-09-11 Thread Igor Chudov
al of most pages. On Sat, Sep 10, 2016 at 10:58 PM, Ruben Safir wrote: > On 09/10/2016 09:53 PM, Igor Chudov wrote: > > It turns out that HTML has a very minor and subordinate role to perl > > application logic, and putting "perl inside html" was completely > misgu

Re: Alternatives to CGI perl module

2016-09-10 Thread Igor Chudov
Can you use Dancer2 for multiple websites? Can it handle, say, 170 object requests per second? (which is what my main webserver does at the peak times)? I looked at those templates .tt. I see how they have attempts at conditional HTML generation based on application logic. They reminded me about

Re: Alternatives to CGI perl module

2016-09-10 Thread Igor Chudov
using it in object oriented manner without importing its functions into my main namespace. Going forward, I think, I should get the message and switch to something new that will be maintained -- but to what? On Sat, Sep 10, 2016 at 7:54 AM, Igor Chudov wrote: > I hope that this message would

Alternatives to CGI perl module

2016-09-10 Thread Igor Chudov
I hope that this message would not be considered off topic. I have been developing web apps since 1996 and have about 84,000 lines of perl code implementing various websites that I own. I do not work for anybody, own all websites that I work on, and these sites feed my family. The largest websit

Re: Enquiry about mod_perl project state

2015-09-01 Thread Igor Chudov
I make many thousands of $$$ per month from my websites, all of which are based on mod_perl. I wrote everything myself. Rewriting them would be undesirable and very cost prohibitive. I have no real need for any "evolution" and "continued development" of mod_perl, which I consider to be as perfect

Debugging "segmentation fault"

2013-09-02 Thread Igor Chudov
I run a busy website algebra.com on a CentOS server. Occasionally, apache processes crash with a "segmentation fault". I often get 140+ object requests per second, so isolating which request caused segfault, by looking at logs, is not practicable. I want to know if I can at least isolate the cau

Re: Framework for handling Query tasks that take a LONG time

2012-07-26 Thread Igor Chudov
Hi Guys, I wanted to say thank you for your support and ideas. I did not find something that I liked as much as to adopt it right away. So, I wrote my own module for this, which will, no duobt, evolve some more. I may open source it. The way it works is as follows: 1) The initiating web page

Framework for handling Query tasks that take a LONG time

2012-07-22 Thread Igor Chudov
I am working on my internal IT system for my business. It is, of course, mod_perl based, as is the rest of what I do (algebra.com etc). As a part of it, I have an intranet web form that starts a task, which happens to take a long time, such as minutes. I would like to handle this correctly. Whil

How to tell GET from POST method ni CGI.pm?

2011-05-15 Thread Igor Chudov
I am beginning to work on hardening my website against cross site request forgeries. I use CGI.pm. My question is, how can I tell, using CGI.pm, if this webpage was invoked with a GET or POST method? Thanks

Re: Alternatives to Apache::DBI?

2009-10-02 Thread Igor Chudov
I run 1.07 on my webserver (algebra.com) and Apache::DBI works great for me. i On Fri, Oct 2, 2009 at 11:30 AM, Kurt Hansen wrote: > Hello, > > I'm wondering what techniques folks are using to get persistent database > connections other than Apache::DBI. > > Apache::DBI has worked great, but I'

Re: huge httpd processes

2009-09-28 Thread Igor Chudov
Justin, I cannot have a good suggestion how to find out what hogs the memory. However, I want to mention that with the use of a good reverse proxy server, you will not need to have very many apache instances running, because the proxy server would take care of the slow interaction with the client'

Really old bugs (semaphore leak) still in Apache???

2009-09-25 Thread Igor Chudov
[note that this is possibly not am od_perl bug] After a little over a month of using apache, and restarting it many times, I started getting errors such as this one: No space left on device: Couldn't create accept lock The issue is nothing like what the error message suggests: it is not a space

Re: Semi-OT usetrack_log analysis tools

2009-09-23 Thread Igor Chudov
I already use google analytics, but I want to do my special analysis. i On Wed, Sep 23, 2009 at 3:43 AM, Clinton Gormley wrote: > On Tue, 2009-09-22 at 22:12 -0500, Igor Chudov wrote: > > I have started collecting usertrack data, and would like to know what > > tools exist to ana

Semi-OT usetrack_log analysis tools

2009-09-22 Thread Igor Chudov
I have started collecting usertrack data, and would like to know what tools exist to analyze this stuff for Linux. My questions are, for example: for people coming to my home page from a certain google query, how many leave right away, how many go to some pages that I want to consider more closely

Re: Ways to scale a mod_perl site

2009-09-18 Thread Igor Chudov
On Fri, Sep 18, 2009 at 12:11 PM, James Smith wrote: > Igor Chudov wrote: > > > > On Fri, Sep 18, 2009 at 10:13 AM, Tina Mueller wrote: > >> On Wed, 16 Sep 2009, Michael Peters wrote: >> >> On 09/16/2009 12:13 PM, Brad Van Sickle wrote: >>> >&g

Re: Ways to scale a mod_perl site

2009-09-18 Thread Igor Chudov
On Fri, Sep 18, 2009 at 10:13 AM, Tina Mueller wrote: > On Wed, 16 Sep 2009, Michael Peters wrote: > > On 09/16/2009 12:13 PM, Brad Van Sickle wrote: >> >> Can I get you to explain this a little more? I don't see how this could >>> be used for truly secure sites because I don't quite understand

Re: Updating cookies in header during request processing

2009-09-18 Thread Igor Chudov
On Fri, Sep 18, 2009 at 10:51 AM, Michael Peters wrote: > On 09/18/2009 11:15 AM, James Smith wrote: > > But cookies are in general not big enough to store the information that >> a user would store on a website! >> > > I'm not talking about eliminating a permanent data store for your users. > I'

Re: Updating cookies in header during request processing

2009-09-18 Thread Igor Chudov
secure. Igor On Fri, Sep 18, 2009 at 9:33 AM, Randal L. Schwartz wrote: > >>>>> "Igor" == Igor Chudov writes: > > Igor> I was very excited by the suggestion to use cookies to store the > entire > Igor> session information, and to keep it safe by m

Re: Ways to scale a mod_perl site

2009-09-18 Thread Igor Chudov
Makefile.PL INSTALLDIRS=site] Warning (usually harmless): 'YAML' not installed, will not store persistent state ISAAC/libapreq-1.34.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Igor > Thanks. > > On Fri, Sep 18, 2009 at 9:06 PM, Igor Chudov w

Updating cookies in header during request processing

2009-09-18 Thread Igor Chudov
I was very excited by the suggestion to use cookies to store the entire session information, and to keep it safe by means of base64 encoding and MD5 hash with a secret salt, for storing session information securely on the client. I realized that there is something I am missing. Sometimes I may nee

Re: Ways to scale a mod_perl site

2009-09-18 Thread Igor Chudov
Michael, you inspired me to reimplement cookies this way. For my site, the cookie table is the most frequently updated one (even though I do not grant cookies to search engines). I will try to use this kind of implementation. Even now, my users like the fact that they can stay signed on forever,

If anyone in Chicagoland is looking for a full time job

2009-09-17 Thread Igor Chudov
Someone I know very well, shall I say, is looking for a very strong Perl and bash programmer. Contact me off list if interested. This is a local full time job in downtown Chicago. The job involves a lot of perl and shell programming and good thinking skills, but is not directly mod_perl related. I

Re: Why people not using mod_perl

2009-09-17 Thread Igor Chudov
Just to add a little bit. In my experience, perl programming requires a certain type of mind. I cannot define it very precisely, but not everyone can "think in perl". Those who can, basically, have a huge advantage over those who cannot, but that naturally limits perl adoption somewhat. I think th

Re: Why people not using mod_perl

2009-09-17 Thread Igor Chudov
On Thu, Sep 17, 2009 at 1:14 PM, Ihnen, David wrote: > Rather than develop and contribute the community the ideas used in > integrating (IDE-app server-version store-job management) for the perl > environment… you stop using perl for that. > > This is **exactly** why people are not using mod_per

Re: Why people not using mod_perl

2009-09-17 Thread Igor Chudov
and using it. > > Cheers, > - Jeff > > -- > *From:* Igor Chudov > *To:* Jeff Nokes > *Cc:* Brad Van Sickle ; mod_perl list < > modperl@perl.apache.org> > *Sent:* Wednesday, September 16, 2009 8:26:53 PM > > *Subject:* Re: Why people not using mod_perl > > You mus

Re: Why people not using mod_perl

2009-09-16 Thread Igor Chudov
e. I've worked with a lot of technologies and I think Perl is a > great choice for small/medium websites and webapps, which is probably what > most of us work on. But I'm very interested to know at what point (if any) > a site/app grows too large or too complex for mod_perl and wh

Re: Why people not using mod_perl

2009-09-16 Thread Igor Chudov
My site algebra.com is about 80,000 lines of mod_perl code. I wrote a relatively large framework, with many homegrown perl modules, about five years ago. It uses a database, image generation modules, a big mathematical engine that I wrote (that "shows work", unlike popular third party packages), e

Re: Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
: > On Wed, Sep 16, 2009 at 11:49 AM, Igor Chudov wrote: > > Any thoughts? > > In addition to the good advice you're getting on the thread, here are > some books you might find useful: > > - Practical mod_perl -- http://modperlbook.org/ -- is old, but has a > lot of

Re: Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
of kids. I am glad to serve them. i > > On Wed, Sep 16, 2009 at 11:48 AM, Adam Prime wrote: > >> Igor Chudov wrote: >> >>> >>> >>> On Wed, Sep 16, 2009 at 11:05 AM, Michael Peters >>> >> mpet...@plusthree.com>> wrote: >>

Re: Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
Guys, I completely love this discussion about cookies. You have really enlightened me. I think that letting users store cookie info in a manner that is secure (involves both encryption and some form of authentication), instead of storing them in a table, could possibly result in a very substantial

Re: Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
On Wed, Sep 16, 2009 at 11:48 AM, Adam Prime wrote: > Igor Chudov wrote >> >> >> I have very little static content. Even images are generated. My site >> generates images of math formulae such as (x-1)/(x+1) on the fly., >> > > I can understand generating

Re: Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
On Wed, Sep 16, 2009 at 11:15 AM, C. J. L. wrote > > I would buy a fast server with 4 or more cpu cores and the SSD or SAS > drives and run the backend db on a dedicated mysql instance. > By the way, guys, the performance difference between a regular SATA drive and a fast SAS drive is comparativ

Re: Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
On Wed, Sep 16, 2009 at 11:05 AM, Michael Peters wrote: > On 09/16/2009 11:49 AM, Igor Chudov wrote: > > 1) Use a load balancer like perlbal (I am already doing that) >> > > A load balancer is good but so are proxies. If you can separate your > application server from

Ways to scale a mod_perl site

2009-09-16 Thread Igor Chudov
My algebra.com server serves about 77k pageviews and a little over a million objects requests per day (with half of it being served in just 4 hours). I peak out at 35 requests per second currently. I use mod_perl, mysql, and perlbal with everything running on one server. The server has a solid st

Re: News regarding mod_perl returning empty pages

2009-08-28 Thread Igor Chudov
I think that I finally have a clue as to why those empty pages were returned. I have perlbal as front, and it was set to maintain persistent connections with the apache backend listening on localhost. I also have some configuration of apache that would essentially deny access to certain user agen

Re: News regarding mod_perl returning empty pages

2009-08-26 Thread Igor Chudov
On Wed, Aug 26, 2009 at 8:58 AM, Perrin Harkins wrote: > Igor, > > Why don't you try logging the request size from your mod_perl server? > If it turns out that it knows when a request is zero bytes, you can > just kill the process in a cleanup handler. > Do you refer to the response size, as opp

Re: News regarding mod_perl returning empty pages

2009-08-26 Thread Igor Chudov
Fred, thanks. I am afraid that verify_backend is more of an expensive distraction, than something actually useful. At this point in time I will try setting both persist_backend and verify_backend to off. I am also considering changing MaxRequestsPerChild and setting it to something like 1,000. N

News regarding mod_perl returning empty pages

2009-08-25 Thread Igor Chudov
I have an update on this story. I set up a shell script that would notice this condition (empty pages returned) and alert me immediately via "wall" within 10 seconds. So I caught this in progress, before my 5 minute restarter would intervene, and experimented quickly. As I mentioned before, I ha

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 8:50 PM, Fred Moyer wrote: > > > My plan is to: > > > > 1) Remove ubuntu mod_perl package > > 2) Do make install > > 3) test > > > > If test succeeds, I will stop. If test fails, I would reinstall the > system > > mod_perl. > > > > Is that a safe plan? > > I'd try this on

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 2:24 PM, Fred Moyer wrote: > Igor, > > Please cc the mod_perl list on all replies. I'm available for > professional mod_perl consulting offlist, but I don't come cheap :) > Sorry, I pressed a wrong button in GMail. :) > > On Tue, Aug 25

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 12:16 PM, Fred Moyer wrote: > One great tool that would help with the diagnosis is the very useful > mp2bug, found in mod_perl-2.0/bin/mp2bug > > Can you run that from your mod_perl install and post the output? > Version details are a huge clue in solving mysteries like th

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
:07 PM, Igor Chudov wrote: > > Nothing much is in error_log, I do print some of my outputs, but nothing > of > > interest. > > > > What I know is that I can retrieve www.algebra.com/apache-status, it > works > > fine. > > > > However, retrieving mod_p

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 10:50 AM, Frank Wiles wrote: > > > > I am afraid that it is hard to reproduce. Since I run ads and such, I > cannot > > really afford to pause for very long to debug the issue, plus it happens > > randomly. My 5 minute restarter saves me from a very big trouble > > No of c

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
Tue, Aug 25, 2009 at 11:09 AM, Igor Chudov wrote: > > The issue is that at random moments, usually once or twice a day, my > > webserver starts returning completely empty pages instead of actual > content. > > What's in the error_log? > > - Perrin >

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 10:32 AM, Frank Wiles wrote: > > Hmmm, that's a difficult situation to debug. Are you running anything > in front of apache/mod_perl like perlbal or nginx? If so, those might > be the cause. > I am running perlbal in front of apache, yes. perlbal is a complete lifesaver

At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
My website algebra.com has been moved to a new server running Ubuntu Hardy. While everything seems to be working well, esp. the kernel and solid state disk, I have one issue. The issue is that at random moments, usually once or twice a day, my webserver starts returning completely empty pages ins

Re: Help -- how to fork an Apache process in mod_perl safely? Not Apache2:Subprocess...

2009-08-25 Thread Igor Chudov
my solution is here: sub fork_temporary_child { my $result = fork(); unless( $result ) { # Do not use SQL in child dbh->{InactiveDestroy} = 1; disconnect_dbh; } return $result; } On Tue, Aug 25, 2009 at 7:11 AM, Victor Danilchenko wrote: >Hi all, > >I need t

Re: Is mod_perl dead?

2009-08-10 Thread Igor Chudov
Guys, Fred et al, thanks a lot. I am very encouraged by this. mod_perl has been rock solid for me in general and lets me do very fancy things in a straightforward and scalable fashion. I made over $150K with mod_perl and love it, and wrote some of my own perl modules on CPAN. Here I am wishing it 2

Re: Is mod_perl dead?

2009-08-10 Thread Igor Chudov
Thanks, guys. I think that I found the issue, a C compiled executable that would crash after doing its job. I fixed it and it no longer crashes. No more segfaults for me. Thanks a lot to all, and I am glad to hear that mod_perl is a well supported project. Igor On Mon, Aug 10, 2009 at 9:17 AM, Al

Re: Is mod_perl dead?

2009-08-10 Thread Igor Chudov
, 2009-08-10 at 07:40 -0500, Igor Chudov wrote: > > > After looking at this mailing list and asking a question about > > segfaults, and looking at recent posts, I am beginning to become > > concerned that mod_perl is a dead project. I would like to hear > > whether it has

Is mod_perl dead?

2009-08-10 Thread Igor Chudov
I am asking this question with great concern. I use mod_perl very extensively on my site algebra.com. It is 100% mod_perl. After looking at this mailing list and asking a question about segfaults, and looking at recent posts, I am beginning to become concerned that mod_perl is a dead project. I wo

Re: A lot of "segmentation fault", Ubuntu Hardy, apache with mod_perl

2009-08-09 Thread Igor Chudov
On Sun, Aug 9, 2009 at 7:08 AM, Nick Wellnhofer wrote: > Igor Chudov wrote: > > In the logs, I see a lot of error messages saying: segmentation fault > Are you using the worker MPM? If yes, try the prefork MPM instead. > Nick, thank you, per your advice, I did try us

A lot of "segmentation fault", Ubuntu Hardy, apache with mod_perl

2009-08-08 Thread Igor Chudov
I just moved my website algebra.com, from my old trusty Fedora 3 server, to my brand new Ubuntu Hardy server. The Hardy server is fully patched. In the logs, I see a lot of error messages saying segmentation fault in the error.log file. No other details like pids, etc are provided. ~==>apache2

Perl module for cookie/logon/session management with Apache

2007-05-10 Thread Igor Chudov
I am looking for modules above the level of Apache::Session. Something that would let me have a website with logon/passwords/user status in request/etc without doing more than one or two calls to a module, and maybe providing access to the SQL accounts table and a logon form. My situation is that

Re: Apache::Session: can I have a "date" in session

2006-04-27 Thread Igor Chudov
On Thu, Apr 27, 2006 at 09:34:13AM -0700, Mark Moseley wrote: > > > > > > you could also just have apache::session update that column as well > > on the data store by overrideing the store mechanism > > > > > If you're using MySQL 4.1 or above for your db store, you can also use a > timestamp col

Apache::Session: can I have a "date" in session

2006-04-27 Thread Igor Chudov
I run algebra.com with a few thousand registered users and a lot more unregistered. I use Apache::Session to store their session info. Right now I clean sessions every month. I would like to be smarter and clean sessions based on date information (ie remove sessions that are more than 3 weeks old).

Re: new mod_perl more optimized?

2005-05-17 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor Chudov wrote: > > I switched my main site algebra.com to new > mod_perl > > last weekend. It has to handle about 3-4 http > requests > > per second. > > > > First thing that I noticed w

new mod_perl more optimized?

2005-05-17 Thread Igor Chudov
I switched my main site algebra.com to new mod_perl last weekend. It has to handle about 3-4 http requests per second. First thing that I noticed was that process memory growth has stopped. Second thing that I noticed was that load average went down from about 0.3 to about 0.1. (I run some othe

New mod_perl works GREAT!

2005-05-14 Thread Igor Chudov
Once I got past the B/S related to CGI.pm and CGI::Deurl (the latter I replaced with my own module, I gave up on Deurl), everything has been working just GREAT. Specifically, I used Apache::SizeLimit to kill my processes when they grow too big. After installation of new mod_perl, these processes

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
> > I've no idea what CGI::Deurl is. I suppose you need > to fix those errors, > they aren't anywhere related to mod_perl as far as I > can see. I just wrote my own version of Deurl, without any functionality that interferes with CGI.pm. I will update this list on how it goes, but I am beginnin

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor, please trim your replies to include only the > quotes you are replying > to. Thank you. Good point, thanks. > Igor Chudov wrote: > > Of these two modules, CGI::Deurl is responsible. > > > > It does somet

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
Of these two modules, CGI::Deurl is responsible. It does something strange here: sub load { my $data; if (defined $ENV{REQUEST_METHOD} and $ENV{REQUEST_METHOD} eq "POST") { read STDIN , $data , $ENV{CONTENT_LENGTH} ,0; i --- Igor Chudov <[EMAIL PROTECTED]>

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
olver::TestHandler Options +ExecCGI #optional PerlSendHeader On --- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor Chudov wrote: > > --- Stas Bekman <[EMAIL PROTECTED]> wrote: > [...] > >>>I already applied this patch (at Randy'

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor Chudov wrote: > > --- Stas Bekman <[EMAIL PROTECTED]> wrote: > > > > > >>Stas Bekman wrote: > >> > >>>Igor Chudov wrote: > >>> > >>> > >>

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Stas Bekman wrote: > > Igor Chudov wrote: > > > >> I was too quick to say that it worked. It does > not > >> quite work with another PerlHandler of mine. > >> I make a form, if I submit it with a

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor Chudov wrote: > > I was too quick to say that it worked. It does not > > quite work with another PerlHandler of mine. > > > > I make a form, if I submit it with a GET method, > it > > works. If I

It did not QUITE work! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
t; On Fri, 13 May 2005, Igor Chudov wrote: > > > --- Randy Kobes <[EMAIL PROTECTED]> > wrote: > > > > > On Fri, 13 May 2005, Igor Chudov wrote: > > > > > > > --- Tom Schindl <[EMAIL PROTECTED]> wrote: > > > > > > > &

IT WORKED! Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
--- Randy Kobes <[EMAIL PROTECTED]> wrote: > On Fri, 13 May 2005, Igor Chudov wrote: > > > --- Tom Schindl <[EMAIL PROTECTED]> wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > If you have i

Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
can not > work with each other. I wish! Unfortunately, pretty much everything I am running is the latest and I completely nuked the old perl installation. i > Tom > > Tom Schindl schrieb: > | Hi, > | > | use Apache2::Request aka libapreq2 if possible. > | > | Tom

Re: "strange error" is related to CGI.pm

2005-05-13 Thread Igor Chudov
st.pm |grep Apache2 ./site_perl/5.8.6/i686-linux/Apache2/Request.pm i --- Tom Schindl <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > use Apache2::Request aka libapreq2 if possible. > > Tom > > Igor Chudov schrie

"strange error" is related to CGI.pm

2005-05-12 Thread Igor Chudov
A followup to my earlier post with this error: Can't locate object method "read" via package "Apache2::RequestRec" at (eval 26) line 6, line 522.\n, referer: http://dsl.algebra.com/algebra/homework/word/numbers/04-num.wpm The error happens when the latest CGI.pm version tries to call "read" on A

strange error after new mod_perl update

2005-05-12 Thread Igor Chudov
I have a custom Handler, that does not do anything very special. I get this cryptic error. Can't locate object method "read" via package "Apache2::RequestRec" at (eval 26) line 5, line 522.\n, referer: http://dsl.algebra.com/ algebra/homework/word/numbers/04-num.wpm - Igor

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > > > Thanks. I will try using alarm also. > > Though, be aware of the issues with signals in > recent perls and > specifically with Apache2. > http://perl.apache.org/docs/2.0/user/coding/coding.html#Using_Signal_Handlers Thank you Stas. I disabled m

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2005-05-11 at 07:57 -0700, Igor Chudov > wrote: > > Can you be a little more specific? Are you talking > > about damage such as abuse of resources, or are > you > > talking about gaining unauthorized pri

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, 2005-05-10 at 21:43 -0700, Igor Chudov > wrote: > > These user submitted perl scripts will be executed > > inside Safe.pm compartment. I hope that they will > be > > secure enough. > > It won't

limiting subroutine run time

2005-05-10 Thread Igor Chudov
I am working on a system on algebra.com where anyone could define a math solver for a particular kind of problem. It could be defined either via a custom markup language (not interesting), or as a perl script. These user submitted perl scripts will be executed inside Safe.pm compartment. I hope th

Re: Debugging memory allocation

2005-05-10 Thread Igor Chudov
scalar <$fh>; close $fh; } else { error_log("Fatal Error: couldn't access $file"); } # linux on intel x86 has 4KB page size... #return ($size * 4, $share * 4); return $size * 4; } --- David Nicol <[EMAIL PROTECTED]> wrote: > On 5/10/05, Igor C

Re: Debugging memory allocation

2005-05-10 Thread Igor Chudov
and then calling LogMemoryUsage() at the beginning > (and end) of > every routine that you suspect might have the leak? > Examining the > resulting log would provide clues. > > On 5/10/05, Igor Chudov <[EMAIL PROTECTED]> wrote: > > --- Sam Tregar <[EMAIL PROTECTED]>

Re: Debugging memory allocation

2005-05-10 Thread Igor Chudov
--- Sam Tregar <[EMAIL PROTECTED]> wrote: > On Mon, 9 May 2005, Igor Chudov wrote: > > > I would like to at least have a log that lists > pid, > > page requested, parameters, starting memory and > memory > > after the request was processed. O rsome other

Re: Bareword "Apache2::Const::OK" not allowed

2005-05-09 Thread Igor Chudov
-- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor Chudov wrote: > > I have just installed new Apache 2.0.54 and > mod_perl > > (the latest). When running it, load of a webpage > > results in > > > > "Apache2::Const::OK" not allowed: &g

Bareword "Apache2::Const::OK" not allowed

2005-05-09 Thread Igor Chudov
I have just installed new Apache 2.0.54 and mod_perl (the latest). When running it, load of a webpage results in "Apache2::Const::OK" not allowed: [Mon May 09 15:07:13 2005] [error] [client 64.94.157.1] failed to resolve handler `ModPerl::PerlRun': Bareword "Apache2::Const::OK" not allowed while

Debugging memory allocation

2005-05-09 Thread Igor Chudov
my website algebra.com is 100% mod_perl. I use Apache::SizeLimit to kill my httpd children when they grow too big. What I do not like is that they grow. Sometimes they would live for a couple of hours, and sometimes they would die after 5 minutes and not so many requests. I would like to at least