Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to reach my server on campus from home. It is usually very well behaved and these connections are fine. When I attempt to ssh or ping I get the following:

mwoods 13 18:38:12 Trunk$ ssh me@foo.edu
ssh: connect to host foo.edu port 22: Cannot allocate memory
mwoods 14 18:40:44 Trunk$ ping foo.edu
PING foo.edu (169.237.43.27): 56 data bytes
ping: sendto: Cannot allocate memory
ping: sendto: Cannot allocate memory
Request timeout for icmp_seq 0
ping: sendto: Cannot allocate memory
Request timeout for icmp_seq 1
ping: sendto: Cannot allocate memory
Request timeout for icmp_seq 2
^C
--- foo.edu ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss

Similar story with curl. Trying to view the webpage hosted by this server creates a very fast Error 13 (net::ERR_OUT_OF_MEMORY): Unknown error. message in Chrome. It appears any connection reports insufficient memory.

I can successfully ssh to this machine if I ssh into any other machine in the building, or from another computer in my house (no issues once connected). So it is clearly something related to my laptop. I have been VPNing with Juniper "Network Connect" to completely separate network recently and this problem has only appeared since I've begun this.

So my question is, what about the VPN is causing this and how do I fix it (besides a restart of my laptop which solves the problem)?

share|improve this question
(1) Can you check your syslog or vpn log(if any) for error/warning messages and add them to your question? (2) How do you start your vpn(icon/commandline)? – John Siu Jan 22 at 2:04
No warnings or errors appear in any log in /var/log, nothing in Console.app, and I don't have access to the vpn log. The vpn is started with Juniper Network Connect. Not much to go on... – vgm64 Jan 22 at 5:33

1 Answer

up vote 0 down vote accepted

Quote from this apple forum post

Try following:

Methind 1

  1. ensure you have admin access
  2. go to system preferences
  3. click on network
  4. select Wi-Fi
  5. select advanced button (at the bootom right of the screen, before the "?" sign)
  6. select tcp/ip tab
  7. disable and enable tcp/ip

Method 2

sudo route delete -host 128.0.0.0
share|improve this answer
Thanks. The evanescent problem has resolved itself for now. I'll make sure to update this answer when it reappears and I apply these techniques. – vgm64 Jan 23 at 3:14
Connect VPN, close the lid and make it go to sleep :p LOL – John Siu Jan 23 at 3:38
This worked, but I needed to actually turn off these settings for my ethernet port even though I was trying to connect to these computers with my wireless connection. I found that route get name.of.server.edu showed connecting to those machines was for some reason still bound to my ethernet card (which had been using the vpn). – vgm64 Feb 1 at 6:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.