Quoting Karl Hiramoto <karl@zoop.org>:
From both machines can you scp into them? are they having problems receiving large amounts of data? can you scp or ftp data into them?
Check for any open large files. Logs getting full? Possible you're reaching your open files limit. Recently i had a squid proxy machine stop working. There was plenty of free disk space and inodes. but the kernel had a limit on how many open files there could be. I deleted a 2G log file i hadn't setup with logrotate and the problem was fixed.
what does ulimit -a output? cat /proc/sys/fs/file-max try adding: "ulmit -n 4095" at the begining your rsync script.
try using the "find" command to find files larger than 1G see if they are causing problems. anything at the 2G limit could be an issue. depending on what filesystem you are using.
On Thu, 28 Aug 2003 mhughes@wpidalamar.com wrote:
Also... From both machines, I can scp to an external machine. These 2 boxes I'm having problems with are on opposite sides of an intracompany vpn. Could I be having problems with the vpn? The VPN is a big-expensive
end to end hardware solution that I don't get to play with. If it were that, any ideas on how I could prove that to corporate IT?
Please note... it's possible that the vpn has nothing to do with the problem.
-Marc
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
--
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø Karl Hiramoto <karl@hiramoto.org> Work: 978-425-2090 ext 25 Cell: 508-517-4819 http://karl.hiramoto.org/ AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
QOTD: "I used to jog, but the ice kept bouncing out of my glass."
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
The file-max param is for the max number of file descriptors not file size, Further more deleting large files would not solve either problem (Unless your fs was actually full in which case you would have another set of problems) FD's are taken then freed all the time (open/close files open/close sockets etc..) which is why fd problems are intermittent and hard to track.I suspect your squid problem would be better solved by increasing you file-max param or editing limits.h next time you build you kernel. On server systems file-max should be set to (RAM-SIZE/4)*256 256 fd per 4 megs of ram. This is not a hard number but a good rule of thumb. To set this every time you boot edit /etc/sysctl.conf (on most systems) or add it to rc.local. It is possible you are running out of file descriptors. Running out of fd's shows up in strange ways! Did you bounce ssh on both sides of the tunnel. More importantly on the receiving end ;). Try running ssh/scp with the -v flag set, it may give you some good info. Run tcpdump .. are you dropping a ton of packets? Do a simple ping to see if there is packet loss? Do a ifconfig are there a ton of errs on the interface you are leaving on/ receiving from? If you see you are dropping a lot of packets but there are no interface err's you can encourage the person that admins the VPN to check it out! Matt