How To Get a Count of Open Files by User on MacOSX

Author: , June 18th, 2015

13137 erics 2421 root 330 _www 139 _mdnsresponder 56 _softwareupdate 34 _coreaudiod 33 _mysql 32 _networkd 23 _assetcache 21 _usbmuxd 21 _locationd 18 _spotlight 13 _nsurlsessiond 13 _netbios 13 _appleevents 10 _windowserver 10 _iconservices 10 _displaypolicyd 8 _nsurlstoraged 8 _distnote

How To Increase the Open Files ulimit on Ubuntu

Author: , April 29th, 2013

Add the following four lines to the bottom of /etc/security/limits.conf: root soft nofile 65535 root hard nofile 65535 * soft nofile 65535 * hard nofile 65535 NOTE: All whitespace MUST be a single tab! Also edit these three files: /etc/pam.d/su /etc/pam.d/common-session /etc/pam.d/common-session-noninteractive and add the following one line: session    required   pam_limits.so