[users@httpd] APACHE MODULE CSRF

2019-06-17 Thread Ricardo Fernando
Guys, good afternoon ... I have the following situation:
- I have a WEB application running on a WILDFLY-10.1.0 application server;
- On the same machine, there is an APACHE on the front with the following
configurations:

CSRF_Enable on CSRF_Action deny CSRF_EnableReferer off CSRF_ScriptPath https
://mysite.com/web/js/csrf.js <https://meusite.com.br/web/js/csrf.js>

With this scenario it works, the problem is when APACHE is on another
machine (one machine for APACHE and one for WILDFLY) ...
it seems that APACHE can not inject the script and the following error
message appears in the console of my browser when I make a request:

Forddden: You do not have permission to access ...

Has anyone ever had a similar situation?

tks

Abraços,

*Ricardo Fernando Neves*
*Desenvolvimento*
COURIER DE FLASH
Site: www.flashcourier.com.br


"Esta mensagem e seus anexos são dirigidos exclusivamente para os seus
destinatários, podendo conter informação confidencial e/ou legalmente
privilegiada. Se você não for destinatário desta mensagem, não deve
revelar, copiar, distribuir ou de qualquer forma utilizá-la. A Flash
Courier não se responsabiliza por alterações no conteúdo desta mensagem
depois do seu envio."

-- 
"Esta 
mensagem e seus anexos são dirigidos exclusivamente para os seus 

destinatários, podendo conter informação confidencial e/ou legalmente 

privilegiada. Se você não for destinatário desta mensagem, não deve 

revelar, copiar, distribuir ou de qualquer forma utilizá-la. A empresa não 
se responsabiliza por alterações no conteúdo desta mensagem 
depois do seu 
envio."


[users@httpd] Apache 2.4 timeouts/connection refused under high load. Works fine with version 2.2

2016-09-12 Thread Fernando Marcelo
Hi,

I'm running Apache 2.4 (prefork) on a Centos 7 server. The server specs are
pretty good: 2 x Xeon E5-2697 v3 @ 2.60GHz, 512GB of RAM and 8 SSDs in RAID
10.

This Apache server is used to run a PHP software and serve a few static
files, although most of the static files are cached in our CDN service.

The normal load is between 8 and 15 but, due to the server specs, it's very
responsive. Also, the number of requests/sec is usually below 300.

I noticed that sometimes Apache 2.4 will timeout or refuse connections *even
for local requests*. This happens when the requests/sec is higher than 400
and/or the load is 20+.

Some notes:

1) The Apache error log doesn't show any errors at all. Increasing the
verbosity of log also doesn't show anything related when the issue happens.

2) Even when this happens, the server is responsive. I can access it using
SSH and other services works fine.

3) I have munin installed. When the issue happens at least 50% the RAM is
free, CPU usage is ~70% and the I/O usage is very low.
I tried some tests changing lots of settings related to StartServers,
MinSpareServers, Timeout etc. but nothing worked.

Then, I decided to downgrade to Apache 2.2 keeping the configuration as
close as possible. I only changed what was really necessary to get 2.2 up.
After 2 days the problem seems to be gone. I simply don't get more timeouts
even with 800-900 requests/sec.

Any ideas about what could cause this issue?

Thanks!


Re: [users@httpd] Help troubleshooting performance issue, after 1000 total children Apache no longer responds to HTTP requests. Not MaxClients issue?

2012-05-03 Thread Luis Fernando Alen
Hello, PJ.

Perhaps your prefork settings are the cause of the issue.

Look, you have 80 StartServers and 120 MaxSpareServers, and with such
settings, apache can spawn 9600 (80*120) children.

However, your ServerLimit and MaxClients (3500) are way to lower than that.

I've had similar issues when the number of children apache could spawn were
higher than the ServerLimit/MaxClients value.

Try raising the ServerLimit and MaxClients value to 9600 (make sure you
have enough memory to do so) and check what happens.

In case you can't afford such high number of children, lower the value of
StartServers and MaxSpareServers but keep it equivalent to MaxClients and
ServerLimit.

Hope this helps.


Luis Alen

