• 10-04-2013, 11:01:41
    #1
    Üyeliği durduruldu
    sunucumda nginx admin kurulu yaklaşım 3 aydır herhangi bir sorun yoktu, 2 gündür sitelere login olurken yada post gönderirken 500 internal server Error hatası alıyorum. Sorunu nasıl çözebilirim Konu hakkında bilgisi olan arkadaşlar yardımcı olurmusunuz . Sunucu Centos 64 bit, Cpanel ve memcache kurulu..
  • 10-04-2013, 11:30:10
    #2
    sunucuoptimizasyon.com
    Muhtemelen tmp kaynaklı bir sorun. Tmp alanını arttırıp tekrar deneyin.
  • 10-04-2013, 11:32:34
    #3
    loglarınıza baktınız mı ?
  • 10-04-2013, 12:39:41
    #4
    Üyeliği durduruldu
    tmp klasörü
    Filesystem            Size  Used Avail Use% Mounted on
    /usr/tmpDSK           4.0G  199M  3.6G   6% /tmp
     total       used       free     shared    buffers     cached
    Mem:         24022       9943      14078          0        750       8037
    -/+ buffers/cache:       1155      22866
    Swap:        12287          0      12287
    tmp de herhangi bir sorun yok nginx servisini durdurup yeniden aktif ettiğimde sorun düzeliyor fakat 10 - 15 dakika sonra tekrar aynı sorunu veriyor
    Logları
    2013/04/10 07:48:02 [notice] 14568#0: using the "epoll" event method
    2013/04/10 07:48:02 [notice] 14568#0: nginx/1.2.6
    2013/04/10 07:48:02 [notice] 14568#0: built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
    2013/04/10 07:48:02 [notice] 14568#0: OS: Linux 2.6.32-279.22.1.el6.x86_64
    2013/04/10 07:48:02 [notice] 14568#0: getrlimit(RLIMIT_NOFILE): 65535:65535
    2013/04/10 07:48:02 [notice] 14569#0: start worker processes
    2013/04/10 07:48:02 [notice] 14569#0: start worker process 14570
    2013/04/10 07:48:02 [notice] 14569#0: start worker process 14571
    2013/04/10 08:22:03 [notice] 14569#0: signal 2 (SIGINT) received, exiting
    2013/04/10 08:22:03 [notice] 14571#0: exiting
    2013/04/10 08:22:03 [notice] 14570#0: exiting
    2013/04/10 08:22:03 [notice] 14571#0: exit
    2013/04/10 08:22:03 [notice] 14570#0: exit
    2013/04/10 08:22:03 [notice] 14569#0: signal 17 (SIGCHLD) received
    2013/04/10 08:22:03 [notice] 14569#0: worker process 14570 exited with code 0
    2013/04/10 08:22:03 [notice] 14569#0: worker process 14571 exited with code 0
    2013/04/10 08:22:03 [notice] 14569#0: exit
    2013/04/10 08:22:08 [notice] 3748#0: using the "epoll" event method
    2013/04/10 08:22:08 [notice] 3748#0: nginx/1.2.6
    2013/04/10 08:22:08 [notice] 3748#0: built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
    2013/04/10 08:22:08 [notice] 3748#0: OS: Linux 2.6.32-279.22.1.el6.x86_64
    2013/04/10 08:22:08 [notice] 3748#0: getrlimit(RLIMIT_NOFILE): 65535:65535
    2013/04/10 08:22:08 [notice] 3749#0: start worker processes
    2013/04/10 08:22:08 [notice] 3749#0: start worker process 3750
    2013/04/10 08:22:08 [notice] 3749#0: start worker process 3751
    2013/04/10 08:30:40 [notice] 3749#0: signal 2 (SIGINT) received, exiting
    2013/04/10 08:30:40 [notice] 3750#0: exiting
  • 10-04-2013, 20:16:41
    #5
    citylight adlı üyeden alıntı: mesajı görüntüle
    tmp klasörü
    Filesystem            Size  Used Avail Use% Mounted on
    /usr/tmpDSK           4.0G  199M  3.6G   6% /tmp
     total       used       free     shared    buffers     cached
    Mem:         24022       9943      14078          0        750       8037
    -/+ buffers/cache:       1155      22866
    Swap:        12287          0      12287
    tmp de herhangi bir sorun yok nginx servisini durdurup yeniden aktif ettiğimde sorun düzeliyor fakat 10 - 15 dakika sonra tekrar aynı sorunu veriyor
    Logları
    2013/04/10 07:48:02 [notice] 14568#0: using the "epoll" event method
    2013/04/10 07:48:02 [notice] 14568#0: nginx/1.2.6
    2013/04/10 07:48:02 [notice] 14568#0: built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
    2013/04/10 07:48:02 [notice] 14568#0: OS: Linux 2.6.32-279.22.1.el6.x86_64
    2013/04/10 07:48:02 [notice] 14568#0: getrlimit(RLIMIT_NOFILE): 65535:65535
    2013/04/10 07:48:02 [notice] 14569#0: start worker processes
    2013/04/10 07:48:02 [notice] 14569#0: start worker process 14570
    2013/04/10 07:48:02 [notice] 14569#0: start worker process 14571
    2013/04/10 08:22:03 [notice] 14569#0: signal 2 (SIGINT) received, exiting
    2013/04/10 08:22:03 [notice] 14571#0: exiting
    2013/04/10 08:22:03 [notice] 14570#0: exiting
    2013/04/10 08:22:03 [notice] 14571#0: exit
    2013/04/10 08:22:03 [notice] 14570#0: exit
    2013/04/10 08:22:03 [notice] 14569#0: signal 17 (SIGCHLD) received
    2013/04/10 08:22:03 [notice] 14569#0: worker process 14570 exited with code 0
    2013/04/10 08:22:03 [notice] 14569#0: worker process 14571 exited with code 0
    2013/04/10 08:22:03 [notice] 14569#0: exit
    2013/04/10 08:22:08 [notice] 3748#0: using the "epoll" event method
    2013/04/10 08:22:08 [notice] 3748#0: nginx/1.2.6
    2013/04/10 08:22:08 [notice] 3748#0: built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
    2013/04/10 08:22:08 [notice] 3748#0: OS: Linux 2.6.32-279.22.1.el6.x86_64
    2013/04/10 08:22:08 [notice] 3748#0: getrlimit(RLIMIT_NOFILE): 65535:65535
    2013/04/10 08:22:08 [notice] 3749#0: start worker processes
    2013/04/10 08:22:08 [notice] 3749#0: start worker process 3750
    2013/04/10 08:22:08 [notice] 3749#0: start worker process 3751
    2013/04/10 08:30:40 [notice] 3749#0: signal 2 (SIGINT) received, exiting
    2013/04/10 08:30:40 [notice] 3750#0: exiting
    incelemek gerekiyor ayrıca zaten bu şekilde kullanmanız size çok fazla bir artı sağlamaz performans istiyorsanız nginx'i proxy olarak değil direkt web server olarak kullanın.
  • 11-04-2013, 09:11:06
    #6
    Üyeliği durduruldu
    Sanırım normal düzeltilemiyor kendi sitesinin destek bölümünde kaldırılıp yeniden kurulmaası gerektiğini söylüyorlar . http://nginxcp.com/forums/Thread-500...-server-errors galiba başkada çözümü yok saatlerce uğraştırdı.
  • 11-04-2013, 10:29:50
    #7
    Biz genelde bu sorunla crontab a aşağıdaki kodu eklemediğimizde yaşıyoruz.



    crontab -e yazıp aşağıdaki kodun satırlarda olup olmadığını kontrol eder misiniz ?

    0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client
  • 17-04-2013, 17:04:30
    #8
    Kimlik doğrulama veya yönetimden onay bekliyor.
    /usr/sbin/tmpwatch -am 1 /tmp/nginx_client komutunu
    bir defa çalıştırın
    düzelirse cron a yazın
  • 24-11-2013, 19:41:07
    #9
    OmurTech adlı üyeden alıntı: mesajı görüntüle
    Biz genelde bu sorunla crontab a aşağıdaki kodu eklemediğimizde yaşıyoruz.



    crontab -e yazıp aşağıdaki kodun satırlarda olup olmadığını kontrol eder misiniz ?

    0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client
    Aradan 7 ay geçmiş olsa da şu anda yukarıdaki kodlar hayatımı kurtardı... Teşekkürler omurtech