Last modified: 2014-02-14 11:22:46 UTC
Example for running 'jsub -once -N prb mono /data/project/yifeibot/o/prb/Picasa-Review-Bot/bin/Debug/PicasaReview.exe "Picasa_Review_Bot_2" "(Password removed)"' (as for [[commons:User:Picasa_Review_Bot_2]]), I keep getting this error in my prb.err and immediately the job terminates (neither occur on the bastion servers): Debug info from gdb: *** glibc detected *** /usr/bin/mono: free(): invalid pointer: 0x00002aba86da7030 *** ??@ ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). *** glibc detected *** /usr/bin/mono: munmap_chunk(): invalid pointer: 0x00000000005d411c *** Native stacktrace:
prb.out shows: Logging in... ^??1?^??t?H^ͳ
According to http://stackoverflow.com/questions/8764258/triggering-garbage-collection-in-mono, this seems to be the way Mono says that it is out of memory :-). Have you tried requesting more memory, i. e. "jsub -mem 500m ..." (or more; cf. [[Nova Resource:Tools/Help#Allocating additional memory]])?
(The link should have been [[wikitech:Nova Resource:Tools/Help#Allocating additional memory]].)
(In reply to Tim Landscheidt from comment #2) > According to > http://stackoverflow.com/questions/8764258/triggering-garbage-collection-in- > mono, this seems to be the way Mono says that it is out of memory :-). Have > you tried requesting more memory, i. e. "jsub -mem 500m ..." (or more; cf. > [[Nova Resource:Tools/Help#Allocating additional memory]])? 1g works, thanks for that information