You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by David Palomar Saez <da...@paisvirtual.com> on 1999/10/18 20:52:28 UTC

general/5165: Out of Memory during high loads

>Number:         5165
>Category:       general
>Synopsis:       Out of Memory during high loads
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Oct 18 13:10:04 PDT 1999
>Last-Modified:
>Originator:     david@paisvirtual.com
>Organization:
apache
>Release:        1.3.6 1.3.9
>Environment:
Linux pais1.paisvirtual.com 2.2.11 #6 Mon Oct 18 10:11:08 CEST 1999 i586 unknown
Linux RedHat 6.0
insmod -V
	insmod version 2.1.121 
gcc --version
	egcs-2.91.66
ld -v
	GNU ld version 2.9.1 (with BFD 2.9.1.0.23)
ls -l /lib/libc.so.*
	/lib/libc.so.6 -> libc-2.1.1.so
ldd --version
	ldd (GNU libc) 2.1.1 
ls -l /usr/lib/libg++.so.*
	/usr/lib/libg++.so.2.7.2 -> libg++.so.2.7.2.8
ps --version
	procps version 2.0.2
pstree -V
	pstree from psmisc version 18
hostname -V
	net-tools 1.51
	hostname 1.98 (1998-02-27) 
basename --v
	basename (GNU sh-utils) 1.16
>Description:
#0  0x400aa111 in __kill ()
#1  0x400a9d66 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x400ab447 in abort () at ../sysdeps/generic/abort.c:88
#3  0x400a3e8e in __assert_fail () at assert.c:59
#4  0x8086662 in log_ssl_info ()
#5  0x80ba369 in ap_note_subprocess ()
#6  0x80ba438 in ap_spawn_child ()
#7  0x80866b1 in log_ssl_info ()
#8  0x8086922 in log_ssl_info ()
#9  0x80bea19 in ap_init_modules ()
#10 0x80c87bd in main ()
#11 0x400a3cb3 in __libc_start_main (main=0x80c84ac <main>, argc=1,
    argv=0xbffffd74, init=0x80621dc <_init>, fini=0x8117a6c <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd6c)
    at ../sysdeps/generic/libc-start.c:78
(gdb)     

With the base RedHat 6.0 I installed and copiled Apache 1.3.6 source distributions.
I don't detected any fail during normal tests, but, whe I opened the server to 
Internet I got serveran "Out of Memory" in console, which causes the lost of all
the tcp services. 

I have noticed that the server start to an initial memory size, but, it increases
its memory ocupation while it serves the http recuests. This behavioral is visible
with 'free'. The increase rate depend on the http reques frecuenci. Finally, 
if I kill all httpd proceses the memory keep ocuped.	  
>How-To-Repeat:
I think you could repeat this problem in an Intel Pentium with redhat 6.0 and 
apache. 	
>Fix:
Please, help.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]