Portál AbcLinuxu, 1. května 2025 01:46
marek@bigtux:~$ cat /proc/sys/fs/file-max 23493 marek@bigtux:~$Aneb není kernel jako kernel.
cat /proc/sys/fs/file-max 102662
Těch 4096 máš na čem?
Tak to koukám, že gentoo-sources jsou pozaduTak to koukám, že jen ty tvoje
$ cat /proc/sys/fs/file-max 49418
> cat /proc/sys/fs/file-max 24102
/ $ /sbin/sysctl fs.file-max fs.file-max = 25395
void __init files_init(unsigned long mempages) { int n; /* One file with associated inode and dcache is very roughly 1K. * Per default don't use more than 10% of our memory for files. */ n = (mempages * (PAGE_SIZE / 1024)) / 10; files_stat.max_files = n; if (files_stat.max_files < NR_FILE) files_stat.max_files = NR_FILE; files_defer_init(); }
# cat /proc/sys/fs/file-max 101541
Pokud zvýšíte /proc/sys/fs/file-max, zvyšte také /proc/sys/fs/inode-max na 3-4 násobek nové hodnoty /proc/sys/fs/file-max, nebo dojdou inody.
/proc/sys/fs/inode-max
tu nemám...
$ cat /proc/sys/fs/file-max 128155takze neviem posudit ci mi 4096 staci ;)
$ cat /proc/sys/fs/file-max cat: /proc/sys/fs/file-max: No such file or directoryDuvod?
$ mount /dev/disk0s3 on / (local, journaled) devfs on /dev (local) fdesc on /dev (union) <volfs> on /.vol automount -nsl [207] on /Network (automounted) automount -fstab [211] on /automount/Servers (automounted) automount -static [211] on /automount/static (automounted)
$ sysctl fs.file-max top level name fs in fs.file-max is invalidJdu zkoumat dal
$ sysctl -a | grep file kern.maxfiles = 12288 kern.maxfilesperproc = 10240 kern.symfile = \mach.sym kern.corefile = /cores/core.%P kern.hibernatefile:Myslim, ze jsem doma, tajemny integer je 12288
$cat /proc/sys/fs/file-max 24846Archlinux, 256 MB RAM.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.