Hello all!
I'm facing a critical and strange situation. I have a production box running Apache 2.2.17 + PHP 5.2.17 + MySQL 5.5.13 + memcached 1.4.5. The traffic has increased this week from 60 to 100~120 users at the same time. Apache stops responding a lot of times in a day remaining on lockf status as you can see:
I read the manual but could not conclude any clue about what can be.
http://www.freebsd.org/cgi/man.cgi?query=lockf&sektion=1
I also looked in /var/log/messages and the Apache error log, no errors. The BOX is a HP Proliant 2x Xeon 2.17Ghz quad core (2 package(s) x 4 core(s) x 2 SMT threads) + 8GB of RAM.
Anyone have an idea about what it could be?
Thanks in advance.
I'm facing a critical and strange situation. I have a production box running Apache 2.2.17 + PHP 5.2.17 + MySQL 5.5.13 + memcached 1.4.5. The traffic has increased this week from 60 to 100~120 users at the same time. Apache stops responding a lot of times in a day remaining on lockf status as you can see:
Code:
last pid: 38618; load averages: 143.17, 40.30, 15.75 up 0+22:36:01 10:30:30
2261 processes:335 running, 1926 sleeping
CPU: 0.1% user, 0.0% nice, 99.9% system, 0.0% interrupt, 0.0% idle
Mem: 1622M Active, 4311M Inact, 1721M Wired, 827M Buf, 244M Free
Swap: 512M Total, 512M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
38507 daemon 1 47 0 86836K 3480K ls_loc 11 0:05 30.18% httpd
38322 daemon 1 47 0 86836K 3368K lockf 1 0:07 19.09% httpd
38151 daemon 1 46 0 86836K 3364K lockf 10 0:07 18.90% httpd
38300 daemon 1 50 0 86836K 3364K RUN 9 0:05 18.36% httpd
38338 daemon 1 51 0 86836K 3368K lockf 13 0:04 16.55% httpd
38319 daemon 1 51 0 86836K 3368K lockf 15 0:05 16.36% httpd
38310 daemon 1 49 0 86836K 3368K RUN 10 0:05 15.38% httpd
38225 daemon 1 51 0 86836K 3368K lockf 6 0:05 15.28% httpd
38361 daemon 1 50 0 86836K 3368K CPU12 11 0:03 14.99% httpd
38308 daemon 1 49 0 86836K 3372K ls_loc 2 0:04 14.79% httpd
38399 daemon 1 51 0 86836K 3368K lockf 9 0:03 14.70% httpd
38415 daemon 1 55 0 86836K 3368K RUN 12 0:03 14.26% httpd
I read the manual but could not conclude any clue about what can be.
http://www.freebsd.org/cgi/man.cgi?query=lockf&sektion=1
I also looked in /var/log/messages and the Apache error log, no errors. The BOX is a HP Proliant 2x Xeon 2.17Ghz quad core (2 package(s) x 4 core(s) x 2 SMT threads) + 8GB of RAM.
Anyone have an idea about what it could be?
Thanks in advance.