NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"sokva" again



Hi,

I hope that someone can help me. httpd processes are again having a state of sokva. I can't say for sure, but it seemed to make the problem worse when I added 2 more IP's to ifconfig and then added 3 ssl sites to my apache conf. The system has 3 network cards and 5 IPs now.


I have this in my kernel config:
maxusers        64
options         ALTIVEC         # Include AltiVec support
options         MAXFILES=32768
options         NMBCLUSTERS=32768
options         DFLDSIZ=402653184

I really can't understand this. If I build a kernel with: options SOSEND_NO_LOAN then I after a few days the system stops responding. What is really weird is that it intermittently responds to pings.

I have been thinking about building a kernel with options KMEMSTATS. Would this mean a performance hit?


I have this in my sysctl.conf:

vfs.nfs.iothreads=4
kern.no_sa_support=1
kern.somaxkva=75497472
kern.maxfiles=65536

All I can think is the kernel is running out of resources somewhere. Are there things that I could change in my apache config that would help?



output from netstat -m:
27708 mbufs in use:
        15104 mbufs allocated to data
        12603 mbufs allocated to packet headers
        1 mbufs allocated to socket names and addresses
94 calls to protocol drain routines


output from vmstat -m:
vmstat: Kmem statistics are not being gathered by the kernel.
Memory resource pool statistics
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle amappl 48 65849 0 61572 76 13 63 67 0 inf 1 anonpl 16 453215 0 395231 385 156 229 262 0 inf 0 biopl 192 1403 0 1386 28 27 1 11 0 inf 0 buf16k 16384 28790 0 28665 4523 4484 39 745 1 1 0 buf1k 1024 4 0 4 2 1 1 2 1 1 1 buf2k 2048 125107 0 125076 57484 57462 22 15034 1 1 1 buf32k 32768 72698 0 70253 14588 13352 1236 1625 1 1 1 buf4k 4096 52713 0 52591 52714 52591 123 8274 1 1 1 buf512b 512 6 0 6 1 0 1 1 1 1 1 buf8k 8192 6673 0 6618 302 293 9 95 1 1 0 bufpl 192 65006 0 62182 1970 892 1078 1539 0 inf 73 cwdi 24 2250 0 2111 4 3 1 2 0 inf 0 execargs 262144 24011 0 24011 36 35 1 1 0 16 1 fdfile 32 39218 0 37005 30 5 25 27 0 inf 0 ffsdino1 128 84330 0 31823 1898 38 1860 1860 0 inf 0 ffsino 192 88656 0 36148 2833 87 2746 2746 0 inf 0 file 72 5043 0 4493 17 6 11 13 0 inf 0 filedesc 664 2122 0 1983 57 32 25 30 0 inf 0 fstrans 24 4010 0 3743 5 3 2 3 0 inf 0 in6pcbpl 152 148 0 137 1 0 1 1 0 inf 0 inmltpl 32 3 0 0 1 0 1 1 0 inf 0 inpcbpl 120 651561 0 650936 63 43 20 26 0 inf 0 ipfrenpl 24 36 0 36 2 2 0 1 0 inf 0 kcpuset 16 2 0 0 1 0 1 1 0 inf 0 kcredpl 176 44144 0 531 1897 0 1897 1897 0 inf 0 kmem-1024 1024 25346 0 23687 1361 946 415 552 0 inf 0 kmem-112 112 6653 0 6297 23 11 12 14 0 inf 1 kmem-128 128 572 0 456 10 6 4 4 0 inf 0 kmem-16 16 5679 0 5021 3 0 3 3 0 inf 0 kmem-160 160 1000 0 531 26 7 19 19 0 inf 0 kmem-192 192 342 0 229 6 0 6 6 0 inf 0 kmem-2048 2048 190 0 140 43 18 25 26 0 inf 0 kmem-224 224 2171 0 2061 16 9 7 9 0 inf 0 kmem-24 24 8202 0 7314 7 1 6 7 0 inf 0 kmem-256 256 277 0 263 8 7 1 2 0 inf 0 kmem-32 32 17983 0 17396 58 45 13 35 0 inf 0 kmem-320 320 1982 0 1878 23 13 10 13 0 inf 0 kmem-384 384 310 0 261 13 8 5 6 0 inf 0 kmem-40 40 28591 0 27079 30 12 18 21 0 inf 0 kmem-4096 4096 120 0 100 24 4 20 22 0 inf 0 kmem-448 448 6504 0 6171 102 61 41 52 0 inf 4 kmem-48 48 6791 0 6170 10 2 8 9 0 inf 0 kmem-512 512 2208 0 2099 57 42 15 27 0 inf 0 kmem-56 56 2227 0 2139 4 2 2 3 0 inf 0 kmem-64 64 35722 0 33408 53 8 45 48 0 inf 0 kmem-768 768 541 0 505 30 19 11 11 0 inf 2 kmem-8 8 90320 0 84963 15 2 13 14 0 inf 0 kmem-80 80 4757 0 4365 13 4 9 10 0 inf 0 kmem-96 96 23194 0 21811 67 29 38 45 0 inf 1 ksiginfo 48 197 0 195 1 0 1 1 0 inf 0 kva-12288 12288 7 0 5 1 0 1 1 0 inf 0 kva-16384 16384 14 0 9 1 0 1 1 0 inf 0 kva-24576 24576 2 0 0 1 0 1 1 0 inf 0 kva-32768 32768 6 0 3 2 1 1 1 0 inf 0 kva-8192 8192 13 0 9 1 0 1 1 0 inf 0 lockf 64 298 0 288 1 0 1 1 0 inf 0 lwppl 704 2335 0 2141 87 48 39 47 0 inf 0 mbpl 256 67265 0 35695 2026 46 1980 1981 1 inf 6 mclpl 2048 12789 0 11468 1541 876 665 718 4 16384 4 mutex 24 91092 0 37234 350 0 350 350 0 inf 0 ncache 104 109996 0 58615 1412 67 1345 1345 0 inf 0 nfsreqcachepl 56 64 0 0 1 0 1 1 0 inf 0 nfsrvdescpl 192 182805 0 182805 37 37 0 1 0 inf 0 pcache 576 66 0 0 10 0 10 10 0 inf 0 pcglarge 512 10681 0 9954 514 423 91 118 0 inf 0 pcgnormal 128 165961 0 163611 1214 1138 76 291 0 inf 0 pdict16 48 25 0 0 1 0 1 1 0 inf 0 pdict32 64 6 0 0 1 0 1 1 0 inf 0 phpool-0 32 135653 0 130784 179 48 131 144 0 inf 1 phpool-128 48 102 0 61 1 0 1 1 0 inf 0 phpool-256 64 10 0 1 1 0 1 1 0 inf 0 phpool-512 96 15 0 2 1 0 1 1 0 inf 0 phpool-64 40 636 0 436 3 0 3 3 0 inf 0 piperd 216 163 0 154 1 0 1 1 0 inf 0 pipewr 216 161 0 151 1 0 1 1 0 inf 0 plimitpl 208 115 0 102 1 0 1 1 0 inf 0 pmap_mpvopl 32 200676113 0 200523878 26263 24779 1484 2362 8 inf 78 pmap_pl 148 73315 0 73214 43 38 5 7 0 inf 0 pmap_upvopl 32 20548057 0 20517938 319 32 287 294 2 inf 0 pnbufpl 1024 1445 0 1415 70 53 17 17 0 inf 9 procpl 456 2274 0 2135 41 21 20 23 0 inf 1 proparay 32 51 0 0 1 0 1 1 0 inf 0 propdict 32 128 0 6 1 0 1 1 0 inf 0 propnmbr 40 26 0 0 1 0 1 1 0 inf 0 propstng 24 157 0 0 1 0 1 1 0 inf 0 pstatspl 312 2353 0 2214 21 9 12 14 0 inf 0 ptimerpl 176 10491 0 10469 8 6 2 3 0 inf 0 ptimerspl 144 10487 0 10465 9 7 2 3 0 inf 0 ractx 32 89506 0 67332 381 1 380 381 0 inf 0 rndctx 24 26 0 24 1 0 1 1 0 inf 0 rndsample 528 65 0 56 2 0 2 2 0 inf 0 rndtemp 512 28 0 27 12 11 1 1 0 inf 0 rtentpl 192 56 0 19 2 0 2 2 0 inf 0 rttmrpl 40 8 0 8 6 6 0 1 0 inf 0 sackholepl 24 233003 0 232998 3 1 2 2 0 inf 1 scxspl 168 2132735 0 2132735 1 0 1 1 1 inf 1 sigacts 2064 2244 0 2105 567 428 139 180 0 inf 0 socket 336 6495 0 5735 101 27 74 80 0 inf 0 synpl 192 604978 0 604975 83 80 3 10 0 inf 2 tcpcbpl 504 649076 0 648452 403 320 83 108 0 inf 4 tcpipqepl 48 316229 0 316228 1 0 1 1 0 inf 0 tstilepl 56 2132 0 1938 6 3 3 4 0 inf 0 uarea 16384 2093 0 1933 560 400 160 202 0 inf 0 uareasys 16384 34 0 0 34 0 34 34 0 inf 0 ufsdir 264 49 0 48 2 1 1 1 0 inf 0 vmmpepl 88 794309 0 751827 2208 1149 1059 1263 0 inf 4 vmsppl 240 2194 0 2055 18 8 10 12 0 inf 0 vnodepl 176 84422 0 31900 2582 74 2508 2508 0 inf 0

In use 151089K, total allocated 164528K; utilization 91.8%

Thanks,
Al



Home | Main Index | Thread Index | Old Index