Opened 16 years ago

Closed 16 years ago

#1016 closed defect (fixed)

Change default Linux thread stack size

Reported by: brucedechant Owned by: brucedechant
Priority: low Milestone: 2.1
Component: Server Version: 2.0.2
Severity: minor Keywords:
Cc: External ID:

Description

The default Linux stack size per thread is 10MB, where as, on Windows the default is 1MB. This causes the server on Linux to allocate an excessive amount of unneeded memory due to the # of threads created by the server.

The mgserver.sh script needs to be modified to include the following: ulimit -s 1024

The above command will set the default thread stack size to 1MB instead of the original 10MB. This can save the server on Linux over 500MB of memory.

Change History (3)

comment:1 by brucedechant, 16 years ago

Owner: set to brucedechant
Status: newassigned

comment:2 by brucedechant, 16 years ago

Fixed in /sandbox/adsk/2.1 r3953

comment:3 by brucedechant, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.