On Wed, May 2, 2012 at 11:38 AM, P J pauljfli...@gmail.com wrote:

 On Tue, May 1, 2012 at 7:26 AM, P J pauljfli...@gmail.com wrote:

 On Tue, May 1, 2012 at 7:22 AM, P J pauljfli...@gmail.com wrote:

 On Mon, Apr 30, 2012 at 10:37 AM, P J pauljfli...@gmail.com wrote:


 On Mon, Apr 30, 2012 at 9:13 AM, Alexandr Normuradov 
 norma...@gmail.com wrote:

 cat /proc/$(pidof -s httpd)/limitsTo troubleshoot that you should have
 at least two additional outputs from

 netstat -pant, with connections states
 and
 service httpd fullstatus, listing current state of all the apache
 procs/threads.

 What applications your Apache is serving?
 PHP? is it mod_php, mod_python, mod_perl?

 What the vhost access log file for the most accessed vhost is showing?
 Any pattern of slow, connections  consuming attack?
 If it is, and all tasks are in the Keep Alive wait then disable Keep
 Alive and lower the general timeout to just 7 seconds.

 The error connect to listener on [::]:80 error is quite unusual.

 ETIMEDOUT
Timeout while attempting connection. The server may be too busy to
 accept new connections. Note that for IP sockets the timeout may be
 very long when syncookies are enabled on the server.

 cat /proc/sys/fs/file-nr

 cat /proc/$(pidof -s httpd)/limits


 Sincerely,
 Alexandr Normalex


 Hi Alexandr, thanks for taking a look at this with me.

 The traffic pattern for this website is at certain times of the day it
 receives huge spikes of traffic in very short periods of time, trying to
 tune Apache to accommodate it the best we can.

 cat /proc/$(pidof -s httpd)/limits

 Limit Soft Limit   Hard Limit
 Units
 Max cpu time  unlimitedunlimited
  seconds
 Max file size unlimitedunlimited
  bytes
 Max data size unlimitedunlimited
  bytes
 Max stack size10485760 unlimited
  bytes
 Max core file size0unlimited
  bytes
 Max resident set  unlimitedunlimited
  bytes
 Max processes 5529655296
  processes
 Max open files1024 1024
 files
 Max locked memory 3276832768
  bytes
 Max address space unlimitedunlimited
  bytes
 Max file locksunlimitedunlimited
  locks
 Max pending signals   5529655296
  signals
 Max msgqueue size 819200   819200
 bytes
 Max nice priority 00
 Max realtime priority 00

 cat /proc/sys/fs/file-nr
 15300   560543

 Looking at Max open files I see what is likely the problem :)
 Max open files1024

 I swear I modified this to 4096! I've changed the limit to 4096 now,
 I'll double check it tomorrow. Hopefully this will be the obvious fix!

 I will check service httpd fullstatus  and netstat -pant tomorrow
 morning when this happens again, it happens the same time every day - it is
 not an attack, the customers application receives massive amounts of
 connections at certain times of the day.

 I've been working with Apache for 15 years and I've never seen connect
 to listener on [::]:80 error message before, I hope it's related to
 reaching Max open files.

 Thanks again for your help.

 --
 PJ


 I was hoping this would be fixed now that Max Open files has been
 updated, same issue this morning.

 cat /proc/$(pidof -s httpd)/limits
 Limit Soft Limit   Hard Limit
 Units
 Max cpu time  unlimitedunlimited
  seconds
 Max file size unlimitedunlimited
  bytes
 Max data size unlimitedunlimited
  bytes
 Max stack size10485760 unlimited
  bytes
 Max core file size0unlimited
  bytes
 Max resident set  unlimitedunlimited
  bytes
 Max processes 5529655296
  processes
 Max open files1024 1024
 files
 Max locked memory 3276832768
  bytes
 Max address space unlimitedunlimited
  bytes
 Max file locksunlimitedunlimited
  locks
 Max 

Re: [users@httpd] Help troubleshooting performance issue, after 1000 total children Apache no longer responds to HTTP requests. Not MaxClients issue?

2012-05-03 Thread Luis Fernando Alen
Pete,

Definitely. You're right. This is only valid for the MPM worker, not
prefork.

I was still sleeping when I jumped in this thread.

Sorry guys.

Luis Alen
(31) 3239.4001
luis.a...@izap.com.br pedrogoncal...@izap.com.br

