5 messages in net.sunsource.gridengine.usersRe: [GE users] JSV scripts running un...
FromSent OnAttachments
ah_sunsourceJun 10, 2009 3:15 am 
ernstJun 10, 2009 4:32 am 
ah_sunsourceJun 10, 2009 6:10 am.Other
ernstJun 10, 2009 10:00 am 
dougalbAug 25, 2009 1:26 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [GE users] JSV scripts running unreliablyActions...
From:dougalb (doug@gmail.com)
Date:Aug 25, 2009 1:26:16 am
List:net.sunsource.gridengine.users

Hi Andreas,

Would you be willing to share your final working perl JSV?

Kind regards,

Dougal

On Wed, Jun 10, 2009 at 3:10 PM, ah_sunsource<aha@ifh.de> wrote:

Hi Ernst,

thanks for your reply.

On Wed, 2009-06-10 at 13:32 +0200, ernst wrote:

Hi Andreas,

Your JSV scripts are restarted due to two reasons:

1) The Message "JSV modification time in ..." indicates that the modification time stamp of your JSV script has changed. Within GE a worker thread detects that and restarts the corresponding JSV process when the next incoming job should be verified.

OK.

2) There is a  protocol error between a JSV process and the corresponding thread in master. I assume that your JSV script is not implemented correctly. The first job that is verified by JSV process is handled correctly but the second results in a protocol error. To debug your JSV script you can set the "logging_enabled" and "log_file" variable in the file that is included in your JSV script (e.g. JSV.pm,  jsc_include.tcl or  jsv_include.sh). After enabling this you can find the data that is exchanged between master and JSV process in the log_file.

I'm assuming a bug in my jsv as well ... ;-) But I don't really see a reason for this. I'm attaching it. Nevertheless I found a perl example and rewrote the jsv in perl and this one works perfectly :-)

I've also enabled logging but I only get a logfile in case the check runs correctly. In the other case no log is written at all. Any idea?

Cheers, Andreas

-- | Andreas Haupt             | E-Mail: andr@desy.de |  DESY Zeuthen             | WWW:    http://www-zeuthen.desy.de/~ahaupt |  Platanenallee 6          | Phone:  +49/33762/7-7359 |  D-15738 Zeuthen          | Fax:    +49/33762/7-7216

-- | Andreas Haupt             | E-Mail: andr@desy.de |  DESY Zeuthen             | WWW:    http://www-zeuthen.desy.de/~ahaupt |  Platanenallee 6          | Phone:  +49/33762/7-7359 |  D-15738 Zeuthen          | Fax:    +49/33762/7-7216

------------------------------------------------------ http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=201418

To unsubscribe from this discussion, e-mail:
[user@gridengine.sunsource.net].

------------------------------------------------------ http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=214138

To unsubscribe from this discussion, e-mail:
[user@gridengine.sunsource.net].