Custom Query (101 matches)
Results (4 - 6 of 101)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#172 | fixed | BATCH_HOST_TRANSLATE should not be mandatory | ramonb | ramonb |
Description |
if BATCH_HOST_TRANSLATE is not set, an exception is raised Traceback (most recent call last): File "/usr/sbin/jobmond", line 2180, in <module> main() File "/usr/sbin/jobmond", line 2095, in main if not processArgs( sys.argv[1:] ): File "/usr/sbin/jobmond", line 95, in processArgs return loadConfig( JOBMOND_CONF ) File "/usr/sbin/jobmond", line 609, in loadConfig BATCH_HOST_TRANSLATE = getlist( cfg.get( 'DEFAULT', 'BATCH_HOST_TRANSLATE' ) ) File "/usr/lib/python2.7/ConfigParser.py", line 618, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'batch_host_translate' in section: 'DEFAULT' however that setting should be optional |
|||
#171 | fixed | jobarchived crashed after 20 interation XML parsing due to exception | ramonb | oufei.zhao@… |
Description |
In line 914 of jobarchived.py, Null checking on timeout_jobs should be added before accessing it. It will throw exception when timeout_jobs is 'None'. Once add a line to check null, it works fine.
See below for log and stack trace: Mon 24 Jun 2013 18:00:59 - job_xml_thread(): Retrieving XML data.. Mon 24 Jun 2013 18:00:59 - job_xml_thread(): Done retrieving: data size 2656 Mon 24 Jun 2013 18:00:59 - job_xml_thread(): Parsing XML.. Mon 24 Jun 2013 18:00:59 - XML: Start document: iteration 20 Mon 24 Jun 2013 18:00:59 - XML: Processed 2 elements - found 0 jobs Mon 24 Jun 2013 18:00:59 - self.heartbeat = 0 Mon 24 Jun 2013 18:00:59 - job_xml_thread(): Done parsing. Mon 24 Jun 2013 18:00:59 - job_xml_thread(): Sleeping.. (15s) Mon 24 Jun 2013 18:01:04 - job_xml_thread(): Retrieving XML data.. Mon 24 Jun 2013 18:01:04 - job_xml_thread(): Done retrieving: data size 2656 Mon 24 Jun 2013 18:01:04 - job_xml_thread(): Parsing XML.. Mon 24 Jun 2013 18:01:04 - Housekeeping: checking database for timed out jobs.. Mon 24 Jun 2013 18:01:04 - doDatabase(): get: SELECT * from jobs WHERE job_status != 'F' Mon 24 Jun 2013 18:01:04 - doDatabase(): result: [] Exception in thread job_proc_thread: Traceback (most recent call last):
TypeError?: iteration over non-sequence |
|||
#170 | fixed | jobarchived runs wild after Non-recoverable XML error | ramonb | jaap.dijkshoorn@… |
Description |
Jun 7 08:48:20 xtrac jobarchived: FATAL ERROR: Non-recoverable XML error <unknown>:33565:0: unclosed token Jun 7 08:48:21 xtrac jobarchived: FATAL ERROR: Non-recoverable XML error <unknown>:33565:0: unclosed token After this the pyhton process runs wild. It also seems like hitting a memory leak. Python used 20% of memeory at time of killing |