Re: [us...@httpd] php

2009-05-20 Thread Stephen Love
She's on the right track... I have Apache with PHP installed, one instance, and serve 18 websites out of it concurrently. ONLY one loaded copy of either... works just fine. Writing mysites in STDIO in/out thru visual basic AND now in PHP to elimiinate MOST of the VB .exe script files... but lik

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread Joseph Morgan
I think you've answered your question. Take out Apache. Leave Tomcat where it is, and just hit Tomcat directly. Nothing wrong with opening port anything on app servers, just not the norm. However, an internal app on an internal machine, you should be fine. si...@allumezinfotech.com wrote: >> W

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread singh
This is pretty cool explanation .. thanks so much and absolutely my bad this particular thing of port 80 should be asked in tomcat user group ;) But any thoughts on handling of load for tommcat and apache in this case : 2500 hits / min. > si...@allumezinfotech.com wrote: >> >> This is one thing i

Re: [us...@httpd] apache 2.2.3, virtual host and balancer manager. Only one balancer can be monitored

2009-05-20 Thread mboxdario-apache
Well... it didnt worked, because i didn't rebooted httpd, but balancer-manager now is working for all vh sites. It has to be defined globally (probably the location /balancer-manager directive which can not have scheme or server name), outside virtual host definition. Sorry for the noise. Gr

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread palewire
Sean -- Thanks for the lengthy and thoughtful response. What I've found most successful so far is hunting through the lsof | grep http and finding ways to eliminate unnecessary files. And I'm also exploring an expansion of my production resources to include a second tier machine that houses the

