[users@httpd] "Out of memory" logging format

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

 



Hi,

I'm having quite some troubles recently with one of our 2.0.54 apaches.
At some point one child would eat up all memory available (RSS and VSZ)
and make the system almost unuseable.

The problem itself is probably related to some obscure headers issue
within apache, but that's not my question.

What I did for now to prevent the memory consumtion was to ulimit the
RSS and VSZ available to apache and for now we are quite happy with that
(and no one of our customers has complained so far :-)

Yet of course I would like to know the exact time and circumstances when
such a situtation occurs. When reaching the memory limit, apache
produces log entries like this:

-----------CUT-----------
[...]
^GOut of memory (Needed 8164 bytes)
^GOut of memory (Needed 8164 bytes)
^GOut of memory (Needed 8164 bytes)
^GOut of memory (Needed 8164 bytes)
^GOut of memory (Needed 8164 bytes)
FATAL:  erealloc():  Unable to allocate 76 bytes
-----------CUT-----------

Now what I would like to have is a more informative logging message,
such as which URL caused the error.

Is that possible?

Udo Rader

-- 
bestsolution.at EDV Systemhaus GmbH
http://www.bestsolution.at


---------------------------------------------------------------------
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