WebMO - Computational chemistry on the WWW
Recent news

WebMO 6.1 is now available for free download!

WebMO 6.1 Pro has a variety of additional features and is available for purchase.

WebMO supports Windows, Mac, and Unix web browsers.

August 17, 2019

Job Queue does not work Log Out | Topics | Search
Moderators | Edit Profile

WebMO Support Forum » Running WebMO Jobs » Job Manager » Job Queue does not work « Previous Next »

Author Message
Robert
Posted on Monday, May 21, 2001 - 11:10 am:   

Hi,

i just installed WebMo an tested it a litle,

as long as only one job (g98) is running everything is fine. If the second job is started, the job finishing first kill files from the other
job so that it crashes. I asume as only one g98 at a time is reasonable, the second one should be queued, but this does not happen.

what went wrong ?

Thanks

Robert
schmidt
Posted on Tuesday, May 22, 2001 - 1:07 pm:   

It sounds like WebMO is starting a second copy of the daemon that controls the running of jobs. This would normally only occur when WebMO incorrectly thinks that the daemon is not already running. This most likely indicates an error in the parsing of your process information.

After examing output from your "ps" command, I found the following:

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Apr27 ?        00:00:05 init [5] 
root         2     1  0 Apr27 ?        00:00:00 [keventd]
root         3     1 11 Apr27 ?        2-16:06:26 [kapm-idled]
root         4     1  0 Apr27 ?        00:05:08 [kswapd]


The line marked in red is strangely formated(because of the large cpu-time), thus causing the process information to be parsed incorrectly.

To fix the problem, edit the file globals.int, located in the <webmo>/cgi-bin/interfaces directory so the the appropriate line reads:

psRegExp="(\$pid, \$ppid, \$cpu_time) = /.{7}(.{7})(.{6}).{3}.{6}.{6}(.{12}).*/"

Note: The above regular expression is accurate for most Linux machines. Normally, the appropriate regular expression is automatically and correctly determined at setup time.

Add Your Message Here
Post:
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration