Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hltConfigFromDB: increase the thread stack size #9656

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 7 additions & 5 deletions HLTrigger/Configuration/python/Tools/confdbOfflineConverter.py
Expand Up @@ -113,11 +113,13 @@ def __init__(self, version = 'v1', database = 'hltdev', url = None, verbose = Fa
# setup the java command line and CLASSPATH
if self.verbose:
sys.stderr.write("workDir = %s\n" % self.workDir)
# Use non-blocking random # source /dev/urandom (instead of /dev/random), see:
# http://blockdump.blogspot.fr/2012/07/connection-problems-inbound-connection.html
# Also deal with timezone region not found
# http://stackoverflow.com/questions/9156379/ora-01882-timezone-region-not-found
self.javaCmd = ( 'java', '-cp', ':'.join(self.workDir + '/' + jar for jar in self.jars),'-Djava.security.egd=file:///dev/urandom','-Doracle.jdbc.timezoneAsRegion=false','confdb.converter.BrowserConverter' )
# use non-blocking random number source /dev/urandom (instead of /dev/random), see:
# http://blockdump.blogspot.fr/2012/07/connection-problems-inbound-connection.html
# deal with timezone region not found
# http://stackoverflow.com/questions/9156379/ora-01882-timezone-region-not-found
# increase the thread stack size from the default of 1 MB to work around java.lang.StackOverflowError errors, see
# man java
self.javaCmd = ( 'java', '-cp', ':'.join(self.workDir + '/' + jar for jar in self.jars), '-Djava.security.egd=file:///dev/urandom', '-Doracle.jdbc.timezoneAsRegion=false', '-Xss32M', 'confdb.converter.BrowserConverter' )


def query(self, *args):
Expand Down