[Users] Weird crash of oVirt-3.3.2-el6
Joop
jvdwege at xs4all.nl
Thu Jan 30 12:55:27 UTC 2014
On 30-1-2014 12:02, Meital Bourvine wrote:
> As far as I know, there is a limit for the whole system, and a limit to a specific user.
>
> What's the output of `lsof | wc -l`?
7095
> What's the output of `ulimit -a` for the same user that oVirt runs as?
>
How to obtain that since ulimit is a bash command(?). sudo -u vdsm bash
ulimit -a returns permission denied
There is a /etc/security/limits.d/99-vdsm.conf which has limits for 4096
proc and 3*4096 nofiles.
Found this:
return-limits(){
for process in $@; do
process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
if [ -z $@ ]; then
echo "[no $process running]"
else
for pid in $process_pids; do
echo "[$process #$pid -- limits]"
cat /proc/$pid/limits
done
fi
done
}
running that:
return-limits vdsm:
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 4096 4096 processes
Max open files 12288 12288 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 612118 612118 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Joop
More information about the Users
mailing list