iZap Tecnologia e Serviços
http://izap.com.br


On Thu, May 3, 2012 at 8:50 AM, Pete Houston p...@openstrike.co.uk wrote:

 On Thu, May 03, 2012 at 08:33:58AM -0300, Luis Fernando Alen wrote:
  Perhaps your prefork settings are the cause of the issue.
 
  Look, you have 80 StartServers and 120 MaxSpareServers, and with such
  settings, apache can spawn 9600 (80*120) children.

 That's not how prefork works. I think you are confusing prefork with a
 threaded MPM?

 Pete
 --
 Openstrike - improving business through open source
 http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107



[users@httpd] Will wildcard vhost conflict with a specific one?

2012-04-10 Thread Luis Fernando Alen
Hello,

I need to set both a generic/wildcard vhost and a specific one with
different DocumentRoot and configurations, just like the example below:

*VirtualHost **
*ServerName specific.mydomain.com*
*
*
*DocumentRoot /var/www/specific.mydomain.com/*
*JkMount /otherapp serverX*
*JkMount /otherapp/* serverX*
*/VirtualHost*
*
*
*VirtualHost **
*ServerName wildcard.mydomain.com*
*ServerAlias *.mydomain.com*
*
*
*DocumentRoot /var/www/mydomain.com/*
*JkMount /myapp serverY*
*JkMount /myapp/* serverY*
*/VirtualHost*

I strongly believe apache will be smart enough to make the wildcard vhost
be the last match for its requests, but I'm not sure.

Is there a chance this will conflict?

Apache version is 2.2.3 and it's running on a CentOS 5.6 box.


[us...@httpd] AJP and 500/503 error

2010-07-29 Thread Fernando
Hi guys.

I'm experiencing an issue with Apache 2.2.11 on Solaris 10 with
mod_proxy to communicate with a JBoss AS 4.2.3. When I try to reach
the webpage hosted on JBoss trough Apache (in a reverse proxy
configuration), I receive a 500, or sometimes 503 HTTP error. The
Apache error log says:

[Tue Jul 27 19:17:05 2010] [error] ajp_read_header: ajp_ilink_receive failed
[Tue Jul 27 19:17:05 2010] [error] (120006)APR does not understand
this error code: proxy: read response failed from 10.192.236.58:8009
(cr7260ux058)

I've attached a Snoop Capture File (CAP), Wireshark readable, of this
transaction. I can see a GET from Apache, after a keepalive, after a
TCP FIN. I suspect of timeout. Can somebody confirm it? Someone
already had this issue?

My mod_proxy configuration is:

Proxy balancer://http-wcm
BalancerMember http://webloadbalancer.jboss.caixa:5510 keepalive=on
/Proxy

Att,

Fernando Mercês
Linux Registered User #432779


ajp_error.cap
Description: Binary data

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Re: [us...@httpd] questions regarding the version 2.2.15

2010-04-15 Thread Fernando Milovich
I think is the correct version you are looking for.

http://httpd.apache.org/docs/2.2/new_features_2_2.html

On Thu, Apr 15, 2010 at 4:53 PM, Hélène Montarou hmonta...@yahoo.comwrote:

  Hi,

 I am looking for an HTTP proxy server with the following features:
 - It has to be a reverse proxy;
 - It has to support SSL certificates for encryption and a two-way
 authentication: it should received HTTPS requests and be able to decrypt
 them as well as encrypt them based on another SSL keys.

 The use case is as follow:
 - It receives HTTPS requests from a non-trusted zone and authenticates the
 remote party based on the server certificate he owns;

 - It forward requests to a zone that does not trust it and for which it
 owns a SLL client certificate.


 I was thinking of the Apache HTTP Server version 2.2.15. What do you think?
 Does this version include the modules mod_ssl and mod_proxy?



 Thanks and regards,



 Hélène

 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com



[us...@httpd] same rewrite for several vhosts on 404 errors

2009-10-26 Thread Luis Fernando

Hello guys.

I use apache2 on debian and i have several vhosts in 
/etc/apache2/sites-available, included by /etc/apache/apache2.conf.


Well, i need to redirect requests to all vhosts's non existing documents 
to a specific page.


I already know the needed rule. What i need to know is where to put it, 
because i don't wanna configure it for each vhost.


