When i initially login to a server, I see the following error message.
ullimit: coredumpsize: Can't set limit (Operation not permitted)
Further, when I try to copy files into this machine, I see the same error,
cat .ssh/no_pass_rsa.pub | ssh user@server 'cat >> .ssh/authorized_keys'
user@server's password:
limit: coredumpsize: Can't set limit (Operation not permitted)
I read on a lot of blog posts that I must increase the hard limit and soft limit for the users. Trying the following command to check ulimit, gives the output as:
server> ulimit
ulimit: Command not found.
I could find no post where a user faced the issue of this operation not existing.
Also, I checked the limit and noticed that the coredumpsize is 0kbytes
$server> limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 33000 kbytes
coredumpsize 0 kbytes
memoryuse unlimited
vmemoryuse unlimited
descriptors 1048576
memorylocked 64 kbytes
maxproc 1030357
maxlocks unlimited
maxsignal 1030357
maxmessage 819200
maxnice 0
maxrtprio 0
maxrttime unlimited
How do I increase the coredump size or modify it to resolve this? Is there any other solution?
ullimit
giving the error message, is it? 3) What are you actually trying to do? Save core dumps or something else? – ilkkachu Jul 7 '16 at 17:54ulimit: Command not found
,ulimit
executable is not in your search path or someone deliberately deleted it. On the other end, where you getCan't set limit (Operation not permitted)
, the userid executingulimit
command, doesn't have the privilege to change that setting. They are two different issues. – MelBurslan Jul 7 '16 at 17:56ulimit
is a builtin command in Bash, so it's highly unlikely it would not be available on Bash. The>
ending your prompt and the fact thatlimit
works, butulimit
doesn't pretty much hints that you are actually running (t)csh instead of Bash. Your root shell might be Bash, though. – ilkkachu Jul 8 '16 at 11:25