[imp] run away ispell processes
Shawn Robinson
Shawn.Robinson@telus.com
Sun, 02 Jun 2002 08:01:33 -0600
At 06:45 PM 2002/04/17 -0400, Chuck Hagenbuch wrote:
>Quoting Jeff Tucker <jefft@wciatl.com>:
>
> > I'm definitely experiencing it and had to disable spell checking on my
> > system because of it. I routinely got these runaway ispells using as
> > much processor time as possible.
>
>Well, we need feedback from people who can actually reproduce the
>problem...
>
>-chuck
Did this one get resolved? I can't find the solution.
Seems to be a pipe control issue of some sort. The httpd process that
starts the 'echo $string | /usr/locla/bin/ispell ' starts growing
uncontrollably, (in my case it has eaten up close to 1.5GB before I've
killed it). After 'kill -9'ing the httpd process, the associate ispell
process starts taking up the CPU, when trussing it, you can see that it's
trying to write to the pipe, and is receiving a SIGPIPE, and looping
uncontrollably. Then, after a 'kill' on the ispell process, httpd takes
it's turn at sucking up the CPU cycles. After you kill on that httpd
process, you're happy again, until next time.
I lost my truss data, but I can send it on next time it happens.
Details:
Solaris 8 kernel 13
(CVS from May2x,2002ish)
Horde: 2.1-cvs
IMP: 3.1-cvs (run IMP tests)
Turba: 1.1-cvs
View phpinfo() screen
PHP Version: 4.1.2
PHP Major Version: 4.1
PHP Minor Version: 2
PHP Version Classification: release
You are running a supported version of PHP.
PHP Module Capabilities
FTP Support: No
Gettext Support: Yes
IMAP Support: Yes
LDAP Support: Yes
MCAL Support: No
Mcrypt Support: No
MySQL Support: Yes
PostgreSQL Support: No
XML Support: Yes
PEAR - Yes
Recent PEAR - Yes
Mail::RFC822 - Yes
Log - Yes
DB - Yes
Regards,
Shawn Robinson