Project

General

Profile

Bug #5214

Limit the number of door server threads in mountd(1m)

Added by Marcel Telka about 5 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2014-10-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Currently, the mountd(1m) uses door server threads in the global pool with the default configuration. It means the number of the door server threads is unlimited and the stack size for each such thread is 1MB (mountd is 32-bit app).

Under some circumstances (especially, when mountd was not linked with libumem, see #4990 for details) we saw thousands door threads consuming significant part of the virtual memory and causing the memory exhaustion.

With the #4990 fixed the issue is not so hot, but it still would be great to have the number of door server threads limited, so they do not consume all of the memory. Also, the stack size for such threads should be limited too.


Related issues

Related to illumos gate - Bug #4990: mountd and rpcbind should use libumem(3lib)Closed2014-07-10

Actions

Also available in: Atom PDF