Re: [users@httpd] Why does Apache use up all my memory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 09, 2005 at 11:05:49AM -0400, George Adams wrote:
> I have an Apache 2.0.54 server on a Gentoo Linux (2.6.11) box which has 
> 1Gig RAM and an additional 1Gig swap space.  The server handles a lot of 
> people downloading sermons from our church website (which are no larger 
> than 18Meg MP3 files), but I can't figure out how to keep the server from 
> running out of memory.
...
> And here's what the Apache "/server-status" URL showed earlier today (I had 
> just restarted the server, but it immediately filled up with download 
> requests, all from the same guy, apparently using a download accelerator 
> judging by the duplicate requests):
> ------------------------------------------------------------------------
> Srv      PID     M     CPU            Req     Request
> 0-0    15822    W     0.48             0    GET /out/181.mp3 HTTP/1.1
> 1-0    15823    W     0.00    1742573500    GET /out/388.mp3 HTTP/1.1
> 2-0    15824    W     0.00    1742573499    GET /out/238.mp3 HTTP/1.1

Are these all simple static files, or is /out/ handled by some CGI 
script etc?

...
> 15853 apache    18   0 98.9m  53m 2000 S  0.0  5.3   0:00.51 apache2

if when this happens, you can capture the output of e.g. "strace -p 
15853" as root, that might help.

joe

---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux