Httpd Sering down di VPS dengan panel webmin

Discussion in 'VPS (Virtual Private Server)' started by cyberidiot, 14 Mar 2012.

Thread Status:
Not open for further replies.
  1. cyberidiot

    cyberidiot Poster 2.0

    Messages:
    126
    Likes Received:
    12
    Trophy Points:
    18
    malam,

    new bie mw nanya nih, saya ada vps untuk game server ada web control panelnya, webnya suka tidak bisa di akses, sedangkan kalau habis jalankan

    # service httpd restart

    di putty maka webnya bisa kebuka, setelah beberapa menit dicoba, webnya tidak bisa dibuka kembali. masalahnya di mana ya? saat web tidak bisa di akses, saya bisa buka web phpmyadmin maupun webminnya, karena beda port, nah yang masalah kyknya di port 80 / httpdnya.

    sudah:

    # chkconfig --levels 235 httpd on

    juga, gimana ya solusinya? VPS nya OpenVz

    apakah ada yang flood ke port 80 web saya?


    Makasih :peep:
     
  2. JOGLOMedia

    JOGLOMedia Poster 1.0

    Messages:
    88
    Likes Received:
    4
    Trophy Points:
    8
    utk bisa membantu analisis lbh lanjut bs diinformasikan jg om, gimana spec server dan kondisi website yg dihostkan disana (traffic),
    klo pengalaman saya pribadi biasanya httpd down pd saat tjd cpu spikes dan memory usagenya tinggi krn lonjakan traffic pd jam2 sibuk ^^

    cb jalankan command ini utk melihat request yg masuk ke port 80 utk deteksi dini adanya ttack

     
  3. Adhie

    Adhie Expert 1.0

    Messages:
    733
    Likes Received:
    56
    Trophy Points:
    28
    coba lihat log error nya
    /etc/httpd/logs/
     
  4. cyberidiot

    cyberidiot Poster 2.0

    Messages:
    126
    Likes Received:
    12
    Trophy Points:
    18

    # netstat -plan | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
    12

    hasilnya 12... maksudnya gmn?
     
  5. cyberidiot

    cyberidiot Poster 2.0

    Messages:
    126
    Likes Received:
    12
    Trophy Points:
    18
    # tail -f /etc/httpd/logs/error_log
    [Thu Mar 15 00:50:25 2012] [notice] Digest: done
    [Thu Mar 15 00:50:25 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
    [Thu Mar 15 00:50:29 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
    [Thu Mar 15 00:51:11 2012] [error] [client 69.171.224.245] File does not exist: /var/www/html/ewe
    [Thu Mar 15 00:57:10 2012] [notice] caught SIGTERM, shutting down
    [Thu Mar 15 00:57:10 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Mar 15 00:57:10 2012] [notice] Digest: generating secret for digest authentication ...
    [Thu Mar 15 00:57:10 2012] [notice] Digest: done
    [Thu Mar 15 00:57:10 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
    [Thu Mar 15 00:57:17 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting

    MaxClients di httpd.conf = 1000

    sebelumnya 256, dinaikan juga sama saja..
     
  6. JOGLOMedia

    JOGLOMedia Poster 1.0

    Messages:
    88
    Likes Received:
    4
    Trophy Points:
    8
    krng lbh maksudnya yg konek k port 80 d saat itu hanya sekitar 12 biji ^^

    btw spec servernya gmn? terutama RAM nya berapa? koq itunya diset sampai 1000, :s
     
  7. wowrack

    wowrack Beginner 2.0

    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Coba check memory Tuan. "vmstat" atau "top" nanti keliatan memory status nya gimana. Mungkin bisa diposting disini memory statusnya, nanti coba kita simak sama2
     
  8. vkios01

    vkios01 Expert 1.0

    Messages:
    749
    Likes Received:
    18
    Trophy Points:
    18
    kalau saya pakai nginx yang sering down fcgi nya. jadi harus start ulang tiap beberapa menit lewat cron.
    apa mungkin bisa disamakan untuk kasusnya om ya buat start httpd nya?

    saya pakai virtualmin, yang jelas pakai webmin didalamnya :D
    masi nunggu penerapan php-fpm buat pengganti fcgi..tapi belum rilis2 dari virtualmin :S
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...