Apache error log output: Difference between revisions
(Adding hints on log locations) |
|||
Line 8: | Line 8: | ||
We also see these often but they tend to right themselves as the load on the browser waxes and wanes. | We also see these often but they tend to right themselves as the load on the browser waxes and wanes. | ||
Too many popAbortHandlers, referer: http://genome.ucsc.edu/cgi-bin/hgTables?position=chr4:150237197-150248873&hgsid=353372405&refGene=pack&hgFind.matches=NM_023119, | Too many popAbortHandlers, referer: http://genome.ucsc.edu/cgi-bin/hgTables?position=chr4:150237197-150248873&hgsid=353372405&refGene=pack&hgFind.matches=NM_023119, | ||
== How to look at logs == | |||
When you are on a machine you can look at the logs by following this file: | |||
::/usr/local/apache/logs/error_log | |||
Older logs with names like this: | |||
::/usr/local/apache/logs/error_log.1 | |||
::/usr/local/apache/logs/error_log.2 | |||
Example tail command: | |||
::tail -f /usr/local/apache/logs/error_log | grep -v "CGI_TIME\|trackLog" | |||
== How to find historic logs== | |||
If you wanted to look at historical stuff there is a place here on hive: | |||
::/hive/data/inside/wwwstats/RR/2018/ | |||
::/hive/data/inside/wwwstats/RR/2019/ | |||
Let's say you wanted to look at specific events on Feb. 14th on the hgw1 machine for 2019: | |||
::zgrep "Feb 14" /hive/data/inside/wwwstats/RR/2019/hgw1/error_log.20190211.gz | less | |||
Ask Matt for more ways to use these logs, such as building a temporary directory of simlinks to the logs for specific date ranges to do more complicated querries. | |||
[[Category:Browser QA]] | [[Category:Browser QA]] | ||
[[Category:Browser QA CGI]] | [[Category:Browser QA CGI]] |
Revision as of 21:17, 22 March 2019
Here are some examples of errors we often see but that are of no concern:
This is seen right after a push of new CGIs and is caused by browsers having a stale version of the CGIs/css file. A bunch of these will show up right after the push, but they should subside after several minutes as browser grab new versions.
Cannot find correct version of file 'HGStyle.css'; this is due to an installation error, referer: http://hgw0.gi.ucsc.edu/
File does not exist: /data/apache/htdocs/js/jquery.imgareaselect-v291.js, referer: http://genome.ucsc.edu/cgi-bin/hgTracks
We also see these often but they tend to right themselves as the load on the browser waxes and wanes.
Too many popAbortHandlers, referer: http://genome.ucsc.edu/cgi-bin/hgTables?position=chr4:150237197-150248873&hgsid=353372405&refGene=pack&hgFind.matches=NM_023119,
How to look at logs
When you are on a machine you can look at the logs by following this file:
- /usr/local/apache/logs/error_log
Older logs with names like this:
- /usr/local/apache/logs/error_log.1
- /usr/local/apache/logs/error_log.2
Example tail command:
- tail -f /usr/local/apache/logs/error_log | grep -v "CGI_TIME\|trackLog"
How to find historic logs
If you wanted to look at historical stuff there is a place here on hive:
- /hive/data/inside/wwwstats/RR/2018/
- /hive/data/inside/wwwstats/RR/2019/
Let's say you wanted to look at specific events on Feb. 14th on the hgw1 machine for 2019:
- zgrep "Feb 14" /hive/data/inside/wwwstats/RR/2019/hgw1/error_log.20190211.gz | less
Ask Matt for more ways to use these logs, such as building a temporary directory of simlinks to the logs for specific date ranges to do more complicated querries.