Re: [us...@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script

2009-05-20 Thread Dan Yamins
>If you just rebuild the system caches, does that help? > (as root) > # rm /var/cache/fontconfig/* > # fc-cache -f -v Well -- so I guess since my fontconfig installation is via macports, Ryan was right in suggesting that my fontconfig was in /opt/local. BUt cleaning it doesn't seemed to ha

Re: [us...@httpd] apache 2.2.3, virtual host and balancer manager. Only one balancer can be monitored

2009-05-20 Thread mboxdario-apache
I have read doc again, and after testing a little I think I should move "Location" directive to a different file (outside vh definition), in order to make "sense", but results are the same... Thank you again. --- El mié 20-may-09, mboxdario-apa...@yahoo.com.ar escribió: > De: mboxdario-apa

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread Sean Conner
It was thus said that the Great Andr Warnier once stated: > > Another thing : it looks from your lsof list, that you are using the > Apache "prefork" model. > I don't remember precisely your configuration or the kind of load or > processes you are running, but you might try the "worker" (threade

Re: [us...@httpd] Mod_rewrite and mod_proxy_balancer

2009-05-20 Thread mboxdario-apache
sorry for asking... I do not understand why you use rewrite... I would use "Location" or "ProxyPass" directive. Simpler... Can not do a test now... but it seems pretty straight forward. --- El mié 20-may-09, ricardo figueiredo escribió: > De: ricardo figueiredo > Asunto: Re: [us...@httpd] M

[us...@httpd] apache 2.2.3, virtual host and balancer manager. Only one balancer can be monitored

2009-05-20 Thread mboxdario-apache
We have configured an apache http server instance to serve as load balancer between 3 aplications and 6 tomcat nodes, each application served by 2 nodes each, using virtual host and mod_proxy_balancer. This is the file which we use to set the first applicacion "A" to be served by nodes sftomca

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread André Warnier
si...@allumezinfotech.com wrote: This is one thing i have heard from many what's the big deal in opening port 80 of app servers? any pointers There is no big deal having Tomcat answer directly on port 80. This topic then would be better posted on the Tomcat users mailing list, but in a nutshe

Re: [us...@httpd] Mod_rewrite and mod_proxy_balancer

2009-05-20 Thread ricardo figueiredo
Anyone ??? Or my English isn't good ?? Ricardo On Wed, May 20, 2009 at 3:13 PM, ricardo13 wrote: > > Hi all, > > I have a web cluster with 6 machines. Three machines serve only clients > (class 1) and others serve only normal users (class 2). > I use apache with modules mod_rewrite and mod_pro

Re: [us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-20 Thread Pete Nesbitt
On Wednesday 20 May 2009 01:43:00 pm Justin Pasher wrote: > Pete Nesbitt wrote: > > Hi, > > We are changing one of our domain names which has about 150 > > host/subdomains. Apache version is 2.0.52 on RHEL4 > > > > Current http_host's would look something like this: > > service1.old-domain.com > >

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread singh
> > Well, of course, directly to tomcat. Every link in the chain makes the > chain longer and heavier, but you generally cannot lock the gate with a > one-link chain. Apache and Tomcat will do some caching, so it may not > matter. > > Is Tomcat and Apache on the same physical machine? -- Yes Are

Re: [us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-20 Thread Justin Pasher
Pete Nesbitt wrote: Hi, We are changing one of our domain names which has about 150 host/subdomains. Apache version is 2.0.52 on RHEL4 Current http_host's would look something like this: service1.old-domain.com service2.old-domain.com host1.subdom1.old-domain.com etc... I need to make them re

Re: [us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-20 Thread Pete Nesbitt
On Wednesday 20 May 2009 01:23:38 pm André Warnier wrote: > Pete Nesbitt wrote: > > Hi, > > We are changing one of our domain names which has about 150 > > host/subdomains. Apache version is 2.0.52 on RHEL4 > > > > Current http_host's would look something like this: > > service1.old-domain.com > >

Re: [us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-20 Thread André Warnier
Pete Nesbitt wrote: Hi, We are changing one of our domain names which has about 150 host/subdomains. Apache version is 2.0.52 on RHEL4 Current http_host's would look something like this: service1.old-domain.com service2.old-domain.com host1.subdom1.old-domain.com etc... I need to make them re

[us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-20 Thread Pete Nesbitt
Hi, We are changing one of our domain names which has about 150 host/subdomains. Apache version is 2.0.52 on RHEL4 Current http_host's would look something like this: service1.old-domain.com service2.old-domain.com host1.subdom1.old-domain.com etc... I need to make them read: service1.new-domain

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread palewire
awarnier wrote: > > I could not say that. Only you really know which modules you load with > the LoadModule directives, and which ones you really need for your > configuration and applications. > > Taking into account that libraries (stuff like the > /usr/lib/libkrb5.so.3.3 for instance) ar

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread André Warnier
Ben Welsh wrote: Thanks for your thoughts Andre. As I recollect, I think some of the these errors started cropping up around the time I compiled the python module numpy on the server. And I think that fortran and a lot of those deadweight file objects are its children. Perhaps if I scaled by the

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread Ben Welsh
Thanks for your thoughts Andre. As I recollect, I think some of the these errors started cropping up around the time I compiled the python module numpy on the server. And I think that fortran and a lot of those deadweight file objects are its children. Perhaps if I scaled by the server to no longer

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread André Warnier
palewire wrote: For what it's worth, I've taken the additional step of running `lsof |grep httpd > http.dump` and posting it online. My understanding is that this shows all of the httpd open files that are adding up to my high totals. http://gist.github.com/114943 If anyone who understands this

[us...@httpd] Mod_rewrite and mod_proxy_balancer

2009-05-20 Thread ricardo13
Hi all, I have a web cluster with 6 machines. Three machines serve only clients (class 1) and others serve only normal users (class 2). I use apache with modules mod_rewrite and mod_proxy_balancer. Use mod_rewrite to classify (between class1 and class2) incoming requests and mod_proxy_balancer f

Re: [us...@httpd] php

2009-05-20 Thread Sheryl
Hi, Did you do a separate compile for each instance of apache? If so, that wasn't necessary. You can run as many sites as you want off one compiled copy and use calling parameters and globals to point each one to a different httpd.conf. But if they're all compiled the same way you should be abl

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread palewire
For what it's worth, I've taken the additional step of running `lsof |grep httpd > http.dump` and posting it online. My understanding is that this shows all of the httpd open files that are adding up to my high totals. http://gist.github.com/114943 If anyone who understands this better than me h

RE: [us...@httpd] Where is the HOW-TO for creating a FIPS 140-2 Apache 2.2.x ?

2009-05-20 Thread Sam theman
Maybe I should have said "how do you validate that apache+mod_ssl (or whatever openssl driver) is using the certified fips 140-2 mode? (openssl IS certified) > Date: Wed, 20 May 2009 11:42:10 -0400 > From: cove...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Where is the

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread palewire
Igor Cicimov wrote: > > Have you considered increasing the open files limit? Have a look at the > ulimit command. The default is sometimes not enough. > > Cheers, > > Igor > Thx for your time and attention. I have considered fiddling with the open files liimits, but frankly before I go too

Re: [us...@httpd] Where is the HOW-TO for creating a FIPS 140-2 Apache 2.2.x ?

2009-05-20 Thread Eric Covener
On Wed, May 20, 2009 at 11:38 AM, Sam theman wrote: > Anyone else actually know how to certify that apache and ssl are FIPS 140-2 > certified? I might be mistaken, but no matter what you do the solution won't be "certified". -- Eric Covener cove...@gmail.com ---

RE: [us...@httpd] Where is the HOW-TO for creating a FIPS 140-2 Apache 2.2.x ?

2009-05-20 Thread Sam theman
Thanks, but I do NOT think that just building apache with with a fips openssl is enough. I think the module (mod_ssl?) must use the FIPS 140-2 mode... it is an option... Anyone else actually know how to certify that apache and ssl are FIPS 140-2 certified? Sam > Date: Tue, 19 May 2009 08:3

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread Joseph Morgan
Well, of course, directly to tomcat. Every link in the chain makes the chain longer and heavier, but you generally cannot lock the gate with a one-link chain. Apache and Tomcat will do some caching, so it may not matter. Is Tomcat and Apache on the same physical machine? Are there other t

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread singh
Thanks for reply guys but i think i didnt put my question right ;( let me rephrase it : What is better in terms of response and resource utilisation when we have 2500 hits / min : 1. Directly on tomcat 2. Apache > AJP > tomcat Provided : Not static content to be served. > > You can make the r

Re: [us...@httpd] unsubscribe

2009-05-20 Thread Evan Platt
As the headers of every message say: list-unsubscribe: At 07:57 AM 5/20/2009, Cyril Spiro wrote: - The official User-To-User support forum of the Apache HTTP Server Project. See h

[us...@httpd] unsubscribe

2009-05-20 Thread Cyril Spiro

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread Joseph Morgan
You can make the request directly to Tomcat. What port is Tomcat listening on? Are you willing to open that port directly? Think about who/what is accessing that servlet. They will need to know that port. Is that OK? si...@allumezinfotech.com wrote: > Any Suggestions please? > > >> We

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread Tom Evans
On Wed, 2009-05-20 at 07:55 -0600, si...@allumezinfotech.com wrote: > Any Suggestions please? > > > We have a single servlet application very light weight. > > > > It is just like that servlet is called with some parameter and it returns > > some file from "n" number of files on local file system.

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread singh
Any Suggestions please? > We have a single servlet application very light weight. > > It is just like that servlet is called with some parameter and it returns > some file from "n" number of files on local file system. > > It is an old application and some how it is having apache in front of > tom

Re: [us...@httpd] How To Secure My Site?

2009-05-20 Thread Jonas Eckerman
Carlos Williams wrote: I would like to know if I can use the certificate that is used when accessing the /var/www/html/int/main as well as for /var/www/html/ext/main/webmail? You can use the same certificate if the hostnames are the same or the certificate is valid for all used hostnames. Reg

Re: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-20 Thread Jonas Eckerman
BipinDas-Gmail wrote: My goal is to set up this server for serving around 2000 connections simultaneously with minimum load. Any more changes to be needed ? Do you need to have 2000 simultaneous *open* connections, or do you simply need to serve 2000 users simultaneously visiting your web si

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-20 Thread tirengarfio
Thanks both! It is working now. =) Ciao Javi awarnier wrote: > > tirengarfio wrote: >> Hi again, >> >>> Or just enter >>> a2ensite www.domain.com >> >> After that and reload apache (/etc/init.d/apache2 reload) i get this >> error: >> >> Sintax error on line 22 of /etc/apache2/sites-enabled

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-20 Thread André Warnier
tirengarfio wrote: Hi again, Or just enter a2ensite www.domain.com After that and reload apache (/etc/init.d/apache2 reload) i get this error: Sintax error on line 22 of /etc/apache2/sites-enabled/svn.domain.com: LogLevel takes one argument, Level of verbosity in error logging ...fail! Th

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-20 Thread tirengarfio
Hi again, > Or just enter > a2ensite www.domain.com After that and reload apache (/etc/init.d/apache2 reload) i get this error: Sintax error on line 22 of /etc/apache2/sites-enabled/svn.domain.com: LogLevel takes one argument, Level of verbosity in error logging ...fail! The line 22 is this:

RE: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-20 Thread BipinDas-Gmail
Thanks for your nice help. I got what the problem now.. Greetings BipinDas From: Prasanna Ram Venkatachalam [mailto:vpra...@gmail.com] Sent: Wednesday, May 20, 2009 11:31 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache hangs when maximum connection beyond 2000 You

Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread Igor Cicimov
Have you considered increasing the open files limit? Have a look at the ulimit command. The default is sometimes not enough. Cheers, Igor On Wed, May 20, 2009 at 4:00 PM, Ben Welsh wrote: > Hello, > > I'm managing a pgsql --> django --> mod_python --> apache machine that > serves no media, but

Re: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-20 Thread Prasanna Ram Venkatachalam
Your server is using prefork only. If thats the case, at max load there might be enormous processes getting spawned and serving requests! The current values in prefork are not sufficient to handle this much connections (2000)! The MaxClients is set to 256 which is much lesser compared to 2000.I don

RE: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-20 Thread BipinDas-Gmail
Hi, Here follows the version and build parameters of my Server. I am not much expertise in Apache, I think I am using PREFORK. But both worker and prefork is enabled here. Server version: Apache/2.2.3 Server built: Nov 12 2008 10:40:14 Server's Module Magic Number: 20051115:3 Server l

Re: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-20 Thread Prasanna Ram Venkatachalam
First we need to figure out which model your Apache is using. If it uses worker this setting is also fine! Please remember, in worker ServerLimit is the maximum processes that can run simultaneously and ThreadsPerChild is the threads running inside each process! Since in worker model, each *thread*