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
rewriting? On Sun, Sep 11, 2016 at 6:08 AM, Eugen Konkov wrote: > Hi, Igor. > > You may try http://mojolicious.org/ > > Вы писали 10 сентября 2016 г., 15:54:44: > > > I hope that this message would not be considered off topic. > > I have been developing web apps si

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
ients, but apache does not know. Igor

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
closely, and what percentage leaves shortly afterwards. That sort of stuff. I can write various shell scripts, but I thought that perhaps this wheel has already been invented. A perl/linux solution is preferred. thanks Igor

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
n the new template for a month and the users will not notice as they will see the old template. But I like what I have as it is my own. Igor

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
need to put something into the session after I did $cgi->start_html. I can do it if the cookie is only a session ID, with session data stored in mysql. But how can I change the cookie AFTER I called $cgi->start_html? If I can do that, I think that I am set to go. thanks Igor

Re: Ways to scale a mod_perl site

2009-09-18 Thread Igor Chudov
, but now I can do it at no cost to myself. A quick question, is there an existing perl module to do this sort of thing? Igor On Wed, Sep 16, 2009 at 12:11 PM, 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&

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
t. I think that more people can think in java than in perl. I would hope that as long as use of perl is substantial, it will remain a viable platform that I can enjoy and use to live and make money. I do not care if perl is "very popular", or just "popular", I will be happy as long as it is "viable". Igor

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
Interesting. I did not even know about that #2 guy. What sort of hardware and OS are you running there? Igor On Thu, Sep 17, 2009 at 12:54 AM, Jeff Nokes wrote: > Well, actually Igor, we ended up writing eBay::API. We needed something > that was able to extend many more web services th

Re: Why people not using mod_perl

2009-09-16 Thread Igor Chudov
You must have use my module Net::eBay, at some point, right? I wrote Net::eBay about 3 years ago. Igor On Wed, Sep 16, 2009 at 9:47 PM, Jeff Nokes wrote: > Doesn't Amazon run mod_perl/Mason? > > BTW, I agree with most of your points (would debate #4,5). I may > substitute

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
Perrin, thanks a lot. I bought all books recommended below. Should be a good read. I want to be ready when the need arises, and I do not want to do anything stupid in the meantime that would make me not scalable. Again, thank you. Igor On Wed, Sep 16, 2009 at 1:12 PM, Perrin Harkins wrote

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
cookie table only every several months. This way I would let users stay logged on forever. Thanks a lot. Igor

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
ot at some point as it would not provide a webpage), but their expense in terms of traffic is not worth the benefit that I get from them. Igor

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 t

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
Perrin, the pages are zero length. In my script that checks for this condition, if I find trouble I save a few webpages to files. (/, some other page and apache-status). The first two are zero length. Igor On Tue, Aug 25, 2009 at 12:14 PM, Perrin Harkins wrote: > On Tue, Aug 25, 2009 at 1

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
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_perl pages returns empty pages. Igor On Tue, Aug 25, 2009 at 11:14 AM, Perrin Harkins wrote: > On

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
ssary, but obviously I hate the situation and would like to fix it. Any pointers to get started would be appreciated. Igor

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
20 more years of success Igor

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

Re: Is mod_perl dead?

2009-08-10 Thread Igor Chudov
Clinton, thanks a lot. This is very reassuring, as I have been a heavy user of mod_perl for many years and would like it to continue. I will keep looking and seeking resolution to my segfault problem. Igor On Mon, Aug 10, 2009 at 9:07 AM, Clinton Gormley wrote: > Dear Igor > > On Mon

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
worth relatively big bucks). Plus it is specialized and I hope to find something better done to start with. thanks igor

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
other stuff on my server also, lots of mail handling). I am curious, just what did you guys do to get to this point? In any case, great job! i - Igor Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html

New mod_perl works GREAT!

2005-05-14 Thread Igor Chudov
are getting killed a lot less often, I would say 10 times less often. Just today I only had about 10 "kills", whereas on a typical Saturday like this I would have a hundred or more. So, I am happy and I want to say thank you to the developers of mod_perl.

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

2005-05-13 Thread Igor Chudov
on how it goes, but I am beginning to become optimistic. i - Igor __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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
n tries to call "read" on Apache2::RequestRec, when the method is POST. I had the same thing happen inside another custom Handler of mine, and had to change POST to GET. I would rather get to the bottom of the problem, I do not like long GET urls. Any thoughts? - Igor

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/n

