Version control Perforce命令超时不';好像不行

Version control Perforce命令超时不';好像不行,version-control,timeout,perforce,p4python,Version Control,Timeout,Perforce,P4python,我正在尝试使用可配置的net.maxwait为perforce命令设置超时,具体如下: 但是,我看到p4命令仅在2分钟(大约)后超时 为了模拟不可靠网络的场景,我使用iptables将传出数据包丢弃到Performce服务器: sudo iptables -D OUTPUT -d 172.27.213.25 -m statistic --mode random --probability 0.9 -p tcp --dport 22 -j DROP strace表示要阻止的connect()系

我正在尝试使用可配置的
net.maxwait
为perforce命令设置超时,具体如下:

但是,我看到p4命令仅在2分钟(大约)后超时

为了模拟不可靠网络的场景,我使用
iptables
将传出数据包丢弃到Performce服务器:

sudo iptables -D OUTPUT -d 172.27.213.25 -m statistic --mode random --probability 0.9 -p tcp --dport 22 -j DROP
strace
表示要阻止的
connect()
系统调用

user@test:~$ sudo strace -p 12356
strace: Process 12356 attached
connect(3, {sa_family=AF_INET, sin_port=htons(22), sin_addr=inet_addr("172.27.213.25")}, 16
我正在使用的perforce版本:

user@test:~/perforce/sandbox$ p4 -V
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2014 Perforce Software.  All rights reserved.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
See 'p4 help legal' for full OpenSSL license information
Version of OpenSSL Libraries: OpenSSL 1.0.1g 7 Apr 2014
Rev. P4/LINUX26X86_64/2014.1/821990 (2014/04/08).
我怎样才能让它按预期工作

user@test:~/perforce/sandbox$ p4 -V
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2014 Perforce Software.  All rights reserved.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
See 'p4 help legal' for full OpenSSL license information
Version of OpenSSL Libraries: OpenSSL 1.0.1g 7 Apr 2014
Rev. P4/LINUX26X86_64/2014.1/821990 (2014/04/08).