strange error messages every 5 minutes

Discussion in 'Server Operation' started by bobpit, Jan 7, 2014.

  1. bobpit

    bobpit Member

    I have a proxy server (ubuntu 12.04 + nginx 1.4.4).

    In the nginx access log, I see this entry every 5 minutes:
    127.0.0.1 - - [07/Jan/2014:18:10:02 +0000] "GET / HTTP/1.1" 403 168 "-" "Mozilla/5.0 (ISPConfig monitor)"

    In the nginx error log, I also see this entry every 5 minutes:
    2014/01/07 17:45:02 [error] 18832#0: *928 directory index of "/usr/share/nginx/www/" is forbidden, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"

    What are these? What does ISPConfig do every 5 minutes? Maybe the webalizer working? But what about the ERROR log?


    The main reason I am investigating this is because the server every few hours stops responding to the web browser, although I am able to have ftp access and SSH.

    Besides the above strange entries, I do not see anything suspicious in the access and error log files.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Its written in the log line "ISPConfig Mnitor".

    Check if your server is online and responding correctly.

    try to add a index.html file in /usr/share/nginx/www/

    What you posted abive is not related to this problem. try to install monin and munit.
     
  3. bobpit

    bobpit Member

    Really? So it will give me some kind of warning if the site goes down, like in the cases I describe?

    ok, I just did. I will see how it behaves. I had removed the index.html file because the real site is located at /var/www/clients/client1/web2/web

    You mean munin? I thought of it but I installed HttpStubStatusModule instead. At the moment of the error this is what it read:
    Active connections: 25
    server accepts handled requests
    290 290 1177
    Reading: 0 Writing: 1 Waiting: 24

    Do you really think it is better to install monin and munin?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes and ispconfig can also restart services in this case. see monitor module and system > server config > rescue.

    yes.

    I use munin and monit. But cant say if they are better or worse then the software you use.
     
  5. bobpit

    bobpit Member

    Thank you Till.
     
  6. bobpit

    bobpit Member

    Till

    May I ask.

    What should I look for if I install munin and monit?
     
  7. bobpit

    bobpit Member

    Yes, this was causing the entries in the error.log.
     
  8. bobpit

    bobpit Member

    I did set it. I think I noticed that the messages were every 1 min instead of every 5 minutes. Did not notice restarting of any job, despite the errors I got.


    Another thing. In the ISPconfig3 site setup, the pm.max_children = 10

    I manually went and changed the etc/php5/fpm/pool.d/web2.conf and set
    pm.max_children = 60

    The system was improved and the warnings reduced/changed.

    However the ISPconfig3 site setup still says pm.max_children = 10
     
  9. bobpit

    bobpit Member

    I had to change the settings through the ispconfig3 page. Then the figures were in sync.
     

Share This Page