php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15082 too slow
Submitted: 2002-01-17 08:11 UTC Modified: 2002-06-17 19:01 UTC
Votes:2
Avg. Score:2.0 ± 1.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: a dot marahovsky at thewebproduction dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.0.6 OS: Linux Mandrake 7.2
Private report: No CVE-ID: None
 [2002-01-17 08:11 UTC] a dot marahovsky at thewebproduction dot com
if php script running in unix shell it works TOO slowly
under web server or NT command line works fine.

problem line is ereg_replace
this command process <20 text lines under unix shell (with 30 sec timeout)
if >20 lines - execution timeout erorr
if >50 lines - unix error "fragmentation fault"
but under web server or NT console it process >1000 text lines per half second!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-01 22:05 UTC] elixer@php.net
Can you supply a short reproducing script that causes this problem?  You may also want to try upgrading if that is a possibility for you.

Sean
 [2002-06-17 19:01 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC