#15746 [NoF->Opn]: Process exec() is slow from webserver - running from shell is ok ...

From: Date: Tue, 27 Aug 2002 14:09:59 +0000
Subject: #15746 [NoF->Opn]: Process exec() is slow from webserver - running from shell is ok ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17935@lists.php.net to get a copy of this message
ID: 15746 User updated by: nigel@green-bean.com Reported By: nigel@green-bean.com -Status: No Feedback +Status: Open Bug Type: Performance problem Operating System: Windows 2000 Server PHP Version: 4.1.1 New Comment: Wez, no one is using cygwin in the current setup. This is all run directly from under IIS. Previous Comments: ------------------------------------------------------------------------ [2002-08-27 01:00:09] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-07-26 14:05:39] wez@php.net Have you guys considered that it might be a cygwin problem? Cygwin does a lot of magic, some of it depends on obscure things like your CYGWIN environmental variable. Perhaps you should all confer and compare your cygwin setups? ------------------------------------------------------------------------ [2002-07-21 04:51:33] gallery@bianco.net Win32 - Full netpbm dist runs at acceptable speed. Was able to fix problem by swithing to full netpbm release (10.5). I only experience the idle CPU problem with the netpbm-gallery 1.1 release, distributed on the gallery site. So it may not be a PHP exec() bug after all. In order to use the full netpbm dist, I needed to make changes to Gallery's config.php: Change: $gallery->app->pnmtojpeg = "ppmtojpeg"; To: $gallery->app->pnmtojpeg = "pnmtojpeg"; ppmtojpeg.exe does not exist in netpbm 10.5. Chris ------------------------------------------------------------------------ [2002-07-19 15:21:16] nigel@green-bean.com Jon (jonohlsson@hotmail.com) was able to get Gallery and NetPBM running with a mixture of binaries (v10.3 of NetPBM). I had him zip up his installion so I could see if this worked for me. It did not - I still have the same issue as everyone else. Nigel. ------------------------------------------------------------------------ [2002-07-19 15:18:24] gallery@bianco.net Winnt4 sp6 Apache 1.3.26 (win32) PHP 4.2.1 (win32) (exe timeout set to 300sec) Gallery 1.3 netpbm-gallery 1.1 Microdist Celeron 466/196MB I am experiencing the same slowness using gallery's PHP scripts to call the netpbm binaries. Each 1.2 MB image takes about five minutes to have a thumb and resized version created. At first I thought it was due to the celeron, but after watching TaskMan, the netpbm exe's are idle most of the time.. they take available CPU once every few minutes.. Something is causing a wait/timeout in the process. I am not behind a firewall, so Im not sure that is the issue. It is possible that using the netpbm/gallery microdist is causing the slowness. I have been unable to get the standard netpbm dist working. Thanks, Chris ------------------------------------------------------------------------ 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 http://bugs.php.net/15746 -- Edit this bug report at http://bugs.php.net/?id=15746&edit=1

« previous php.bugs (#17935) next »