Albert Chin-A-Young <[EMAIL PROTECTED]> writes:
> While trying to run gimp 1.2.0 on Solaris 7/SPARC:
> $ gimp
>
> Gimp-WARNING **: Failed to open palette file
> /home/china/.gimp-1.2/palettes/Bears: can't happen?
> Gimp-WARNING **: Failed to open palette file
> /home/china/.gimp-1.2/palettes/Bgold: can't happen?
<snip>
>
> This works without a hitch on Solaris 8/SPARC. Well, turns out the
> default number of file descriptors on Solaris 8/SPARC is 256. On
> Solaris 7/SPARC, it's 64 (look at output of 'limit' command).
> Modifying this with:
> $ ulimit -n 256
> solved the problem. To bump the number of file descriptors system
> wide, add the following to /etc/system:
> * set soft limit on file descriptors
> set rlim_fd_cur = 256
Wouldn't it be a good idea to make gimp call setrlimit to fix this if,
say, the limit is below 256? And if it turns out the hard limit is to low
the user should get a warning.
--
- Mårten
mail: [EMAIL PROTECTED] *** ICQ: 4356928
mobile: +46 (0)707390385 *** phone: +46 (0)8 16 62 29