This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.
| « | May 2005 | » | ||||
|---|---|---|---|---|---|---|
| Su | Mo | Tu | We | Th | Fr | Sa |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
Digitial Commercial Transition Video
Audio mixing with VMWare on Linux host
24 hours of Google Reader Shared Items
links for October 2, 2008
NuevaSync
Virtual Machines
Moving to Windows
Vista on Mac mini
Insecure wifi
links for September 7, 2008
I think that the server problem that I mentioned before is a memory leak in apache. When I restart apache, each of the worker threads take up a certain amount of memory. Then I make a request to a simple php script, and then the resident memory has increased after.
The simple script that I am using is:
<?php phpinfo(); ?>
Before running the script here is the memory used by apache:
root 21667 0.0 2.4 22556 11580 ? S 18:13 0:06 /usr/sbin/httpd apache 4002 0.0 2.4 22596 11636 ? S 23:14 0:00 /usr/sbin/httpd apache 4003 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4004 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4005 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4006 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4007 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4008 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4009 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd
Then after running the script:
root 21667 0.0 2.4 22556 11580 ? S 18:13 0:06 /usr/sbin/httpd apache 4002 0.0 2.4 22708 12004 ? S 23:14 0:00 /usr/sbin/httpd apache 4003 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4004 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4005 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4006 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4007 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4008 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd apache 4009 0.0 2.4 22580 11600 ? S 23:14 0:00 /usr/sbin/httpd
It appears that the worker thread that handled the request is now using about 100KB more memory. This is not a real big deal for a small file like this, but for this blog, the worker thread grows about 12MB.
I assume that once a thread is done with a request, all of the memory used for that request should be freed.
I have temporarily fixed this in two ways:
Next I want to look through all of the modules that are being included to see if I can disable some to free memory
This
work is licensed under a
Creative Commons License.
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
January 2004
Electronics [206]

Computer [766]

Blogging [112]

Links [71]

Cars [64]

General [134]

Gadgets [62]

Phone [46]

Family [13]

Games [26]

moblog [4]

Hardware [19]

Third Time Dad
Engadget
Autoblog
Geek News Central
Jessica's Blog
atmaspheric | endeavors
Paint the Tiger • Carve the Swan
TiVoBlog
SuperJason's Personal Blog
Forever Geek
sprocket i/o
Slacy's Blog