Re: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-28 Thread PMilanese
What is the persistence setting on the Load Balancers? Is it different if persistence is turned off competely? Weighting servers will throw this off completely. Thanks- Peter J. Milanese, Senior Systems Engineer Information Technology Group The New York Public Library pet...@nypl.org - 212.621.0

Re: [us...@httpd] Re: Runaway Apache Process

2010-01-28 Thread PMilanese
> > > > > Obviously not in this case as this person wouldn't ne here complaining about > > apache and its processes.  The issue here is the CPU is too weak even if it > > is a 2.4Ghz processor.  The E2220 isn't suitable for a server processor. > >  Its strictly for home computing.  I help remote a

[us...@httpd] mod_auth_ldap against AD issue

2009-04-17 Thread PMilanese
Greetings- I'm sure there is a more focused approach, but figure someone on this list will have had this experience. I setup authLDAP to AD's LDAP on one of our boxes that is not running winbind, with version 2.2.8 of apache. Config Below- Order deny,allow

[EMAIL PROTECTED] New implementation, shared binaries?

2008-08-05 Thread PMilanese
Hi folks- I am implementing a new infrastructure. It consists of pre-dev, dev, staging, and production boxes behind F5's. I also implemented a Polyserve matrix over the SAN. That being said, what's everyone's take on shared binaries with the apache configs macro'd to the hostnames (including

RE: [EMAIL PROTECTED] Re: Can Anyone Recommend A Log Analyzer?

2005-11-14 Thread PMilanese
Before we started spending money on analytics, I did some work with analog and webalizer. Both are decent tools for the task. Once the demand started to increase, I took peices of openstats (does anyone else even know of this one?) and did a bit of work to it. Made it real-time, added demogr

RE: [EMAIL PROTECTED] Apache stops listening

2005-10-31 Thread PMilanese
About once a week or so Apache just stops listening and we have to restart the Apache service. I had found in one of my php scripts a problem with some database calls. The result set was being populated over and over again in a loop that may occur several thousand times. I added an un

RE: [EMAIL PROTECTED] [httpd 1.3] 100% CPU utilization

2005-09-27 Thread PMilanese
> Hello, > > I have a very unusual problem running httpd 1.3.27 on Solaris 2.8. The > daemon is forking and consuming 80-95% of the CPU and meanwhile requests > are just hanging. Nothing seems to be making it into the logs. We're > totally perplexed about this one. Unfortunately these produ

RE: [EMAIL PROTECTED] File upload

2005-09-23 Thread PMilanese
Not to sound harsh or anything, but hows about some more ram? -Original Message- From: Carl Wistedt [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 9:06 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] File upload Hi! I have been tampering with a little problem for a

RE: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread PMilanese
Fedora is nothing more than a sanctioned carry-forth of former Redhat development. There is no declaration on what platform it has to be used. Let us not forget that it is nothing more than a linux distribution. Personally I do not care for the RH Enterprise stuff, and I am certain that others have

RE: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-17 Thread PMilanese
Did you debug the code? Throw in some timers? Run some stats on your queries? I do not think that any of the process timeouts will do anything for you, but I think you already found that out. What have you done on the oracle side to test this? Is the root of the problem: It takes too long to

RE: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread PMilanese
Is that all you're running? Are you running any fancy xml nonsense? Xslt? Any other preprocessors? Sometimes those open up a bizzilion temp files. Especially search indexes (like lucene) if the indexes are not built correctly. -Original Message- From: Oliver Kirchel [mailto:[EMAIL PROT

RE: [EMAIL PROTECTED] Coldfusion server question

2005-07-22 Thread PMilanese
Of course. You will probably have to install CF again in order to use it with Apache though. If you're talking completely separate on a different port, you can just install Apache. If you want CFMs on Apache sites, reinstall CF. -Original Message- From: Lorin Kaneff [mailto:[EMAIL PROTECT

RE: [EMAIL PROTECTED] Speed

2005-07-21 Thread PMilanese
DNS would provide a longer delay I would think. At least if it were unreachable. If DNS is unstable and not answering correctly (intermittently), then perhaps that's it. I'd check to see how lookups on the server respond (dig/nslookup) regardless. The default last I knew was 3 tries 5 seconds each.

RE: [users@httpd] C compiler cannot create executables

2005-06-29 Thread PMilanese
I recall needing libarc and libm as well-   P   From: Gustavo A. Baratto [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 1:07 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] C compiler cannot create executables   Not legally as far as I know.  

RE: [users@httpd] Apache2 hangs w/o responding on FBSD 5.4

2005-06-28 Thread PMilanese
A- Have you checked out the system vitals when it hangs (cpu waits?RAM?)? B- Have you checked db connections when it hangs? Never say something is not a problem if you do not know what the problem is. You may only be getting 50 hits to the thing, but it'll only take one good one to take it down.

RE: [users@httpd] Samba share related 404's

2005-06-24 Thread PMilanese
Is the client making typos when trying to get to the samba share? I.e. typing "blah.blah.com/share" instead of \\blah.blah.com\share? -Original Message- From: Boyle Owen [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 8:54 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTEC

RE: [users@httpd] Remote Logging access_log with syslog-ng

2005-06-15 Thread PMilanese
You can pipe vhosts to their own logs. There is no way that I know of to put this in the main config though (i.e. servername as a variable), so you need to create CustomLog entries for each vhost, putting the servername as an argument (or in the filename).   P   From: Jan van de

RE: [users@httpd] Error at installing apache.rpm

2005-06-14 Thread PMilanese
Whoops.   Go back to that site. The other packages are there as well.   Apache2-mpm should be the apache2-worker on the site I think.       From: Peter J Milanese Sent: Tuesday, June 14, 2005 8:25 AM To: 'users@httpd.apache.org' Subject: RE: [EMAIL PROTECTED] Error at inst

RE: [users@httpd] Error at installing apache.rpm

2005-06-14 Thread PMilanese
You   From: Andreas Bauer [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 6:57 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Error at installing apache.rpm   Hello!   Installing apache rpm file: apache2-2.0.50-7.2.i586.rpm from Suse Server: ftp://ftp.gwdg.

RE: [users@httpd] Web server corrupting image?

2005-06-09 Thread PMilanese
Open the file, save it as another name, and try it again. The header may be corrupt or something. While many graphics apps overlook that stuff, I do not think browsers are smart enough to do so. I assume you are sure that it is a .gif, because if not it could just be a mime issue. -Origin

RE: [EMAIL PROTECTED] VirtualHost & index.htm

2005-06-08 Thread PMilanese
Add it to the DirectoryIndex (search for index.html in the httpd.conf file)   From: Beth Curotto [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 11:28 AM To: Apache HTTPd List Subject: [EMAIL PROTECTED] VirtualHost & index.htm   Is there a reason why site will only

RE: [users@httpd] Name-based Virtual Host

2005-06-08 Thread PMilanese
That should do it. DNS should be good as well. -Original Message- From: Beth Curotto [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 5:10 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Name-based Virtual Host More like this? NameVirtualHost *:80 # Virtual Host

RE: [users@httpd] Re: weird httpd processes

2005-06-07 Thread PMilanese
Try adding times to the apache access log, and look for the bigger ones. The CPU use is probably WAIT time for database access or script parsing. -Original Message- From: kalin mintchev [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 1:52 PM To: Nathan Kinkade Cc: freebsd-quest

RE: [users@httpd] Is this a hacking attempt ?

2005-06-07 Thread PMilanese
Could be a spider. Google, or Akmai or something... Did the directory/files exist at one point? Their indexer checks to see if the page exists and corrects itself. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 12:08 PM To: users@httpd.

RE: [users@httpd] redirect document root

2005-06-07 Thread PMilanese
You are better off writing something to change all of the code (search/replace) and make it all relative (site independent). Either that, or just put it where it likes to be. If you have it setup as a vhost or the site is on its own, you can just do a redirect into the /ao/ directory, and it may

RE: [users@httpd] CustomLog directive in container breaks Apache

2005-06-07 Thread PMilanese
How about your error log? What does it say? This should be no problem. Does the log dir exist? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 7:47 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] CustomLog directive in containe

RE: [users@httpd] redirect document root

2005-06-07 Thread PMilanese
How about this one: mv ao/* . I'd figure its absolute links causing the problem after reading this a few times. If you run a rewrite as you state, it will redirect the root only. Meaning if you go to the site's root, it will push you to /ao/, but any links you click (if it is not a relative site

RE: [users@httpd] Large file upload problem!

2005-06-06 Thread PMilanese
Did you adjust all of your timeouts to allow for the upload? That is a lot to ask of the protocol in my opinion. You should find another way to do it. -Original Message- From: Harish Sundaram [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 10:42 AM To: Apache Forum Subject: [EMAIL

RE: [users@httpd] Problem with IE

2005-06-06 Thread PMilanese
It is highly unlikely to be apache. Look into your code, and perhaps join a group associated with this. What is the standard 'ding' sound, and what is the error? P -Original Message- From: Philippe Reynolds [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 11:10 AM To: users@httpd.

RE: [users@httpd] Are cookies associated with connection?

2005-05-25 Thread PMilanese
In my experience, cookies are not associated with any connection. Normally, to ensure no cookie type session hacking, there is some sort of encryption of variables associated with generating cookies. I have written several such mechanisms, and would suggest the same. This way, it is secure througho

RE: [users@httpd] What software do you use for Apache log statistics generation ?

2005-05-25 Thread PMilanese
Maxim- Depends on what you want, how much there is, and how fast you want it. Oh.. Also depends on whether you want it to cost anything or not. If you want demographics and what-not, which are reliable (not whois based), then go with something commercial since they generally maintain some so

RE: [users@httpd] log rotation for apache 2.0.54 on w2k3 server ?

2005-05-23 Thread PMilanese
It should work if you precede the " " with a "\". I.E. - Program\ Files -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 7:11 AM To: users@httpd.apache.org; [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] log rotation for apache 2.0.54 on

RE: [EMAIL PROTECTED] Mass Virtual Hosting

2005-05-20 Thread PMilanese
GFS - Global, or Google? I'm assuming Global File System. I'm a big fan of avoiding ANY network or storage sharing. Although not likely, if the SAN takes a hit, your screwed. A large farm of decent size boxes, less variables. This is coming from a controlled environment. Hosting will likely be p

RE: [EMAIL PROTECTED] How to make apache to fix the url in the browser? (different question)

2005-05-20 Thread PMilanese
I do not know how this can be possible. Apache does not 'tell' the browser anything unless it forwards (redirects) the request. In this case it would be forwarding it to itself. If you 'tell' the browser something, it will go there. There is no way to my knowledge that you can 'tell' the browser to

RE: [users@httpd] web server slow too much slow

2005-05-20 Thread PMilanese
Perhaps your ISP has done something to filter or slow it down (like Packeteer or something). Perhaps is is coincidental. Do you still have the windows box to see if it is still slow? Did you try running your webserver on another (preferably high) port? -Original Message- From: [EMAIL PROTE

RE: [EMAIL PROTECTED] Mass Virtual Hosting

2005-05-20 Thread PMilanese
Just adding a bit more experience to the pile. Hope it is useful. (inline)- - how to point the ftp to the right direction, since you'll have several machines, the data won't be centralized (would the FTP server mount all the disks thrugh NFS (??) or would you use AFS to have a single big dist

RE: [EMAIL PROTECTED] Apache 2 - Visit based connection limiting.

2005-05-20 Thread PMilanese
Bad idea with all those proxy farms out there (AOL, etc) -Original Message- From: Jason Czerak [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 10:47 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Apache 2 - Visit based connection limiting. What I wish to accomplish is a vi

RE: [users@httpd] web server slow too much slow

2005-05-20 Thread PMilanese
If it is fast locally (on the SUSE box), and slow on another box on the local network, then it MAY be DNS lookups. You likely do not have a reverse address for your local network (192.x.x.x), so it would definitely timeout. Were you running apache on windows, or IIS. The timeouts are probably hand

RE: [users@httpd] web server slow too much slow

2005-05-20 Thread PMilanese
He was referring to your SUSE box doing lookups. In the apache config, make sure 'HostnameLookups Off' is there. I cannot even get to your site, so I don't know the status. Is it slow when you hit it locally (If you have X on the SUSE box)? Default lookups timeout after 5 seconds, and default ret

RE: [users@httpd] Migrating to new server

2005-05-18 Thread PMilanese
Looks to me like it may still be a permissions issue. It can’t find the file because it cannot read the directory, and it can’t read the file so it bounces permission denied. What user is apache(http) run as (ps –ef), and what are the permissions of the directory? (ls –la /home/web/includes

RE: [users@httpd] windows user

2005-05-18 Thread PMilanese
Byron- Please start by reading documentation. From what you are writing, it is not clear that you have an understanding enough to ask the right questions. Without this, you will get nothing but inconclusive responses. Thanks- P -Original Message- From: Byron Dickson [mailto:[EMAIL PRO

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
>> I merely stated that this would be expensive on the server side, >No, you haven't (or you haven't provided any arguments to support this >claim). You would not be transferring any more data than you already do. >You would actually be transferring less because you have vastly less TCP >connecti

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
>> >> How would dynamic stuff work? >Uuhh the same way as always? >> What if your image is on another server farm? >Uuhh then you use the system we already have? Who are you talking to? You stated "I always thought it would make a lot more sense to transfer some or all images (and CS

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
>I've been thinking for almost 10 years now that HTTP is really dumb >because it has problems like this one. I always thought it would make a >lot more sense to transfer some or all images (and CSS and JS) within >the same request as the containing HTML page. Then your problem would go >away b

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
Your IP solution is more expensive in my opinion. It is expensive to you, and does little to solve the problem. You are not identifying the client. You are identifying what your server thinks the client is. BIG difference. Especially with the oodles of NATing going on in our lovely world. -O

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
More (probably too much more) on the subject... Many browsers, and others (when the user knows a few things) can fake the refferer, so if it is a serious problem for you, then you 'may' not benefit from any of this. I am drawing up a token system to try to handle this, which may be cookie based.