VMware Performance Community
weiweiliang
Contributor
Contributor

ds2webdriver.exe stops working if run from STAX, but works fine if run separately in a cmd window

Hi,

I'm  having an issue with running VMMark 2.1. Each time I launch the STAX  job, ds2webdriver.exe stops working, but if I run the command line  "ds2webdriver.exe --target=DS2WEBA0" separately in a cmd window, it  works fine. Looks likes an issue with STAF and STAX, so I reinstalled  both and reconfigured STAF.cfg according to the benchmarking guide, but  it still doesn't work.

I  've gone through all the threads I can find about this topic (e.g  fixing /etc/hosts file), but got no luck in fixing this problem. 

PLEASE HELP! Any suggestion is recommended. Thanks.

STAF version: 3.4.10

STAX version: 3.4.5

Log from DS2WEBA0

<!--
* DVD Store Common Include PHP Page - dscommon.inc
*
* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>
*
* Used by DVD Store php pages
*
* Last Updated 5/13/05
*
*  This program is free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software
*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->


<HTML>
<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>
<BODY>
<FONT FACE="Arial" COLOR="#0000FF">
<H1 ALIGN=CENTER>DVD Store</H1>
Can't connect to MySQL server on 'DS2-DB' (4)

Thread 5: Error in Login for User user23891095, thread exiting
Thread 9: Login: Username/password incorrect; str_acc length: 1116  str_acc:


<!--
* DVD Store Common Include PHP Page - dscommon.inc
*
* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>
*
* Used by DVD Store php pages
*
* Last Updated 5/13/05
*
*  This program is free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software
*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->


<HTML>
<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>
<BODY>
<FONT FACE="Arial" COLOR="#0000FF">
<H1 ALIGN=CENTER>DVD Store</H1>
Can't connect to MySQL server on 'DS2-DB' (4)

Thread 9: Error in Login for User user6002984, thread exiting

et=    70.0 n_overall=119 opm=101 rt_tot_lastn_max_msec=55469  rt_tot_avg_msec=1830 rt_tot_sampled=-2147483648 rollbacks: n=2 %=  1.7
threads[5].ThreadState= Stopped
threads[9].ThreadState= Stopped
Error  in parsing neworderid: Input string was not in a correct format.;  ind_b= 14  ind_e= 81  str_acc[]= Store Common Include PHP Page -  dscommon.inc
*
* Copyright (C) 2005 Dell, Inc.
Thread 0: Error in Purchase, thread exiting

et=    80.0 n_overall=119 opm=89 rt_tot_lastn_max_msec=55469  rt_tot_avg_msec=1830 rt_tot_sampled=-2147483648 rollbacks: n=2 %=  1.7
threads[0].ThreadState= Stopped
threads[5].ThreadState= Stopped
threads[9].ThreadState= Stopped
Thread 3:  error in parsing response from browse request
Thread 3: Error in Browse by title, thread exiting

0 Kudos
43 Replies
weiweiliang
Contributor
Contributor

Yes, all the vmmark VMs are on the same vswitch.  And by running ifconfig on both DS2DB0 and DS2WebA0, I didn't see any errors or dropped or overruns.

Please do remember that the sql connection error only happens when ds2webdriver.exe is run with more than 7 threads, but doesn't get any error when I run with less than 7 threads against one web server.

0 Kudos
jamesz08
VMware Employee
VMware Employee

Can you send an email to vmmark-info@vmware.com

0 Kudos
weiweiliang
Contributor
Contributor

Could I know what's that email for? Is it that somebody getting the email will help me to resolve it? Or it's only for reporting the issue? Thanks.

0 Kudos
weiweiliang
Contributor
Contributor

Big thanks to all the help jamesz08 gave. This issue is finally resolved.

From jamesz08:

============

comment out the nameserver line in resolv.conf on your ds2db vm.  as far  as I can tell Mysql is trying to do a reverse lookup of the webvm, this  causes connection timeouts at higher loads.

0 Kudos