cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2798
Views
0
Helpful
1
Replies

TREX : How can i have Trex run multiple dpdk instances when trex is run with diff usernames

givohra
Cisco Employee
Cisco Employee

I had a user successfully run trex on a machine. When i tried run trex on the same machine with my username or admin, i see below error. 

 

sudo ./_t-rex-64 -f 00_FS3k_sfr_delay_10_1g.yaml --cfg /home/qadmin/trex_4ports_cfg.yaml -c 4 -m 2 -d 360000
sudo: unable to resolve host ubuntu-trex2: Connection refused
Starting TRex v2.56 please wait ...
EAL: Error - exiting with code: 1
Cause: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary process running?

1 Accepted Solution

Accepted Solutions

givohra
Cisco Employee
Cisco Employee

Found the solution

adding `prefix : qadmin` in trex cfg file helped creating multiple trex instances.

 

- port_limit : 4
version : 2
prefix : qadmin

 

 

View solution in original post

1 Reply 1

givohra
Cisco Employee
Cisco Employee

Found the solution

adding `prefix : qadmin` in trex cfg file helped creating multiple trex instances.

 

- port_limit : 4
version : 2
prefix : qadmin