Sunday, October 03, 2010

Monitoring Web CPNS

2 Okt 2010, Jam 08:00 = 335.305
3 Okt 2010, Jam 22:22 = 339.971
4 Okt 2010, Jam 04:39 = 340.445
4 Okt 2010, Jam 17:09 = 343.326
5 Okt 2010, Jam 03:02 = 346.411
5 Okt 2010, Jam 18:38 = 352.337
6 Okt 2010, Jam 03:51 = 354.441
6 Okt 2010, Jam 19:51 = 357.810
7 Okt 2010, Jam 04:07 = 358.941
7 Okt 2010, Jam 17:17 = 361.448
11 Okt 2010, Jam 09:59 = 369.955
12 Okt 2010, Jam 04:18 = 372.333

Pesan kesalahan :
  1. Can't connect to the database server. Error Message: Too many connections
  2. Koneksi Gagal

[root@serpong6] ~ # /usr/local/etc/rc.d/apache restart
Stopping apache.
Waiting for PIDS: 4230, 4230, 4230, 4230.
Starting apache.
[Mon Oct 4 16:56:19 2010] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
...
[Mon Oct 4 16:56:19 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[root@serpong6] ~ #

Solusi :
Tambah swap menjadi 4096 MB
Edit /usr/local/etc/apache/httpd.conf

[root@serpong6] ~ # grep 123 /etc/services
[root@serpong6] ~ # cd /usr/local/etc/apache/
[root@serpong6] ~ # mcedit httpd.conf
[root@serpong6] ~ # netstat -n
[root@serpong6] ~ # netstat -n | more
[root@serpong6] ~ # netstat -n | grep ipv4 | more
[root@serpong6] ~ # sysctl -a | more

No comments:

Post a Comment