[us...@httpd] Slowly growing memory usage
I've been seeing these strange issue on several machines recently where the Apache processes are growing in size steadily over time. If I run a pmap on them, they all have a large amount of anon shared memory being used. r...@host [~]# pmap -d 11886 | sort -rnk2|head mapped: 90908Kwriteable/private: 69444Kshared: 592K 08125000 67012 rwx-- 08125000 000:0 [ anon ] b747b0007244 r-x-- 000:00075 libphp5.so b6d6e0001336 r-x-- 000:00075 libxml2.so.2.7.6 b6a0f0001324 r-x-- 000:00075 ZendOptimizer.so b7be30001192 r-x-- 000:00075 libc-2.3.4.so b6f190001004 rwx-- 00056000 000:00075 libmysqlclient.so.15.0.0 b6b7 944 r-x-- 000:00075 ioncube_loader_lin_5.2.so b7133000 876 r-x-- 000:00075 libX11.so.6.2 08048000 868 r-x-- 000:00075 httpd This anon shared memory is common across all Apache children as I am obviously running libphp5. So my question is, is this mod_php doing it? Is there a way to stop this? I asked about this on irc and other places and the only suggestion was to set the MaxReqPerChild lower. I set this to 50 but it doesn't seem to have done anything. The only way it clears is if i stop apache completely. r...@host [~]# httpd -v Server version: Apache/2.2.15 (Unix) Server built: Mar 19 2010 20:20:01 Cpanel::Easy::Apache v3.2.0 rev5041 r...@host [~]# php -v PHP 5.2.13 (cli) (built: Mar 19 2010 20:29:27) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v3.3.14, Copyright (c) 2002-2010, by ionCube Ltd., and with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies Chris
Re: [us...@httpd] Redirecting URL to a location
On Wed, Apr 28, 2010 at 12:06 AM, Igor Cicimov icici...@gmail.com wrote: On the second thought this should work (tested): Location /notes DirectorySlash On /Location This actually doesn't work because of a very key piece of information that I had omitted -- the proxied web server won't accept http://127.0.0.1:5001//, only http://127.0.0.1:5001/. So although /notes will work with DirectorySlash On, /notes/ will take me to the // URL, when I would like both to take me to the / URL. Any way, shouldn't the trailing slash automatically be added by mod_dir starting from apache2.0.5? I'm using apache2.2.14-5ubuntu8 -- Yang Zhang http://yz.mit.edu/ - 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] Redirecting URL to a location
Thanks! I'll use this for now, but is there a way to do without a redirect? On Wed, Apr 28, 2010 at 1:08 AM, Luc Bastiaenssen luc.bastiaens...@ua.ac.be wrote: Another way to consider is to use a redirect like this: RedirectMatch permanent ^/notes([/]*)$ /notes/ Luc On 28/04/2010 9:06, Igor Cicimov wrote: On the second thought this should work (tested): Location /notes DirectorySlash On /Location Any way, shouldn't the trailing slash automatically be added by mod_dir starting from apache2.0.5? Igor On Wed, Apr 28, 2010 at 4:51 PM, Edgar Frank ef-li...@email.de wrote: 2010/04/28 Yang Zhang Everything works fine, but is there a simple way for me to make /notes get redirected to /notes/? Hi, first - IIRC you can't rewrite inside a location. Secondly - you want the PT-Flag in your rewrite rule. This allows the Location-handler to kick in after the rewrite - otherwise the URL respectively the result of the rewrite is considered as mapped to filespace. Regards, Edgar - 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 -- -- Yang Zhang http://yz.mit.edu/ emailbanner.png
Re: [us...@httpd] JuHun J Ryu is out of the office.
and Jonathan R. Zuckerman is out of coffee. On Fri, May 7, 2010 at 6:43 PM, juhun.j@kp.org wrote: I will be out of the office starting 05/07/2010 and will not return until 05/08/2010. I will be out of office for Success Rx in Pasadena. For Health Education, please call ext 3018. For Conference Room Scheduling, please call ext 2663. Thank you
Re: [us...@httpd] JuHun J Ryu is out of the office.
On May 8, 2010, at 4:24 PM, Jonathan Zuckerman wrote: and Jonathan R. Zuckerman is out of coffee. Also good to know. S. On Fri, May 7, 2010 at 6:43 PM, juhun.j@kp.org wrote: I will be out of the office starting 05/07/2010 and will not return until 05/08/2010. I will be out of office for Success Rx in Pasadena. For Health Education, please call ext 3018. For Conference Room Scheduling, please call ext 2663. Thank you -- Sander Temme scte...@apache.org PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF - 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] Reliable combined log sorting
In our configuration of Apache we push all logs to a single file via syslog-ng. I need to create some basic log analysis (like AWstats style) for a single domain out of several domains that post to that file. Any suggestions on a simple solution? -- Jason A. Nunnelley +1 2562971652 http://www.google.com/profiles/imjasonn [Member Tekany, LLC] - 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