Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on December 07, 2020, 01:18:19 am

Title: Ask Reuben 58 - ulimits
Post by: Reuben B. 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

  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

Title: Re: Ask Reuben 58 - ulimits
Post by: Richard H. on December 11, 2020, 11:27:09 am
Interesting article.  Thanks for the info.