Is there a way to do it?

Thanks for your help.


Luís Fernando Alén Gonçalves.




-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] same rewrite for several vhosts on 404 errors

2009-10-26 Thread Luis Fernando

André,

I typed it wrong, sorry. Actually, i wanted to type sites-enable.

And yes, i know all about the a2ensite and a2dissite commands and 
its interesting features.


Well, maybe i can put it on an include. That's not a bad idea.

But what i still want to avoid is repeating configuration on vhosts.



André Warnier wrote:

Luis Fernando wrote:

Hello guys.

I use apache2 on debian and i have several vhosts in 
/etc/apache2/sites-available, included by /etc/apache/apache2.conf.


Not really : what is really included, are the files present in 
/etc/apache2/sites-enabled.  These are symlinks to the files that are 
in /etc/apache2/sites-available, but you can have files in 
/etc/apache2/sites-available, which are not really used right now.

Have a good look at the a2ensite command and what it does.
That is one of the nicest things of the Apache2 configuration process 
in Debian.




Well, i need to redirect requests to all vhosts's non existing 
documents to a specific page.


I already know the needed rule. What i need to know is where to put 
it, because i don't wanna configure it for each vhost.


Is there a way to do it?


It would probably be cleaner if you repeated it in each VirtualHost.
You can do this via an Include also, so it is only one configuration 
file.


There is another way, but in my view it is more confusing and 
dangerous, because when you look at a VHost configuration, you will 
not see it, and forget that it happens :


In the principle, anything which you put (or include) in the main 
configuration part, is inherited by all VirtualHosts, unless they 
redefine the same parameter themselves.
When I say main configuration, it means everything that ultimately 
becomes part of the entire configuration, but is not between 
VirtualHost../VirtualHost tags.  That includes apache2.conf, but 
also all files which are Include-d in it at startup time.


-
The official User-To-User support forum of the Apache HTTP Server 
Project.

See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] AllowOverride for rewrite configurations only

2009-09-23 Thread Luis Fernando

Hello,

I've been googling this issue and i couldn't find an answer yet. I read 
the documentation of AllowOverride directive but it didn't help too...


I work on an ISP and we want to allow our customers to override only 
rewrite configurations via .htaccess files.


