Hi,

Am 05.10.2011 um 13:28 schrieb Ed Spittles:

>   we find that environment variables with values longer than 10000 characters 
> are truncated - we're using qsub with -V.   Is there a configuration 
> parameter we can set to change this?   We're running a 32-bit SGE 6.2u5 on 
> CentOS 5, and the jobs run in bash.
> 
>   (Normally I prefer to keep the environment small, but this has come up as 
> various scripts were put together in novel ways.)
> 
>   Here's an example in bash:
> $ x=`printf %10000s x`
> $ printenv x | wc -c
>   10001
> $ echo 'printenv x | wc -c > outfile.txt' | qsub -V -sync y
> $ cat outfile.txt 
> 9998

yes, there is a limit. Even changing the environment file by hand as I 
suggested in:

http://gridengine.org/pipermail/users/2011-September/001638.html

won't help here.

This is just one variable with a long text or so? Or is it an awk script inside?

BTW: For a job context, there is no such limit:

http://gridengine.org/pipermail/users/2011-September/001630.html

-- Reuti

> Cheers
> Ed
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to