Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
ProjectWise
  • Product Communities
  • More
ProjectWise
ProjectWise Design Integration Wiki I-Model Composition Server for PDF Maintenance
    • Sign in
    • +ProjectWise Design Integration Wiki
    • -Bentley i-model Composition Server
      • I-Model Composition Server for PDF Maintenance
      • Incorrect sizes generated when creating iCS for PDF renditions
      • +PDF - Bentley i-model Composition Server
    • +Field Data Management - Welcome
    • +ProjectWise Caching Server
    • +ProjectWise Change Storage Area
    • +ProjectWise Integration CONNECT Edition
    • +ProjectWise Design Integration Server
    • +ProjectWise Design Integration V8i
    • +ProjectWise Document Publisher
    • +ProjectWise Explorer Client
    • +ProjectWise Explorer Client V8i
    • ProjectWise Explorer Connect Edition Upd3 Unattended Install
    • +ProjectWise integration module for Revit
    • +ProjectWise Integration Server
    • +ProjectWise Publishing Server
    • +ProjectWise Solutions
    • +ProjectWise Web View Server
    • ProjectWise Project Insights
    • +ProjectWise Web Cloud Service
    • +ProjectWise Drive
    • +ProjectWise Web View
    • +Microsoft Teams Integration
    • +ProjectWise Workflow Rules Engine
    • +Working from Home with ProjectWise
    • ISO 19650 data model within ProjectWise
    • Learn ProjectWise

     
     Questions about this article, topic, or product? Click here. 

    I-Model Composition Server for PDF Maintenance

    Renditions generate a lot of Temporary files in the following folders inside your ICS Server machine,

    • C:\Windows\Temp
    • C:\ProgramData\Bentley\OrchFwrk
    • Working Directory of the ICS User*

    A good idea is to keep purging them regularly. Remember we need to stop PW Orchestration Framework while purging these folders. It is a good idea to automate this process to run regularly, like once every weekend.

    You can create and run these 3 basic tasks in the Windows Task Scheduler of the server machine dedicated to ICS for PDF-

    Task No. 1, Stop ProjectWise Orchestration Service

    Create a batch file (.bat file) calling the following command,

    NET STOP "Bentley Orchestration Shepherd"

    Double click on your task in Task Scheduler to edit it. Under Actions tab, click on New. Action should be 'Start a program'. Browse to the batch file. Click OK.

    If this does not work, try entering the command directly in the Actions tab as given below,

    Program/Script = NET

    Add arguments = STOP "Bentley Orchestration Shepherd"

    Task No. 2, Purge the temp files

    Purge the folders mentioned above using the following commands in the batch file,

    del C:\Windows\Temp\*.* /s /f /q

    del C:\ProgramData\Bentley\OrchFwrk\*.* /s /f /q

    del <WorkingDirectoryIcsUSer>\*.* /s /f /q

    Call the batch file under the Actions tab.

    Task No. 3, Start ProjectWise Orchestration Service

    Call the following command in the Actions tab,

    NET STOP "Bentley Orchestration Shepherd"

    Use a batch file or call it directly, whichever works for you.

    Triggers

    Choose the triggers of these 3 tasks wisely. Run this task every weekend during your off-hours. It is a good idea to allow some time between Tasks 2 and 3- a sufficient window to clear the temp files before Orchestration Framework is kick-started again. A good starting point can be,

    5 minutes between Tasks 1 and 2
    20 minutes between Tasks 2 and 3

    You can adjust these times depending on your server's load.

    Few other recommended settings for creating a basic task as given in the General tab,

    • User running the task should be an Administrator
    • Run whether user is logged on or not
    • Run with highest privileges

    Benefits,

    Should prevent clogging of C drive due to cached temp files
    Files (no longer required) will be removed
    Files, if broken or corrupt, will be removed and re-downloaded - Effective and healthy server

    Additionally,

    It is entirely upon you and your project requirement to include the local Working Directory of the ICS User in the list of folders to be purged. Files would have to be re-downloaded and this might make renditions slow.
    You can also purge the Private Queues under Computer Management>Messaging Queuing when the ProjectWise Orchestration Framework service is stopped. These queues are regenerated on starting the service. This cures jobs stuck in the queues.

    • i-model Composition Service
    • ProjectWise
    • Share
    • History
    • More
    • Cancel
    • Sukalyan Senapati Created by Bentley Colleague Sukalyan Senapati
    • When: Sat, Apr 4 2020 1:48 PM
    • Sukalyan Senapati Last revision by Bentley Colleague Sukalyan Senapati
    • When: Sat, Apr 4 2020 1:50 PM
    • Revisions: 2
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies