NeDi Community

NeDi Software Specific => Discovery => Topic started by: sergrok on November 11, 2022, 06:40:33 am

Title: "Cannot allocate memory at /var/nedi/inc/libcli.pm line 668"
Post by: sergrok on November 11, 2022, 06:40:33 am
Hello

 Sometimes the discovery process halted with an error like:

Code: [Select]
PTY :Forking ssh -o 'UserKnownHostsFile=/dev/null' -o 'StrictHostKeyChecking no' -o KexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 -o HostKeyAlgorithms=+ssh-dss -o Ciphers=+aes256-cbc,3des-cbc -o PreferredAuthentications=password -o PubkeyAuthentication=no -l admin -p 22 10.0.0.250
Cannot allocate memory at /var/nedi/inc/libcli.pm line 668.

There are next lines at that place in libcli.pm:
Code: [Select]
        unless (my $pid = fork){
                die $! unless defined $pid;

How can I fix it? I've already checked free memory and free disk space.
Title: Re: "Cannot allocate memory at /var/nedi/inc/libcli.pm line 668"
Post by: rickli on February 02, 2023, 11:10:01 am
How many devices do you have?

Perhaps this helps: exec /usr/bin/softlimit -m 5000000