- 论坛徽章:
- 0
|
出现如下提示:
maxproc limit execeeded by uid 0 please see tuning and login.conf
我查看syscl的结果如下:
kern.ostype: FreeBSD
kern.osrelease: 6.1-PRERELEASE
kern.osrevision: 199506
kern.version: FreeBSD 6.1-PRERELEASE #1: Thu Mar 30 09:48:43 UTC 2006
root@vod.test.com:/usr/src/sys/i386/compile/amd64
kern.maxvnodes: 100000
kern.maxproc: 6164
kern.maxfiles: 12328
kern.argmax: 262144
kern.securelevel: -1
kern.hostname: vod.test.com
kern.hostid: 0
kern.clockrate: { hz = 1000, tick = 1000, profhz = 666, stathz = 133 }
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 0
kern.boottime: { sec = 1143794076, usec = 245292 } Fri Mar 31 08:34:36 2006
kern.domainname:
kern.osreldate: 600105
kern.bootfile: /boot/kernel/kernel
kern.maxfilesperproc: 11095
kern.maxprocperuid: 5547
kern.ipc.maxsockbuf: 262144
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.max_linkhdr: 16
kern.ipc.max_protohdr: 40
kern.ipc.max_hdr: 56
kern.ipc.max_datalen: 152
kern.ipc.nmbjumbo16: 0
kern.ipc.nmbjumbo9: 0
kern.ipc.nmbjumbop: 0
kern.ipc.nmbclusters: 25600
kern.ipc.piperesizeallowed: 1
kern.ipc.piperesizefail: 0
kern.ipc.pipeallocfail: 0
kern.ipc.pipefragretry: 0
kern.ipc.pipekva: 65536
kern.ipc.pipes: 8
kern.ipc.maxpipekva: 16777216
kern.ipc.numopensockets: 23
kern.ipc.maxsockets: 25600
kern.ipc.nsfbufsused: 0
kern.ipc.nsfbufspeak: 3
kern.ipc.nsfbufs: 6656
kern.dummy: 0
kern.ps_strings: 3217031152
kern.usrstack: 3217031168
kern.logsigexit: 1
kern.iov_max: 1024
kern.cam.cam_srch_hi: 0
kern.cam.scsi_delay: 5000
kern.cam.cd.changer.max_busy_seconds: 15
kern.cam.cd.changer.min_busy_seconds: 5
kern.cam.da.default_timeout: 60
kern.cam.da.retry_count: 4
kern.disks: aacd0
kern.geom.collectstats: 1
kern.geom.debugflags: 0
kern.elf32.fallback_brand: -1
kern.init_shutdown_timeout: 120
kern.init_path: /sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall
kern.acct_suspended: 0
kern.acct_chkfreq: 15
kern.acct_resume: 4
kern.acct_suspend: 2
kern.cp_time: 753 414 1081 669 157262
kern.openfiles: 141
kern.kq_calloutmax: 4096
kern.ps_arg_cache_limit: 256
kern.stackprot: 7
kern.randompid: 0
kern.lastpid: 704
kern.module_path: /boot/kernel;/boot/modules
kern.malloc_count: 145
kern.malloc:
Type InUse MemUse HighUse Requests Size(s)
acpidev 44 2K - 44 32
acpisem 19 2K - 19 64
PCI Link 8 1K - 8 64,128
acpitask 0 0K - 1 32
acpica 1660 92K - 19262 16,32,64,128,256,512,1024
file desc 98 25K - 709 16,256,512
sigio 1 1K - 1 32
CAM periph 1 1K - 31 128
nexusdev 3 1K - 3 16
memdesc 1 4K - 1 4096
I/O APIC 3 2K - 3 256,1024
CAM SIM 3 1K - 3 64
cdev 18 3K - 18 128
atkbddev 1 1K - 1 32
acd_driver 1 2K - 1 2048
VM pgdata 2 65K - 2 64
ata_dma 2 1K - 2 128
ata_generic 1 1K - 1 1024
CAM queue 9 1K - 379 16,32,64,128
UMAHash 1 2K - 4 256,512,1024,2048
UFS mount 9 39K - 17 64,256,512,2048,4096
UFS dirhash 102 19K - 105 16,32,512
pagedep 1 64K - 5 64
inodedep 1 256K - 8 128
newblk 1 1K - 7397 64,256
bmsafemap 0 0K - 721 32
allocdirect 0 0K - 11 128
indirdep 0 0K - 1167 32
allocindir 0 0K - 7385 64
freeblks 0 0K - 2 256
freefile 0 0K - 2 32
diradd 0 0K - 2 32
dirrem 0 0K - 2 32
syncache 1 8K - 1
isadev 21 2K - 21 64
hostcache 1 24K - 1
IpFw/IpAcct 16 3K - 16 64,128,1024
in_multi 2 1K - 2 32
routetbl 143 34K - 165 16,32,64,128,256
GEOM 62 7K - 248 16,32,64,128,256,512,1024,2048
CAM dev queue 3 1K - 3 64
lo 1 1K - 1 16
arpcom 2 1K - 2 16
clone 1 4K - 1 4096
ifnet 4 4K - 4 256,1024
ifaddr 24 5K - 24 32,256,512,2048
ether_multi 7 1K - 8 16,32,64
BPF 3 1K - 3 64
pfs_nodes 20 3K - 20 128
mount 61 6K - 208 16,32,64,128,1024,2048
vnodemarker 0 0K - 137 512
vnodes 1 1K - 1 128
VFS hash 1 256K - 1
cluster_save buffer 0 0K - 138 32,64
vfscache 1 512K - 1
BIO buffer 236 472K - 851 2048
DEVFS 12 1K - 13 16,128
soname 4 1K - 146 16,32,128
pcb 19 5K - 30 16,32,64,2048
mbuf_tag 0 0K - 2 32
ptys 1 1K - 1 128
ttys 1014 144K - 2589 128,1024
ioctlops 0 0K - 1188 16,32,64,256,512,1024
iov 0 0K - 251 16,64,128
Unitno 6 1K - 150 16,64
turnstiles 151 10K - 151 64
taskqueue 6 1K - 6 128
sleep queues 151 5K - 151 32
sbuf 0 0K - 346 16,32,64,128,256,512,1024,2048,4096
DEVFS3 74 10K - 75 128
rman 161 10K - 513 16,64
DEVFS1 63 16K - 63 256
kobj 112 224K - 125 2048
eventhandler 33 2K - 33 32,128
devstat 4 9K - 4 16,4096
bus 635 29K - 3211 16,32,64,128,1024
bus-sc 49 74K - 1038 16,32,64,128,256,512,1024,2048,4096
SWAP 2 549K - 2 64
umtx 150 10K - 150 64
sysctl 0 0K - 299 16,32,64
sysctloid 2026 61K - 2026 16,32,64
sysctltmp 0 0K - 399 16,32,64,128
plimit 14 4K - 199 256
uidinfo 5 2K - 9 32,1024
cred 26 4K - 2722 128
entropy 1024 64K - 1024 64
pgrp 27 2K - 70 64
session 21 3K - 24 128
proc 2 8K - 2 4096
subproc 221 408K - 832 256,4096
mtx_pool 1 8K - 1
module 161 11K - 161 64,128
CAM XPT 36 21K - 273 16,64,512,1024
devbuf 501 2539K - 6792 16,32,64,128,256,512,1024,2048,4096
temp 11 253K - 1299 16,32,64,128,256,1024,2048,4096
aacbuf 259 41K - 280 32,128,512
lockf 8 1K - 1152 64
linker 33 2K - 53 16,32,256
ithread 54 6K - 55 64,128
zombie 0 0K - 611 128
proc-args 29 2K - 385 16,32,64,128,256
kqueue 0 0K - 20 256,1024
kenv 95 7K - 96 16,32,64,4096
kern.fallback_elf_brand: -1
kern.maxusers: 384
kern.ident: FIREWALL
kern.kstack_pages: 2
kern.shutdown.kproc_shutdown_wait: 60
kern.shutdown.poweroff_delay: 5000
kern.sync_on_panic: 0
kern.corefile: %N.core
kern.nodump_coredump: 0
kern.coredump: 1
kern.sugid_coredump: 0
kern.fscale: 2048
kern.timecounter.tick: 1
kern.timecounter.choice: TSC(-100) ACPI-fast(1000) i8254(0) dummy(-1000000)
kern.timecounter.hardware: ACPI-fast
kern.timecounter.nsetclock: 2
kern.timecounter.ngetmicrotime: 11473
kern.timecounter.ngetnanotime: 0
kern.timecounter.ngetbintime: 0
kern.timecounter.ngetmicrouptime: 26179
kern.timecounter.ngetnanouptime: 2441
kern.timecounter.ngetbinuptime: 15942
kern.timecounter.nmicrotime: 14233
kern.timecounter.nnanotime: 4275
kern.timecounter.nbintime: 18508
kern.timecounter.nmicrouptime: 758
kern.timecounter.nnanouptime: 0
kern.timecounter.nbinuptime: 1765994
kern.timecounter.stepwarnings: 0
kern.timecounter.smp_tsc: 0
kern.threads.thr_concurrency: 0
kern.threads.thr_scope: 0
kern.threads.virtual_cpu: 2
kern.threads.max_threads_hits: 0
kern.threads.max_groups_per_proc: 1500
kern.threads.max_threads_per_proc: 1500
kern.threads.debug: 0
kern.sched.preemption: 1
kern.sched.slice_max: 142
kern.sched.slice_min: 10
kern.sched.name: ule
kern.ccpu: 1948
kern.devstat.version: 6
kern.devstat.generation: 56
kern.devstat.numdevs: 1
kern.kobj_methodcount: 78
kern.log_wakeups_per_second: 5
kern.msgbuf_clear: 0
kern.msgbuf:
kern.always_console_output: 0
kern.log_console_output: 1
kern.smp.forward_roundrobin_enabled: 1
kern.smp.forward_signal_enabled: 1
kern.smp.cpus: 2
kern.smp.disabled: 0
kern.smp.active: 1
kern.smp.maxcpus: 16
kern.nselcoll: 0
kern.tty_nout: 1179235
kern.tty_nin: 1057
kern.drainwait: 300
kern.constty_wakeups_per_second: 5
kern.consmsgbuf_size: 8192
kern.consmute: 0
kern.console: consolectl,/consolectl,
kern.minvnodes: 25000
kern.metadelay: 28
kern.dirdelay: 29
kern.filedelay: 30
kern.chroot_allow_open_directories: 1
kern.random.yarrow.gengateinterval: 10
kern.random.yarrow.bins: 10
kern.random.yarrow.fastthresh: 192
kern.random.yarrow.slowthresh: 256
kern.random.yarrow.slowoverthresh: 2
kern.random.sys.seeded: 1
kern.random.sys.harvest.ethernet: 1
kern.random.sys.harvest.point_to_point: 1
kern.random.sys.harvest.interrupt: 1
kern.random.sys.harvest.swi: 0
vm.vmtotal:
System wide totals computed every five seconds: (values in kilobytes)
===============================================
Processes: (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 3
Virtual Memory: (Total: 52179K, Active 144388K)
Real Memory: (Total: 363128K Active 60168K)
Shared Virtual Memory: (Total: 24960K Active: 18940K)
Shared Real Memory: (Total: 17952K Active: 12972K)
Free Memory Pages: 1690816K
vm.loadavg: { 0.13 0.08 0.05 }
vm.v_free_min: 3319
vm.v_free_target: 14027
vm.v_free_reserved: 751
vm.v_inactive_target: 21040
vm.v_cache_min: 14027
vm.v_cache_max: 28054
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.kmem_size_scale: 3
vm.kmem_size_max: 335544320
vm.kmem_size: 335544320
vm.nswapdev: 1
vm.dmmax: 32
vm.swap_async_max: 4
vm.zone_count: 68
vm.zone:
ITEM SIZE LIMIT USED FREE REQUESTS
SWAPMETA: 276, 121576, 0, 0, 0
FFS2 dinode: 256, 0, 14980, 20, 15942
FFS1 dinode: 128, 0, 0, 0, 0
FFS inode: 132, 0, 14980, 71, 15942
IPFW dynamic: 108, 0, 19, 53, 19
divcb: 180, 25608, 0, 0, 0
rtentry: 132, 0, 6, 52, 6
ripcb: 180, 25608, 0, 44, 15
sackhole: 20, 0, 0, 169, 28
tcpreass: 20, 1690, 0, 169, 157
hostcache: 76, 15400, 0, 0, 0
syncache: 100, 15366, 0, 78, 5
tcptw: 48, 5148, 0, 0, 0
tcpcb: 464, 25600, 9, 7, 13
inpcb: 180, 25608, 9, 35, 13
udpcb: 180, 25608, 3, 63, 157
ipq: 32, 904, 0, 0, 0
unpcb: 140, 25620, 11, 73, 35
socket: 356, 25608, 23, 21, 221
KNOTE: 68, 0, 0, 112, 20
PIPE: 408, 0, 4, 23, 223
DIRHASH: 1024, 0, 91, 21, 93
L VFS Cache: 291, 0, 27, 64, 85
S VFS Cache: 68, 0, 15892, 124, 22224
NAMEI: 1024, 0, 2, 34, 88854
VNODEPOLL: 76, 0, 0, 0, 0
VNODE: 272, 0, 15011, 53, 15974
ata_composit: 196, 0, 0, 0, 0
ata_request: 204, 0, 0, 38, 18
g_bio: 132, 0, 0, 2233, 521198
ACL UMA zone: 388, 0, 0, 0, 0
mbuf_jumbo_1: 16384, 0, 0, 0, 0
mbuf_jumbo_9: 9216, 0, 0, 0, 0
mbuf_jumbo_p: 4096, 0, 0, 0, 0
mbuf_cluster: 2048, 25600, 512, 16, 512
mbuf: 256, 0, 514, 386, 6732
mbuf_packet: 256, 0, 640, 260, 5632
VMSPACE: 300, 0, 35, 30, 644
UPCALL: 44, 0, 5, 151, 5
KSEGRP: 96, 0, 129, 71, 129
THREAD: 396, 0, 133, 17, 204
PROC: 524, 0, 93, 33, 704
Files: 72, 0, 141, 124, 18434
4096: 4096, 0, 373, 19, 1071
2048: 2048, 0, 363, 89, 1019
1024: 1024, 0, 58, 166, 1518
512: 512, 0, 56, 32, 360
256: 256, 0, 478, 47, 1868
128: 128, 0, 1430, 160, 8323
64: 64, 0, 3519, 7042, 21777
32: 32, 0, 1660, 1504, 4704
16: 16, 0, 1790, 443, 20952
mt_zone: 1024, 0, 145, 3, 145
DP fakepg: 72, 0, 0, 0, 0
PV ENTRY: 24, 1746670, 34828, 2292, 276360
MAP ENTRY: 68, 0, 2435, 197, 23698
KMAP ENTRY: 68, 57344, 26, 254, 18245
MAP: 192, 0, 7, 33, 7
VM OBJECT: 132, 0, 15157, 126, 26347
128 Bucket: 524, 0, 130, 3, 544
64 Bucket: 268, 0, 59, 11, 97
32 Bucket: 140, 0, 47, 9, 66
16 Bucket: 76, 0, 45, 5, 63
UMA Hash: 128, 0, 5, 25, 6
UMA RCntSlab: 104, 0, 264, 32, 264
UMA Slabs: 64, 0, 786, 40, 7331
UMA Zones: 480, 0, 66, 6, 66
UMA Kegs: 140, 0, 66, 6, 66
vm.old_contigmalloc: 0
vm.swap_idle_threshold2: 10
vm.swap_idle_threshold1: 2
vm.exec_map_entries: 16
vm.stats.misc.zero_page_count: 356450
vm.stats.misc.cnt_prezero: 409264
vm.stats.vm.v_kthreadpages: 0
vm.stats.vm.v_rforkpages: 0
vm.stats.vm.v_vforkpages: 21716
vm.stats.vm.v_forkpages: 45891
vm.stats.vm.v_kthreads: 59
vm.stats.vm.v_rforks: 0
vm.stats.vm.v_vforks: 53
vm.stats.vm.v_forks: 592
vm.stats.vm.v_interrupt_free_min: 2
vm.stats.vm.v_pageout_free_min: 34
vm.stats.vm.v_cache_max: 28054
vm.stats.vm.v_cache_min: 14027
vm.stats.vm.v_cache_count: 0
vm.stats.vm.v_inactive_count: 55666
vm.stats.vm.v_inactive_target: 21040
vm.stats.vm.v_active_count: 10863
vm.stats.vm.v_wire_count: 24539
vm.stats.vm.v_free_count: 422703
vm.stats.vm.v_free_min: 3319
vm.stats.vm.v_free_target: 14027
vm.stats.vm.v_free_reserved: 751
vm.stats.vm.v_page_count: 513838
vm.stats.vm.v_page_size: 4096
vm.stats.vm.v_tfree: 240266
vm.stats.vm.v_pfree: 28844
vm.stats.vm.v_dfree: 0
vm.stats.vm.v_pdpages: 0
vm.stats.vm.v_pdwakeups: 0
vm.stats.vm.v_reactivated: 279
vm.stats.vm.v_intrans: 23
vm.stats.vm.v_vnodepgsout: 6
vm.stats.vm.v_vnodepgsin: 4904
vm.stats.vm.v_vnodeout: 3
vm.stats.vm.v_vnodein: 628
vm.stats.vm.v_swappgsout: 0
vm.stats.vm.v_swappgsin: 0
vm.stats.vm.v_swapout: 0
vm.stats.vm.v_swapin: 0
vm.stats.vm.v_ozfod: 27311
vm.stats.vm.v_zfod: 27397
vm.stats.vm.v_cow_optim: 262
vm.stats.vm.v_cow_faults: 19013
vm.stats.vm.v_vm_faults: 63556
vm.stats.sys.v_soft: 1044
vm.stats.sys.v_intr: 220481
vm.stats.sys.v_syscall: 635715
vm.stats.sys.v_trap: 83558
vm.stats.sys.v_swtch: 778325
vm.v_free_severe: 2035
vm.max_proc_mmap: 49344
vm.old_msync: 0
vm.msync_flush_flags: 3
vm.boot_pages: 48
vm.pageout_lock_miss: 0
vm.disable_swapspace_pageouts: 0
vm.defer_swapspace_pageouts: 0
vm.swap_idle_enabled: 0
vm.pageout_stats_interval: 5
vm.pageout_full_stats_interval: 20
vm.pageout_stats_max: 14027
vm.max_launder: 32
vm.idlezero_maxrun: 16
vm.idlezero_enable: 1
vm.kvm_free: 318763008
vm.kvm_size: 1069543424
vfs.ufs.dirhash_docheck: 0
vfs.ufs.dirhash_mem: 106247
vfs.ufs.dirhash_maxmem: 2097152
vfs.ufs.dirhash_minsize: 2560
vfs.devfs.rule_depth: 1
vfs.devfs.generation: 63
vfs.pfs.vncache.misses: 0
vfs.pfs.vncache.hits: 0
vfs.pfs.vncache.maxentries: 0
vfs.pfs.vncache.entries: 0
vfs.flushwithdeps: 0
vfs.getnewbufrestarts: 0
vfs.getnewbufcalls: 72672
vfs.hifreebuffers: 808
vfs.lofreebuffers: 404
vfs.numfreebuffers: 7085
vfs.dirtybufthresh: 1637
vfs.hidirtybuffers: 1819
vfs.lodirtybuffers: 909
vfs.numdirtybuffers: 113
vfs.recursiveflushes: 2
vfs.altbufferflushes: 0
vfs.dirtybufferflushes: 0
vfs.hirunningspace: 1048576
vfs.lorunningspace: 524288
vfs.bufdefragcnt: 0
vfs.buffreekvacnt: 0
vfs.bufreusecnt: 7154
vfs.hibufspace: 117276672
vfs.lobufspace: 117211136
vfs.maxmallocbufspace: 5863833
vfs.bufmallocspace: 483328
vfs.maxbufspace: 117932032
vfs.bufspace: 117211136
vfs.runningbufspace: 0
vfs.vmiodirenable: 1
vfs.cache.numfullpathfound: 54
vfs.cache.numfullpathfail4: 0
vfs.cache.numfullpathfail2: 0
vfs.cache.numfullpathfail1: 0
vfs.cache.numfullpathcalls: 54
vfs.cache.nchstats: 455257 18033 2091 0 24046 0 3422 5191
vfs.cache.numneghits: 18033
vfs.cache.numnegzaps: 10
vfs.cache.numposhits: 455257
vfs.cache.numposzaps: 2081
vfs.cache.nummisszap: 872
vfs.cache.nummiss: 23174
vfs.cache.numchecks: 479979
vfs.cache.dotdothits: 24
vfs.cache.dothits: 262
vfs.cache.numcalls: 499713
vfs.cache.numcache: 15919
vfs.cache.numneg: 993
vfs.read_max: 8
vfs.write_behind: 1
vfs.lookup_shared: 0
vfs.usermount: 0
vfs.worklist_len: 6
vfs.timestamp_precision: 0
vfs.reassignbufcalls: 28305
vfs.freevnodes: 114
vfs.wantfreevnodes: 25000
vfs.numvnodes: 15011
vfs.ffs.doreallocblks: 1
vfs.ffs.doasyncfree: 1
vfs.ffs.compute_summary_at_mount: 0
net.local.stream.recvspace: 8192
net.local.stream.sendspace: 8192
net.local.dgram.recvspace: 4096
net.local.dgram.maxdgram: 2048
net.local.recycled: 0
net.local.taskcount: 0
net.local.inflight: 0
由于几乎上没有访问量,所以没有时行优化,
为什么会出现这种情况呢?
准备降回6.0再试试,以前没有发生过这种现象 |
|