Since there's many answers to this question "Too many open files (24)" and how to solve it just increasing number of allowed open files limit i have not found any suggestion how to check who is using these files.
I'm getting this error:
Fatal error: Uncaught exception 'Exception' with message 'Unknown: open(/var/lib/php/session/sess_375048d5pfne5cu3v0l3sjji04, O_RDWR) failed: Too many open files (24)' in
Also I have restarted my apache process:
$ ps aux | grep apa
84:root      7528  0.0  0.1 102376  4908 ?        Ss   11:11   0:00 /usr/sbin/apache2 -k start
85:www-data  7531  0.0  0.0 101528  2952 ?        S    11:11   0:00 /usr/sbin/apache2 -k start
86:www-data  7532  0.0  0.1 1309308 7168 ?        Sl   11:11   0:00 /usr/sbin/apache2 -k start
87:www-data  7533  0.0  0.1 1309308 7312 ?        Sl   11:11   0:00 /usr/sbin/apache2 -k start
91:vagrant   7748  0.0  0.0   8860   648 pts/0    S+   11:20   0:00 grep --color=auto -in apa
Is there any tool to check who's using these files since my virtual box machine actually is sleeping by htop?
 
     
    