[us...@httpd] Apache 2.0 server heap size

2010-03-22 Thread Richard Chang
Please forgive me if this is a too simple question. We are using Apache 2.0 server. What is the default heap size setting? what is the range i can set to? We are looking into customization of the heap size. Thanks a lot for help. Richard _

Re: [us...@httpd] metrics on apache httpd

2010-03-22 Thread Robert Hall
On Mar 22, 2010, at 2:52 PM, Brad lira wrote: hello, does anyone know how to get the following metrics: - number of connected clients - number of active clients - number of idle clients thanks, hash http://lmgtfy.com/?q=apache+status+page - Robert

[us...@httpd] metrics on apache httpd

2010-03-22 Thread Brad lira
hello, does anyone know how to get the following metrics: - number of connected clients - number of active clients - number of idle clients thanks, hash

Re: [us...@httpd] Re: Safety access to Apache web page [RESOLVED]

2010-03-22 Thread Wagner Pereira
Nicholas Sherlock and Eric Covener. I should've perceived that my htaccess file was with the 600 permission; I resolved this by setting it up with 644 permission. Thank you enormously! -- Wagner Pereira PoP-SP/RNP - Ponto de Presença da RNP em São Paulo CCE/USP - Centro de Computação Eletrô

Re: [us...@httpd] Re: Safety access to Apache web page

2010-03-22 Thread Eric Covener
On Mon, Mar 22, 2010 at 4:20 PM, Wagner Pereira wrote: > Hi, Nicholas. Thanks for responding me. > > That's my Apache's error.log: > > [Mon Mar 22 15:05:17 2010] [crit] [client 10.0.0.2] (13)Permission denied: > /var/www/cvsweb/.htaccess pcfg_openfile: unable to check htaccess file, > ensure it is

Re: [us...@httpd] Exiting process doesn't trigger ErrorDocument 500

2010-03-22 Thread Eric Covener
On Mon, Mar 22, 2010 at 12:50 PM, ARTHUR GOLDBERG wrote: > Is there a way to get a mod_perl process that dies with "out of memory" > trapped by the "ErrorDocument 500" handler? If it crashes, it's too late. If it's actually perl pre-empting the crash, then it ought to work. The key is whether y

Re: [us...@httpd] Re: Safety access to Apache web page

2010-03-22 Thread Wagner Pereira
Hi, Nicholas. Thanks for responding me. That's my Apache's error.log: [Mon Mar 22 15:05:17 2010] [crit] [client 10.0.0.2] (13)Permission denied: /var/www/cvsweb/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://10.0.0.1/cgi-bin/cvsweb/switches-grou

[us...@httpd] Re: Safety access to Apache web page

2010-03-22 Thread Nicholas Sherlock
On 23/03/2010 6:41 a.m., Wagner Pereira wrote: Hi, all. It's my first time here and I'd like to say hello and ask for some help! I already have .htaccess and .htpasswd files correctly edited, but for some reason, I still can't access my web page. Thanks in advance. What does the error log sa

Re: [us...@httpd] how many TCP-connections at the same time per default?

2010-03-22 Thread Jeff Trawick
On Mon, Mar 22, 2010 at 9:43 AM, Andreas <619forl...@web.de> wrote: > Jeff Trawick wrote: > > On Sun, Mar 21, 2010 at 11:17 PM, Andreas <619forl...@web.de> wrote: > > > Hi guys, > > I want to know how many TCP-connections apache allows at the same time per > default. > > Is it the Max_Clients setti

[us...@httpd] Safety access to Apache web page

2010-03-22 Thread Wagner Pereira
Hi, all. It's my first time here and I'd like to say hello and ask for some help! I already have .htaccess and .htpasswd files correctly edited, but for some reason, I still can't access my web page. Thanks in advance. -- Wagner Pereira PoP-SP/RNP - Ponto de Presença da RNP em São Paulo CC

[us...@httpd] Exiting process doesn't trigger ErrorDocument 500

