-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 14.11.2013 um 10:44 schrieb William Hay:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> We have a user who has a program submitting jobs via DRMAA which is
> invoking our client side jsv. Unfortunately it appears that it spawns
> one client JSV per job which never terminates leading to it filling up
> the process table. IMAO the DRMAA interface should either reuse the
> JSV
You are accessing the JSV by a native specification in DRMAA, as it's not part
of DRMAA? It would for sure be good if there would be such a facility to attach
an open JSV to an invoked session in DRMAA.
> or terminate it but apparently it doesn't do that (at least in
> 6.2u3) When using the perl API does one really need to return from
> jsv_on_verify or could I just terminate the jsv after
What do you mean by "terminate" - something else than return in the usual way?
> jsv_reject/jsv_accept/jsv_correct/jsv_reject_wait?
Yes. In fact it has to return after this call:
- From `man jsv_script_interface`:
jsv_accept()
This function can only be used in jsv_on_verify(). After it has been
called, the function jsv_on_verify() has to return
immediately.
Depending on Perl (resp. Bash's "return") is therefore the one and only command
after the if-then-else for the various exit conditions.
- -- Reuti
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJShJtOAAoJEKCzH4joEjNWD7gP/117moG9X8cteFDi/zI+RuqD
> AXlsC8I6jQf9xtkuIbP/1AhFeE4SActh9MBTAMR/fasGh/yBWmPyJZtvT/+q61tb
> g0tR2QmI60B1ZAyIj1a/MjQuLZN+tl2GRjNB0XLn1h58xd1tViNMuVlepqxzvVwn
> Yl/MBr9bgDNPG4sFwotmxk5XhFpipGDT7D9f6gRhpc8LY6CLy7vTcfLnA8pJryGg
> Q7PAFH6qM0+0OAjcGyxuCjgbO6aUwRDYLd0mdmOla8CN03Bx8gutLgvVl+hqWKME
> U0JtYyzAjTzxzbz6zm0ktV/gA/JylzLH6ECUVxCBS1f9pO5wFXwkK+QpcAeSAE9h
> 8gThPCu/EMnm1a3Y9uyMokzxiEkI1qXzKzrKytbFJAJn3wPdnpjR/aOWJW4lOhFg
> yz0rXfoXyQK8IQmQaQIG6Nisky/AonO9ja+ulIVNG7YwUqupKkeU8WuqqVCVO7Cz
> W32yonUpFcCmopeyzHIPdLxvrESnXwKPOKf/YvrvokBY5UzW0zyXAVtvwhA28CIc
> 1+7Nfmf0cHlFunpgJIRcS1+baNNJOH1c7aR1cqSz4fSH6cH2jZcyhmSfpROENJ0u
> 7zk9fa22Xswm/F1aHFJHXQE2XsqJ14RiRS6AU7cQ3vGUjaAZvTgLd31397HSMJ1Z
> JoAIDdSERuTPvdQh2CuN
> =+QCH
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAlKE7yUACgkQo/GbGkBRnRoo2ACgi+eLDq83DHMJgHqeYhJZHrXw
pA0An3LEvj2cXKaxffRWcc+lMr54B3na
=61/I
-----END PGP SIGNATURE-----
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users