# Server Site Execution via PSoS (Perform Script on Server)

**URL:** <https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949>\
**Category:** Questions\
**Tags:** scripting\
**Created:** [June 15, 2022, 2:27pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949 "2022-06-15T14:27:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![FileKraft](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/filekraft/32/1183_2.png) [@FileKraft](https://the.fmsoup.org/u/FileKraft)\
**Post date:** [June 15, 2022, 2:27pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/1 "2022-06-15T14:27:18Z")

</div>

Maybe I missed it somewhere in the docu or under the hood webinars?  
How does PSoS work? Does it start for each call its own thread as a 'pseudo-client' on the Server or is that 'pseudo-client' behaving as a single-threaded instance in charge of all PSoS calls?

The new feature to be introduced in FMS19.5 where PSoS can be called from within Server scripts itself looks promising for full multi-threaded support (?).

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [June 15, 2022, 2:41pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/2 "2022-06-15T14:41:58Z")

</div>

If a script runs already on the server, the PSoS option with the new checkbox can be used to start a new parallel script on a different thread.

So you can launch a script without waiting for the result.  
e.g. to write some log message, while the current script continues.

---

<div class="post-metadata">

**Author:** ![FileKraft](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/filekraft/32/1183_2.png) [@FileKraft](https://the.fmsoup.org/u/FileKraft)\
**Post date:** [June 15, 2022, 3:29pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/3 "2022-06-15T15:29:38Z")

</div>

thanks, so any PSoS call uses its own thread?  
Somewhere someone somehow explained that FMS might get backed up / constipated and a monitoring system should be implemented instead? Very curious about 19.5 new implemenation!

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [June 15, 2022, 8:09pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/4 "2022-06-15T20:09:26Z")

</div>

Every script should have it's own thread, so scripts can run in parallel.

---

<div class="post-metadata">

**Author:** ![menno](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/menno/32/2016_2.png) [@menno](https://the.fmsoup.org/u/menno)\
**Post date:** [June 15, 2022, 11:34pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/5 "2022-06-15T23:34:26Z")

</div>

Just tested it, a new thread cannot be started from a script running on server. That feature was not released

---

<div class="post-metadata">

**Author:** ![FileKraft](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/filekraft/32/1183_2.png) [@FileKraft](https://the.fmsoup.org/u/FileKraft)\
**Post date:** [June 16, 2022, 1:43am UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/6 "2022-06-16T01:43:37Z")

</div>

that would have been the killer feature - hope it appears in next rev!

---

<div class="post-metadata">

**Author:** ![steve\_ssh](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/steve_ssh/32/160_2.png) [@steve\_ssh](https://the.fmsoup.org/u/steve_ssh)\
**Post date:** [June 17, 2022, 3:58pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/7 "2022-06-17T15:58:00Z")

</div>

Just a note that, based on [this blog post](https://www.soliantconsulting.com/blog/filemaker-19-5/#perform-script-on-server-on-server), it appears as though the Server-Side PSOS feature _is_ available, but it is not enabled by default. According to the blog post, it has to be enabled via the ReleaseDebugOn file.

I have not tried this feature myself, nor have I confirmed that it can be enabled, but even so, I have no reason to believe that the post mentioned above would not be accurate.

I'll be interested to hear what any Soup members have to say about this one.

---

<div class="post-metadata">

**Author:** ![FileKraft](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/filekraft/32/1183_2.png) [@FileKraft](https://the.fmsoup.org/u/FileKraft)\
**Post date:** [June 17, 2022, 5:37pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/8 "2022-06-17T17:37:39Z")

</div>

thanks Steve, any idea where to find first hand official info (Claris documentation)?

---

<div class="post-metadata">

**Author:** ![steve\_ssh](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/steve_ssh/32/160_2.png) [@steve\_ssh](https://the.fmsoup.org/u/steve_ssh)\
**Post date:** [June 17, 2022, 11:48pm UTC](https://the.fmsoup.org/t/server-site-execution-via-psos-perform-script-on-server/2949/9 "2022-06-17T23:48:31Z")

</div>

Hi @FileKraft . I don't think that I have seen anything directly from Claris which documents the feature. I was actually surprised to see that it was available even in its current hidden fashion. If I do see anything, I will make a point to post a link here. I am actually kind of behind on reading up on this release, so I wouldn't be surprised if someone else spots anything sooner, but I will keep an eye out for it.
