Hello,
im having an Linux VPS based on OpenVZ virtualization.
And im using it as a proxy server. Sometimes VPS proxy stop delivering websites in my home computer webbrowser, and it also stop always when i try to launch torrent client which is using this proxy.
VPS CPU and RAM is iddle and free, data transfer is also quite minimal. someone adviced i check file file descriptor limit, and here is the result:
# ulimit -a
Quote:
pending signals (-i) 191532
max locked memory (kbytes, -l) 64
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
max user processes (-u) 191532
|
List Number Of Open File Descriptors
# cat /proc/sys/fs/file-max
ount All Open File Handles
# lsof | wc -l
List File Descriptors in Kernel Memory
# sysctl fs.file-nr
Quote:
fs.file-nr = 1488 0 2451492
|
I wanted to ask for advice if these values are OK, or if i need any of these tweaked. I will then google how to do it.
Thank you