Project

General

Profile

Task #8739

Attempting to set ulimit results in error on UCSB systems

Added by Dave Vieglais over 5 years ago. Updated over 5 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
d1_process_daemon
Target version:
-
Start date:
2018-11-05
Due date:
% Done:

30%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

d1-processing attempts to set ulimit in the startup script:

ulimit -Hn 16384
ulimit -Sn 16384

This was necessary because the limit was previously too low (1024 or 4096). The low limits are quite conservative and could be raised system wide. In order for the startup script to work as expected regardless of the system setting, a test should be added, something like:

if (( $(ulimit -n) < 16384 )); then 
  ulimit -Hn 16384
  ulimit -Sn 16384
fi

will ensure ulimits are set as needed for the application.

History

#1 Updated by Dave Vieglais over 5 years ago

Added to dataone-cn-processdaemon/etc/init.d/d1-processing in trunk

#2 Updated by Dave Vieglais over 5 years ago

  • % Done changed from 0 to 30
  • Status changed from New to In Progress

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)