Nowadays a lot of applications use friendly URLs and we're doing these 
rewrite configurations manually for each customer (and they're many)...


So, if they were able to do it for themselfs, it would be easier to us.

Today our AllowOverride configuration is set to None for security 
reasons..


Any help would be appreciated.

Thank you.


Luís Fernando Alén Gonçalves

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [EMAIL PROTECTED] apache load balance very uneven

2008-07-21 Thread fernando castano


André Warnier wrote:

Hi.

I know next to nothing about load balancing per se, so this will be a 
very naive question related to the data below : does it matter ?
I mean, I can see that the load appears to be uneven, but the grand 
total seems to be about 10% of the available cpu time.
I am only showing an example with a few users, but I can drive the load 
up to 100% CPU utilization.  I expect the server to hold well in any 
case.  At low user level I expect the load to be even, so I get the best 
possible response.
So do you really care if one instance is using 4% and another 0.4% if 
there is still 90% available in total ?


I am also wondering if what is shown down there is not just this 
phenomenon : whenever the load balancer has to decide to which 
back-end to pass a request, I suppose it checks first which ones are 
already busy.
no, it should round-robin, no matter what is the current load in each od 
the app. servers.  That is the algorithm I am using.



Since in this case the total load is light and most of them are always 
free, it might just take the first of the list, which then ends up 
more used than the others.  No ?


André


fernando castano wrote:

Hi all,

I'm new to apache.  I am experiencing a problem with apache load 
balancer.  I configured the load balancer across 10 app servers 
(glassfish domains), but when I see the way the cookies (and load) 
are distributed I see a very uneven distribution.  Here is my proxy 
configuration:



[EMAIL PROTECTED] more proxy_cluster.conf
# configuration for clustering more then one glassfish
ProxyPass / balancer://cluster/  stickysession=JSESSIONID nofailover=Off
ProxyPassReverse / http://kenstgapp01:8080
ProxyPassReverse / http://kenstgapp01:8280
ProxyPassReverse / http://kenstgapp01:8380
ProxyPassReverse / http://kenstgapp01:8480
ProxyPassReverse / http://kenstgapp01:8580
ProxyPassReverse / http://kenstgapp01:8780
ProxyPassReverse / http://kenstgapp01:8880
ProxyPassReverse / http://kenstgapp01:8980
ProxyPassReverse / http://kenstgapp01:9080
ProxyPassReverse / http://kenstgapp01:9180
Proxy balancer://cluster/ 
  BalancerMember http://kenstgapp01:8080  route=kenstgapp01_8080 
loadfactor=1
  BalancerMember http://kenstgapp01:8280  route=kenstgapp01_8280 
loadfactor=1
  BalancerMember http://kenstgapp01:8380  route=kenstgapp01_8380 
loadfactor=1
  BalancerMember http://kenstgapp01:8480  route=kenstgapp01_8480 
loadfactor=1
  BalancerMember http://kenstgapp01:8580  route=kenstgapp01_8580 
loadfactor=1
  BalancerMember http://kenstgapp01:8780  route=kenstgapp01_8780 
loadfactor=1
  BalancerMember http://kenstgapp01:8880  route=kenstgapp01_8880 
loadfactor=1
  BalancerMember http://kenstgapp01:8980  route=kenstgapp01_8980 
loadfactor=1
  BalancerMember http://kenstgapp01:9080  route=kenstgapp01_9080 
loadfactor=1
  BalancerMember http://kenstgapp01:9180  route=kenstgapp01_9180 
loadfactor=1

/Proxy
[EMAIL PROTECTED]

And here is how the load gets distributed across jmeter 10 clients:  
as you can see, only 7 of the jvms get work, and among them the 
amount of work they do is very uneven (second to last entry in each 
row is % of cpu used by the process).
These domains are exactly the same.  I've checked the cookie 
distribution and reflects the load distribution (uneven).  If I 
increase clients I eventually get work in all jvms (still uneven), 
and that just proves that all jvms can be routed thru apache load 
balancer.  I am generating load with jmeter.  Any hints of what am I 
doing wrong? how to fix it?



PID USERNAME  SIZE   RSS STATE  PRI NICE  TIME  CPU 
PROCESS/NLWP   1388 root 3338M 3257M sleep00   
9:08:45 6.5% java/89

1414 root 3332M 3253M cpu2800   7:32:01 4.2% java/92
1417 root M 3253M cpu9 00   7:14:39 2.3% java/96
1424 root 3332M 3254M cpu1200   7:03:12 2.2% java/89
1420 root 3332M 3254M cpu6 00   7:35:40 2.1% java/89
1411 root M 3253M cpu2900   7:31:31 1.9% java/87
3461 webservd   40M   32M sleep00   0:00:03 0.3% httpd/1
3460 webservd   36M   26M sleep00   0:00:03 0.3% httpd/1
3462 webservd   36M   26M sleep00   0:00:03 0.3% httpd/1
3457 webservd   32M   27M cpu2400   0:00:02 0.3% httpd/1
1423 root M 3256M sleep00   7:00:01 0.2% java/88
3348 webservd   40M   32M sleep00   0:00:04 0.2% httpd/1
 995 root 3536K 3072K sleep  100-   0:00:46 0.1% cpustat/33
1360 webservd   43M   35M sleep00   0:00:14 0.1% httpd/1
1337 webservd   43M   35M sleep00   0:00:13 0.1% httpd/1
3559 webservd   13M   11M cpu2000   0:00:00 0.1% hgwebdir.cgi/1
 883 root 3848K 3832K cpu2500   0:00:13 0.1% prstat/1
1011 webservd   43M   36M sleep00   0:00:15 0.1% httpd/1
  77 webservd 9016K 7832K sleep00   0:16:18 0.1% memcached/1
Total: 166 processes, 1525 lwps, load averages: 10.00, 10.20, 10.03

TIA,
fdo

[EMAIL PROTECTED] apache load balance very uneven

2008-07-18 Thread fernando castano

Hi all,

I'm new to apache.  I am experiencing a problem with apache load 
balancer.  I configured the load balancer across 10 app servers 
(glassfish domains), but when I see the way the cookies (and load) are 
distributed I see a very uneven distribution.  Here is my proxy 
configuration:



[EMAIL PROTECTED] more proxy_cluster.conf
# configuration for clustering more then one glassfish
ProxyPass / balancer://cluster/  stickysession=JSESSIONID nofailover=Off
ProxyPassReverse / http://kenstgapp01:8080
ProxyPassReverse / http://kenstgapp01:8280
ProxyPassReverse / http://kenstgapp01:8380
ProxyPassReverse / http://kenstgapp01:8480
ProxyPassReverse / http://kenstgapp01:8580
ProxyPassReverse / http://kenstgapp01:8780
ProxyPassReverse / http://kenstgapp01:8880
ProxyPassReverse / http://kenstgapp01:8980
ProxyPassReverse / http://kenstgapp01:9080
ProxyPassReverse / http://kenstgapp01:9180
Proxy balancer://cluster/ 
  BalancerMember http://kenstgapp01:8080  route=kenstgapp01_8080 
loadfactor=1
  BalancerMember http://kenstgapp01:8280  route=kenstgapp01_8280 
loadfactor=1
  BalancerMember http://kenstgapp01:8380  route=kenstgapp01_8380 
loadfactor=1
  BalancerMember http://kenstgapp01:8480  route=kenstgapp01_8480 
loadfactor=1
  BalancerMember http://kenstgapp01:8580  route=kenstgapp01_8580 
loadfactor=1
  BalancerMember http://kenstgapp01:8780  route=kenstgapp01_8780 
loadfactor=1
  BalancerMember http://kenstgapp01:8880  route=kenstgapp01_8880 
loadfactor=1
  BalancerMember http://kenstgapp01:8980  route=kenstgapp01_8980 
loadfactor=1
  BalancerMember http://kenstgapp01:9080  route=kenstgapp01_9080 
loadfactor=1
  BalancerMember http://kenstgapp01:9180  route=kenstgapp01_9180 
loadfactor=1

/Proxy
[EMAIL PROTECTED]

And here is how the load gets distributed across jmeter 10 clients:  as 
you can see, only 7 of the jvms get work, and among them the amount of 
work they do is very uneven (second to last entry in each row is % of 
cpu used by the process). 

These domains are exactly the same.  I've checked the cookie 
distribution and reflects the load distribution (uneven).  If I increase 
clients I eventually get work in all jvms (still uneven), and that just 
proves that all jvms can be routed thru apache load balancer.  I am 
generating load with jmeter.  Any hints of what am I doing wrong? how to 
fix it?



PID USERNAME  SIZE   RSS STATE  PRI NICE  TIME  CPU PROCESS/NLWP   
1388 root 3338M 3257M sleep00   9:08:45 6.5% java/89

1414 root 3332M 3253M cpu2800   7:32:01 4.2% java/92
1417 root M 3253M cpu9 00   7:14:39 2.3% java/96
1424 root 3332M 3254M cpu1200   7:03:12 2.2% java/89
1420 root 3332M 3254M cpu6 00   7:35:40 2.1% java/89
1411 root M 3253M cpu2900   7:31:31 1.9% java/87
3461 webservd   40M   32M sleep00   0:00:03 0.3% httpd/1
3460 webservd   36M   26M sleep00   0:00:03 0.3% httpd/1
3462 webservd   36M   26M sleep00   0:00:03 0.3% httpd/1
3457 webservd   32M   27M cpu2400   0:00:02 0.3% httpd/1
1423 root M 3256M sleep00   7:00:01 0.2% java/88
3348 webservd   40M   32M sleep00   0:00:04 0.2% httpd/1
 995 root 3536K 3072K sleep  100-   0:00:46 0.1% cpustat/33
1360 webservd   43M   35M sleep00   0:00:14 0.1% httpd/1
1337 webservd   43M   35M sleep00   0:00:13 0.1% httpd/1
3559 webservd   13M   11M cpu2000   0:00:00 0.1% hgwebdir.cgi/1
 883 root 3848K 3832K cpu2500   0:00:13 0.1% prstat/1
1011 webservd   43M   36M sleep00   0:00:15 0.1% httpd/1
  77 webservd 9016K 7832K sleep00   0:16:18 0.1% memcached/1
Total: 166 processes, 1525 lwps, load averages: 10.00, 10.20, 10.03

TIA,
fdo

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] How to display the Allow Header for 405 Responses?

