|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-19 05:05 UTC] sniper@php.net
[2001-08-19 21:36 UTC] katz at advanced dot org
[2001-08-19 21:40 UTC] katz at advanced dot org
[2001-10-03 14:21 UTC] katz at advanced dot org
[2001-12-12 04:08 UTC] yohgaki@php.net
[2001-12-12 04:13 UTC] yohgaki@php.net
[2002-01-02 14:00 UTC] lobbin@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
Under 4.0.6, my apache processes start segfaulting with the following problem after running (stable) for a period of time: [Tue Aug 7 16:53:30 2001] [notice] child pid 7139 exit signal Segmentation fault (11) Once this starts happening, it continues until i kill and restart the server. It will then run fine for some time, then happen again. The period of time that it runs stable decreases as hits increase .. Running with --enable-debug I get the following in the apache error log (I had issues generating a gdb backtrace, but if needed I can attempt again): /usr/www/thinkquest/common/nav_menu.inc(330) : Fatal error - Allowed memory size of 12582912 bytes exhausted at ../../Zend/zend_opcode.c:48 (tried to allocate 184320 bytes) /usr/www/thinkquest/common/scripts.inc(3062) : Fatal error - Allowed memory size of 12582912 bytes exhausted at ../../Zend/zend_opcode.c:48 (tried to allocate 11520 bytes) [Tue Aug 7 16:53:23 2001] Script: '/usr/www/thinkquest/index.html' --------------------------------------- ../../Zend/zend_opcode.c(172) : Block 0x08138E90 status: Beginning: Overrun (magic=0x401E8080, expected=0x7312F8DC) End: Unknown --------------------------------------- /usr/www/thinkquest/common/nav_menu.inc(330) : Fatal error - Allowed memory size of 12582912 bytes exhausted at ../../Zend/zend_opcode.c:48 (tried to allocate 184320 bytes) /usr/www/thinkquest/common/scripts.inc(1870) : Fatal error - Allowed memory size of 12582912 bytes exhausted at ../../Zend/zend_opcode.c:48 (tried to allocate 184320 bytes) ... and similar, over and over again.. however the script that it occurs in, and the line, are always different.. I tried increasing the amount of memory allowed per script, but it just uses all that up too.. As a note... everything runs fine under 4.0.5 .... I have cvs updates up to July 20.. The configuration parameters I used are: "../configure" \ "--prefix=/usr" \ "--with-apxs=/usr/bin/apxs" \ "--with-regex=system" \ "--with-config-file-path=/etc/php4/apache" \ "--disable-rpath" \ "--enable-debug" \ "--enable-memory-limit" \ "--enable-calendar" \ "--enable-sysvsem" \ "--enable-sysvshm" \ "--enable-track-vars" \ "--enable-trans-sid" \ "--enable-bcmath" \ "--with-bz2" \ "--enable-ctype" \ "--with-db2" \ "--with-ndbm" \ "--with-ldap=/usr" \ "--with-oci8=/usr/oracle/product/8.1.6" \ "--enable-sigchild" \ "--enable-exif" \ "--enable-filepro" \ "--enable-ftp" \ "--with-gettext" \ "--enable-mbstring" \ "--enable-mbstr-enc-trans" \ "--with-pcre-regex=/usr" \ "--enable-shmop" \ "--enable-sockets" \ "--enable-wddx" \ "--with-xml=/usr" \ "--with-expat-dir=/usr" \ "--enable-yp" \ "--with-zlib" \ "--without-pgsql" \ "--disable-static" \ "--with-layout=GNU" \ "--with-curl=shared,/usr" \ "--with-dom=shared,/usr" \ "--with-gd=shared,/usr" \ "--with-jpeg-dir=shared,/usr" \ "--with-xpm-dir=shared,/usr/X11R6" \ "--with-png-dir=shared,/usr" \ "--with-freetype-dir=shared,/usr" \ "--with-imap=shared,/usr" \ "--with-mcal=shared,/usr" \ "--with-mhash=shared,/usr" \ "--with-mysql=shared,/usr" \ "--with-sablot=shared,/usr" \ "--with-snmp=shared" \ "--with-sybase-ct=shared,/usr" \ "--with-ttf=shared,/usr" \ "--with-t1lib=shared,/usr" The extension order i use is: gd.so imap.so mhash.so domxml.so mysql.so curl.so ( I tried removing domxml, mhash and curl and the problems were still there ) ... Also to throw in, I have OCI8 configured with Oracle 8.1.6 (as seen above) .. linked with pthreads and using Apache 1.3.20... Any more info if needed can be provided.