2010-03-22 Thread ARTHUR GOLDBERG
Hello All Resending, as nobody replied. Is there a way to get a mod_perl process that dies with "out of memory" trapped by the "ErrorDocument 500" handler? I'm running Perl programs in mod_perl in Apache (2.2) on RHEL, using the prefork MPM. I want to protect my server against Perl process

[us...@httpd] collecting metrics from each process

2010-03-22 Thread Brad lira
Hello, I would like to know how many processes are running and threads within each process and then call a function in each process to read the same variable? how would one go about doing this? thanks, hash

RE: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread Geoff Millikan
> +1. Isn't that documented? I'm surprised! Suppose so, as a n00b though, I thought maybe cutting the default time of 15 in half would do it. It didn't. With many people on fast Internet connections now, even 1 or 2 second KeepAliveTimeout's seem to work good. > Interesting! Do you have any

Re: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread Tom Evans
On Mon, Mar 22, 2010 at 3:45 PM, Geoff Millikan wrote: >> Fair enough, but if your testing was of ~30 requests, and we >> are believing that >> the typical browser is making 6 simultaneous connections, >> then it sounds like >> the real magic was 6 * fudge factor of 5 ;-P > > LOL, yes, I totally a

RE: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread Geoff Millikan
> Fair enough, but if your testing was of ~30 requests, and we > are believing that > the typical browser is making 6 simultaneous connections, > then it sounds like > the real magic was 6 * fudge factor of 5 ;-P LOL, yes, I totally agree and I kept thinking that no optimization guide has MinSpa

Re: [us...@httpd] mod_status ans X-Real-IP?

2010-03-22 Thread Tom Evans
On Mon, Mar 22, 2010 at 2:38 PM, Vladimir Dvorak - mailinglists wrote: > Tom Evans wrote: >> >> 2010/3/22 Vladimir Dvorak - mailinglists : >> >>> >>> Hello to all, >>> >>> i need to view /server-status;  problem is that my Apache is behind the >>> http >>> proxy (nginx) and status page shows only

Re: [us...@httpd] mod_status ans X-Real-IP?