2008-03-15 Thread Senaka Fernando
Hi all,

Can you please let me know how could I display the Allow Header for 405
Responses? I need to dynamically set this in my C code. I have
successfully managed to set the 405 status, and get it displayed to a
client. But, however, setting r-allowed = (1  M_GET) or something
similar doesn't display a Allow header.

Can you please help me out?

Thanks,
Senaka

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Apache segfault with 2k Vhosts

2007-04-26 Thread Fernando Schubert

Hi!

I`m having a huge problem. I`m migrating apache 1.3 to 2.0.

But I have 2k vhosts configured in single files (Include /x/*.conf)

The problem is that apache is core dumping!!!I use a FreeBSD 6.1-Stable

*/dmesg:/* pid 1030 (httpd), uid 0: exited on signal 11 (core dumped)

/*httpd-error.log*/ [Thu Apr 26 11:25:45 2007] [debug] mod_so.c(248): 
loaded module php4_module
[Thu Apr 26 12:00:11 2007] [notice] Digest: 
generating secret for digest authentication ...

[Thu Apr 26 12:00:11 2007] [notice] Digest: done
[Thu Apr 26 12:00:12 2007] [notice] Apache/2.0.59 
(FreeBSD) DAV/2 PHP/4.4.4 with Suhosin-Patch configured -- resuming 
normal operations
[Thu Apr 26 12:04:04 2007] [notice] caught SIGTERM, 
shutting down



I need a light to solve this problem.


Thanks!!!

*Fernando Schubert*
SysAdmin
San Internet



[EMAIL PROTECTED] sysconfig.d/include.conf not generated

2005-11-09 Thread Fernando Martins

Hi,

I'm going through the headaches (so many .conf files) of migrating from
Apache 1.3 to 2.0 and when I run httpd2 it complains it can't find
sysconfig.d/include.conf, which was supposed to be somehow generated.

Why is this file missing?? Who is supposed to generate it? and how? What
should be its contents?

TIA,
Fernando


Apache Forums - Apache Web Server Help - sysconfig.dinclude.conf not generated.URL
Description: Binary data


Apache Forums - Apache Web Server Help - sysconfig.dinclude.conf not generated.URL
Description: Binary data


Apache Forums - Apache Web Server Help - sysconfig.dinclude.conf not generated.URL
Description: Binary data


Apache Forums - Apache Web Server Help - sysconfig.dinclude.conf not generated.URL
Description: Binary data


Apache Forums - Apache Web Server Help - sysconfig.dinclude.conf not generated.URL
Description: Binary data


Apache Forums - Apache Web Server Help - sysconfig.dinclude.conf not generated.URL
Description: Binary data
-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[EMAIL PROTECTED] Server too slow

2005-09-14 Thread Fernando Barros
Hi there,

My configuration is Apache/2.0.39, RH AS (2.4.19-4GB), Coldfusion Enterprise MX 
6,1,0,63958 (flex too) e Java Version 1.4.2. My server is too slow and I my 
little confusion how to fix that. One thing is really strange... my apache log 
file. Look this:
[Wed Sep 14 10:32:34 2005] [notice] child pid 30877 exit signal File size limit 
exceeded (25)
[Wed Sep 14 10:32:34 2005] [notice] child pid 30871 exit signal File size limit 
exceeded (25)
[Wed Sep 14 10:32:34 2005] [notice] child pid 30853 exit signal File size limit 
exceeded (25)
[Wed Sep 14 10:32:34 2005] [notice] jrApache[init] added/activated proxy 
127.0.0.1:51010
[Wed Sep 14 10:32:34 2005] [notice] jrApache[init] added/activated proxy 
127.0.0.1:51010
[Wed Sep 14 10:32:34 2005] [notice] jrApache[init] added/activated proxy 
127.0.0.1:51010

For each second, I have 20 or 30 messages like that. I just looked at google 
but I couldnt find anything. Any idea?

Tks in advance!

Fernando Barros

 



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[users@httpd] Estrange Redirection

2005-05-24 Thread Fernando Remus Nagel
I have installed the Apache httpd serve on my machine.

When I try to access my page stored in httpd, it redirects to my modem!

What can be happening?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]