Re: limiting subroutine run time

2005-05-11 Thread Igor Chudov
rs Thank you Stas. I disabled multithreading in Apache and use forked processes only. I may revisit this decision at some point, though, but for now, no multithreading for me. My perl is not compiled with multithreading support either. igor - Igor

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
that they will be secure enough. My question is, is there some way to limit execution time of a subroutine? I would not want those scripts to run for more than a second CPU time. i - Igor Yahoo! Mail Stay connected, organized, and protected. Take the tour: http

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
://dsl.algebra.com/algebra/homework/coordinate/Linear_Equations.faq.hide_answers.1.html - Igor __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail

Debugging memory allocation

2005-05-09 Thread Igor Chudov
least have a log that lists pid, page requested, parameters, starting memory and memory after the request was processed. O rsome other ideas like that. Any thoughts? - Igor __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search

XML parser/unparser in Perl

2005-05-08 Thread Igor Rojdestvenski
without any limitations. Comments will be appreciated as well as if you make a reference to "Igor Rojdestvenski" when using it.   Yours, Igor

an update to exec_helper.pl script

2005-03-13 Thread Igor Shevchenko
[EMAIL PROTECTED]"; } close $in; } I had to use this form of spawn_proc_prog to get something to wait on. -- Best Regards, Igor Shevchenko

Re: an update to exec_helper.pl script

2005-03-11 Thread Igor Shevchenko
On Saturday 12 March 2005 02:52, you wrote: > Igor Shevchenko wrote: > > Hi all, > > > > Some time ago we had a thread about starting long-running background > > processes from mp2. I've found a race condition in our last solution. The > > helper background sc

an update to exec_helper.pl script

2005-03-11 Thread Igor Shevchenko
[EMAIL PROTECTED]"; } close $in; } I had to use this form of spawn_proc_prog to get something to wait on. -- Best Regards, Igor Shevchenko

Re: exec and detach a subprocess

2005-02-21 Thread Igor
Message-ID: 873053 On Monday 21 February 2005 10:20, You wrote: Original Message -- Subject: Re: exec and detach a subprocess From: Stas Bekman <[EMAIL PROTECTED]> To: Igor Shevchenko <[EMAIL PROTECTED]> CC: modperl@perl.apache.org Date: 21 Feb 2

Re: exec and detach a subprocess

2005-02-20 Thread Igor Shevchenko
A small followup to this case. Looks like mp2 or apache2 are killing background process, by PID; Probably in a cleanup handler for the request. I had to add additional "return if fork() > 0;" to the exec_helper.pl script to make bg processes survice. -- Best Regards, Igor Shevchenko

Re: exec and detach a subprocess

2005-02-19 Thread Igor Shevchenko
>Since it's a common mistake to use "exec" instead of "system", >Perl warns you if there is a following statement which isn't >"die", "warn", or "exit" (if "-w" is set - but you always do >that). -- Best Regards, Igor Shevchenko

Re: exec and detach a subprocess

2005-02-19 Thread Igor Shevchenko
On Saturday 19 February 2005 18:44, you wrote: > Igor Shevchenko wrote: > > On Saturday 19 February 2005 03:06, Stas Bekman wrote: > >>What about? > >>$r->spawn_proc_prog > >>http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html#C_spawn_proc_p > >&

Re: exec and detach a subprocess

2005-02-19 Thread Igor Shevchenko
;+>>', '/path/to/apache/error_log'; open STDERR, '>&STDOUT'; exec ( @ARGV ); CORE::exit(0); 1; -- Best Regards, Igor Shevchenko

exec and detach a subprocess

2005-02-18 Thread Igor Shevchenko
show any httpd process running, "netstat -lp|grep http" shows ports 80 and 443, listening in a perl process (my background script) Because of this, apache fails to restart when any of background processes are running. How do I close all file descriptors and sockets ? (this is l

Re: Caching of SSI pages (some based on authorisation)

2004-02-26 Thread Igor Sysoev
> will serve "authenticated" pages cached under the URL to > not-authenticated users requesting that URL. mod_accel allows to take into account the cookies while the caching: AccelCacheCookie Igor Sysoev http://sysoev.ru/en/ -- Report problems: http://perl.apache.

  1   2   >