2010-03-22 Thread Vladimir Dvorak - mailinglists
Tom Evans wrote: 2010/3/22 Vladimir Dvorak - mailinglists : Hello to all, i need to view /server-status; problem is that my Apache is behind the http proxy (nginx) and status page shows only IP of proxy, not the IP of original host. Is there any possibility to "patch" mod_status.c (or anyt

Re: [us...@httpd] how many TCP-connections at the same time per default?

2010-03-22 Thread Andreas
Jeff Trawick wrote: On Sun, Mar 21, 2010 at 11:17 PM, Andreas <619forl...@web.de> wrote: Hi guys, I want to know how many TCP-connections apache allows at the same time per default. Is it the Max_Clients setting? If I understand it correctly, it is not the Max_clients-setting because a Clie

Re: [us...@httpd] SSL_CLIENT_S_DN_UID not available with client certificate authentication

2010-03-22 Thread lambam80
FYI. This is a BUG with HTTP: The problem was related to a https://issues.apache.org/bugzilla/show_bug.cgi?id=45107 and so I put this project on hold while waiting for Fedora 13 (with httpd-2.2.14) where they say the HTTPD BUG is fixed. -- I simply couldn't wait until April 2010 (Fedora 13 w

Re: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread Nick Kew
On 22 Mar 2010, at 08:34, Geoff Millikan wrote: > Here's three things I wish I had read about Apache optimization that are not > commonly discussed (we found out by years of trial and error). Thanks for sharing! > 1. Set your KeepAliveTimeout to 3 seconds or less. +1. Isn't that documented?

Re: [us...@httpd] mem_cache issue.

2010-03-22 Thread Eric Covener
On Mon, Mar 22, 2010 at 6:19 AM, Sachin Gopal wrote: > > Hello Eric , > > Thanks for the prompt reply . > > Is the module loaded? > Ans : Yes. > What's logged at LogLevel debug when you send a request whose response > should be cached? What happens on the subsequent request? > Ans : On the Log , T

Re: [us...@httpd] how many TCP-connections at the same time per default?

2010-03-22 Thread Jeff Trawick
On Sun, Mar 21, 2010 at 11:17 PM, Andreas <619forl...@web.de> wrote: > Hi guys, > > I want to know how many TCP-connections apache allows at the same time per > default. > > Is it the Max_Clients setting? > If I understand it correctly, it is not the Max_clients-setting because a > Client can have

Re: [us...@httpd] Streaming files with apache

2010-03-22 Thread Nick Kew
On 22 Mar 2010, at 08:46, Ofer Kalisky wrote: > Hi, > > Can the Apache web server stream regular files (i.e. not music etc), while > they're written, i.e. even if the server reaches EOF it continues to try to > read more of it until the client stops? As in, tail -f $file? Yes and no. The de

Re: [us...@httpd] Streaming files with apache

2010-03-22 Thread Jeff Trawick
On Mon, Mar 22, 2010 at 4:46 AM, Ofer Kalisky wrote: > Hi, > > Can the Apache web server stream regular files (i.e. not music etc), while > they're written, i.e. even if the server reaches EOF it continues to try to > read more of it until the client stops? that read-EOF handling is not available

Re: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread William A. Rowe Jr.
On 3/22/2010 5:08 AM, Geoff Millikan wrote: >> if your server averages 300 simulatious connections, you need >> to start with 300 servers, and you never want it to drop >> below that number. > > Your experience might show otherwise however based on our experience - if we > averaged 300 new custome

Re: [us...@httpd] mem_cache issue.

2010-03-22 Thread Sachin Gopal
Hello Eric , Thanks for the prompt reply . Is the module loaded? Ans : Yes. What's logged at LogLevel debug when you send a request whose response should be cached? What happens on the subsequent request? Ans : On the Log , The request hits to the Apache , and pulls the requested (js/css/gif) fro

RE: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread Geoff Millikan
> if your server averages 300 simulatious connections, you need > to start with 300 servers, and you never want it to drop > below that number. Your experience might show otherwise however based on our experience - if we averaged 300 new customers/min at once (not 300 requests/sec) a MinSpareServe

Re: [us...@httpd] mod_status ans X-Real-IP?

2010-03-22 Thread Tom Evans
2010/3/22 Vladimir Dvorak - mailinglists : > Hello to all, > > i need to view /server-status;  problem is that my Apache is behind the http > proxy (nginx) and status page shows only IP of proxy, not the IP of original > host. > > Is there any possibility to "patch" mod_status.c (or anything else?)

Re: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread William A. Rowe Jr.
On 3/22/2010 3:34 AM, Geoff Millikan wrote: > Here's three things I wish I had read about Apache optimization that are not > commonly discussed (we found out by years of trial and error). Agreed, agreed, and *huh*? > 3. Increase your StartServers to the number of maximum requests on your > bigges

[us...@httpd] Streaming files with apache

2010-03-22 Thread Ofer Kalisky
Hi, Can the Apache web server stream regular files (i.e. not music etc), while they're written, i.e. even if the server reaches EOF it continues to try to read more of it until the client stops? Thanks

Re: [us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread 夏蒸鑫
thanks for your tips. Best regards, Sharl.Jimh.Tsin - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...

[us...@httpd] Apache 2.2 optimization -> Three tips

2010-03-22 Thread Geoff Millikan
Here's three things I wish I had read about Apache optimization that are not commonly discussed (we found out by years of trial and error). These three settings are worth more than all the other optimization we've done (e.g. SendBufferSize, AcceptFilter http data, EnableMMAP On, EnableSendfile On,

[us...@httpd] ApacheCon NA 2010 HTTP Server Track Call for Participation

2010-03-22 Thread Sander Temme
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ApacheCon North America 2010 will be held 1-5 November 2010, at the Westin Peachtree in Atlanta, Georgia, USA. The official conference, trainings and expo of the Apache Software Foundation (ASF) will run to Atlanta this November, with dozens of sessi