diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-16 22:54:40 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-16 23:14:14 +0000 |
commit | a0c59adf71506b8808de276b1288a319424ee71a (patch) | |
tree | e627c424701799b82a5bfea06cb45cf1c2d99efd /DESIGN | |
parent | 95f543a9583e58c56b1c480df84b4b88e6669403 (diff) | |
download | unicorn-a0c59adf71506b8808de276b1288a319424ee71a.tar.gz |
This means we no longer waste an extra file descriptor per worker process in the master. Now there's no need to set a higher file descriptor limit for systems running >= 1024 workers.
Diffstat (limited to 'DESIGN')
-rw-r--r-- | DESIGN | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -76,14 +76,6 @@ Applications that use threads continue to work if Unicorn is only serving LAN or localhost clients. -* Timeout implementation is done via fchmod(2) in each worker - on a shared file descriptor to update st_ctime on the inode. - Master process wakeups for checking on timeouts is throttled - one a second to minimize the performance impact and simplify - the code path within the worker. Neither futimes(2) nor - pwrite(2)/pread(2) are supported by base MRI, nor are they as - portable on UNIX systems as fchmod(2). - * SIGKILL is used to terminate the timed-out workers from misbehaving apps as reliably as possible on a UNIX system. The default timeout is a generous 60 seconds (same default as in Mongrel). |