yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01291
[Bug 1154846] Re: creates a huge (multi hundred Gig) horizon_access.log file in about 2 weeks
This is sort of a duplicate of bug 1010350. Horizon logs are
configurable, and in devstack they are configured in such a way that all
DEBUG messages are logged and go into the Apache error logs. You can
adjust that as needed by editing Horizon's local_settings.py, or setting
up a tool like logrotate to rotate and compress older log files.
** Changed in: horizon
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1154846
Title:
creates a huge (multi hundred Gig) horizon_access.log file in about 2
weeks
Status in OpenStack Dashboard (Horizon):
Won't Fix
Bug description:
I have a devstack running with horizon on it for close to 2weeks. It
ran out of space as the horizon_access.log file bloated up to 229G.
Here's some log that might help:
[$]ll -h
total 284G
drwxr-x--- 2 root adm 4.0K Mar 10 06:57 ./
drwxr-xr-x 13 root root 4.0K Mar 13 06:45 ../
-rw-r----- 1 root adm 0 Feb 28 19:33 access.log
-rw-r----- 1 root adm 672 Mar 13 21:48 error.log
-rw-r----- 1 root adm 464 Mar 10 06:57 error.log.1
-rw-r----- 1 root adm 355 Mar 3 06:47 error.log.2.gz
-rw-r----- 1 root adm 9.0M Mar 13 21:48 horizon_access.log
-rw-r----- 1 root adm 24M Mar 10 06:57 horizon_access.log.1
-rw-r--r-- 1 root root 53K Mar 3 06:47 horizon_access.log.2.gz
-rw-r----- 1 root adm 229G Mar 13 21:48 horizon_error.log
-rw-r----- 1 root adm 55G Mar 10 06:57 horizon_error.log.1
-rw-r--r-- 1 root root 277M Mar 3 06:47 horizon_error.log.2.gz
-rw-r--r-- 1 root root 0 Feb 28 19:33 other_vhosts_access.log
[$]ll -h
total 55G
drwxr-x--- 2 root adm 4.0K Mar 13 22:21 ./
drwxr-xr-x 13 root root 4.0K Mar 13 06:45 ../
-rw-r----- 1 root adm 0 Feb 28 19:33 access.log
-rw-r----- 1 root adm 672 Mar 13 21:48 error.log
-rw-r----- 1 root adm 464 Mar 10 06:57 error.log.1
-rw-r----- 1 root adm 355 Mar 3 06:47 error.log.2.gz
-rw-r----- 1 root adm 9.0M Mar 13 21:48 horizon_access.log
-rw-r----- 1 root adm 24M Mar 10 06:57 horizon_access.log.1
-rw-r--r-- 1 root root 53K Mar 3 06:47 horizon_access.log.2.gz
-rw-r----- 1 root adm 55G Mar 10 06:57 horizon_error.log.1
-rw-r--r-- 1 root root 277M Mar 3 06:47 horizon_error.log.2.gz
-rw-r--r-- 1 root root 0 Feb 28 19:33 other_vhosts_access.log
[$]head -10 horizon_error.log.1
[Sun Mar 03 06:47:53 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:47:53.666113 ); args=('...', u'2013-03-03 06:47:53.666113')
[Sun Mar 03 06:47:54 2013] [error] DEBUG:django.db.backends:(0.002) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:47:54.438323 ); args=('...', u'2013-03-03 06:47:54.438323')
[Sun Mar 03 06:48:02 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:02.635959 ); args=('...', u'2013-03-03 06:48:02.635959')
[Sun Mar 03 06:48:03 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:03.585398 ); args=('...', u'2013-03-03 06:48:03.585398')
[Sun Mar 03 06:48:12 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:12.098902 ); args=('...', u'2013-03-03 06:48:12.098902')
[Sun Mar 03 06:48:13 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:13.702073 ); args=('...', u'2013-03-03 06:48:13.702073')
[Sun Mar 03 06:48:22 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:22.099606 ); args=('...', u'2013-03-03 06:48:22.099606')
[Sun Mar 03 06:48:23 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:23.590852 ); args=('...', u'2013-03-03 06:48:23.590852')
[Sun Mar 03 06:48:32 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:32.105122 ); args=('...', u'2013-03-03 06:48:32.105122')
[Sun Mar 03 06:48:33 2013] [error] DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = ... AND "django_session"."expire_date" > 2013-03-03 06:48:33.603278 ); args=('...', u'2013-03-03 06:48:33.603278')
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1154846/+subscriptions