Bug #71189 [Com]: No space available for static Thread Local Storage

From: Date: Fri, 08 Jul 2016 07:41:23 +0000
Subject: Bug #71189 [Com]: No space available for static Thread Local Storage
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202128@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71189&edit=1

 ID:                 71189
 Comment by:         vd_all at mail dot ru
 Reported by:        php at wesha dot name
 Summary:            No space available for static Thread Local Storage
 Status:             Open
 Type:               Bug
 Package:            Apache2 related
 Operating System:   FreeBSD-8.1
 PHP Version:        7.0.1
 Block user comment: N
 Private report:     N

 New Comment:

Upgrade to FreeBSD 10.3 32bit, Apache 2.4.23, PHP 7.0.8_1.
This problem is still not fixed.
But, on the system running on FreeBSD 64bit with same configuration all work fine.
This error most likely occurs only on 32-bit systems.

Excuse me for my English - I use Google translator

I read a comment inacio (04/05/2016)
What I want to say.
It was possible to run as follows:
1. Disable the ZTS in mod_php70 (cd /usr/ports/www/mod_php70 && make config) settings and
php70 (cd /usr/ports/lang/php70 && make config). Recompile it.
2. Use the prefork module to work (you can also use ITK-MPM)
3. All works well.
In this case, we lose the threads.


Previous Comments:
------------------------------------------------------------------------
[2016-06-07 17:45:21] php2006 at sensation dot net dot au

Correction to my last comment: --enable-maintainer-zts=no does nothing (it still includes -DZTS). I
accidentally compared with a manually edited Makefile.

Regardless, the presence or lack of -DZTS in the Makefile does not change the behaviour... Apache
still bombs out with the error in the OP.

------------------------------------------------------------------------
[2016-06-07 17:29:37] php2006 at sensation dot net dot au

Same problem with PHP 7.0.7, FreeBSD 8.3, Apache 2.4.x

With regards to ZTS, configure --help says:

  --enable-maintainer-zts Enable thread safety - for code maintainers only!!

...but this seems to be enabled by default (generated Makefile contains -DZTS)

Trying configure with --enable-maintainer-zts=no gets rid of the -DZTS from Makefile, but when
compiling with the new config there's still the same error on attempted start.

Original bug is 6+ months old, has anyone found a solution? Thanks.

------------------------------------------------------------------------
[2016-04-05 13:50:59] php at wesha dot name

@inacio: I have absolutely no idea what you are talking about. I have never "set ZTS on
mod_php", and therefore, I have no idea how to unset it. Can you point me to the respective
manuals? Thank you.

------------------------------------------------------------------------
[2016-04-05 12:39:29] inacio at isec dot pt

You should unset ZTS on mod_php, and choose option nº1 in MPM for apache.
It will work, for apache 2.4.18 and php 7.0.5

------------------------------------------------------------------------
[2016-04-03 13:11:03] vd_all at mail dot ru

I've get the same error too.
Have FreeBSD 10.1 32bit, Apache 2.4.18 mpm-itk 2.4.7-04, PHP 7.0.4.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=71189


--
Edit this bug report at https://bugs.php.net/bug.php?id=71189&edit=1


Thread (10 messages)

« previous php.bugs (#202128) next »