Re: [PHP] 4.1.1 Causes Signal 11 On FreeBSD 4.5 / Apache 1.3.22

2002-01-15 Thread Tim Gustafson

  I am experiencing a lot of Signal 11's when I compile PHP 4.1.1 into my
  Apache server on my FreeBSD 4.5-RC machine.  If I compile the -exact-
same
  Apache configuration with PHP 4.0.6, it works fine.  As soon as I switch
to
  4.1.1, it causes Signal 11's (and sometimes 10's) when I load certain
pages.
  It seems that it crashes when the pages have mySQL database access on
them
  and are fairly complex (I was thinking perhaps a memory problem?)

 You somtimes get 10's?  That's a SIGUSR1 and not something that will take
 down your server.  It would actually cause a graceful restart of Apache,
 but I don't see how anything we do in PHP could cause spurious sig10's.
 Get a backtrace of one of the sig11's.  Without that there isn't much hope
 of us tracking this down.

No, it doesn't take the server down.  It kills one of the child processes
off and apache starts a new one.  And yes, it's sig 10's and sig 11's
interchangeably.  I re-complied everything from scratch to make sure it's
not a glitch and I get the same results now.  How can you backtrace
something?  I'm not a C developer, so I don't really know what you're
talking about.

Tim




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] 4.1.1 Causes Signal 11 On FreeBSD 4.5 / Apache 1.3.22

2002-01-13 Thread Tim Gustafson

Hello

I am experiencing a lot of Signal 11's when I compile PHP 4.1.1 into my
Apache server on my FreeBSD 4.5-RC machine.  If I compile the -exact- same
Apache configuration with PHP 4.0.6, it works fine.  As soon as I switch to
4.1.1, it causes Signal 11's (and sometimes 10's) when I load certain pages.
It seems that it crashes when the pages have mySQL database access on them
and are fairly complex (I was thinking perhaps a memory problem?)

The machine that it runs on is, hardware wise, very stable - it's been using
the same memory, processor, hard drive and motherboard for almost a year
with no problems, and no other daemons crash or cause any signals at all.

Has anyone else experienced this problem?  Any ideas on what may be the
cause?

Here's the line that I used to configure PHP (so you can see what modules
I'm installing):

./configure --with-apache=../apache_1.3.22 --enable-safe-mode --with-exec-di
r=/usr/local/bin --enable-bcmath --enable-calendar --with-jpeg-dir=/usr/loca
l --with-ftp --with-gd=/usr/local --with-png-dir=/usr/local --with-ttf=/usr/
local --with-mysql=/usr/local --with-curl=/usr/local --with-zlib-dir=/usr/lo
cal --with-freetype-dir=/usr/local --with-pear --with-mcrypt --with-dom=/usr
/local --with-pcre

Any help is greatly appreciated.

Thanks.

Tim



smime.p7s
Description: application/pkcs7-signature


Re: [PHP] 4.1.1 Causes Signal 11 On FreeBSD 4.5 / Apache 1.3.22

2002-01-13 Thread Rasmus Lerdorf

 I am experiencing a lot of Signal 11's when I compile PHP 4.1.1 into my
 Apache server on my FreeBSD 4.5-RC machine.  If I compile the -exact- same
 Apache configuration with PHP 4.0.6, it works fine.  As soon as I switch to
 4.1.1, it causes Signal 11's (and sometimes 10's) when I load certain pages.
 It seems that it crashes when the pages have mySQL database access on them
 and are fairly complex (I was thinking perhaps a memory problem?)

You somtimes get 10's?  That's a SIGUSR1 and not something that will take
down your server.  It would actually cause a graceful restart of Apache,
but I don't see how anything we do in PHP could cause spurious sig10's.
Get a backtrace of one of the sig11's.  Without that there isn't much hope
of us tracking this down.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]