Re[2]: High system in %system load .
Hello Ivan, Where is the system busy? For start, try to collect information about what are your processes doing - for example from top(1). 4 usersLoad 1.43 1.46 1.27 Nov 19 13:14 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 1367684 15208 444773227660 201372 count All 1424692 26352 9032876 107292 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt467 cow9218 total 2 9 282 13k 7775 36k 1218 350 7386 6832 zfodata0 irq14 ozfod 286 atapci1 19 30.3%Sys 0.4%Intr 6.7%User 0.0%Nice 62.6%Idle%ozfod 2014 cpu0: time ||||||||||| daefr 932 bge0 256 === 1337 prcfr 2014 cpu1: time 146 dtbuf 7420 totfr 1986 cpu3: time Namei Name-cache Dir-cache10 desvn react 1986 cpu2: time Callshits %hits % 85727 numvn pdwak 139486 138964 100 300 0 25001 frevn pdpgs intrn Disks ad4 ad6 ad10 ar0 503544 wire KB/t 0.00 0.00 0.00 13.27 1363312 act tps 0 0 073 1949608 inact MB/s 0.00 0.00 0.00 0.95 168476 cache %busy 0 0 012 32896 free 219632 buf -- Best regards, Gmail.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: High system in %system load [SOLVED]
Hello Ivan, Thank's Ivan you quite right this was problem with php session. Programmer set up in script's 2 years of session life. It was about 460k files in /var/tmp. COMMAND 55546 www 1 -40 198M 24912K ufs1 0:25 29.39% httpd 55986 www 1 -40 198M 23228K ufs2 0:08 21.39% httpd 56030 www 1 -40 199M 23400K ufs1 0:05 11.23% httpd Ok, high sys load in ufs state for me was often caused by PHP session storage. By default, PHP will store all session records in a single directory, which can grow to monstruous sizes. If this is also your case, here are some things to try: a) increase vfs.ufs.dirhash_maxmem to 10 MB or something like that (look at vfs.ufs.dirhash_mem to see if you're hitting the limit and if so, monitor it to see what your dirhash_maxmem limit should be) b) configure PHP to use sharded directory structure for sessions. -- Best regards, Igor ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]