Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 58 - ulimits  (Read 6696 times)
Reuben B.
Four Js
Posts: 1116


« on: December 07, 2020, 01:18:19 am »


When running via Genero Application Server (GAS), the top of the dispatcher log and the proxy log on Linux and OSX based operating systems files will contain an entry similar to

Code
  1. #Version: 1.0
  2. #Date: 2020/11/27 11:58:43.507461
  3. #Fields: time relative-time location process-id thread-id contexts event-type event-params
  4. #Ulimits:
  5. #   core file size     : 0 (unlimited)
  6. #   data seg size      : unlimited (unlimited)
  7. #   file size          : unlimited (unlimited)
  8. #   max memory size    : unlimited (unlimited)
  9. #   open files         : 1024 (unlimited)
  10. #   stack size         : 8388608 (67104768)
  11. #   cpu time           : unlimited (unlimited)
  12. #   max user processes : 1024 (2128)
  13. #   virtual memory     : unlimited (unlimited)

These numbers that are first shown are a capture of the Operating System ulimit values, and rumour has it they were added to the GAS logs by support personnel who were frustrated at continually running into support issues where these values on the operating system were too low.  Without writing them into the log file, we had no idea  of what the actual values used by the dispatcher and proxy process were.  By writing them in the log file when the process starts, we knew what limits were in place for that particular process and we can pinpoint an issue a lot quicker.

Read more about ulimits and which ones you typically encounter with a Genero application at https://4js.com/ask-reuben/ig-58/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Richard H.
Posts: 9


« Reply #1 on: December 11, 2020, 11:27:09 am »

Interesting article.  Thanks for the info.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines