[Vm-dev] unix SqueakSource socket 'too many open files' problem

K K Subbu kksubbu.ml at gmail.com
Sat Feb 27 06:32:39 UTC 2021

On 27/02/21 2:42 am, David T. Lewis wrote:
> Here is what I saw on the squeaksource.com server a few minutes ago:
>    squeaksourcecom at dan:~$ ls -l /proc/16147/fd

The socket count can be generated directly with:

$ ls -l /proc/$(pgrep squeak)/fd | grep -c socket:

This can then be visually graphed every, say, 3600s with:

while true; do
	echo $bars | cut -c 1-$(ls -l /proc/$(pgrep squeak)/fd | grep -c socket:)
	sleep 3600

If this shows a monotonic growth, then a leak can be suspected.

HTH .. Subbu

More information about the Vm-dev mailing list