administration.rst 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .. _webadmin_wps:
  2. WPS Service page
  3. =================
  4. The Web Processing Service (WPS) page supports the basic metadata for the service, as well as
  5. service specific settings
  6. Service Metadata
  7. ----------------
  8. The service metadata section is common among all services. See the section on :ref:`service_metadata`.
  9. .. figure:: images/metadata.png
  10. :align: center
  11. Execution and resource management options
  12. -----------------------------------------
  13. .. figure:: images/execution.png
  14. :align: center
  15. Execution settings:
  16. * *Connection timeout*: the number of seconds the WPS will wait before giving up on a remote HTTP connection used to retrieve complex inputs
  17. * *Maximum synchronous executions run parallel*: the maximum number of synchronous processes that will run in parallel at a given time. The others will be queued.
  18. * *Maximum execution time for synchronous requests*: the maximum time a synchronous process is allowed executing. Processes running in synchronous mode will have to complete execution within the set time limit, or they will be dismissed automatically. These requests have the client waiting for a response on a HTTP connection, so choose a relatively short time (e.g., 60 seconds)
  19. * *Maximum queue and execution time for synchronous requests*: the maximum time a process is allowed in the queue and executing. Processes running in synchronous mode will have to complete within the set time limit, or they will be dismissed automatically. These requests have the client waiting for a response on a HTTP connection, so choose a relatively short time (e.g., 60 seconds)
  20. * *Maximum asynchronous executions run parallel*: the maximum number of asynchronous processes that will run in parallel at a given time. The others will be queued
  21. * *Maximum execution time for asynchronous requests*: the maximum time an asysynchronous process is allowed executing. Processes running in asynchronous mode will have to complete within the set time limit, or they will be dismissed automatically
  22. * *Maximum queue and execution time for asynchronous requests*: the maximum time an asysynchronous process is allowed in the queue and executing. Processes running in asynchronous mode will have to complete within the set time limit, or they will be dismissed automatically
  23. Resource settings:
  24. * *Resource expiration timeout*: number of seconds the result of a asynchronous execution will be kept available on disk for user to retrieve. Once this time is expired these resources will be eligible for clearing (which happens at regular intervals).
  25. * *Resource storage directory*: where on disk the input, temporary and output resources associated to a certain process will be kept. By default it will be the ``temp/wps`` directory inside the GeoServer data directory
  26. * *External output directory*: Some processes allow execution outputs to be stored in an external output directory (not subject to ``Resource expiration timeout``). To enable this functionality provide a path to external storage with the understanding that you are responsible for managing the contents of this folder. Leave empty to disable writing outside of the resource storage.
  27. Process status page
  28. -------------------
  29. The process status page, available in the "About & Status" section, reports about running, and recently
  30. completed, processes:
  31. .. figure:: images/statuspage.png
  32. :align: center
  33. The table contains several information bits:
  34. * *S/A*: synchronous or asynchronous execution
  35. * *Node*: the name of the machine running the process (important in a clustered environment)
  36. * *User*: user that started the execution
  37. * *Process name*: the main process being run (chained processes will not appear in this table)
  38. * *Created*: when the process got created
  39. * *Phase*: the current phase in the process lifecycle
  40. * *Progress*: current progress
  41. * *Task*: what the process is actually doing at the moment
  42. In GeoServer there are the following execution phases:
  43. * *QUEUED*: the process is waiting to be executed
  44. * *RUNNING*: the process is either retrieving and parsing the inputs, computing the results, or writing them out
  45. * *FAILED*: the process execution terminated with a failure
  46. * *SUCCESS*: the process execution terminated with a success
  47. * *DISMISSING*: the process execution is being dismissed, depending on the process nature this might take some time, or be instantaneous
  48. All executions listed in the table can be selected, and then dismissed using the "Dismiss selected processes" link at the top of the table.
  49. Unlike the "Dismiss" vendor operation this UI allows to also dismiss synchronous processes.
  50. Once the process dismissal is complete, the process execution will disappear from the table (in accordance with the WPS specification).
  51. Completed processes can also be dismissed, this will cause all on disk resources associated to the process to be removed
  52. immediately, instead of waiting for the regular time based expiration.