В последнее время мы сталкиваемся с загадочными, периодическими сбоями Apache, несколько раз в день, но без определений, когда, как долго или между ними или какое время суток.
Я бы обновил DBD :: Pg, но я не смог найти PPD для чего-то более нового, чем тот, который мы используем (2.14.1). Тем не менее, изменения с тех пор не кажутся особенно важными для нашего использования.
Средство просмотра событий Windows показывает это:
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 2010-11-01
Time: 9:55:28 AM
User: N/A
Computer: myserver
Description:
Faulting application httpd.exe, version 2.2.17.0, faulting module Pg.dll, version 0.0.0.0, fault address 0x0000e8a5.
Итак, я посмотрел в логах Apache, в которых говорилось:
[Mon Nov 01 09:55:32 2010] [notice] Parent: child process exited with status 3221225477 -- Restarting.
Не очень полезно, поэтому я посмотрел в журналах PostgreSQL (Pg.dll является частью DBD::Pg
), и они сказали:
2010-11-01 09:55:32 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:32 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
2010-11-01 09:55:33 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2010-11-01 09:55:33 EDT LOG: unexpected EOF on client connection
Но кроме этого я понятия не имею о причине, за исключением, возможно, времен более высокой (но не такой высокой - у нас очень мало пользователей) нагрузки на сервер.
Есть идеи, что может быть причиной этого?