Hmm,
   I'm running it as appserver.  Is there a way to monitor sockets while I can 
ssh in to see if maybe I can see what's using them all up?  A lot of e-mails 
get sent out from my app which uses JavaMail.  Perhaps I'm not cleaning up 
properly after sending each message?  Can't really think of anything else that 
might be causing it.  Maybe some deployment setting I've set that causes WO to 
hold onto sockets?

Thanks,
Jeff
 
On Wednesday, February 27, 2008, at 09:05AM, "Patrick Middleton" <[EMAIL 
PROTECTED]> wrote:
>What is going wrong is that the operating system is running out of  
>sockets.  That's why whatever it is you're running on the server  
>dies, and the admin tools die, and ssh won't let you log in -- ssh  
>has bound one socket to which you make an initial connection, but  
>needs more to run your shell session once you've authenticated, and  
>there aren't any.  The best fix is a reboot, as you have found.
>
>This usually happens only if whatever is leaking sockets is running  
>as root.  Are you running WebObjects services as the appserver peon  
>user or as root?
>
>On 27 Feb 2008, at 14:51, netBrackets wrote:
>
>> Forgot to mention, when this is happening, I also can't reach the  
>> server using the server admin tools on my client, nor can I mount  
>> any of its discs on my remote client machine, so I basically have a  
>> completely unreachable server and have to do a hard reboot.  The  
>> only thing that does still work is http, so my app seems to be  
>> unaffected.
>>
>> Jeff
>>
>> On Wednesday, February 27, 2008, at 08:47AM, "netBrackets"  
>> <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>   Just deployed my server to a new host site and now, every couple  
>>> days my ssh either dies or hangs.  When I try to ssh (using the  
>>> IP) it never answers back with a password.  Any idea what might be  
>>> happening?  Do I need to schedule a reboot each night?  If so, do  
>>> I need to make sure and shutdown my webobjects instances first?   
>>> Or just reboot away?  Any other possible solutions?  Below is the  
>>> client side debug messages I get when trying to ssh into my  
>>> machine...
>>>
>>> debug1: kex: client->server aes128-cbc hmac-md5 none
>>> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
>>> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
>>> debug2: dh_gen_key: priv key bits set: 126/256
>>> debug2: bits set: 554/1024
>>> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
>>> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
>>> debug3: check_host_in_hostfile: filename /Users/netBrackets/.ssh/ 
>>> known_hosts
>>> debug3: check_host_in_hostfile: match line 2
>>> debug1: Host '206.196.102.246' is known and matches the RSA host key.
>>> debug1: Found key in /Users/netBrackets/.ssh/known_hosts:2
>>> debug2: bits set: 509/1024
>>> debug1: ssh_rsa_verify: signature correct
>>> debug2: kex_derive_keys
>>> debug2: set_newkeys: mode 1
>>> debug1: SSH2_MSG_NEWKEYS sent
>>> debug1: expecting SSH2_MSG_NEWKEYS
>>> debug2: set_newkeys: mode 0
>>> debug1: SSH2_MSG_NEWKEYS received
>>> debug1: SSH2_MSG_SERVICE_REQUEST sent
>>> debug2: service_accept: ssh-userauth
>>> debug1: SSH2_MSG_SERVICE_ACCEPT received
>>> debug2: key: /Users/netBrackets/.ssh/identity (0x0)
>>> debug2: key: /Users/netBrackets/.ssh/id_rsa (0x0)
>>> debug2: key: /Users/netBrackets/.ssh/id_dsa (0x0)
>>> Connection closed by 206.196.102.246
>>> Thanks,
>>> Jeff
>
>--
>Patrick Middleton
>OneStep Solutions plc
>351 London Road             Phone: +44 (0)1702 426400
>Hadleigh                    Fax:   +44 (0)1702 556855
>Essex. SS7 2BT              Email: [EMAIL PROTECTED]
>England                            (MIME welcome)
>
>
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-deploy mailing list      ([email protected])
>Help/Unsubscribe/Update your Subscription:
>http://lists.apple.com/mailman/options/webobjects-deploy/jeffandmonica%40mac.com
>
>This email sent to [EMAIL PROTECTED]
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to