VMware Performance Community
KevinYoung
Contributor
Contributor

Error running ds2webdriver.exe

When I run ds2webdriver.exe and specifiy a different database size, I get the below errors. This doesnt seem to happen when i use the default 10MB database size.  Any ideas why this is happening?

c:\ds2\drivers>ds2webdriver.exe --target=10.6.1.164 --db_size=500MB
Total number of Threads to be Spawned across multiple servers are n_threads: 1
target= 10.6.1.164  n_threads= 1  ramp_rate= 10  run_time= 0  db_size= 500MB  wa
rmup_time= 1  think_time= 0
pct_newcustomers= 20  n_searches= 3  search_batch_size= 5  n_line_items= 5  virt
_dir= ds2  page_type= php  windows_perf_host=  detailed_view= N linux_perf_host=


Using WIN32 QueryPerformanceCounters for measuring response time

Performance Counter Category Test and Counter MaxRT exist
Thread 0: created for User 0
Thread 0: connected to 10.6.1.164
Controller (5/3/2012 3:32:33 PM): all threads running
Controller (5/3/2012 3:32:33 PM): all threads connected - issuing Start
Thread 0: Login: Username/password incorrect; str_acc length: 1672  str_acc:


<!--
* DVD Store Common Include PHP Page - dscommon.inc
*
* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <tmuirhead@vmware.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>
<H2>Username/password incorrect. Please re-enter your username and password</H2>

<FORM  ACTION="./dslogin.php" METHOD=GET>
Username <INPUT TYPE=TEXT NAME="username" VALUE=user72759 SIZE=16 MAXLENGTH=24>
Password <INPUT TYPE=PASSWORD NAME="password" SIZE=16 MAXLENGTH=24>
<INPUT TYPE=SUBMIT VALUE="Login">
</FORM>
<H2>New customer? Please click New Customer</H2>
<FORM  ACTION="./dsnewcustomer.php" METHOD=GET >
<INPUT TYPE=SUBMIT VALUE="New Customer">
</FORM><HR>
<P ALIGN=CENTER>Thank You for Visiting the DVD Store!</A></P>
<HR>
<P ALIGN=CENTER>Copyright &copy; 2005 Dell</P>
</FONT>
</BODY>
</HTML>

Thread 0: Error in Login for User user72759, thread exiting
et=   10.0 n_overall=0 opm=0 rt_tot_lastn_max_msec=0 rt_tot_avg_msec=-2147483648
rt_tot_sampled=-2147483648 rollbacks: n=0 %=  NaN
threads[0].ThreadState= Stopped
et=   20.0 n_overall=0 opm=0 rt_tot_lastn_max_msec=0 rt_tot_avg_msec=-2147483648
rt_tot_sampled=-2147483648 rollbacks: n=0 %=  NaN
threads[0].ThreadState= Stopped
^C

0 Kudos
2 Replies
jpschnee
VMware Employee
VMware Employee

Hi,

VMmark2 doesn't support the changing of the DS2 database size.  That said, if you are attempting to use the VMmark 2 template VMs outside the harness then I see no reason why changing the database size wouldn't work, as long as it was smaller than the one built for VMmark2.

I tested this and running "ds2webdriver.exe --target=DS2WebA0 --db_size=500MB" seems to work fine. 

Did you confirm that you had gone through all of the steps to create the larger database?  Although we provide templates, you still need to finish setting it up.  For more details see the VMmark 2 benchmarking guide, look for the section  (Prepare the DVD Store 2 database).

-Joshua
0 Kudos
KevinYoung
Contributor
Contributor

I am using  DVD Store 2.1 which supports custom database sizes.

This was operator error.

I failed to rerun the  mysqlds2_create_all.sh to load the data after creating it the data for the 5GB database using Install_DVDStore.pl to generate the csv files.

0 Kudos