RE: [EMAIL PROTECTED] RSS of Apache Processes

2008-01-11 Thread Graham Frank
Correct me if I'm wrong, but should RLimitMem help prevent the RSS value from going insane? I disabled my Perl script on one of the web servers today, and after 11 hours each process got up to a RSS of 550MB each. Graham Frank Neoservers LLC - Founder and Owner Ph: (608) 359-1593 Member of t

Re: [EMAIL PROTECTED] splitting out to different files in customlog in mass vhost

2008-01-11 Thread Terry
I may have made it a bit further but need some fine tuning: LogFormat "%{Host}i %h %l %u %t \"%r\" %>s %b" vlogger CustomLog "| /usr/local/sbin/vlogger /var/log/httpd/test" vlogger The only problem I have is that %{Host}i contains the literal host that they typed in. So, they could either type

[EMAIL PROTECTED] Apache 1.3 service problem

2008-01-11 Thread Xavier Bourguignon
Hello, I have just installed apache 1.3.39 on my Vista Ultimate box. Apache runs fine as a program, but I cannot start it as a service, I get a 1067 error. I am administrator on my PC so there should not be any problems there. Can you help? Thank you -- Xavier Bourguignon -

[EMAIL PROTECTED] CGI Push and Apache memory consumption

2008-01-11 Thread Kiss, John (GE Infra, Energy, Non-GE)
Hello I'm having an issue with long running CGI push scripts causing Apache to consume all available free memory over a period of several days. The scenario : System free memory at 220 Megs, browser connects to cgi push script. Within 3 days system free memory goes down and hovers at 5 megs bu

Re: [EMAIL PROTECTED] odd/spurious error_log entries with ScriptAlias and Location directives

2008-01-11 Thread t s
no, there are no 403 in the access log. the two lines I quoted (one for error_log, one for access_log) is all that is logged for an access to the scriptaliased location. there is no indication at the client that something may be wrong, the client sees the expected result. access_log: 127.0.0.1 - -

Re: [EMAIL PROTECTED] splitting out to different files in customlog in mass vhost

2008-01-11 Thread Terry
I can't include the host header in the log as it will break our stats program which needs common log format. Here is what I have: RewriteCond ${lowercase:%{SERVER_NAME}} ^(.+)$ RewriteCond ${vhost:%1} ^(.+)$ RewriteRule . - [E=%1:1] LogFormat "%h %l %u %t \"%r\" %>

RE: [EMAIL PROTECTED] splitting out to different files in customlog in mass vhost

2008-01-11 Thread Axel-Stephane SMORGRAV
I can basically see two ways of doing this: 1. Include the host header in the log and use a script to split the resulting unique log file 2. set a distinct environment variable for each host (using RewriteCond/RewriteRule) and use the optional log condition to determine to what file to log, i.

[EMAIL PROTECTED] splitting out to different files in customlog in mass vhost

2008-01-11 Thread Terry
Hello, My vhost config is at the bottom. Today, it is writing a special log format for all of my vhosts to a single file. I would like to separate them out into separate files based on my vhost.map or the %{HOST}i or something similar. I tried CustomLog logs/%{HOST}i-access_log but it appears

Re: [EMAIL PROTECTED] ProxyPass/ProxyPassReverse: url is not translated

2008-01-11 Thread Mike Wang
Hi krist thanks a lot. > As a last resort you can use output filtering using proxy_html see: > http://www.apachetutor.org/admin/reverseproxies (read this, especially > the part Fixing HTML) > > you will need at least the following directives: > LoadModule proxy_http_module modules/mod_proxy_h

Re: [EMAIL PROTECTED] odd/spurious error_log entries with ScriptAlias and Location directives

2008-01-11 Thread Krist van Besien
On Jan 11, 2008 12:48 AM, t s <[EMAIL PROTECTED]> wrote: > Why is this error_log entry generated for each request to the script > defined in ScriptAlias? What does the access log say? There ought to be requests with status code 403 somewhere in there. Krist -- [EMAIL PROTECTED] [EMAIL PROTECTE

RE: [EMAIL PROTECTED] RSS of Apache Processes

2008-01-11 Thread Graham Frank
Hi, It looks like that's the case, yes. Graham Frank Neoservers LLC - Founder and Owner Ph: (608) 359-1593 Member of the Better Business Bureau -Original Message- From: Eric Covener [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 7:15 AM To: users@httpd.apache.org Subj

Re: [EMAIL PROTECTED] RSS of Apache Processes

2008-01-11 Thread Eric Covener
On Jan 10, 2008 9:23 PM, Graham Frank <[EMAIL PROTECTED]> wrote: > Also, > > If it were a memory leak, as it appears to be, why do the new processes > immediately go to the high RSS values? Does the rss of the parent process increase as well? That would explain the high rss in new children. --

[EMAIL PROTECTED] check apache process [suspect spam source]

2008-01-11 Thread kengheng
Recently I notice my mail server got a lot spam generated from httpd process, I using pstree to trace the spam httpd instance, below is the result |-httpd(28714)-+-httpd(5986) | |-httpd(20355) | |-httpd(29153)---qmail-inject(9294)---qmail-queue(92

Re: [EMAIL PROTECTED] RewriteRule, [P] and space on URL

2008-01-11 Thread Jori Mantysalo
On Fri, 11 Jan 2008, Nick Kew wrote: See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two There is per-directory .htaccess that says RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P] and this gives $1 only part to first space. What happens if you add [B] to the

Re: [EMAIL PROTECTED] RSS of Apache Processes

2008-01-11 Thread Krist van Besien
On Jan 11, 2008 3:23 AM, Graham Frank <[EMAIL PROTECTED]> wrote: > Also, > > If it were a memory leak, as it appears to be, why do the new processes > immediately go to the high RSS values? Let me guess: Some of the memory include in the RSS value is actually memory that is shared by all processes

Re: [EMAIL PROTECTED] ProxyPass/ProxyPassReverse: url is not translated

2008-01-11 Thread Krist van Besien
On Jan 11, 2008 4:55 AM, Mike Wang <[EMAIL PROTECTED]> wrote: > Hi >I have tried to use proxypass with virtual host, here is what I want to do: > > on server A, virutal host :http://groups.mygroups.com/ > on Server B: a application is running at at: http://192.168.0.21/groups/ > >I wa

Re: [EMAIL PROTECTED] RewriteRule, [P] and space on URL

2008-01-11 Thread Nick Kew
On Fri, 11 Jan 2008 12:03:22 +0200 (EET) Jori Mantysalo <[EMAIL PROTECTED]> wrote: > On Thu, 10 Jan 2008, Pau Garcia i Quiles wrote: > > >> See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two > >> > >> There is per-directory .htaccess that says > >> > >> RewriteRule ^(.+)$ > >> http://www.u

Re: [EMAIL PROTECTED] RewriteRule, [P] and space on URL

2008-01-11 Thread Jori Mantysalo
On Thu, 10 Jan 2008, Pau Garcia i Quiles wrote: See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two There is per-directory .htaccess that says RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P] and this gives $1 only part to first space. However, on What ha