Last modified: 2014-09-10 20:26:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69588, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67588 - Cannot start java processes using the grid engine
Cannot start java processes using the grid engine
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-07 12:15 UTC by nosy
Modified: 2014-09-10 20:26 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description nosy 2014-07-07 12:15:32 UTC
Running a tool via crontab with jsub results in the following error:

Picked up _JAVA_OPTIONS: -Xmx150M
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error occurred during initialization of VM
Could not reserve enough space for object heap

The tool  ~toolserverdb/ns-updater/startNSUpdate.sh works on tools-login though.
Comment 1 merl 2014-07-07 12:27:10 UTC
Have you tried to add more mem to sge runtime environment for the job? Also some of my simple java tools need at least 4G mem (-l h_vmem=4000M).
Comment 2 nosy 2014-07-07 13:02:52 UTC
Unfortunatelly the original parameters of SGE as well as you suggested one do not work.
Comment 3 Marc A. Pelletier 2014-07-07 14:21:58 UTC
Could you specify the exact command line you are using to run the tool?
Comment 4 nosy 2014-09-10 20:26:16 UTC
tools.toolserverdb@tools-login:~$ sh -x ~/ns-updater/startUpdate.sh
+ which java
+ JAVA=/usr/bin/java
+ export _JAVA_OPTIONS=-Xmx150M
+ CONFIG=/data/project/toolserverdb/ns-updater/conf/config.properties
+ LOG4JCONFIG=/data/project/toolserverdb/ns-updater/conf/log4j.xml
+ [ -z /usr/bin/java ]
+ /usr/bin/java -Dlog4j.configuration=file:/data/project/toolserverdb/ns-updater/conf/log4j.xml -jar /data/project/toolserverdb/ns-updater/Updater.jar /data/project/toolserverdb/ns-updater/conf/config.properties
Picked up _JAVA_OPTIONS: -Xmx150M
2014-09-10 20:22:24,068 INFO  TSUpdater [] Maximum thread-number: 2
+ exit 0

and then I do a jsub ns-updater/startUpdate.sh and get a 

Picked up _JAVA_OPTIONS: -Xmx150M
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links