[Dxspider-support] Node crash again - too many open files
Dirk Koopman
djk at tobit.co.uk
Mon Apr 21 12:54:44 BST 2025
On 21/04/2025 12:52, Dirk Koopman via Dxspider-support wrote:
> Try ulimit -Hn On my machine (64GB RAM, 64bit Debian 12 bookworm) that
> gives: 1048576 (file handles).
>
> If that is the case (or some similar large number) I am guessing that
> you are using a distro that uses systemd, in which case the official
> way of dealing with this is to:
>
> sudo vi /etc/security/limits.d/numproc.conf
Or something more sensible:
sudo vi /etc/security/limits.d/nofile.conf
Sheesh...
>
> and in that file, write something like:
>
> #<domain> <type> <item> <value>
> #
> sysop soft nofile 2048
>
> save that file, then restart the whole machine.
>
> Then open a shell and check that the ulimit has changed.
>
> Dirk G1TLH
>
> On 20/04/2025 22:41, Keith, G6NHU wrote:
>> Second day in a row, a crash and restart as per below.
>>
>> Dirk, I know you suggested increasing ulimit in the shell which I
>> thought I’d done yesterday (see my email from yesterday afternoon)
>> but it appears not.
>>
>> I assume you’ve got around this with WA9PIE-2 so I’d really
>> appreciate some help please. I don’t want the node rebooting
>> regularly like this, especially not at weekends but I don’t know what
>> to do next. The node runs as a service so how can I launch it from
>> a shell script? I am still relatively inexperienced with Linux so I
>> just don’t know what to do here.
>>
>> Thanks,
>>
>> 73 Keith.
>>
>>
>>
More information about the Dxspider-support
mailing list