Re: PHP 4.0 Bug #5025 Updated: Segmentation fault when using deeply nested scripts

From: Date: Fri, 16 Jun 2000 12:27:29 +0000
Subject: Re: PHP 4.0 Bug #5025 Updated: Segmentation fault when using deeply nested scripts
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21507@lists.php.net to get a copy of this message
On Thu, 15 Jun 2000, Stanislav Malyshev wrote: > AG>> There is a way to recover in Windows and we do. However, there isn't any > AG>> way in UNIX I know of. The only way is really to put an arbitrary limit on > > Isn't there? Can't we check a stack to be too short (probably in system > dependant manner, so we get at least some systems in)? That is not possible. The safest way on Unix is to set the resource limits strictly enough, so that failing processes are terminated fast enough without wasting other resources (like CPU time, and virtual memory which can cause heavy swapping). - Sascha

« previous php.dev (#21507) next »