Hi guys, I am currently running apache piped log to pipe to a php page,
which records data into MySQL
However, my httpd daemon sometimes stops functioning and users could not access to my pages; and i have to run apachctl start manually myself =\
The following are the only errors I notice on my error_log, hope it helps:
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:21 2005] [notice] child pid 8748 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:22 2005] [notice] child pid 8749 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:23 2005] [notice] child pid 8750 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:24 2005] [notice] child pid 8751 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:25 2005] [notice] child pid 8752 exit signal Segmentation fault (11)
These error kept showing in error_log over and over again if I enabled piped log.
This is what I have in httpd.conf:
LogFormat "%{Referer}i" referrers
CustomLog "|/scripts/record_page.php" referrers
The php script would do the trick, records everything to MySQL nicely and stuff, but the server do crashes after couple hours. (sometimes 2 hr sometimes 20)
Can Anyone PLEASE help me on this one?
THANKS!
which records data into MySQL
However, my httpd daemon sometimes stops functioning and users could not access to my pages; and i have to run apachctl start manually myself =\
The following are the only errors I notice on my error_log, hope it helps:
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:21 2005] [notice] child pid 8748 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:22 2005] [notice] child pid 8749 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:23 2005] [notice] child pid 8750 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:24 2005] [notice] child pid 8751 exit signal Segmentation fault (11)
piped log program '/scripts/record_page.php' failed unexpectedly
[Tue Jan 25 16:16:25 2005] [notice] child pid 8752 exit signal Segmentation fault (11)
These error kept showing in error_log over and over again if I enabled piped log.
This is what I have in httpd.conf:
LogFormat "%{Referer}i" referrers
CustomLog "|/scripts/record_page.php" referrers
The php script would do the trick, records everything to MySQL nicely and stuff, but the server do crashes after couple hours. (sometimes 2 hr sometimes 20)
Can Anyone PLEASE help me on this one?
THANKS!