From: Dylan Penhale <dylan@(email surpressed).au>
Subject: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 15:55:49 -0800
Msg# 1139
View Complete Thread (7 articles) | All Threads
Last Next
We have recently been seeing the following error that occurs roughly ever one in 300 hundred frames. It's happens to any host on the farm, at random and to all jobs.

Can't open perl script "//starfish/indian/rush/submit-maya-cweb.pl": Invalid argument

I have changed the file locking on the server as I thought perhaps the file was being locked by another render node. This hasn't fixed the problem.

There are no clues on the job server or the file server logs.

Any idea's where else to start looking for errors on this?

_________________________________________

Dylan Penhale
Systems Administrator
Fuel International
65 King Street
Newtown
2042
Sydney
Australia
p. (Tel# suppressed)
f. (Tel# suppressed)



   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 17:23:47 -0800
Msg# 1140
View Complete Thread (7 articles) | All Threads
Last Next
Dylan Penhale wrote:
[posted to rush.general]

We have recently been seeing the following error that occurs roughly ever one in 300 hundred frames. It's happens to any host on the farm, at random and to all jobs.

Can't open perl script "//starfish/indian/rush/submit-maya-cweb.pl": Invalid argument

	Sounds like Windows.

	This error would appear to be from perl, being unable to open
	the UNC path to the script.

	ie. rush is invoking:

		perl //starfish/indian/rush/submit-maya-cweb.pl [args..]

	..and perl is starting OK, but when it tries to open the perl script
	to load the file into the interpreter, it fails, and reports the above
	error. I might need a little more context (the whole log file) to be
	sure.

	Assuming that's the case, I'd say the real WIN32 error is being
	obscured by perl here, as it's probably using fopen() internally
	which isn't a real WIN32 function, and so we're not getting the
	real WIN32 error back.

	Since it sounds like you can replicate, I would try submitting
	a job that uses a DOS function like 'type' to access the file,
	so that you might get a WIN32 error back from 'type' indicating
	what the real problem, eg:

C:\> rush -submit
frames     1-300
logdir    //starfish/indicate/rush/logs
command    cmd /c type \\starfish\indian\rush\submit-maya-cweb.pl
cpus       +any=10@1
<-- types ^Z then ENTER on an empty line

	Be sure to set 'cpus' to something similar your other jobs
	are using.

	Hopefully you'll get a 'Fail' for a frame that doesn't work,
	and a real WIN32 error message in the frame logs showing a more
	descriptive error.

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)

   From: Dylan Penhale <dylanpenhale@(email surpressed)>
Subject: RE: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 18:15:27 -0800
Msg# 1141
View Complete Thread (7 articles) | All Threads
Last Next
What do you know, the test doesn't break! I've run it through a few times
and all is good. Will keep trying and when I get anything I'll let you know.


Cheers

|-----Original Message-----
|From: Greg Ercolano [mailto:erco@(email surpressed)] 
|Sent: Tuesday, 6 December 2005 12:24 PM
|To: void@(email surpressed)
|Subject: Re: Invalid argument on submit script
|
|[posted to rush.general]
|
|Dylan Penhale wrote:
|> [posted to rush.general]
|> 
|> We have recently been seeing the following error that occurs roughly 
|> ever one in 300 hundred frames. It's happens to any host on 
|the farm, 
|> at random and to all jobs.
|> 
|> Can't open perl script 
|"//starfish/indian/rush/submit-maya-cweb.pl":  
|> Invalid argument
|
|	Sounds like windows.
|
|	This error would appear to be from perl, being unable to open
|	the UNC path to the script.
|
|	ie. rush is invoking:
|
|		perl //starfish/indian/rush/submit-maya-cweb.pl [args..]
|
|	..and perl is starting OK, but when it tries to open 
|the perl script
|	to load the file into the interpreter, it fails, and 
|reports the above
|	error. I might need a little more context (the whole 
|log file) to be
|	sure.
|
|	Assuming that's the case, I'd say the real WIN32 error is being
|	obscured by perl here, as it's probably using fopen() internally
|	which isn't a real WIN32 function, and so we're not getting the
|	real WIN32 error back.
|
|	Since it sounds like you can replicate, so I would try 
|submitting
|	a job that uses a DOS function like 'type' to access the file,
|	so that you might get a WIN32 error back from 'type' indicating
|	the real problem, eg:
|
|C:\> rush -submit
|frames     1-300
|logdir    //starfish/indicate/rush/logs
|command    cmd /c type \\starfish\indian\rush\submit-maya-cweb.pl
|cpus       +any=10@1
|<-- types ^Z then ENTER on an empty line
|
|	Be sure to set the 'cpus' to something similar your other jobs
|	are using.
|
|	Hopefully you'll get a 'Fail' for a frame that doesn't work,
|	and a real WIN32 error message in the log showing a more
|	descriptive error.
|
|--
|Greg Ercolano, erco@(email surpressed)
|Rush Render Queue, http://seriss.com/rush/
|Tel: (Tel# suppressed)
|Cel: (Tel# suppressed)
|Fax: (Tel# suppressed)
|


   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 19:01:33 -0800
Msg# 1142
View Complete Thread (7 articles) | All Threads
Last Next
Dylan Penhale wrote:
[posted to rush.general]

What do you know, the test doesn't break! I've run it through a few times
and all is good. Will keep trying and when I get anything I'll let you know.


	That figures; it might involve the combination of load from rendering.

	You might have to get sneaky, and modify the original submit script
	tell rush to submit itself with both the "type" and "perl" commands, eg:

cmd /c type \\starfish\indian\rush\submit-maya-cweb.pl > nul && perl //starfish/indian/rush/submit-maya-cweb.pl [args..]

	..which might help reveal the problem.

	This way if the type command works, it does nothing, and runs the script through perl
	If it fails, it prints a WIN32 error from 'type' and stops.
	(Be sure to use backslashes for the type command, and note spelling of 'nul'.

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)

   From: Dylan Penhale <dylanpenhale@(email surpressed)>
Subject: RE: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 20:18:46 -0800
Msg# 1143
View Complete Thread (7 articles) | All Threads
Last Next
Do you mean modify  \\starfish\indian\rush\submit-maya-cweb.pl or the script
that I was testing with before, by entering on the command line?



|-----Original Message-----
|From: Greg Ercolano [mailto:erco@(email surpressed)] 
|Sent: Tuesday, 6 December 2005 2:02 PM
|To: void@(email surpressed)
|Subject: Re: Invalid argument on submit script
|
|[posted to rush.general]
|
|Dylan Penhale wrote:
|> [posted to rush.general]
|> 
|> What do you know, the test doesn't break! I've run it through a few 
|> times and all is good. Will keep trying and when I get 
|anything I'll let you know.
|
|
|	That figures; it might involve the combination of load 
|from rendering.
|
|	You might have to get sneaky, and modify the original 
|submit script
|	tell rush to submit itself with both the "type" and 
|"perl" commands, eg:
|
|cmd /c type \\starfish\indian\rush\submit-maya-cweb.pl > nul 
|&& perl //starfish/indian/rush/submit-maya-cweb.pl [args..]
|
|	..which might help reveal the problem.
|
|	This way if the type command works, it does nothing, 
|and runs the script through perl
|	If it fails, it prints a WIN32 error from 'type' and stops.
|	(Be sure to use backslashes for the type command, and 
|note spelling of 'nul'.
|
|--
|Greg Ercolano, erco@(email surpressed)
|Rush Render Queue, http://seriss.com/rush/
|Tel: (Tel# suppressed)
|Cel: (Tel# suppressed)
|Fax: (Tel# suppressed)
|


   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 22:56:32 -0800
Msg# 1144
View Complete Thread (7 articles) | All Threads
Last Next
Dylan Penhale wrote:
Do you mean modify  \\starfish\indian\rush\submit-maya-cweb.pl or the script
that I was testing with before ..

	You can either modify the script, or manually tweak the 'Command:'
	for an existing job with 'Job Edit' in irush.

	

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)

   From: Dylan Penhale <dylanpenhale@(email surpressed)>
Subject: RE: Invalid argument on submit script
   Date: Wed, 07 Dec 2005 18:30:36 -0800
Msg# 1151
View Complete Thread (7 articles) | All Threads
Last Next
Just to follow this up, I made the mod you suggested and not a single
failure again. In the same time the 3 job servers where restarted so perhaps
that's related, although I can't see how.

I'm going to keep going with it, and will let you know if we see it again. 

Cheers

Dylan Penhale
Systems Administrator
Fuel International

  


|-----Original Message-----
|From: Greg Ercolano [mailto:erco@(email surpressed)] 
|Sent: Tuesday, 6 December 2005 5:57 PM
|To: void@(email surpressed)
|Subject: Re: Invalid argument on submit script
|
|[posted to rush.general]
|
|Dylan Penhale wrote:
|> Do you mean modify  
|\\starfish\indian\rush\submit-maya-cweb.pl or the 
|> script that I was testing with before ..
|
|	You can either modify the script, or manually tweak the 
|'Command:'
|	for an existing job with 'Job Edit' in irush.
|
|	
|
|--
|Greg Ercolano, erco@(email surpressed)
|Rush Render Queue, http://seriss.com/rush/
|Tel: (Tel# suppressed)
|Cel: (Tel# suppressed)
|Fax: (Tel# suppressed)
|