[Tue May 10 15:09:09 2011] [error] for row in compiler.results_iter(): [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter [Tue May 10 15:09:09 2011] [error] for rows in self.execute_sql(MULTI): [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 734, in execute_sql [Tue May 10 15:09:09 2011] [error] cursor = self.connection.cursor() [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/__init__.py", line 250, in cursor [Tue May 10 15:09:09 2011] [error] cursor = self.make_debug_cursor(self._cursor()) [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 322, in _cursor [Tue May 10 15:09:09 2011] [error] self.connection = Database.connect(**kwargs) [Tue May 10 15:09:09 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect [Tue May 10 15:09:09 2011] [error] return Connection(*args, **kwargs) [Tue May 10 15:09:09 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__ [Tue May 10 15:09:09 2011] [error] super(Connection, self).__init__(*args, **kwargs2) [Tue May 10 15:09:09 2011] [error] OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 15:09:09 2011] [error] ERROR:root:(2006, 'MySQL server has gone away') [Tue May 10 15:09:09 2011] [error] Traceback (most recent call last): [Tue May 10 15:09:09 2011] [error] File "/home/ubuntu/socmov/fbcon/models.py", line 456, in get_friends_who_like [Tue May 10 15:09:09 2011] [error] if len(z) > 0: [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 82, in __len__ [Tue May 10 15:09:09 2011] [error] self._result_cache = list(self.iterator()) [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 273, in iterator [Tue May 10 15:09:09 2011] [error] for row in compiler.results_iter(): [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter [Tue May 10 15:09:09 2011] [error] for rows in self.execute_sql(MULTI): [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 735, in execute_sql [Tue May 10 15:09:09 2011] [error] cursor.execute(sql, params) [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/util.py", line 34, in execute [Tue May 10 15:09:09 2011] [error] return self.cursor.execute(sql, params) [Tue May 10 15:09:09 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 86, in execute [Tue May 10 15:09:09 2011] [error] return self.cursor.execute(query, args) [Tue May 10 15:09:09 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in execute [Tue May 10 15:09:09 2011] [error] self.errorhandler(self, exc, value) [Tue May 10 15:09:09 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35, in defaulterrorhandler [Tue May 10 15:09:09 2011] [error] raise errorclass, errorvalue [Tue May 10 15:09:09 2011] [error] OperationalError: (2006, 'MySQL server has gone away') [Tue May 10 15:09:10 2011] [error] ERROR:root:(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 15:09:10 2011] [error] Traceback (most recent call last): [Tue May 10 15:09:10 2011] [error] File "/home/ubuntu/socmov/fbcon/views.py", line 32, in adhoc_ranking_algorithm [Tue May 10 15:09:10 2011] [error] for i in Z: [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 107, in _result_iter [Tue May 10 15:09:10 2011] [error] self._fill_cache() [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 772, in _fill_cache [Tue May 10 15:09:10 2011] [error] self._result_cache.append(self._iter.next()) [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 841, in iterator [Tue May 10 15:09:10 2011] [error] for row in self.query.get_compiler(self.db).results_iter(): [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter [Tue May 10 15:09:10 2011] [error] for rows in self.execute_sql(MULTI): [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 734, in execute_sql [Tue May 10 15:09:10 2011] [error] cursor = self.connection.cursor() [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/__init__.py", line 250, in cursor [Tue May 10 15:09:10 2011] [error] cursor = self.make_debug_cursor(self._cursor()) [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 322, in _cursor [Tue May 10 15:09:10 2011] [error] self.connection = Database.connect(**kwargs) [Tue May 10 15:09:10 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect [Tue May 10 15:09:10 2011] [error] return Connection(*args, **kwargs) [Tue May 10 15:09:10 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__ [Tue May 10 15:09:10 2011] [error] super(Connection, self).__init__(*args, **kwargs2) [Tue May 10 15:09:10 2011] [error] OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 15:09:10 2011] [error] ERROR:root:(2006, 'MySQL server has gone away') [Tue May 10 15:09:10 2011] [error] Traceback (most recent call last): [Tue May 10 15:09:10 2011] [error] File "/home/ubuntu/socmov/fbcon/models.py", line 456, in get_friends_who_like [Tue May 10 15:09:10 2011] [error] if len(z) > 0: [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 82, in __len__ [Tue May 10 15:09:10 2011] [error] self._result_cache = list(self.iterator()) [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 273, in iterator [Tue May 10 15:09:10 2011] [error] for row in compiler.results_iter(): [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter [Tue May 10 15:09:10 2011] [error] for rows in self.execute_sql(MULTI): [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 735, in execute_sql [Tue May 10 15:09:10 2011] [error] cursor.execute(sql, params) [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/util.py", line 34, in execute [Tue May 10 15:09:10 2011] [error] return self.cursor.execute(sql, params) [Tue May 10 15:09:10 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 86, in execute [Tue May 10 15:09:10 2011] [error] return self.cursor.execute(query, args) [Tue May 10 15:09:10 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in execute [Tue May 10 15:09:10 2011] [error] self.errorhandler(self, exc, value) [Tue May 10 15:09:10 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35, in defaulterrorhandler [Tue May 10 15:09:10 2011] [error] raise errorclass, errorvalue [Tue May 10 15:09:10 2011] [error] OperationalError: (2006, 'MySQL server has gone away') [Tue May 10 20:09:14 2011] [warn] child process 1114 still did not exit, sending a SIGTERM [Tue May 10 20:09:14 2011] [warn] child process 1115 still did not exit, sending a SIGTERM [Tue May 10 15:09:14 2011] [error] ERROR:root:(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 15:09:14 2011] [error] Traceback (most recent call last): [Tue May 10 15:09:14 2011] [error] File "/home/ubuntu/socmov/fbcon/models.py", line 483, in get_movies_liked_by_friends [Tue May 10 15:09:14 2011] [error] if len(z) > 0: [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 82, in __len__ [Tue May 10 15:09:14 2011] [error] self._result_cache = list(self.iterator()) [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 273, in iterator [Tue May 10 15:09:14 2011] [error] for row in compiler.results_iter(): [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter [Tue May 10 15:09:14 2011] [error] for rows in self.execute_sql(MULTI): [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 734, in execute_sql [Tue May 10 15:09:14 2011] [error] cursor = self.connection.cursor() [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/__init__.py", line 250, in cursor [Tue May 10 15:09:14 2011] [error] cursor = self.make_debug_cursor(self._cursor()) [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 322, in _cursor [Tue May 10 15:09:14 2011] [error] self.connection = Database.connect(**kwargs) [Tue May 10 15:09:14 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect [Tue May 10 15:09:14 2011] [error] return Connection(*args, **kwargs) [Tue May 10 15:09:14 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__ [Tue May 10 15:09:14 2011] [error] super(Connection, self).__init__(*args, **kwargs2) [Tue May 10 15:09:14 2011] [error] OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 15:09:14 2011] [error] ERROR:root:(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 15:09:14 2011] [error] Traceback (most recent call last): [Tue May 10 15:09:14 2011] [error] File "/home/ubuntu/socmov/fbcon/views.py", line 32, in adhoc_ranking_algorithm [Tue May 10 15:09:14 2011] [error] for i in Z: [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 107, in _result_iter [Tue May 10 15:09:14 2011] [error] self._fill_cache() [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 772, in _fill_cache [Tue May 10 15:09:14 2011] [error] self._result_cache.append(self._iter.next()) [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 841, in iterator [Tue May 10 15:09:14 2011] [error] for row in self.query.get_compiler(self.db).results_iter(): [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter [Tue May 10 15:09:14 2011] [error] for rows in self.execute_sql(MULTI): [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py", line 734, in execute_sql [Tue May 10 15:09:14 2011] [error] cursor = self.connection.cursor() [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/__init__.py", line 250, in cursor [Tue May 10 15:09:14 2011] [error] cursor = self.make_debug_cursor(self._cursor()) [Tue May 10 15:09:14 2011] [error] File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 322, in _cursor [Tue May 10 15:09:14 2011] [error] self.connection = Database.connect(**kwargs) [Tue May 10 15:09:14 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect [Tue May 10 15:09:14 2011] [error] return Connection(*args, **kwargs) [Tue May 10 15:09:14 2011] [error] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__ [Tue May 10 15:09:14 2011] [error] super(Connection, self).__init__(*args, **kwargs2) [Tue May 10 15:09:14 2011] [error] OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") [Tue May 10 20:09:15 2011] [warn] child process 1114 still did not exit, sending a SIGTERM [Tue May 10 20:09:15 2011] [warn] child process 1115 still did not exit, sending a SIGTERM [Tue May 10 20:09:18 2011] [warn] child process 1114 still did not exit, sending a SIGTERM [Tue May 10 20:09:18 2011] [warn] child process 1115 still did not exit, sending a SIGTERM [Tue May 10 20:09:20 2011] [error] child process 1114 still did not exit, sending a SIGKILL [Tue May 10 20:09:20 2011] [error] child process 1115 still did not exit, sending a SIGKILL [Tue May 10 20:09:22 2011] [error] could not make child process 1114 exit, attempting to continue anyway [Tue May 10 20:09:22 2011] [error] could not make child process 1115 exit, attempting to continue anyway [Tue May 10 20:09:22 2011] [notice] caught SIGTERM, shutting down [Tue May 10 20:10:05 2011] [notice] Apache/2.2.14 (Ubuntu) mod_wsgi/2.8 Python/2.6.5 configured -- resuming normal operations [Tue May 10 15:23:42 2011] [error] ERROR:root:HTTP Error 503: Service Unavailable [Tue May 10 15:23:42 2011] [error] Traceback (most recent call last): [Tue May 10 15:23:42 2011] [error] File "/home/ubuntu/socmov/fbcon/models.py", line 248, in browse [Tue May 10 15:23:42 2011] [error] resp = _parse_json( urllib2.urlopen(url).read() ) [Tue May 10 15:23:42 2011] [error] File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen [Tue May 10 15:23:42 2011] [error] return _opener.open(url, data, timeout) [Tue May 10 15:23:42 2011] [error] File "/usr/lib/python2.6/urllib2.py", line 397, in open [Tue May 10 15:23:42 2011] [error] response = meth(req, response) [Tue May 10 15:23:42 2011] [error] File "/usr/lib/python2.6/urllib2.py", line 510, in http_response [Tue May 10 15:23:42 2011] [error] 'http', request, response, code, msg, hdrs) [Tue May 10 15:23:42 2011] [error] File "/usr/lib/python2.6/urllib2.py", line 435, in error [Tue May 10 15:23:42 2011] [error] return self._call_chain(*args) [Tue May 10 15:23:42 2011] [error] File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain [Tue May 10 15:23:42 2011] [error] result = func(*args) [Tue May 10 15:23:42 2011] [error] File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default [Tue May 10 15:23:42 2011] [error] raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) [Tue May 10 15:23:42 2011] [error] HTTPError: HTTP Error 503: Service Unavailable [Wed May 11 06:41:55 2011] [error] cgid daemon process died, restarting [Wed May 11 13:05:29 2011] [error] Exception KeyError: KeyError(-1219057008,) in ignored [Wed May 11 13:05:29 2011] [error] Exception KeyError: KeyError(-1219057008,) in ignored [Wed May 11 18:05:29 2011] [notice] caught SIGTERM, shutting down [Wed May 11 18:05:30 2011] [notice] Apache/2.2.14 (Ubuntu) mod_wsgi/2.8 Python/2.6.5 configured -- resuming normal operations [Wed May 11 13:51:46 2011] [error] [client 59.182.56.251] mod_wsgi (pid=3539): Exception occurred processing WSGI script '/home/ubuntu/socmov/apache/socmov.wsgi'., referer: http://socialmovies.co.cc/ [Wed May 11 13:51:46 2011] [error] [client 59.182.56.251] IOError: failed to write data, referer: http://socialmovies.co.cc/ [Wed May 11 13:53:21 2011] [error] [client 59.182.56.251] mod_wsgi (pid=3538): Exception occurred processing WSGI script '/home/ubuntu/socmov/apache/socmov.wsgi'., referer: http://socialmovies.co.cc/user/ [Wed May 11 13:53:21 2011] [error] [client 59.182.56.251] IOError: failed to write data, referer: http://socialmovies.co.cc/user/ [Wed May 11 15:01:42 2011] [error] Exception KeyError: KeyError(-1219929456,) in ignored [Wed May 11 15:01:42 2011] [error] Exception KeyError: KeyError(-1219929456,) in ignored [Wed May 11 20:01:42 2011] [notice] caught SIGTERM, shutting down [Wed May 11 20:03:14 2011] [notice] Apache/2.2.14 (Ubuntu) mod_wsgi/2.8 Python/2.6.5 configured -- resuming normal operations [Wed May 11 23:08:55 2011] [error] Exception KeyError: KeyError(-1219315056,) in ignored [Wed May 11 23:08:55 2011] [error] Exception KeyError: KeyError(-1219315056,) in ignored [Wed May 11 23:08:55 2011] [notice] caught SIGTERM, shutting down [Wed May 11 23:08:56 2011] [notice] Apache/2.2.14 (Ubuntu) mod_wsgi/2.8 Python/2.6.5 configured -- resuming normal operations