Hi, I have configured the mod_perl with oracle persistent connection through Apache::DBI module. On every web page request It creates a process something like below and It never be killed automatically when the request has completed.
Can you please suggest me how to do I handle this scenario ?. oracle 8021 1 0 17:51 ? 00:00:01 oracleXE (LOCAL=NO) oracle 8038 1 0 17:51 ? 00:00:00 oracleXE (LOCAL=NO) oracle 8050 1 0 17:51 ? 00:00:01 oracleXE (LOCAL=NO) oracle 8068 1 0 17:52 ? 00:00:00 oracleXE (LOCAL=NO) Thanks, Raja -----Original Message----- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, October 26, 2009 3:17 AM To: modperl@perl.apache.org Subject: Re: Server hangs after 502 request Rolf Schaufelberger wrote: ... > Of course, but what I meant was, can I tell LWP to pass the same > referer string I found in my logfile, to simultate exactly that request ? > I'm sure you can. That "referrer" is just a HTTP header ("Referer:" with only one r I think), and LWP allows you to add headers to the request. lwp-request -h I doubt this will help you however. If you examine your access log, you probably have lots of such kinds of request, which do not necessarily bring down your server. Maybe an easier way : - on one of your servers (suppose it is called "yourserver.yourcompany.com"), create a really long path under the document root and put a html page in it. Like : /var/www/htdocs/some/very/long/path/to/a/document/page.html - in that html page, put a link to your front-end server - call up that page in a browser, and click on the link. - then look in your access log The browser, when you click on the link in the page, sends a request to your front-end server. In that request, it will add a header : Referer: http://yourserver.yourcompany.com/some/very/long/path/to/a/document/page.html That's what you see in the log.