Re: [Gimp-developer] Perl server problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!!

This is Chetan again I did follow the discussion on the stability issue 
of gimp. but back to the main question.

It happened again --- and here is the trace (strace) during the time when
the process hanged and I have not been able to pin-point as to where the
problem lies. You see I use gimp non interactively using Perl-Gimp
therefore I am neither a gimp user(I assume most/all 'user' use gimp
interactively) nor a gimp developer but someone in between.
hence to this mailing list.

so here is the output generated by strace command, this goes on
indefinately
(2 sec. generated > 15000 such lines) and Perl-Server shows 99% of CPU
used in the 'top'

############### strace output###########

read(0, "", 4096)                       = 0
getpid()                                = 23038
write(1, "/usr/lib/gimp/1.1/plug-ins/Perl-"..., 101) = 101
read(0, "", 4096)                       = 0
getpid()                                = 23038
write(1, "/usr/lib/gimp/1.1/plug-ins/Perl-"..., 101) = 101
read(0, "", 4096)                       = 0
getpid()                                = 23038
write(1, "/usr/lib/gimp/1.1/plug-ins/Perl-"..., 101) = 101
read(0, "", 4096)                       = 0
getpid()                                = 23038
write(1, "/usr/lib/gimp/1.1/plug-ins/Perl-"..., 101) = 101

#############################################

Please help

Chetan



On Sat, 26 May 2001, Marc Lehmann wrote:

> On Thu, May 24, 2001 at 02:11:54PM +0530, Chetan Dhavse <cdhavse@xxxxxxxx> wrote:
> > I am using Gimp 1.1.4(I find this version more stable)
> 
> same here.. gimp-1.2 has big stability and memory problems when it
> encounters lots of images in succession.
> 
> > The problem is the programs just hangs after making 200/300 charts.
> > I think the problem is with the perl server, The program stops after the 
> > '%CPU used' shows  95% (of top) for the perl server.
> 
> could it be that gimp closes the pipe and the perl-server tries to send
> commands but never can (it's not programmed to catch every case, to make
> it as fast as possible). Could you strace the pelr-server when that
> happens again and send me an excerpt (just "strace -p <pid>")?
> 
> > If I start two instances of this program the top shows two perl servers.
> > is this right?
> 
> depends. you can configure the behaviour by setting the GIMP_HOST
> environment variable (perldoc Gimp::Net)
> 
> -- 
>       -----==-                                             |
>       ----==-- _                                           |
>       ---==---(_)__  __ ____  __       Marc Lehmann      +--
>       --==---/ / _ \/ // /\ \/ /       pcg@xxxxxxxx      |e|
>       -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
>     The choice of a GNU generation                       |
>                                                          |
> 
> 



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux