AnsweredAssumed Answered

Infinite loop in server script causing server freeze

Question asked by tomasd on Nov 23, 2012


Infinite loop in server script causing server freeze


FileMaker Server


Operating system version

Windows Server 2003

Description of the issue

Server script with infinite loop never stop. It cann't be aborted in server console or with filemaker server restart. Only restart of Windows Server helped.

Steps to reproduce the problem

Run this script on the server:
Set variable $list   .......empty
Set variable $i=1

exit loop if ValueCount($list)=$i
Set variable $i=$i+1
end loop

Expected result

I would expected server stop the script after time limit exceeded

Actual result

server scrip can't be stopped and running infinite

Exact text of any error message(s) that appear

Communication error with the server


Repair exit loop condition.
It is ok on Filemaker Server 12.