search for: connect_timeout

Displaying 20 results from an estimated 50 matches for "connect_timeout".

Did you mean: reconnect_timeout
2010 Jan 10
1
ADSL ppp0, persist
...ed and default route is removed when ppp0 interface disapears. This is my ifcfg-ppp0 config : USERCTL=yes BOOTPROTO=dialup NAME=DSLppp0 DEVICE=ppp0 TYPE=xDSL ONBOOT=yes PIDFILE=/var/run/pppoe-adsl.pid FIREWALL=NONE PING=. PPPOE_TIMEOUT=80 LCP_FAILURE=3 LCP_INTERVAL=20 CLAMPMSS=1412 CONNECT_POLL=6 CONNECT_TIMEOUT=60 DEFROUTE=no SYNCHRONOUS=no ETH=eth0 PROVIDER=DSLppp0 USER=O2 PEERDNS=no DEMAND=no PERSIST=yes As you can see, I have PERSIST=yes , which according to documentation should keep ppp0 interface ON. Well it does but only for a couple of seconds. I suspect this to be other parameters problem (CONNEC...
2003 Oct 26
0
Patches for samba 3.0.0 client/client.c
...know is the os of the remote machine. Keith Mok ========================================= --- client.c.orig 2003-10-27 01:38:55.000000000 +0800 +++ client.c 2003-10-27 01:38:37.000000000 +0800 @@ -49,6 +49,8 @@ static int process_tok(fstring tok); static int cmd_help(void); +static int connect_timeout = 20*1000; + /* 30 second timeout on most commands */ #define CLIENT_TIMEOUT (30*1000) #define SHORT_TIMEOUT (5*1000) @@ -2533,7 +2535,9 @@ if (have_ip) ip = dest_ip; /* have to open a new connection */ - if (!(c=cli_initialise(NULL)) || (cli_set_port(c, port) != port) || + + if (!(c...
2010 Sep 20
5
Update to website not printing special Characters
...collation_database | latin1_swedish_ci | | collation_server | latin1_swedish_ci | | completion_type | 0 | | concurrent_insert | 1 | | connect_timeout | 10 | +--------------------------+----------------------------+ 14 rows in set (0.00 sec) Great I thought, but when I use phpMyAdmin to issue the same command I got:- show variables like ''c%''; Variable_name...
2023 Aug 16
3
Segmentation fault
I tested this issue with version 13 and version 18. In res_odbc.conf, if I add a second, new data source like [asterisk] enabled=yes dsn=asterisk sanitysql => select 1 isolation => read_committed username=root ;password= pre-connect => yes forcecommit => yes connect_timeout => 10 negative_connection_cache => 0 max_connections =>500 my odbc.ini [cdr] Description = MySQL ODBC Driver Testing Driver = maria Socket = /var/run/mysqld/mysqld.sock User = root Password = Database = public Option = 3 I get, immediately, segmentation fault. With o...
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...prefer IPv4\n"); rprintf(F," -6, --ipv6 prefer IPv6\n"); diff --git a/socket.c b/socket.c index 84f9b0c..4ee901e 100644 --- a/socket.c +++ b/socket.c @@ -38,6 +38,8 @@ extern char *bind_address; extern char *sockopts; extern int default_af_hint; extern int connect_timeout; +extern int diffserv; +extern char *congestion_alg; #ifdef HAVE_SIGACTION static struct sigaction sigact; @@ -166,6 +168,40 @@ static RETSIGTYPE contimeout_handler(UNUSED(int val)) connect_timeout = -1; } +/* Set special socket options + * + * Diffserv is a value in the range of 0-63, an...
2023 Aug 20
1
Segmentation fault
...f I add a second, new data source like > > [asterisk] > > enabled=yes > > dsn=asterisk > > sanitysql => select 1 > > isolation => read_committed > > username=root > > ;password= > > pre-connect => yes > > forcecommit => yes > > connect_timeout => 10 > > negative_connection_cache => 0 > > max_connections =>500 > > my odbc.ini > > [cdr] > > Description = MySQL ODBC Driver Testing > > Driver = maria > > Socket = /var/run/mysqld/mysqld.sock > > User = root > > Password = > &gt...
2017 Apr 06
2
Dovecot impatient with mysql?
On 04/06/2017 12:50 PM, George Kontostanos wrote: > On Thu, Apr 6, 2017 at 7:10 PM, Robert Moskowitz <rgm at htt-consult.com> wrote: >> It seems dovecot is impatient with connecting with mysql, as I see in >> maillog entries like: >> >> Apr 6 11:48:30 z9m9z dovecot: dict: Error: mysql(localhost): Connect failed >> to database (postfix): Can't connect to
2023 Aug 20
1
Segmentation fault
...derico wrote: I tested this issue with version 13 and version 18. In res_odbc.conf, if I add a second, new data source like [asterisk] enabled=yes dsn=asterisk sanitysql => select 1 isolation => read_committed username=root ;password= pre-connect => yes forcecommit => yes connect_timeout => 10 negative_connection_cache => 0 max_connections =>500 my odbc.ini [cdr] Description = MySQL ODBC Driver Testing Driver = maria Socket = /var/run/mysqld/mysqld.sock User = root Password = Database = public Option = 3 I get, immediately, segmentation fault. With o...
2019 Sep 16
6
[Bug 3071] New: unhandled EINTR while connecting causes ssh to exit prematurely
https://bugzilla.mindrot.org/show_bug.cgi?id=3071 Bug ID: 3071 Summary: unhandled EINTR while connecting causes ssh to exit prematurely Product: Portable OpenSSH Version: 8.0p1 Hardware: amd64 OS: Linux Status: NEW Severity: trivial Priority: P5 Component: ssh
2014 Jan 11
1
Does cdr adaptive odbc re-connect automatically after a long idle time?
...un/mysqld/mysqld.sock -------------- /etc/asterisk/res_odbc.conf lists below: [ENV] [asterisk] enabled => yes dsn => asterisk-connector password => mypassword pre-connect => yes sanitysql => select 1 pooling => yes idlecheck => 30 share_connections => yes limit => 1000 connect_timeout => 60 negative_connection_cache => 600 -------------- /etc/asterisk/cdr_adaptive_odbc.conf lists below: [cdr] connection=asterisk table=cdr alias start => calldate alias phoneno => phoneno alias userid => userid alias callerid => callerid -- Best Regards Charles -------------...
2019 Oct 30
1
[PATCH net-next 07/14] vsock: handle buffer_size sockopts in the core
...d); > }; > diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index > eaea159006c8..90ac46ea12ef 100644 > --- a/net/vmw_vsock/af_vsock.c > +++ b/net/vmw_vsock/af_vsock.c > @@ -126,6 +126,10 @@ static struct proto vsock_proto = { > */ > #define VSOCK_DEFAULT_CONNECT_TIMEOUT (2 * HZ) > > +#define VSOCK_DEFAULT_BUFFER_SIZE (1024 * 256) > +#define VSOCK_DEFAULT_BUFFER_MAX_SIZE (1024 * 256) #define > +VSOCK_DEFAULT_BUFFER_MIN_SIZE 128 > + > static const struct vsock_transport *transport_single; static > DEFINE_MUTEX(vsock_register_mutex); >...
2009 Aug 31
1
mysql error
...user. -v, --verbose Write more information. -V, --version Output version information and exit. -E, --vertical Print output vertically. Is similar to --relative, but prints output vertically. -w, --wait[=#] Wait and retry if connection is down. --connect_timeout=# --shutdown_timeout=# Variables (--variable-name=value) and boolean options {FALSE|TRUE} Value (after reading options) --------------------------------- ----------------------------- count 0 force FALSE compress F...
2006 Nov 16
3
Monrel Woes on Solaris x86
Greetings, I need some help... please be gentle :-) MY SETUP: Solaris-X86, ruby-1.8.4, Apache-2.2.0, Mongrel-0.3.13.4, MySql-4.1.10a I am using the typical setup with apache proxying request to mongrel with mod_proxy_balancer. Currently, I am only running a single instance of mongrel behind the proxy. I am also using the following gems with this app: capistrano (1.2.0) daemons (1.0.2)
2019 Sep 27
0
[RFC PATCH 07/13] vsock: handle buffer_size sockopts in the core
...ddressing. */ u32 (*get_local_cid)(void); }; diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index f7540a3ac64e..dee69d7ee148 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -126,6 +126,10 @@ static struct proto vsock_proto = { */ #define VSOCK_DEFAULT_CONNECT_TIMEOUT (2 * HZ) +#define VSOCK_DEFAULT_BUFFER_SIZE (1024 * 256) +#define VSOCK_DEFAULT_BUFFER_MAX_SIZE (1024 * 256) +#define VSOCK_DEFAULT_BUFFER_MIN_SIZE 128 + static const struct vsock_transport *transport_single; static DEFINE_MUTEX(vsock_register_mutex); @@ -613,10 +617,16 @@ struct sock *__...
2019 Oct 23
0
[PATCH net-next 07/14] vsock: handle buffer_size sockopts in the core
...ddressing. */ u32 (*get_local_cid)(void); }; diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index eaea159006c8..90ac46ea12ef 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -126,6 +126,10 @@ static struct proto vsock_proto = { */ #define VSOCK_DEFAULT_CONNECT_TIMEOUT (2 * HZ) +#define VSOCK_DEFAULT_BUFFER_SIZE (1024 * 256) +#define VSOCK_DEFAULT_BUFFER_MAX_SIZE (1024 * 256) +#define VSOCK_DEFAULT_BUFFER_MIN_SIZE 128 + static const struct vsock_transport *transport_single; static DEFINE_MUTEX(vsock_register_mutex); @@ -613,10 +617,16 @@ struct sock *__...
2007 Jul 29
16
Mongrel stops responding after period of inactivity
...Can anyone advise me on what to try next to diagnose this issue? I''m quickly running out of ideas and I''d appreciate a bit of help! Here are the vitals from our Ubuntu 6.0.6 server: MySQL Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (x86_64) using readline 5.1 connect_timeout 5 interactive_timeout 28800 max_connect_errors 10 max_connections 100 max_user_connections 0 wait_timeout 28800 ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux] cgi...
2007 Jul 29
4
Mongrel stops responding after period of inactivity
...Can anyone advise me on what to try next to diagnose this issue? I''m quickly running out of ideas and I''d appreciate a bit of help! Here are the vitals from our Ubuntu 6.0.6 server: MySQL Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (x86_64) using readline 5.1 connect_timeout 5 interactive_timeout 28800 max_connect_errors 10 max_connections 100 max_user_connections 0 wait_timeout 28800 ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux] cgi...
2007 Mar 18
0
Performance Tuning Mysql and how mongrel is effected
...ysql in LAMP env''s but not RoR. MySQL typical set the default interactive_timeout to 8hrs (28800) this has bitten me a few times with sleeping processess or stale connections. What I have done in the past was optimize mysql with the following variable changes (/etc/my.cnf) wait_timeout=60 connect_timeout=10 interactive_timeout=120 join_buffer_size=1M query_cache_size=128M query_cache_limit=2M sort_buffer_size=8M key_buffer = 256M key_buffer_size=64M ... According to the mongrel docs it says to use 4hrs - assuming you didn''t edit mysql default settings- but what I am curious to know, is w...
2008 Jul 06
0
PPPoE and IPv6
...ic routes on the internal interface for IPv4 are working. But no IPv6. Here is my ifcfg-ppp0: USERCTL=no BOOTPROTO=dialup NAME=DSLppp0 DEVICE=ppp0 TYPE=xDSL ONBOOT=no PIDFILE=/var/run/pppoe-adsl.pid FIREWALL=NONE PING=. PPPOE_TIMEOUT=80 LCP_FAILURE=3 LCP_INTERVAL=20 CLAMPMSS=1412 CONNECT_POLL=6 CONNECT_TIMEOUT=60 DEFROUTE=yes SYNCHRONOUS=no ETH=eth0 PROVIDER=DSLppp0 USER='me' PEERDNS=no DEMAND=no PERSIST=no IPV6INIT=yes Interesting also about the FIREWALL entry. I do have iptables off, as I am using shorewall that uses netfilter. I will be using ip6tables once I get things going. Of course...
2013 Mar 11
1
/etc/sysconfig/network-scripts/ifcfg-xxx for CHAP PPPoE
Hi all I get a Cisco 1841 router, connecting the office through a CHAP PPPoE link: [...] interface Dialer1 ip address negotiated ip mtu 1492 ip nat outside ip virtual-reassembly encapsulation ppp ip tcp adjust-mss 1452 dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap callin ppp chap hostname username at isp ppp chap password 0 s0meStr0ngP4sswd [...] As