Vlákno názorů k článku
FreeBSD 7.0 je venku i s mnoha novinkami
uživatel si přál zůstat v anonymitě
28. 2. 2008 15:44
Re: Java
to vyzera ako naozaj profesionalne nastavenie s dokonale odladenymi hodnotami... ;) ale teraz vazne, ak je na FreeBSD vyhadzovana java.lang.OutOfMemoryException a na Linuxe alebo Windowse s tymi istymi parametrami nie, tak su zrejme odlisne defaultne nastavenia a treba ich zvysit...
LENIN POWER! (neregistrovaný)
28. 2. 2008 19:52
Re: Java
> sysctl -a | grep max
kern.maxvnodes: 100000
kern.maxproc: 6164
kern.maxfiles: 30000
kern.argmax: 262144
kern.maxfilesperproc: 11095
kern.maxprocperuid: 5547
kern.ipc.maxsockbuf: 262144
kern.ipc.somaxconn: 128
kern.ipc.max_linkhdr: 16
kern.ipc.max_protohdr: 60
kern.ipc.max_hdr: 76
kern.ipc.max_datalen: 100
kern.ipc.maxpipekva: 20971520
kern.ipc.msgmax: 16384
kern.ipc.shmmax: 134217728
kern.ipc.maxsockets: 25600
kern.iov_max: 1024
kern.cam.cd.changer.max_busy_seconds: 15
kern.kq_calloutmax: 4096
kern.maxusers: 384
kern.threads.max_threads_hits: 0
kern.threads.max_groups_per_proc: 1500
kern.threads.max_threads_per_proc: 1500
kern.smp.maxcpus: 16
vm.v_cache_max: 26792
vm.kmem_size_max: 419430400
vm.dmmax: 32
vm.swap_async_max: 4
vm.stats.vm.v_cache_max: 26792
vm.max_proc_mmap: 37449
vm.pageout_stats_max: 13396
vm.max_launder: 32
vm.idlezero_maxrun: 16
vfs.ufs.dirhash_maxmem: 2097152
vfs.nfs.iodmax: 20
vfs.nfs.iodmaxidle: 120
vfs.pfs.vncache.maxentries: 1
vfs.maxmallocbufspace: 10854400
vfs.maxbufspace: 217743360
vfs.read_max: 8
net.local.dgram.maxdgram: 2048
net.inet.ip.rtmaxcache: 128
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.maxfragpackets: 800
net.inet.ip.maxfragsperpacket: 16
net.inet.tcp.reass.maxqlen: 48
net.inet.tcp.reass.maxsegments: 1600
net.inet.tcp.sack.globalmaxholes: 65536
net.inet.tcp.sack.maxholes: 128
net.inet.tcp.inflight.max: 1073725440
net.inet.tcp.maxtcptw: 5120
net.inet.udp.maxdgram: 9216
net.inet.raw.maxdgram: 8192
net.link.ether.inet.maxtries: 5
net.link.ether.inet.max_age: 1200
net.link.gif.max_nesting: 1
net.inet6.ip6.maxfragpackets: 6400
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.maxfrags: 6400
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_maxqueuelen: 1
net.bpf.maxinsns: 512
net.bpf.maxbufsize: 524288
net.route.netisr_maxqlen: 256
debug.maxindirdeps: 50
debug.max_softdeps: 400000
hw.aac.iosize_max: 65536
hw.firewire.sbp.max_speed: -1
user.bc_base_max: 99
user.bc_dim_max: 2048
user.bc_scale_max: 99
user.bc_string_max: 1000
user.coll_weights_max: 0
user.expr_nest_max: 32
user.line_max: 2048
user.re_dup_max: 255
user.stream_max: 20
user.tzname_max: 255
p1003_1b.aio_listio_max: -1
p1003_1b.aio_max: -1
p1003_1b.aio_prio_delta_max: -1
p1003_1b.delaytimer_max: 0
p1003_1b.mq_open_max: 0
p1003_1b.rtsig_max: 0
p1003_1b.sem_nsems_max: 0
p1003_1b.sem_value_max: 0
p1003_1b.sigqueue_max: 0
p1003_1b.timer_max: 0
compat.ia32.maxvmem: 0
compat.ia32.maxssiz: 67108864
compat.ia32.maxdsiz: 536870912
compat.linux32.maxvmem: 0
compat.linux32.maxssiz: 67108864
compat.linux32.maxdsiz: 536870912
kern.maxvnodes: 100000
kern.maxproc: 6164
kern.maxfiles: 30000
kern.argmax: 262144
kern.maxfilesperproc: 11095
kern.maxprocperuid: 5547
kern.ipc.maxsockbuf: 262144
kern.ipc.somaxconn: 128
kern.ipc.max_linkhdr: 16
kern.ipc.max_protohdr: 60
kern.ipc.max_hdr: 76
kern.ipc.max_datalen: 100
kern.ipc.maxpipekva: 20971520
kern.ipc.msgmax: 16384
kern.ipc.shmmax: 134217728
kern.ipc.maxsockets: 25600
kern.iov_max: 1024
kern.cam.cd.changer.max_busy_seconds: 15
kern.kq_calloutmax: 4096
kern.maxusers: 384
kern.threads.max_threads_hits: 0
kern.threads.max_groups_per_proc: 1500
kern.threads.max_threads_per_proc: 1500
kern.smp.maxcpus: 16
vm.v_cache_max: 26792
vm.kmem_size_max: 419430400
vm.dmmax: 32
vm.swap_async_max: 4
vm.stats.vm.v_cache_max: 26792
vm.max_proc_mmap: 37449
vm.pageout_stats_max: 13396
vm.max_launder: 32
vm.idlezero_maxrun: 16
vfs.ufs.dirhash_maxmem: 2097152
vfs.nfs.iodmax: 20
vfs.nfs.iodmaxidle: 120
vfs.pfs.vncache.maxentries: 1
vfs.maxmallocbufspace: 10854400
vfs.maxbufspace: 217743360
vfs.read_max: 8
net.local.dgram.maxdgram: 2048
net.inet.ip.rtmaxcache: 128
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.maxfragpackets: 800
net.inet.ip.maxfragsperpacket: 16
net.inet.tcp.reass.maxqlen: 48
net.inet.tcp.reass.maxsegments: 1600
net.inet.tcp.sack.globalmaxholes: 65536
net.inet.tcp.sack.maxholes: 128
net.inet.tcp.inflight.max: 1073725440
net.inet.tcp.maxtcptw: 5120
net.inet.udp.maxdgram: 9216
net.inet.raw.maxdgram: 8192
net.link.ether.inet.maxtries: 5
net.link.ether.inet.max_age: 1200
net.link.gif.max_nesting: 1
net.inet6.ip6.maxfragpackets: 6400
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.maxfrags: 6400
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_maxqueuelen: 1
net.bpf.maxinsns: 512
net.bpf.maxbufsize: 524288
net.route.netisr_maxqlen: 256
debug.maxindirdeps: 50
debug.max_softdeps: 400000
hw.aac.iosize_max: 65536
hw.firewire.sbp.max_speed: -1
user.bc_base_max: 99
user.bc_dim_max: 2048
user.bc_scale_max: 99
user.bc_string_max: 1000
user.coll_weights_max: 0
user.expr_nest_max: 32
user.line_max: 2048
user.re_dup_max: 255
user.stream_max: 20
user.tzname_max: 255
p1003_1b.aio_listio_max: -1
p1003_1b.aio_max: -1
p1003_1b.aio_prio_delta_max: -1
p1003_1b.delaytimer_max: 0
p1003_1b.mq_open_max: 0
p1003_1b.rtsig_max: 0
p1003_1b.sem_nsems_max: 0
p1003_1b.sem_value_max: 0
p1003_1b.sigqueue_max: 0
p1003_1b.timer_max: 0
compat.ia32.maxvmem: 0
compat.ia32.maxssiz: 67108864
compat.ia32.maxdsiz: 536870912
compat.linux32.maxvmem: 0
compat.linux32.maxssiz: 67108864
compat.linux32.maxdsiz: 536870912
29. 2. 2008 14:40
Re: Java
Mam dojem, ze jste se zminil,ze FreeBSD provozujete na amd64, nejsem si ted uplne jisty, jestli existuje i 64b portpro javu a nebo jestli jede v 32b emulaci. Pokud ano,urcite se zamerte na
compat.ia32.maxvmem: 0
compat.ia32.maxssiz: 67108864
compat.ia32.maxdsiz: 536870912
Mozna si VM alokuje vice jak 536870912B pro data, tak je jasne, ze dojde k out of memory.
compat.ia32.maxvmem: 0
compat.ia32.maxssiz: 67108864
compat.ia32.maxdsiz: 536870912
Mozna si VM alokuje vice jak 536870912B pro data, tak je jasne, ze dojde k out of memory.

