Networking :: Timeout In All Connections After A Period
Jan 11, 2011
I installed linux 2010 mandriva on a (embeded) system,and i run several server programs on it that accept connections from clients. clients are connected to server(s) and every things is ok, but when i go to home and back to my work tomorrow, i see no data can be sent to server programs and this problem exists until i restart the server programs or reconnect tcp client programs. this problem occurs even when both client and server programs executed on the same (embeded) system.why this happens? i checked by netstat and see that server ports exists in the list(and not closed by kernel) but it seems kernel or an application above it prohibit data transmission.i changed the OS and installed ubuntu but the problem exists.
View 5 Replies
ADVERTISEMENT
Nov 1, 2009
FC11, 2.6.30.9-90.fc11.i586
Code:
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:invalid opcode: 0000 [#1] SMP
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:last sysfs file: /sys/devices/virtual/vc/vcsa2/dev
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Process kswapd0 (pid: 22, ti=dfa28000 task=dfa20ca0 task.ti=dfa28000)
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Stack:
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: 00000002 00000001 c117a740 c12f52a0 c103ba20 c103ba60 c103baa0 c110a600
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: c110a640 c110a6e0 c136f800 c10ebc40 c10ebc60 c10ebc80 c114e2e0 c114e260
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Call Trace:
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048bf17>] ? shrink_list+0x24d/0x4e1
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048893d>] ? get_dirty_limits+0x1f/0x2e1
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0423803>] ? set_next_entity+0xa0/0x10c
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0402286>] ? __switch_to+0x78/0xfb
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c042c374>] ? finish_task_switch+0x8d/0xa7
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c3c1>] ? shrink_zone+0x216/0x289
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c8dc>] ? kswapd+0x369/0x51b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048b14e>] ? isolate_pages_global+0x0/0x19b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c044065d>] ? autoremove_wake_function+0x0/0x34
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0422947>] ? complete+0x39/0x43
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c573>] ? kswapd+0x0/0x51b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c573>] ? kswapd+0x0/0x51b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0440365>] ? kthread+0x4b/0x6f
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c044031a>] ? kthread+0x0/0x6f
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0403f87>] ? kernel_thread_helper+0x7/0x10
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Code: f6 43 ea 01 75 24 8b 85 78 ff ff ff f6 40 08 40 0f 84 63 03 00 00 89 f0 e8 88 14 01 00 85 c0 0f 84 2d 03 00 00 bf 01 00 00 00 89 <f0> e8 db f0 ff ff 89 85 7c ff ff ff 8b 46 08 85 c0 78 2b 83 bd
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:EIP: [<c048b90e>] shrink_page_list+0x1b0/0x56c SS:ESP 0068:dfa29d80
The semaphore timeout period has expired.
View 1 Replies
View Related
Apr 24, 2011
I'm not sure if this belongs in the Server or Networking section of the forums. Anyway, last month I upgraded my server to Ubuntu 10.04 LTS. Since then, I've had a recurring problem wherein after a certain period of time, the server stops accepting network connections. Ubuntu 10 will continue to reject network connections until someone logs into the server locally, after which time network connectivity is restored and the cycle begins anew. Essentially, the server goes into a "half sleep mode". I say half because the computer is still on and the fans are running.
I've done some searching around various forms and initially figured this issue was related to problems with the Network Manager service (https://bugs.launchpad.net/ubuntu/lu...er/+bug/524454), so I removed the service altogether. However, this problem is still occurring.
I've poured over /var/log/messages and /var/log/syslog, but have noticed no irregular behavior. Has anyone else experienced this issues? I'd rather not resort to downgrading back to Gusty Gibbon if I can help it.
I am happy to provide more information if its needed
View 4 Replies
View Related
Nov 15, 2010
I've been trying to figure out a strange DHCP problem my girlfriend's having: She can only get (or renew) a DHCP lease once; Subsequent tries timeout. I tried switching from network-manager (which uses dhclient) to wicd (dhcpcd), and noticed a key difference: With wicd, restarting helps (again, works once, then another restart is required). With network-manager, I haven't been able to get another lease, period.
Exploring the dhcpcd case further, I found that suspend/hibernate do not correct the issue; a full restart is required. Neither does `/etc/init.d/wicd restart` help. I don't remember if I tried killing dhcpcd; I'll have to test that. The current workaround is to restart the computer after each disconnect. It's pretty annoying, though, so I'd like to try to collect enough specifics to file accurate bug reports for each dhcpcd and dhclient. Is anyone familiar with these projects? Are these known issues? Any ideas how to hone in a bit? My gut tells me there's some state somewhere that needs to get flushed.
View 2 Replies
View Related
Aug 4, 2011
I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.
View 9 Replies
View Related
Feb 7, 2011
have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.
View 1 Replies
View Related
Jan 15, 2011
At present I have to live with a 5Gb/month data volume limitation. Due to having to monitor this usage, I have been forced to use the software that came with the web dongle - and that means having to use Windows (spit!)
Can anyone recommend a Linux package I could download that readily shows how much data one has uploaded/downloaded over a set period?
View 3 Replies
View Related
Nov 24, 2009
I'm running Fedora 12 on an Acer Aspire One with KDE. The built-in wireless works without a problem EVERYWHERE except at work. It's a shared wireless connection using WPA/WPA2 security.I can connect but it's "hit-and-miss" if I can do anything with it. Somedays it works well for a few minutes then has a period of inactivity - then slow - randomly receives...It worked flawlessly when the computer was running Windows7 no one else has connectivity issues but I'm the only one using Linux.
View 2 Replies
View Related
Oct 13, 2010
I'm trying to get granular with TCP, one of the answers I can't seem to find is. When a client server connection is lost without closing, how many duplicate ack's are sent until the session is closed. I've kind of figured out the the sender will continue to retransmit a segment for about 9 mins if not Ack'd. going from 1.5,3,6,12,24,48 and the continuing with 64 seconds up to around 9 minutes before is resets the session. but whats happening at the other end.?
View 1 Replies
View Related
Apr 26, 2011
I have a named server that has forwarders setup. Quite often the dns server where I forward would not respond right away and the query would fail. It would then also cache the empty result for 3 hours and I would need to restart the service or clear the cache. how would I be able to specify a value for forwarders timeout, just like on Windows DNS.
BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3
View 3 Replies
View Related
Nov 26, 2009
I was trying to rsync datas from one server to a remote server. There is a firewall between the two servers and the 22 port is open for the servers.
Attached the error that I got.
View 2 Replies
View Related
May 27, 2009
I have centos 5.3 server and the problem is the ssh timeout time set to 10 minutes of inactivity. I want to set the timeout to 1 hour, how can I set the timeout time?
View 1 Replies
View Related
May 17, 2010
My spouse bought me a Seagate BlackArmor NAS 110 recently, and I finally had time to connect it to our home network. I have samba installed, and my linux box (opensuse 11.1) can see the NAS, but when I try to open the network connection I get a "timeout on server" message. I bumped up the network connections, but still no luck. The odd thing is that last night I was able to connect and see the public folders for awhile. And her Windows Vista computer seems to connect without a problem after using the seagate software.
I'm no network admin, and have exhausted my resources on this.
View 1 Replies
View Related
May 6, 2011
I am trying to set up an ssh server on my Debian squeeze box so that I can access it remotely when I'm not at home. I connect to the internet through an at&t 2wire modem/router. First off, I *can* ssh into the machine from inside the local network, e.g.
[Code]...
Nmap done: 1 IP address (1 host up) scanned in 2.12 seconds Playing around with Nmap, I also found that it only sees port 50001 as open.
View 5 Replies
View Related
May 20, 2010
Something is wrong with the networking on this Ubuntu system. It has been assigned the LAN ip address 10.1.10.10 From another Ubuntu desktop, I can: ssh myself@10.1.10.10 ( from 10.1.10.143 ) and I can login without any problems. I can ping 10.1.10.10 ( from 10.1.10.143 )
[code]...
View 1 Replies
View Related
Jun 2, 2010
My local area network is always time out for few seconds.I have check my memory with "free -m"There are still left 200+ mb left.I am hosting my own ubuntu server, and I share the same internet line with my server and pc. when I access to LAN, I need to type 192.168.2.2, at outside I can access to [URL]It is only the LAN access timeout, but when I access at outside, I didn't face this problem at all.
View 1 Replies
View Related
Dec 18, 2010
I am experiencing horrible name resolution problems in Maverick. I believe this problem is related to having the following line in nsswitch.conf:hosts: files wins dnsI do use Samba and access windows shares in my network (that's why wins precedes dns. I was wondering if there is any way to setup a wins lookup timeout so it can fail quickly enough to try to perform the lookup using dns.
View 7 Replies
View Related
May 17, 2010
I am facing issues on few machines but rest all are ok. They have the same config but I don't know what is wrong. I tried as much as I could but couldn't fix it. Here is the rpms installed on this client
[code]...
The same config is working for all clients but have problems with few machines. May be I am doing something wrong in config or testing at very basic level.
View 1 Replies
View Related
Apr 1, 2011
I have a user using Mac OSX and ssh-ing to a couple of Redhat servers, one running RHEL5 and the other RHEL6. The user's connection seems to be timing out after 60 minutes or so of inactivity. The user is on the same subnet as the servers. Both servers have the same sshd_config files with the following entries with regards to timeout:
TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999
In a nutshell, his office Mac keeps getting dropped off both machines. Other machines, including the Mac he logs in with from home doesn't get timed out and keep the connection open. The log files are unremarkable and the switch port shows no errors
View 6 Replies
View Related
Dec 29, 2010
I am using select to read the data from socket. on a load of 25 req per second, for some req i am getting the timeout in select (returning zero), but i am able to see the data on TCP using wireshark. kindly suggest what could be the possible reasons.
View 5 Replies
View Related
Mar 6, 2010
I'm using Kubuntu 9.10, my pppd version is 2.4.5 and pptp is 1.7.2 I'm trying to connect to the iPredator VPN service, but I keep running into problems with LCP. I've tried using knetworkmanager, nm-applet, kvpnc and plain old text-based configuration to no avail. Here's a snippet of pppd's output:
[Code].....
(I've got "defaultroute" in my /etc/ppp/peers/ipred config file.) Any ideas what could be causing this? Could it even be my router? It claims to support PPTP, but considering it claims a lot of other things which aren't true, I wouldn't be surprised if it was the culprit.
View 4 Replies
View Related
May 16, 2010
I am using Witopia VPN services and used to work just fine on my Ubuntu 10.04. All of the sudden it stopped working. Here is the log:
Code:
May 17 00:56:58 saeed-laptop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
May 17 00:56:58 saeed-laptop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 11477
May 17 00:56:58 saeed-laptop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
May 17 00:56:58 saeed-laptop NetworkManager: <info> VPN plugin state changed: 1
May 17 00:56:58 saeed-laptop NetworkManager: <info> VPN plugin state changed: 3
May 17 00:56:58 saeed-laptop NetworkManager: <info> VPN connection 'VPN Connection' (Connect) reply received.
May 17 00:56:58 saeed-laptop nm-openvpn[11482]: OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jan 26 2010
May 17 00:56:58 saeed-laptop nm-openvpn[11482]: WARNING: No server certificate verification method has been enabled. See [URL] for more info.
May 17 00:56:58 saeed-laptop nm-openvpn[11482]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 00:56:58 saeed-laptop nm-openvpn[11482]: WARNING: file '/home/saeed/Documents/config/VPN_Connection.key' is group or others accessible
May 17 00:56:58 saeed-laptop nm-openvpn[11482]: /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
May 17 00:56:58 saeed-laptop nm-openvpn[11482]: LZO compression initialized
May 17 00:56:59 saeed-laptop nm-openvpn[11482]: RESOLVE: NOTE: (address omitted) resolves to 12 addresses, choosing one by random
May 17 00:56:59 saeed-laptop nm-openvpn[11482]: UDPv4 link local: [undef]
May 17 00:56:59 saeed-laptop nm-openvpn[11482]: UDPv4 link remote: [AF_INET]IP address omitted
May 17 00:57:39 saeed-laptop NetworkManager: <info> VPN connection 'VPN Connection' (IP Config Get) timeout exceeded.
May 17 00:57:39 saeed-laptop nm-openvpn[11482]: SIGTERM[hard,] received, process exiting
May 17 00:57:39 saeed-laptop NetworkManager: <info> Policy set 'Auto Belkin' (wlan0) as default for routing and DNS.
May 17 00:57:51 saeed-laptop NetworkManager: <debug> [1274043471.002409] ensure_killed(): waiting for vpn service pid 11477 to exit
May 17 00:57:51 saeed-laptop NetworkManager: <debug> [1274043471.002596] ensure_killed(): vpn service pid 11477 cleaned up
I removed IP addresses. I think its a recent update might have created this issue. I tried re-installing openvpn and network-manager-openvpn.
View 1 Replies
View Related
Jul 1, 2010
I'm trying to configure internet access using KDE network manager. Added new VPN connection, set gateway and other options but connection breaks. Here is /var/log/daemon.log
Code:
Jul 1 17:35:22 dvinokurov-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jul 1 17:35:22 dvinokurov-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 1761
Jul 1 17:35:22 dvinokurov-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections .....
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul 1 17:36:02 dvinokurov-desktop pptp[1773]: nm-pptp-service-1761 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
As I understand the main problem is in "(IP Config Get) timeout exceeded".
View 1 Replies
View Related
Apr 28, 2011
I am having a problem with 5.4 that I did not have with 4.5. The problem happens only sometimes but in specific instances. Basically a summary of the problem is that certain network transactions timeout. The specific instances are with wget, rpm, http. The problem usually, but not always, occurs with pptp stuff. (NOT running pptp but getting pptp stuff). For instance, the following command, which finishes in seconds on non-5.4 OS's:
wget [URL]
downloads about 20% then gets stuck. About 5 minutes later it downloads another 20% and then gets stuck, etc. The same thing with rpm:
rpm -ivh [URL]
waits about 3 minutes and then gives an error. I think it does the same thing as the wget but
wget will keep trying, while rpm gives up. The error from rpm:
Retrieving [URL]
..five minutes later:
I can wget the above as I mentioned before and install it that way. Before I do it, yum works fine. Afterwards, yum exhibits the same behavior of timing out (because it is using the pptp repository). Also visiting the pptp web site from Firefox times out on certain pages. I originally thought it was some problem with the pptp site, but I notice that log into hotmail.com. Does the same thin (fine on other operating systems). A view with Wireshark on the wget (pptp) shows the my machine receiving a reassembled TCPPDU from 216.34.181.96 (Sourceforge), sending an ack, receiving a reassembled PDU, sending an ack, receiving, sending followed by the 5 minutes or whatever of nothing. Then sourceforge sends an RST and a SYN and the process is repeated.
When I put the machine directly on an AT&T IP connection (12.147.X.Y) everything worked fine. Same with Comcast on a direct link. The times I am having problems is when our router is hooked up to a Comcast IP (70.88.X.Y) and assigns 192.168.5.X addresses to our machines. So when I was doing the above from 192.168.5.27 going through the router through Comcast is when I had the problem. So it is probably something with the router, but it is hard to figure out since CentOS 4.5 and Fedora do not exhibit this behavior, nor does 5.4 on most sites (mail.yahoo.com for instance). I did verify, at least from what I could, that ICMP type 3 and 4 are not being blocked. If they were, the same problem would happen on other op systems. And I was able to ping, albeit just locally, but we looked at the router settings and ping was not blocked.
View 1 Replies
View Related
Jun 13, 2011
I have got pptpd linux server and pptp linux client which connects successfully. Now I want setup idle time (inactive) in pptp linux client so that if the pptp tunnel is inactive say for example 5 minutes it will be automatically disconnected. how can do that, is there any built in feature on pptp client?
View 1 Replies
View Related
Jul 10, 2011
Im running several linux boxes, all redat enterprise linux. Versions vary between 4 and 5.
Since we have problems with our DNS servers, Im trying to lower the DNS resolve timeout to the minimum to avoid system hangs etc.
However, it seems that nothing I do have any effect. when Im running time nslookup whatever.com or time host whatever.com while my first DNS server is down, it always takes about 1.09sec as opposed to 0.09sec when the first server in the list is available. I tried playing with options timeout:X attemps:X but it simply doesnt seem to do anything, even if I set it to high values. Some internet posts suggested having timeout:0.5 or less, but that also doesnt seem to do anything.
when I use:
options timeout:0.3 attempts:1
- doesn't do anything.
options timeout:1 attempts:1
- doesn't do anything.
options timeout:10 attempts:3
- doesn't do anything.
It doesn't work when I put it in the first line of the file. It doesn't work when I put it in the last line of the file.
It doesn't work if I put it in "export RES_OPTIONS=options timeout:X attempts:Y"
I tried it on 2 different machines.
View 1 Replies
View Related
Feb 21, 2011
when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes
View 10 Replies
View Related
Jan 21, 2011
Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?
View 3 Replies
View Related
Sep 11, 2010
Samba doesn't seem to disconnect on shutdown except by timing out, causing a loooong Lucid shutdown. (I can disconnect manually before shutdown by unmounting the Samba shares, and shutdown is then very fast.) Apparently Network Manager is somehow involved. I've installed a NM shutdown Samba script which works for the first user account, but not for the second user account (which was created and then put into the admin group).
View 4 Replies
View Related
May 30, 2011
I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.
View 5 Replies
View Related