Hi I'm having issues with gimp creating too many threads and crashing.
I'm running on a 10 physical core(20 w/ hyper threads) intel based
system. I have 1000's of images to process and I use imp in batch mode
with script-fu scripts to do so. I am launching a certain number of
these in the back ground (eg 10) and waiting for them to finish then
launching again until all of the images are processed. I've tried with
varying number of processes, 2,3,5,8,10 etc invariably I get the error
and crash eventually. Also when I run with small number and view the cpu
load in top, I can see that it's not loaded, so apparently these threads
aren't being used!
Is there a way to control the number of threads created per gimp instance?
Is it possible that gimp is leaking threads somehow, eg why does 2 gimp
instances run for a few hours then crash?
Thanks
Burlen
output:
(gimp:23280): Gimp-Base-WARNING **: changing the number of threads to 16
failed: Error creating thread: Resource temporarily unavailable
(gimp:23280): GLib-ERROR **: creating thread 'gdbus': Error creating
thread: Resource temporarily unavailable
/home/bloring/apps/SciGIMP/sh/sq-stereo-pack-tb.sh: line 25: 23280
Trace/breakpoint trap gimp -i -b "(sq-pack-stereo-tb \"$LEFT\"
\"$RIGHT\" \"$OUT\" \"$HALF\")" -b "(gimp-quit 0)"
(gimp:23310): Gimp-Base-WARNING **: changing the number of threads to 16
failed: Error creating thread: Resource temporarily unavailable
(gimp:23322): Gimp-Base-WARNING **: changing the number of threads to 16
failed: Error creating thread: Resource temporarily unavailable
(gimp:23322): GLib-ERROR **: creating thread 'gdbus': Error creating
thread: Resource temporarily unavailable
/home/bloring/apps/SciGIMP/sh/sq-stereo-pack-tb.sh: line 25: 23322
Trace/breakpoint trap gimp -i -b "(sq-pack-stereo-tb \"$LEFT\"
\"$RIGHT\" \"$OUT\" \"$HALF\")" -b "(gimp-quit 0)"
.../pack-tb-half.sh: fork: retry: No child processes
/home/bloring/apps/SciGIMP/sh/sq-stereo-pack-tb.sh: fork: retry: No
child processes
batch command executed successfully
batch command executed successfully
batch command executed successfully
..............
(gimp:23489): Gimp-Base-WARNING **: changing the number of threads to 16
failed: Error creating thread: Resource temporarily unavailable
GIMP-Error: Unable to run plug-in "file-png"
(/usr/lib64/gimp/2.0/plug-ins/file-png)
Failed to fork (Resource temporarily unavailable)
GIMP-Error: Calling error for procedure 'gimp-file-load-layer':
Failed to run plug-in "file-png"
batch command experienced an execution error:
Error: ( : 32522) Procedure execution of gimp-file-load-layer failed on
invalid input arguments: Failed to run plug-in "file-png"
(gimp:23507): Gimp-Base-WARNING **: changing the number of threads to 16
failed: Error creating thread: Resource temporarily unavailable
(gimp:23495): GLib-ERROR **: creating thread 'gdbus': Error creating
thread: Resource temporarily unavailable
(gimp:23471): GLib-ERROR **: creating thread 'gdbus': Error creating
thread: Resource temporarily unavailable
/home/bloring/apps/SciGIMP/sh/sq-stereo-pack-tb.sh: line 25: 23495
Trace/breakpoint trap gimp -i -b "(sq-pack-stereo-tb \"$LEFT\"
\"$RIGHT\" \"$OUT\" \"$HALF\")" -b "(gimp-quit 0)"
/home/bloring/apps/SciGIMP/sh/sq-stereo-pack-tb.sh: line 25: 23471
Trace/breakpoint trap gimp -i -b "(sq-pack-stereo-tb \"$LEFT\"
\"$RIGHT\" \"$OUT\" \"$HALF\")" -b "(gimp-quit 0)"
batch command executed successfully
(gimp:23507): Gimp-Base-WARNING **: thread creation failed: Error
creating thread: Resource temporarily unavailable
(gimp:23507): Gimp-Base-WARNING **: thread creation failed: Error
creating thread: Resource temporarily unavailable
(gimp:23507): Gimp-Base-WARNING **: thread creation failed: Error
creating thread: Resource temporarily unavailable
(gimp:23507): Gimp-Base-WARNING **: thread creation failed: Error
creating thread: Resource temporarily unavailable
GIMP-Error: Unable to run plug-in "file-png"
(/usr/lib64/gimp/2.0/plug-ins/file-png)
Failed to fork (Resource temporarily unavailable)
GIMP-Error: Calling error for procedure 'gimp-file-save':
Failed to run plug-in "file-png"
batch command experienced an execution error:
Error: ( : 32567) Procedure execution of gimp-file-save failed: Failed
to run plug-in "file-png"
GIMP-Error: Unable to run plug-in "file-png"
(/usr/lib64/gimp/2.0/plug-ins/file-png)
Failed to fork (Resource temporarily unavailable)
GIMP-Error: Calling error for procedure 'gimp-file-save':
Failed to run plug-in "file-png"
batch command experienced an execution error:
Error: ( : 32542) Procedure execution of gimp-file-save failed: Failed
to run plug-in "file-png"
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list