.lock files causing rendering problems

52 views
Skip to first unread message

Sandy Sutherland

unread,
Jan 27, 2010, 6:55:19 AM1/27/10
to XSI List
Hi All,

We are using Royal Render here to run the Farm - and are running
Softimage 2010 SP1 - there seems to have been a change in how the
rendering works now - I am no longer seeing a 1K placeholder, but
instead there is a .lock file created - now when the render crashes, it
leaves the .lock file behind - which then causes RR not to re-render the
crashed frame!!

Any ideas why this is happening, and how to stop it???

We are on Win Workstations, and Linux Farm - workstations do hop on
overnight!!

many thanks

Cheers

Sandy

Mikko Ronkainen

unread,
Feb 4, 2011, 10:00:39 AM2/4/11
to soft...@listproc.autodesk.com
Hello,
Search found old thread and no replies.

My question on this matter however is slightly different, no RR used. My
simple shell scripts does rendering. On this example removing locks by
script. Is there any harm done removing those .locks and why they are left
behind randomly? Any other solutions. The loop gives nice result while
distributing render.

#render script
#/bin/sh
#1
echo "Bash version ${BASH_VERSION}..."
for i in {1..10}
do
xsi -render /path/to/project/Render_Pictures/*.lock
#or rather path to destination outside project
xsi -render /path/to/project/scene.scn -pass "Default_Pass" -skip on
-RealTimeMessageLogging on
xsi -render /path/to/project/scene.scn -pass "Occlusion_Pass" -skip on
-RealTimeMessageLogging on
xsi -render /path/to/project/scene.scn -pass "Diffuse_Pass" -skip on
-RealTimeMessageLogging on
xsi -render /path/to/project/scene.scn -pass "Ambient_Pass" -skip on
-RealTimeMessageLogging on
xsi -render /path/to/project/scene.scn -pass "Highlight" -skip on
-RealTimeMessageLogging on
echo "Render cycle $i end"
done
#end script

Using XSI 7.01.

.Mikko

Fabrice Altman

unread,
Feb 4, 2011, 10:17:59 AM2/4/11
to soft...@listproc.autodesk.com
Hi,

AFAIK there is no harm in removing those randomly created .locks.

Cheers,
F.


Stephen Blair

unread,
Feb 4, 2011, 10:39:44 AM2/4/11
to soft...@listproc.autodesk.com
They're not random ;-)

The lock files are created and destroyed as Softimage opens and closes files.
They are a by-product of the OS file i/o calls we use.

Typically, leftover lock files would indicate some "problem" with the network or file server (some kind of latency perhaps?)
winmail.dat

Fabrice Altman

unread,
Feb 4, 2011, 10:51:36 AM2/4/11
to soft...@listproc.autodesk.com
Mmmmmm Latency perhaps, but not coming from our network or fileserver ;)

Stephen Blair

unread,
Feb 4, 2011, 10:55:39 AM2/4/11
to soft...@listproc.autodesk.com
True. Come to think of it, I have repro'd this by starting 10+ concurrent xsibatch render jobs.
winmail.dat

Mikko Ronkainen

unread,
Feb 4, 2011, 11:03:30 AM2/4/11
to soft...@listproc.autodesk.com
Thanks,
This time they were created render crash, external files path problem,
causes of course infinite latency. User errors rise more randomly software
is used. Also instead of bash csh. For render slave crash, removing .lock
has benefit, this way loop say 10 times will give better result.

.Mikko

Fabrice Altman

unread,
Feb 4, 2011, 11:01:31 AM2/4/11
to soft...@listproc.autodesk.com
Pointing the finger at MR/Soft possibly then ? ;)

Sandy Sutherland

unread,
Feb 4, 2011, 11:54:26 AM2/4/11
to soft...@listproc.autodesk.com
Rather renders crashing - so not closing elegantly!! Leaving these
files as they go!! :-(

S.

Fabrice Altman

unread,
Feb 4, 2011, 12:26:11 PM2/4/11
to soft...@listproc.autodesk.com
What do you mean Sandy?
Are you implying that Soft/MR can possibly sometimes crash whilst rendering, sort of randomly ??? ;)

Sandy Sutherland

unread,
Feb 6, 2011, 3:00:05 AM2/6/11
to soft...@listproc.autodesk.com
Egggsssaacccery - do you mean we are THE ONLY ONES??? :-P

S.

Daniel Harjanto

unread,
Feb 6, 2011, 10:50:00 PM2/6/11
to soft...@listproc.autodesk.com
Not limit on Workstation service, no?

Cheers,
--
Daniel Harjanto
Infinite Frameworks Studios
TD
http://misterdi.cgpot.com

Mikko Ronkainen

unread,
Feb 7, 2011, 7:49:09 AM2/7/11
to soft...@listproc.autodesk.com
Made me laugh. The cause for this time narrowed down to corrupted .map
file, not precisely the path or a latency. Sincerely I've removed them,
time I don't know how long. Some sort of automation is needed.

.Mikko

Reply all
Reply to author
Forward
0 new messages